1 2014-08-26 Allan McRae <allan@archlinux.org>
3 * po/fr.po: Update French translation from translation project.
5 * po/ru.po: Update Russian translation from translation project.
7 * po/pl.po: Update Polish translation from translation project.
9 * po/cs.po: Update Czech translation from translation project.
11 * po/de.po: Update German translation from translation project.
13 * po/bg.po: Update Bulgarian translation from translation project.
15 * po/sv.po: Update Sweedish translation from translation project.
17 * po/nl.po: Update Dutch translation from translation project.
19 * po/es.po: Update Spanish translation from translation project.
21 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25 * catgets/Makefile (CPPFLAGS-gencat): Remove.
26 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27 (CPPFLAGS-iconvconfig): Likewise.
28 * timezone/Makefile (CPPFLAGS-zic): Likewise.
30 * include/libc-symbols.h: Remove unnecessary check for
32 * nptl/pthreadP.h: Likewise.
33 * sysdeps/aarch64/setjmp.S: Likewise.
34 * sysdeps/alpha/setjmp.S: Likewise.
35 * sysdeps/arm/sysdep.h: Likewise.
36 * sysdeps/i386/setjmp.S: Likewise.
37 * sysdeps/m68k/setjmp.c: Likewise.
38 * sysdeps/posix/getcwd.c: Likewise.
39 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41 * sysdeps/s390/s390-32/setjmp.S: Likewise.
42 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43 * sysdeps/sh/sh3/setjmp.S: Likewise.
44 * sysdeps/sh/sh4/setjmp.S: Likewise.
45 * sysdeps/unix/alpha/sysdep.h: Likewise.
46 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
47 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
49 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
58 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59 * sysdeps/x86_64/setjmp.S: Likewise.
61 2014-08-13 Joseph Myers <joseph@codesourcery.com>
64 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
66 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
67 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
69 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
74 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
75 and __x86_64__ when disabling x87 inline functions.
77 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
80 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
81 asm statement with __cpuid_count.
83 2014-08-12 Mike Frysinger <vapier@gentoo.org>
85 * configure.ac: Change __ehdr_start code to dereference the struct.
86 Run readelf on the output to look for relocations.
87 * configure: Regenerated.
89 2014-08-12 Joseph Myers <joseph@codesourcery.com>
92 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
94 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
96 2014-08-12 Roland McGrath <roland@hack.frob.com>
98 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
100 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
103 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
104 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
106 2014-08-12 Sean Anderson <seanga2@gmail.com>
108 * malloc/malloc.c: Fix typo in comment.
110 2014-08-09 Allan McRae <allan@archlinux.org>
112 * Regenerate libc.po.
114 2014-08-08 Mike Frysinger <vapier@gentoo.org>
116 * intl/tst-gettext2.sh: Check every lang file for creation.
118 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
120 * sysdeps/aarch64/fpu/math_private.h
121 (libc_feholdsetround_noex_aarch64_ctx): New function.
123 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
125 * sysdeps/arm/armv6/strcpy.S (strcpy):
126 Fix performance issue in misaligned cases.
128 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
131 Move definition from termios.h.
132 (struct termio): Likewise.
133 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
134 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
135 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
136 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
138 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
139 Move definition to ioctl-types.h
140 (struct termio): Likewise.
141 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
142 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
143 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
144 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
147 2014-08-05 Richard Henderson <rth@redhat.com>
149 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
151 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
153 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
155 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
156 Protect libm symbols with IS_IN_libm.
158 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
160 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
162 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
164 2014-08-04 Will Newton <will.newton@linaro.org>
166 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
169 2014-08-04 Mike Frysinger <vapier@gentoo.org>
171 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
172 variants for each function.
174 2014-08-04 Roland McGrath <roland@hack.frob.com>
176 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
178 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
179 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
181 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
182 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
183 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
184 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
185 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
186 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
187 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
188 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
189 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
190 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
192 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
194 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
196 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
198 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
200 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
202 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
204 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
206 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
208 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
210 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
212 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
214 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
216 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
217 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
218 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
219 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
220 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
221 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
223 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
225 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
227 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
229 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
231 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
232 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
233 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
235 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
236 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
238 2014-08-04 Roland McGrath <roland@hack.frob.com>
240 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
241 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
242 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
243 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
244 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
245 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
247 2014-08-04 Roland McGrath <roland@hack.frob.com>
249 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
250 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
251 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
252 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
254 2014-08-04 Roland McGrath <roland@hack.frob.com>
256 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
257 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
258 (__libc_vfork): Define function under this name.
259 (__vfork): Define as an alias.
260 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
261 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
263 2014-08-04 Roland McGrath <roland@hack.frob.com>
265 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
266 that was previously under [RESET_PID].
267 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
269 2014-08-04 Andreas Schwab <schwab@suse.de>
271 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
273 2014-08-03 Mike Frysinger <vapier@gentoo.org>
275 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
278 2014-08-01 Roland McGrath <roland@hack.frob.com>
280 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
282 2014-08-01 Richard Henderon <rth@redhat.com>
284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
285 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
286 typo in exact zero test.
287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
288 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
291 2014-08-01 Roland McGrath <roland@hack.frob.com>
293 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
294 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
295 * sysdeps/arm/sysdep.h: ... here.
296 [!__ASSEMBLER__]: Include <stdint.h>.
298 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
300 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
301 (HAVE_WCTYPE_H): Likewise.
302 (HAVE_ISWCTYPE): Likewise.
303 (ENABLE_NLS): Likewise.
304 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
305 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
307 * posix/regex_internal.c: Check if DEBUG is defined and is
310 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
311 (HAVE_MBSRTOWCS): Likewise.
312 * posix/fnmatch.c: Include string.h unconditionally.
314 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
316 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
319 2014-07-31 Roland McGrath <roland@hack.frob.com>
321 * sysdeps/generic/safe-fatal.h: New file.
322 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
323 * nptl/forward.c: Include it.
324 (__pthread_unwind): Use __safe_fatal as default action, rather
325 than a bogus use of INTERNAL_SYSCALL that could never work.
327 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
328 * configure.ac (libc_cv_builtin_trap): New test.
329 * configure: Regenerated.
330 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
331 (ABORT_INSTRUCTION): Define using __builtin_trap.
333 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
334 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
335 * sysdeps/nptl/nptl-signals.h: New file.
336 * nptl/pthreadP.h: Include <nptl-signals.h>.
338 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
340 * sysdeps/s390/s390-64/utf16-utf32-z9.c
341 (ONE_DIRECTION): Define.
342 * sysdeps/s390/s390-64/utf8-utf16-z9.c
343 (ONE_DIRECTION): Define.
344 * sysdeps/s390/s390-64/utf8-utf32-z9.c
345 (ONE_DIRECTION): Define.
347 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
349 * sysdeps/s390/Makefile: Delete file.
350 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
351 * sysdeps/s390/__longjmp.c: Delete file.
352 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
353 Remove fields __flags and __reserved.
354 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
356 * sysdeps/s390/rtld-__longjmp.c: Delete file.
357 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
358 * sysdeps/s390/rtld-setjmp.S: Likewise.
359 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
360 * sysdeps/s390/s390-32/__longjmp.c: ... here.
361 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
362 * sysdeps/s390/s390-32/setjmp.S: ... here.
364 (__sigsetjmp): Remove setting __flags field.
365 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
366 * sysdeps/s390/s390-64/__longjmp.c: ... here.
367 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
368 * sysdeps/s390/s390-64/setjmp.S: ... here.
370 (__sigsetjmp): Remove setting __flags field.
371 * sysdeps/s390/setjmp.S: Delete file.
372 * sysdeps/s390/sigjmp.c: Likewise.
373 * sysdeps/s390/v1-longjmp.c: Likewise.
374 * sysdeps/s390/v1-setjmp.h: Likewise.
375 * sysdeps/s390/v1-sigjmp.c: Likewise.
376 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
377 Remove v1-longjmp_chk.
378 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
379 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
380 Include debug/longjmp_chk.c and add versioning.
381 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
382 Include nptl/pt-longjmp.c and add versioning.
383 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
384 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
386 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
389 (__getcontext): Remove setting __flags field.
391 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
392 Don't restore upper high grps.
393 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
395 (__swapcontext): Remove setting uc_flags field.
396 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
398 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
400 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
402 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
403 (__getcontext): Remove setting __flags field.
405 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
406 (__swapcontext): Remove setting uc_flags field.
407 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
408 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
409 Remove fields uc_high_gprs and __reserved.
410 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
411 New file with reverted content.
412 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
413 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
415 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
418 2014-07-31 Andreas Schwab <schwab@suse.de>
420 * config.h.in (HAVE_IFUNC): Define to 0.
421 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
424 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
427 memmove-avx-unaligned, memcpy-avx-unaligned and
428 mempcpy-avx-unaligned.
429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
430 Add tests for AVX memcpy functions.
431 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
432 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
434 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
435 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
437 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
438 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
440 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
441 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
442 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
444 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
450 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
453 * manual/llio.texi: Add section about open file description locks.
454 * manual/examples/ofdlocks.c: Example of open file description
456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
457 F_OFD_SETLK, and F_OFD_SETLKW.
459 2014-07-23 Allan McRae <allan@archlinux.org>
461 * po/es.po: Update Spanish translation from translation project.
463 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
465 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
467 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
470 * sysdeps/arm/dl-machine.h (elf_machine_rela)
471 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
472 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
474 2014-07-17 Joseph Myers <joseph@codesourcery.com>
477 * math/fesetenv.c (__fesetenv)
478 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
479 * math/feupdateenv.c (__feupdateenv)
480 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
482 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
483 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
484 (__ASSUME_SOCKETCALL): Do not define.
486 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
487 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
488 (__ASSUME_SOCKETCALL): Do not define.
489 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
490 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
491 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
492 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
493 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
494 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
495 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
496 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
498 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
499 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
500 (__ASSUME_SOCKETCALL): Do not define.
501 (__ASSUME_IPC64): Define unconditionally.
502 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
503 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
504 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
505 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
506 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
507 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
508 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
511 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
512 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
513 (__ASSUME_SOCKETCALL): Do not define.
514 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
515 (__ASSUME_FUTEX_LOCK_PI): Likewise.
516 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
517 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
518 (__ASSUME_REQUEUE_PI): Define unconditionally.
519 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
520 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
521 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
522 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
523 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
524 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
526 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
527 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
528 (__ASSUME_SOCKETCALL): Do not define.
529 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
530 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
531 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
532 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
533 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
534 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
536 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
537 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
538 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
539 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
540 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
541 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
542 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
543 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
544 (__ASSUME_GETCPU_SYSCALL): Likewise.
546 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
547 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
548 cases for individual architectures.
549 * sysdeps/gnu/configure: Regenerated.
550 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
551 LIBC_SLIBDIR_RTLDDIR.
552 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
553 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
554 LIBC_SLIBDIR_RTLDDIR.
555 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
557 LIBC_SLIBDIR_RTLDDIR.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
560 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
561 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
563 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
564 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
566 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
567 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
568 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
569 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
571 * sysdeps/aarch64/shlib-versions: Move to ...
572 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
573 * sysdeps/alpha/shlib-versions: Move to ...
574 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
575 * sysdeps/arm/shlib-versions: Move to ...
576 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
577 * sysdeps/hppa/shlib-versions: Move all contents except for
578 libgcc_s entry to ...
579 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
581 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
582 * sysdeps/ia64/shlib-versions: Move to ...
583 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
585 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
586 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
587 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
588 * sysdeps/microblaze/shlib-versions: Move to ...
589 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
590 * sysdeps/mips/shlib-versions: Move to ...
591 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
593 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
594 * sysdeps/tile/shlib-versions: Move to ...
595 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
596 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
598 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
599 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
601 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
603 2014-07-17 Will Newton <will.newton@linaro.org>
605 * sysdeps/arm/bits/atomic.h
606 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
607 (__arch_compare_and_exchange_bool_16_int): Likewise.
608 (__arch_compare_and_exchange_bool_64_int): Likewise.
610 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
613 2014-07-16 Roland McGrath <roland@hack.frob.com>
615 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
616 just Linux configurations. Test empirically that the compiler sets
617 __ARM_EABI__, rather than using the tuple to decide.
618 * sysdeps/arm/preconfigure: Regenerated.
619 * sysdeps/unix/sysv/linux/arm/configure: File removed.
620 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
621 contents appended ...
622 * sysdeps/arm/configure.ac: ... here.
623 * sysdeps/arm/configure: Regenerated.
625 2014-07-15 Roland McGrath <roland@hack.frob.com>
627 * nptl/pthread_kill.c: New file.
628 * nptl/pthread_sigmask.c: New file.
629 * nptl/pthread_sigqueue.c: New file.
631 * sysdeps/nptl/lowlevellock.h: New file.
632 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
633 * sysdeps/nptl/lowlevellock-futex.h: New file.
635 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
636 Remove dead declarations.
638 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
640 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
641 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
643 * sysdeps/x86_64/configure.ac: Likewise.
644 * sysdeps/i386/configure: Regenerated.
645 * sysdeps/x86_64/configure: Likewise.
646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
647 memset-avx2 only if config-cflags-avx2 is yes.
648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
649 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
651 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
652 only if HAVE_AVX2_SUPPORT is defined.
653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
655 2014-07-14 Alan Modra <amodra@gmail.com>
658 * elf/elf.h (DT_PPC64_NUM): Correct value.
659 * NEWS: Add to fixed bug list.
661 2014-07-13 Jim Meyering <meyering@fb.com>
664 regex: don't deref NULL upon heap allocation failure
665 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
666 failure in one more place.
667 To trigger the segfault, configure grep -with-included-regex,
668 build it, and run these commands:
669 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
671 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
673 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
675 2014-07-11 Richard Henderson <rth@redhat.com>
677 * sysdeps/aarch64/libm-test-ulps: Update.
679 2014-07-10 Florian Weimer <fweimer@redhat.com>
682 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
683 * nptl/allocatestack.c (__nptl_setxid_error): New function.
684 (__nptl_setxid): Initialize error member. Call
686 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
687 * nptl/descr.h (struct xid_command): Add error member.
688 * nptl/tst-setuid3.c: New file.
689 * nptl/Makefile (tests): Add it.
691 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
695 (__lll_trylock): Use __lll_base_trylock.
696 (__lll_cond_trylock): Likewise.
698 2014-07-10 Roland McGrath <roland@hack.frob.com>
700 * nptl/pthread_create.c (start_thread): Use atomic_or and
701 lll_futex_wake directly rather than lll_robust_dead.
702 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
703 (lll_robust_dead): Macro removed.
704 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
705 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
707 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
709 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
710 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
711 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
712 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
714 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
715 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
717 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
720 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
721 Use atomic_compare_and_exchange_val_acq directly rather than
723 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
724 (__lll_robust_trylock, lll_robust_trylock): Removed.
725 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
726 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
727 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
728 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
729 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
730 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
731 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
732 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
734 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
735 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
736 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
737 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
740 2014-07-02 Florian Weimer <fweimer@redhat.com>
742 * manual/locale.texi (Locale Names): New section documenting
743 locale name syntax. Adjust menu and node chaining accordingly.
744 (Choosing Locale): Reference Locale Names, Locale Categories.
745 Mention setting LC_ALL=C. Reflect that name syntax is now
747 (Locale Categories): New section title. Reference Locale Names.
748 LC_ALL is an environment variable, but not a category.
749 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
750 description, now in Locale Name. Reference that section. Locale
751 name syntax is now documented.
753 2014-07-02 Florian Weimer <fweimer@redhat.com>
756 * locale/findlocale.c (name_present, valid_locale_name): New
758 (_nl_find_locale): Use the loc_name variable to store name
759 candidates. Call name_present and valid_locale_name to check and
760 validate locale names. Return an error if the locale is invalid.
762 2014-07-02 Florian Weimer <fweimer@redhat.com>
764 * locale/setlocale.c (setlocale): Use strdup for allocating
767 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
770 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
771 [!_LIBC && ENABLE_NLS]: Include gettext.h.
772 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
774 [USE_UNLOCKED_IO]: Include unlocked-io.h.
775 [!_LIBC]: Include code for Windows and Cygwin.
776 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
777 Include prototype for int strerror_r.
778 [!_LIBC] (is_open): New function.
779 (flush_stdout): New function.
780 (print_errno_message): Use it.
782 (error_at_line): Likewise.
783 (error_tail) Add function attribute macros. Use
786 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
788 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
790 * io/ftw.c: Include sys/param.h unconditionally.
792 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
795 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
797 (freecache): New function to free CACHE on exit.
799 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
802 2014-07-09 David S. Miller <davem@davemloft.net>
804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
806 * sysdeps/sparc/nptl/internaltypes.h: Delete.
807 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
808 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
809 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
810 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
811 * sysdeps/sparc/nptl/sem_init.c: Likewise.
812 * sysdeps/sparc/nptl/sem_post.c: Likewise.
813 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
814 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
815 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
816 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
817 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
818 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
820 2014-07-09 Andreas Schwab <schwab@suse.de>
822 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
824 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
827 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
829 2014-07-09 Will Newton <will.newton@linaro.org>
831 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
832 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
833 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
834 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
835 * sysdeps/hppa/start.S (_start): Likewise.
837 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
839 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
841 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
844 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
846 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
847 after checking that it is non-NULL.
849 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
851 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853 * sysdeps/powerpc/memmove.c: Remove file.
854 * sysdeps/powerpc/powerpc32/power4/memcopy.h
855 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
856 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
857 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
858 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
859 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
861 string memmove instead of removed powerpc one.
863 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
864 [weak_alias]: Fix compiler warning due trailing data.
865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
866 [weak_alias]: Likewise.
867 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
868 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
871 (__libc_ifunc_impl_list): Add memmove functions.
873 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
875 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
877 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
879 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
881 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
883 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
885 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
887 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
889 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
891 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
893 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
895 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
897 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
899 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
901 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
903 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
905 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
907 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
910 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
913 to avoid alignment traps in non-cacheable memory.
914 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
918 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
919 file: multiarch power7 memmove.
920 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
921 multiarch default memmove.
922 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
923 multiarch memove for powerpc32/power4.
925 * string/bcopy.c: Use full path to include memmove.c.
926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
928 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
930 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
933 and memmove implementations.
934 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
935 optimized multiarch memmove for POWER7/powerpc64.
936 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
937 default multiarch memmove for powerpc64.
938 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
939 multiarch for powerpc64.
940 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
941 for POWER7/powerpc64.
942 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
943 memmove for POWER7/powerpc64.
945 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
948 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
949 __ELF_NATIVE_CLASS equal to 64.
951 2014-07-07 Roland McGrath <roland@hack.frob.com>
953 * sysdeps/nptl/lowlevellock.h: File removed.
955 * NEWS: NPTL is no longer an add-on!
956 * nptl/internaltypes.h: Moved ...
957 * sysdeps/nptl/internaltypes.h: ... here.
958 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
959 * sysdeps/nptl/fork.c: Likewise.
960 * sysdeps/nptl/gai_misc.h: Likewise.
961 * sysdeps/nptl/librt-cancellation.c: Likewise.
962 * sysdeps/nptl/jmp-unwind.c: Likewise.
963 * sysdeps/nptl/setxid.h: Likewise.
964 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
965 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
966 * sysdeps/unix/sysv/linux/arm/Implies: New file.
967 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
968 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
969 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
970 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
971 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
972 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
973 * sysdeps/unix/sysv/linux/mips/Implies: New file.
974 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
975 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
976 * sysdeps/unix/sysv/linux/sh/Implies: New file.
977 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
978 * sysdeps/unix/sysv/linux/tile/Implies: New file.
979 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
980 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
981 * nptl/Makeconfig: Moved ...
982 * sysdeps/nptl/Makeconfig: ... here.
983 * nptl/configure: File removed.
984 * nptl/ANNOUNCE: File removed.
985 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
986 * sysdeps/unix/sysv/linux/configure: Regenerated.
988 * nptl/Makefile (routines): Add libc_pthread_init,
989 libc_multiple_threads, register-atfork and unregister-atfork.
990 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
991 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
992 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
993 pthread-pi-defines.sym, structsem.sym.
994 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
995 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
996 [$(subdir) = nptl] (tests): Add tst-setgetname.
997 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
998 * sysdeps/unix/sysv/linux/sigaction.c: Just include
999 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1000 [!LIBC_SIGACTION]: Remove aliases.
1001 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1002 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1003 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1004 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1005 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1006 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1010 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1011 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1012 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1013 __libc_allocate_rtsig_private.
1014 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1015 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1016 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1017 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1018 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1019 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1020 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1021 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1022 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1023 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1024 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1025 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1026 * nptl/internaltypes.h: ... here.
1027 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1028 * sysdeps/nptl/jmp-unwind.c: ... here.
1029 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1030 * nptl/libc-lowlevellock.c: ... here.
1031 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1032 * nptl/libc_multiple_threads.c: ... here.
1033 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1034 * nptl/libc_pthread_init.c: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1036 * nptl/lowlevelbarrier.sym: ... here.
1037 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1038 * nptl/lowlevelcond.sym: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1040 * nptl/lowlevellock.c: ... here.
1041 * nptl/lowlevellock.h: Moved ...
1042 * sysdeps/nptl/lowlevellock.h: ... here.
1043 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1044 * nptl/lowlevelrobustlock.c: ... here.
1045 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1046 * nptl/lowlevelrobustlock.sym: ... here.
1047 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1048 * nptl/lowlevelrwlock.sym: ... here.
1049 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1050 * nptl/pt-fork.c: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1052 * nptl/pthread-pi-defines.sym: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1054 * nptl/pthread_attr_getaffinity.c: ... here.
1055 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1056 * nptl/pthread_attr_setaffinity.c: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1058 * nptl/pthread_mutex_cond_lock.c: ... here.
1059 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1061 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1062 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1063 * nptl/pthread_once.c: ... here, replacing old file.
1064 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1065 * nptl/pthread_yield.c: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1067 * nptl/register-atfork.c: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1069 * nptl/sem_post.c: ... here.
1070 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1071 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1072 * nptl/sem_timedwait.c: ... here.
1073 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1074 * nptl/sem_trywait.c: ... here.
1075 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1076 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1077 * nptl/sem_wait.c: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1079 * nptl/structsem.sym: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1081 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1082 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1083 * nptl/unregister-atfork.c: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1085 * nptl/unwindbuf.sym: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1087 * sysdeps/nptl/fork.c: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1089 * sysdeps/nptl/fork.h: ... here.
1090 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1091 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1092 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1094 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1095 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1096 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1097 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1098 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1100 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1102 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1104 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1106 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1108 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1110 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1112 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1114 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1116 * sysdeps/unix/sysv/linux/raise.c: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1118 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1120 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1122 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1124 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1126 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1128 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1130 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1131 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1133 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1135 * sysdeps/generic/memcopy.h: Add comment for
1136 MEMCPY_OK_FOR_FWD_MEMMOVE.
1138 2014-07-04 Will Newton <will.newton@linaro.org>
1140 * string/memchr.c: Merge from gnulib.
1141 [_LIBC]: Remove conditionals.
1142 (__ptr_t): Remove define.
1143 (LONG_MAX_32_BITS): Likewise.
1144 (LONG_MAX): Likewise.
1145 (MEMCHR): Use ANSI prototype and optimize algorithm.
1147 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1149 2014-07-03 Roland McGrath <roland@hack.frob.com>
1151 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1152 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1154 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1155 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1156 in a bare environment with no <stdlib.h> installed.
1157 * sysdeps/nptl/configure: Regenerated.
1159 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1161 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1162 AC_EGREP_CPP for kernel header checks, so they only succeed if
1163 including <linux/version.h> actually works right.
1164 * sysdeps/unix/sysv/linux/configure: Regenerated.
1166 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1167 value so it's not diagnosed as unused.
1169 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1170 thing) with "ifeq ($(subdir),rt)".
1172 2014-07-03 Richard Henderson <rth@redhat.com>
1174 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1175 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1176 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1178 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1179 (math_force_eval): New.
1181 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1182 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1184 * sysdeps/alpha/fpu/s_round.c: Remove file.
1185 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1187 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1188 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1189 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1190 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1191 (_dl_start, print_statistics): Likewise.
1192 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1193 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1195 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1196 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1197 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1198 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1199 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1200 (HP_SMALL_TIMING_AVAIL): Define.
1201 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1202 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1203 (HP_SMALL_TIMING_AVAIL): Define.
1204 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1205 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1207 * sysdeps/aarch64/hp-timing.h: New file.
1209 * sysdeps/generic/hp-timing.h: Remove dead comment.
1210 * sysdeps/generic/hp-timing-common.h: New file.
1211 * sysdeps/alpha/hp-timing.h: Include it.
1212 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1213 * sysdeps/i386/i686/hp-timing.h: Likewise.
1214 * sysdeps/ia64/hp-timing.h: Likewise.
1215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1216 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1218 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1219 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1220 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1223 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1224 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1225 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1226 * elf/rtld.c (_dl_start_final): Likewise.
1227 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1228 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1229 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1230 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1231 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1233 (HP_TIMING_DIFF_INIT): Remove.
1234 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1236 (HP_TIMING_DIFF_INIT): Remove.
1237 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1238 * sysdeps/i386/i686/hp-timing.c: Remove file.
1239 * sysdeps/x86_64/hp-timing.c: Remove file.
1240 * sysdeps/ia64/hp-timing.c: Remove file.
1241 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1242 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1243 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1244 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1246 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1247 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1248 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1249 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1250 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1251 (HP_TIMING_ACCUM): Remove.
1252 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1253 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1254 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1256 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1257 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1258 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1259 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1260 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1261 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1262 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1263 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1265 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1267 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1269 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1271 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1273 Sync up with gettext.
1274 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1275 [_MSC_VER]: Include malloc.h
1276 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1277 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1278 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1279 TEMP_FAILURE_RETRY. Cast return of alloca.
1280 [!_LIBC] Call gl_rwlock_init.
1281 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1283 2014-07-02 Roland McGrath <roland@hack.frob.com>
1285 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1286 before checking its value.
1288 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1290 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1292 * debug/memcpy_chk.c: Don't include pagecopy.h.
1293 * debug/mempcpy_chk.c: Likewise.
1294 * string/memcpy.c: Likewise.
1295 * string/memmove.c: Likewise.
1296 * sysdeps/powerpc/memmove.c: Likewise.
1297 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1298 definition of PAGE_COPY_FWD_MAYBE here...
1299 * sysdeps/generic/pagecopy.h: ... from here.
1300 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1302 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1309 (__libc_ifunc_impl_list): Likewise.
1310 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1311 multiarch strcat for PPC64.
1312 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1313 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1315 2014-07-02 Roland McGrath <roland@hack.frob.com>
1317 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1319 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1321 * intl/loadmsgcat.c: Remove declaration of
1322 get_sysdep_segment_value.
1323 (get_sysdep_segment_value): Use ISO C style.
1324 (_nl_load_domain): Use ISO C style. Get rid of redundant
1325 semicolon. Fix typo and formatting in comment.
1326 (_nl_unload_domain): Use ISO C style.
1328 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1330 2014-07-02 Will Newton <will.newton@linaro.org>
1332 * malloc/obstack.c: Merge from gnulib master.
1333 [HAVE_CONFIG_H]: Remove conditional code.
1334 [!_LIBC]: Include config.h.
1335 [!ELIDE_CODE]: Don't include inttypes.h, include
1336 stdint.h unconditionally.
1337 (print_and_abort): Mark as _Noreturn.
1338 (_obstack_allocated_p): Mark as __attribute_pure__.
1339 (obstack_free): Rename to __obstack_free.
1340 [!__attribute__]: Remove conditional code.
1341 * malloc/obstack.h: Merge from gnulib master.
1342 [__cplusplus]: Move conditional down.
1343 [!__attribute_pure__]: Define __attribute_pure__ here
1344 if it is not already defined.
1345 (_obstack_memory_used): Mark as __attribute_pure__.
1346 [!__obstack_free]: Define as obstack_free.
1347 [__GNUC__]: Remove check for ancient NeXT gcc.
1349 2014-07-02 Will Newton <will.newton@linaro.org>
1350 Paul Eggert <eggert@cs.ucla.edu>
1352 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1354 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1356 * resolv/gethnamaddr.c: Add comment warning that the file is
1359 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1361 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1364 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1365 entry for aio_cancel and aio_cancel64.
1366 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1367 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1368 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1369 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1370 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1371 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1372 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1373 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1374 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1375 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1376 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1377 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1378 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1380 2014-07-01 Roland McGrath <roland@hack.frob.com>
1382 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1383 * nptl/pthread_mutex_lock.c: Likewise.
1384 * nptl/pthread_mutex_timedlock.c: Likewise.
1385 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1387 2014-07-01 Richard henderson <rth@redhat.com>
1389 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1390 (__isnan, __isnanl): Remove.
1391 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1393 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1395 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1397 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1399 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1401 * resolv/nss_dns/dns-host.c (getanswer_r)
1402 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1404 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1407 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1409 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1410 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1412 2014-07-01 Roland McGrath <roland@hack.frob.com>
1414 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1415 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1417 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1418 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1420 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1421 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1423 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1424 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1426 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1427 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1428 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1429 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1431 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1432 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1433 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1437 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1439 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1460 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1463 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1464 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1465 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1466 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1467 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1469 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1471 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1472 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1473 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1476 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1482 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1483 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1485 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1487 * sysdeps/arm/libm-test-ulps: Regenerated.
1489 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1490 Roland McGrath <roland@hack.frob.com>
1492 * test-skeleton.c (signal_handler): Kill the whole process group
1493 before killing the child individually.
1494 (main): Report any failure on `setpgid'.
1496 2014-06-30 Roland McGrath <roland@hack.frob.com>
1498 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1499 from _TLS_H to _ARM_NPTL_TLS_H.
1500 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1501 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1503 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1507 (__expm1l): Return argument unchanged when small but not
1510 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1512 (_FP_UNPACK_RAW_1_P): Likewise.
1513 (_FP_PACK_RAW_1): Likewise.
1514 (_FP_PACK_RAW_1_P): Likewise.
1515 (_FP_MUL_MEAT_1_wide): Likewise.
1516 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1517 (_FP_MUL_MEAT_1_hard): Likewise.
1518 (_FP_DIV_MEAT_1_imm): Likewise.
1519 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1520 (_FP_DIV_MEAT_1_udiv): Likewise.
1521 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1522 (_FP_UNPACK_RAW_2): Likewise.
1523 (_FP_UNPACK_RAW_2_P): Likewise.
1524 (_FP_PACK_RAW_2): Likewise.
1525 (_FP_PACK_RAW_2_P): Likewise.
1526 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1527 (_FP_MUL_MEAT_2_wide): Likewise.
1528 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1529 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1530 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1531 (_FP_MUL_MEAT_2_gmp): Likewise.
1532 (_FP_DIV_MEAT_2_udiv): Likewise.
1533 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1534 (_FP_FRAC_SRL_4): Likewise.
1535 (_FP_FRAC_SRST_4): Likewise.
1536 (_FP_FRAC_SRS_4): Likewise.
1537 (_FP_UNPACK_RAW_4): Likewise.
1538 (_FP_UNPACK_RAW_4_P): Likewise.
1539 (_FP_PACK_RAW_4): Likewise.
1540 (_FP_PACK_RAW_4_P): Likewise.
1541 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1542 (_FP_MUL_MEAT_4_wide): Likewise.
1543 (_FP_MUL_MEAT_4_gmp): Likewise.
1544 (umul_ppppmnnn): Likewise.
1545 (_FP_DIV_MEAT_4_udiv): Likewise.
1546 (__FP_FRAC_ADD_4): Likewise.
1547 (__FP_FRAC_SUB_3): Likewise.
1548 (__FP_FRAC_SUB_4): Likewise.
1549 (__FP_FRAC_DEC_3): Likewise.
1550 (__FP_FRAC_DEC_4): Likewise.
1551 (__FP_FRAC_ADDI_4): Likewise.
1552 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1553 (_FP_FRAC_SRL_8): Likewise.
1554 (_FP_FRAC_SRS_8): Likewise.
1556 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1558 (FP_UNPACK_RAW_EP): Likewise.
1559 (FP_PACK_RAW_E): Likewise.
1560 (FP_PACK_RAW_EP): Likewise.
1561 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1562 (_FP_ISSIGNAN): Likewise.
1563 (_FP_ADD_INTERNAL): Likewise.
1564 (_FP_FMA): Likewise.
1565 (_FP_CMP): Likewise.
1566 (_FP_SQRT): Likewise.
1567 (_FP_TO_INT): Likewise.
1568 (_FP_FROM_INT): Likewise.
1569 (FP_EXTEND): Likewise.
1570 (_FP_DIV_MEAT_N_loop): Likewise.
1572 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1574 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1577 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1580 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1581 result with correct sign in case of exponents that produce
1582 overflow except for X very close to 1.
1584 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1586 mktime: merge #if/#ifdef usage from glibc
1587 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1588 as that works with both Glibc's and Gnulib's style.
1589 See thread starting at Siddhesh Poyarekar's bug report at:
1590 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1592 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1594 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1595 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1596 * sysdeps/tile/tilegx/memmove.c: Remove file.
1598 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1600 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1601 abi-name definition.
1602 * scripts/soversions.awk: Do not handle or generate ABI lines.
1603 * shlib-versions: Remove ABI entries.
1604 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1605 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1607 2014-06-27 Roland McGrath <roland@hack.frob.com>
1609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1617 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1633 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1640 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1643 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1648 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1657 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1665 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1666 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1670 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1673 Identical file removed.
1674 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1676 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1678 Identical file removed.
1679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1683 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1685 Identical file removed.
1686 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1689 Identical file removed.
1690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1691 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1693 Identical file removed.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1695 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1697 Identical file removed.
1698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1700 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1702 Identical file removed.
1703 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1705 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1709 Identical file removed.
1710 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1712 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1715 Identical file removed.
1716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1718 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1720 Identical file removed.
1721 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1723 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1725 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1730 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1731 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1732 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1734 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1735 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1736 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1737 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1738 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1740 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1743 * nscd/nscd.c (monitor_child): Return exit status of child
1744 instead of return value from wait syscall.
1746 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1748 * configure.ac (libc_commonpagesize): Remove variable.
1749 (libc_relro_required): Likewise.
1750 (libc_cv_z_relro): Remove configure test.
1751 * configure: Regenerated.
1752 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1754 (libc_relro_required): Likewise.
1755 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1756 (libc_relro_required): Likewise.
1757 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1758 (libc_relro_required): Likewise.
1759 * sysdeps/arm/preconfigure: Regenerated.
1760 * sysdeps/ia64/preconfigure: Remove file.
1761 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1763 (libc_relro_required): Likewise.
1767 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1768 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1769 recompute overflowing results in original rounding mode.
1770 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1771 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1772 recompute overflowing results in original rounding mode.
1773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1774 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1775 recompute overflowing results in original rounding mode.
1776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1777 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1778 recompute overflowing results in original rounding mode.
1779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1780 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1781 recompute overflowing results in original rounding mode.
1782 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1783 (libc_feholdsetround_ctx): New macro.
1784 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1785 * sysdeps/i386/fpu/libm-test-ulps: Update.
1786 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1788 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1790 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1791 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1792 corresponding .cpsetup call.
1794 2014-06-26 Roland McGrath <roland@hack.frob.com>
1796 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1797 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1798 * sysdeps/arm/Makefile [$(subdir) = csu]
1799 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1800 (static-only-routines): Add aeabi_read_tp here.
1801 (shared-only-routines): Add libc-aeabi_read_tp here.
1802 (CFLAGS-libc-start.c): Add -fexceptions here.
1803 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1804 (sysdep_routines, static-only-routines, shared-only-routines):
1805 Don't add to these here.
1806 (CFLAGS-libc-start.c): Likewise.
1808 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1809 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1810 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1811 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1812 * sysdeps/arm/Makefile [$(subdir) = rt]
1813 (librt-sysdep_routines, librt-shared-only-routines):
1814 Append rt-aeabi_unwind_cpp_pr1 here.
1815 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1816 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1817 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1818 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1819 Append nptl-aeabi_unwind_cpp_pr1 here.
1820 (tests): Filter out tst-cleanupx4 here.
1821 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1822 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1823 Don't do those here.
1825 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1827 * scripts/list-sources.sh: Do not handle ports specially.
1829 2014-06-26 Roland McGrath <roland@hack.frob.com>
1831 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1832 * sysdeps/arm/feupdateenv.c: Likewise.
1834 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1836 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1838 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1839 trailing whitespace removed.
1840 * scripts/config.guess: Update to version 2014-03-23.
1841 * scripts/config.sub: Update to version 2014-05-01
1842 * scripts/install-sh: Update to version 2013-12-25.23.
1843 * scripts/move-if-change: Update from gnulib.
1845 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1847 * debug/memmove_chk.c: Remove pagecopy.h include.
1849 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1851 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1852 identical to gnulib mktime.
1854 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1856 * configure.ac: Do not test for machine being rs6000. Do not test
1858 * configure: Regenerated.
1860 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1862 * configure: Regenerated.
1863 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1864 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1865 Remove configure test.
1866 * sysdeps/arm/configure: Regenerated.
1867 * sysdeps/nptl/configure.ac: Do not check
1868 libc_cv_asm_cfi_directives.
1869 * sysdeps/nptl/configure: Regenerated.
1870 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1871 * sysdeps/x86_64/nptl/configure: Remove generated file.
1872 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1874 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1876 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1878 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1879 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1880 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1883 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1884 instead of whether it is defined.
1885 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1886 * sysdeps/hppa/dl-machine.h: Likewise.
1887 * sysdeps/ia64/dl-machine.h: Likewise.
1888 * sysdeps/m68k/dl-machine.h: Likewise.
1889 * sysdeps/microblaze/dl-machine.h: Likewise.
1890 * sysdeps/mips/dl-machine.: Likewise.
1891 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1892 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1893 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1894 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1895 * sysdeps/sh/dl-machine.h: Likewise.
1896 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1897 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1898 * sysdeps/tile/dl-machine.h: Likewise.
1899 * sysdeps/x86_64/dl-machine.h: Likewise.
1901 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1903 (verify_persistent_db): Likewise.
1905 2014-06-26 Roland McGrath <roland@hack.frob.com>
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1913 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1918 Identical file removed.
1919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1931 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1938 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1940 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1942 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1944 Identical file removed.
1945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1946 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1951 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1965 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1968 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1973 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1977 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1979 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1980 * sysdeps/unix/sysv/linux/s390/Versions
1981 (libpthread: GLIBC_2.19): New version set.
1982 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1983 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1984 (librt: GLIBC_2.3.3): New version set.
1985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1986 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1987 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1989 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1995 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1997 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1999 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2001 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2009 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2011 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2013 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2015 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2021 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2027 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2029 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2032 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2033 (__libc_vfork): Define the function under this name.
2034 [!NOT_IN_libc] (__vfork): Make this an alias.
2035 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2037 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2038 (__libc_vfork): Define the function under this name.
2039 [!NOT_IN_libc] (__vfork): Make this an alias.
2040 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2041 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2042 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2044 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2045 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2047 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2048 code that was previously under [RESET_PID].
2049 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2050 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2053 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2054 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2055 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2056 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2057 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2058 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2059 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2060 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2061 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2062 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2065 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2071 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2073 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2075 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2077 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2079 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2081 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2085 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2087 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2088 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2089 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2090 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2091 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2092 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2093 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2095 2014-06-25 Roland McGrath <roland@hack.frob.com>
2097 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2098 that was previously under [RESET_PID].
2099 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2101 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2103 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2104 not undefine and redefine.
2105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2106 [O_CLOEXEC]: Make code unconditional.
2107 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2108 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2109 <kernel-features.h>.
2110 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2111 conditional variable definition.
2112 (shm_open) [O_CLOEXEC]: Make code unconditional.
2113 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2116 * configure.ac (USE_REGPARMS): Don't define here.
2117 * configure: Regenerated.
2118 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2119 * sysdeps/i386/configure: Regenerated.
2121 * nptl/createthread.c: Don't include kernel-features.h.
2122 * nptl/pthread_cancel.c: Likewise.
2123 * nptl/pthread_condattr_setclock.c: Likewise.
2124 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2125 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2126 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2127 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2128 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2129 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2130 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2132 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2133 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2134 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2135 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2136 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2137 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2138 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2139 * nscd/gai.c: Likewise.
2140 * nss/nss_db/db-open.c: Likewise.
2141 * sysdeps/generic/ldsodefs.h: Likewise.
2142 * sysdeps/sh/nptl/tls.h: Likewise.
2143 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2144 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2145 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2146 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2147 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2148 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2149 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2150 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2151 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2152 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2153 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2154 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2155 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2156 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2157 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2158 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2159 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2160 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2161 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2162 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2164 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2165 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2166 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2171 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2172 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2173 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2174 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2175 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2177 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2178 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2180 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2181 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2182 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2183 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2184 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2185 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2186 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2187 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2188 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2189 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2190 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2191 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2192 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2193 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2194 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2195 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2196 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2197 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2223 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2224 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2225 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2226 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2227 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2230 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2231 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2232 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2233 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2234 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2235 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2236 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2237 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2238 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2241 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2242 * sysdeps/unix/sysv/linux/system.c: Likewise.
2243 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2244 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2245 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2246 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2247 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2249 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2251 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2252 * configure: Regenerated.
2253 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2255 * configure.ac (base_machine): Do not set specially for particular
2257 * configure: Regenerated.
2258 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2259 settings from configure.ac.
2260 * sysdeps/i386/preconfigure: New file.
2261 * sysdeps/s390/preconfigure: Likewise.
2262 * sysdeps/sh/preconfigure: Likewise.
2263 * sysdeps/sparc/preconfigure: Likewise.
2265 2014-06-25 Roland McGrath <roland@hack.frob.com>
2267 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2268 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2269 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2270 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2271 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2272 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2273 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2274 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2275 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2276 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2277 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2278 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2279 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2280 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2281 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2284 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2285 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2287 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2288 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2289 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2290 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2291 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2292 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2293 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2294 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2295 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2296 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2297 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2298 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2299 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2300 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2301 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2302 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2303 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2304 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2305 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2306 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2308 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2310 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2317 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2318 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2319 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2320 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2322 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2323 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2324 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2327 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2376 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2385 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2393 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2399 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2401 * timezone/checktab.awk: Update from tzcode 2014e.
2402 * timezone/private.h: Likewise.
2403 * timezone/tzfile.h: Likewise.
2404 * timezone/zdump.c: Likewise.
2405 * timezone/zic.c: Likewise.
2407 * sysdeps/unix/sysv/linux/kernel-features.h
2408 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2410 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2411 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2412 Remove conditional code.
2414 2014-06-25 Will Newton <will.newton@linaro.org>
2416 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2417 (_dl_arm_cap_flags): Add HWCAP2 values.
2418 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2419 (_DL_HWCAP_COUNT): Increase to 37.
2420 (_DL_HWCAP_LAST): New define.
2421 (_DL_HWCAP2_LAST): New define.
2422 (_dl_procinfo): Add support for printing
2424 (_dl_string_hwcap): Use _dl_hwcap_string.
2426 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2430 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2432 * README: Do not mention ports directory.
2434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2436 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2437 <kernel-features.h>.
2438 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2439 conditional variable definition.
2440 (__futimes): Update comment.
2441 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2442 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2445 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2446 arguments close to 0.
2447 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2449 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2451 * math/auto-libm-test-in: Add more tests of exp10.
2452 * math/auto-libm-test-out: Regenerated.
2453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2455 * sysdeps/unix/sysv/linux/kernel-features.h
2456 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2457 * sysdeps/unix/sysv/linux/readv.c: Do not include
2458 <kernel-features.h>.
2459 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2460 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2461 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2463 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2465 * sysdeps/unix/sysv/linux/writev.c: Do not include
2466 <kernel-features.h>.
2467 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2468 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2469 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2471 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2474 2014-06-25 Will Newton <will.newton@linaro.org>
2476 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2477 comment changes throughout the file. Remove checks
2478 for HAVE_*_H definitions that are not required.
2479 (__gen_tempname): Call abort if an unknown kind value is
2482 2014-06-25 Andreas Schwab <schwab@suse.de>
2485 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2486 scalbln, scalblnf, scalblnl in libc.
2488 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2491 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2492 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2493 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2495 2014-06-24 Roland McGrath <roland@hack.frob.com>
2497 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2498 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2499 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2500 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2502 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2503 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2505 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2506 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2507 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2508 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2509 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2510 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2511 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2512 * sysdeps/x86/bits/semaphore.h: ... here.
2513 * sysdeps/x86/nptl/elide.h: Moved ...
2514 * sysdeps/x86/elide.h: ... here.
2515 * sysdeps/x86_64/nptl/Implies: File removed.
2516 * sysdeps/i386/nptl/Implies: File removed.
2518 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2522 return the argument for normal arguments with exponent below -64.
2523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2525 * math/auto-libm-test-in: Add another test of expm1.
2526 * math/auto-libm-test-out: Regenerated.
2529 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2530 calling __erfcl for arguments at least 16.
2531 * math/auto-libm-test-in: Add more tests of erf.
2532 * math/auto-libm-test-out: Regenerated.
2534 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2535 individual architectures.
2536 * sysdeps/unix/sysv/linux/configure: Regenerated.
2537 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2538 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2539 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2540 (ldd_rewrite_script): Define variable.
2541 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2546 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2547 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2548 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2549 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2550 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2551 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2552 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2553 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2555 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2558 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2559 Rename member __data.d to __data.__elision_data.
2561 2014-06-24 Wilco <wdijkstr@arm.com>
2563 * NEWS: Add 16918 to fixed bug list.
2565 2014-06-24 Wilco <wdijkstr@arm.com>
2567 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2569 2014-06-24 Wilco <wdijkstr@arm.com>
2571 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2572 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2573 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2574 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2575 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2576 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2577 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2580 2014-06-24 Wilco <wdijkstr@arm.com>
2582 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2584 2014-06-24 Wilco <wdijkstr@arm.com>
2586 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2587 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2588 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2589 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2591 2014-06-24 Wilco <wdijkstr@arm.com>
2594 * sysdeps/arm/feupdateenv.c (feupdateenv):
2595 Rewrite to reduce FPSCR accesses and fix return value.
2597 2014-06-24 Wilco <wdijkstr@arm.com>
2599 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2600 Optimize to avoid unnecessary FPSCR writes.
2601 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2602 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2603 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2604 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2606 2014-06-24 Wilco <wdijkstr@arm.com>
2608 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2609 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2610 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2611 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2612 Call libc_fetestexcept_vfp.
2613 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2614 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2615 __SOFTFP__ ifdef so that they can be built for softfp.
2617 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2619 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2620 argument type signed char.
2622 * Makerules (check-abi): Dump diff of symlist if the test
2625 2014-06-23 Roland McGrath <roland@hack.frob.com>
2627 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2630 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2631 Remove unused variable ST.
2633 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2638 small arguments before calling __expm1.
2639 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2640 small arguments before calling __expm1f.
2641 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2642 small arguments before calling __expm1l.
2643 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2645 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2646 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2647 spurious underflow for some cosh tests.
2648 * math/auto-libm-test-out: Regenerated.
2649 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2653 (__ieee754_y1): Set errno if return value overflows.
2654 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2655 (__ieee754_y1f): Set errno if return value overflows.
2656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2657 (__ieee754_y1l): Set errno if return value overflows.
2658 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2659 (__ieee754_y1l): Set errno if return value overflows.
2660 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2661 * math/auto-libm-test-out: Regenerated.
2663 * math/gen-auto-libm-tests.c: Document use of
2664 ignore-zero-inf-sign.
2665 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2666 (input_flags): Add ignore-zero-inf-sign.
2667 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2668 * math/gen-libm-test.pl (generate_testfile): Handle
2669 ignore-zero-inf-sign.
2670 * math/auto-libm-test-in: Mark some cpow tests with
2671 ignore-zero-inf-sign and some with xfail-rounding.
2672 * math/auto-libm-test-out: Regenerated.
2673 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2678 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2679 overflowing or underflowing operations take place with sign of
2681 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2682 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2683 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2684 (__ieee754_pow): Recompute overflowing and underflowing results in
2685 original rounding mode.
2686 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2687 (__powl_helper): Allow negative argument X and scale negated value
2688 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2689 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2690 overflowing or underflowing operations take place with sign of
2692 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2694 * math/auto-libm-test-in: Add more tests of pow.
2695 * math/auto-libm-test-out: Regenerated.
2696 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2697 (pow_tonearest_test_data): Remove.
2698 (pow_test_tonearest): Likewise.
2699 (pow_towardzero_test_data): Likewise.
2700 (pow_test_towardzero): Likewise.
2701 (pow_downward_test_data): Likewise.
2702 (pow_test_downward): Likewise.
2703 (pow_upward_test_data): Likewise.
2704 (pow_test_upward): Likewise.
2705 (main): Don't call removed functions.
2706 * sysdeps/i386/fpu/libm-test-ulps: Update.
2707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2709 2014-06-23 Roland McGrath <roland@hack.frob.com>
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2885 2014-06-23 Will Newton <will.newton@linaro.org>
2886 Wilco <wdijkstr@arm.com>
2888 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2889 implementation. Include get-rounding-mode.h.
2890 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2891 [!libc_feholdsetround_noex_ctx]: Define
2892 libc_feholdsetround_noex_ctx.
2893 [!libc_feholdsetround_noexf_ctx]: Define
2894 libc_feholdsetround_noexf_ctx.
2895 [!libc_feholdsetround_noexl_ctx]: Define
2896 libc_feholdsetround_noexl_ctx.
2897 (libc_feholdsetround_ctx): New function.
2898 (libc_feresetround_ctx): New function.
2899 (libc_feholdsetround_noex_ctx): New function.
2900 (libc_feresetround_noex_ctx): New function.
2902 2014-06-23 Roland McGrath <roland@hack.frob.com>
2904 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2905 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2906 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2907 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2908 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2909 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2911 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2912 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2913 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2914 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2915 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2916 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2918 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2923 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2925 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2926 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2931 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2940 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2943 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2948 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2952 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2954 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2959 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2975 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2982 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2986 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2988 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2989 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2990 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3001 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3007 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3015 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3017 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3020 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3021 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3022 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3023 (IPV6_PMTUDISC_INTERFACE): Likewise.
3024 (IPV6_PMTUDISC_OMIT): Likewise.
3026 2014-06-23 Andreas Schwab <schwab@suse.de>
3028 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3029 Remove unused errout label.
3031 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3034 macro: hardware supports Vector Crypto instructions.
3036 2014-06-23 Will Newton <will.newton@linaro.org>
3038 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3039 rather than __builtin_expect.
3041 * elf/dl-lookup.c (undefined_msg): Remove variable.
3042 (_dl_lookup_symbol_x): Replace undefined_msg with string
3045 * elf/dl-lookup.c (do_lookup_unique): New function.
3046 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3047 to a separate function.
3049 2014-06-23 Andreas Schwab <schwab@suse.de>
3052 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3053 before reading the next line.
3055 2014-06-23 Will Newton <will.newton@linaro.org>
3057 * test-skeleton.c (signal_handler): Use printf and %m
3058 rather than perror. Use printf rather than fprintf to
3059 stderr. Use puts rather than fputs to stderr.
3062 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3064 * nscd/nscd.c (thread_info_t): Remove typedef.
3065 (thread_info): Remove variable.
3067 2014-06-21 Allan McRae <allan@archlinux.org>
3069 * NEWS: Mention CVE-2014-4043.
3071 2014-06-20 Roland McGrath <roland@hack.frob.com>
3073 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3074 * nptl/smp.h: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3078 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3079 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3080 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3081 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3083 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3084 * nptl/stack-aliasing.h: New file.
3085 * sysdeps/i386/i686/stack-aliasing.h: New file.
3086 * sysdeps/i386/i686/nptl/Makefile: File removed.
3087 * sysdeps/x86_64/stack-aliasing.h: New file.
3088 * sysdeps/x86_64/nptl/Makefile
3089 (CFLAGS-pthread_create.c): Variable removed.
3091 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3092 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3094 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3095 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3098 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3101 (__ASSUME_SIGFRAME_V2): Remove macro.
3102 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3103 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3104 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3105 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3106 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3107 Declare as function. Remove conditional macro definitions.
3108 (__default_rt_sa_restorer): Likewise.
3109 (__default_sa_restorer_v1): Remove declaration.
3110 (__default_sa_restorer_v2): Likewise.
3111 (__default_rt_sa_restorer_v1): Likewise.
3112 (__default_rt_sa_restorer_v2): Likewise.
3113 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3114 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3115 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3117 2014-06-20 Roland McGrath <roland@hack.frob.com>
3119 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3120 (libpthread-routines): Add sysdep.
3121 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3122 * sysdeps/unix/sysv/linux/sparc/Versions
3123 (libpthread: GLIBC_2.3.3): New version set.
3124 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3125 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3126 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3128 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3129 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3131 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3133 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3135 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3137 * sysdeps/sparc/nptl/sem_init.c: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3139 * sysdeps/sparc/nptl/sem_post.c: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3141 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3143 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3145 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3146 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3147 (libpthread-routines): Add cpu_relax.
3148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3150 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3151 (librt: GLIBC_2.3.3): New version set.
3152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3153 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3154 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3155 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3158 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3161 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3163 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3165 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3167 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3169 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3180 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3195 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3203 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3206 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3208 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3210 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3212 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3214 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3215 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3216 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3217 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3218 * nscd/nscd.c: Likewise.
3219 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3220 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3221 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3222 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3224 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3225 <kernel-features.h>.
3226 (init_mq_netlink): Remove conditional have_sock_cloexec
3227 definitions. Remove code conditional on have_sock_cloexec < 0.
3228 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3229 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3230 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3231 <kernel-features.h>.
3232 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3233 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3235 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3238 Add tests for memset_chk and memset.
3240 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3243 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3246 * elf/tst-dl-iter-static.c: New file.
3247 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3249 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3252 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3254 * sysdeps/unix/sysv/linux/kernel-features.h
3255 (__ASSUME_F_GETOWN_EX): Remove macro.
3256 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3257 <kernel-features.h>.
3258 (miss_F_GETOWN_EX): Remove variable or macro.
3259 (do_fcntl): Do not check miss_F_GETOWN_EX.
3260 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3265 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3266 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3268 * sysdeps/unix/sysv/linux/kernel-features.h
3269 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3270 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3271 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3272 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3274 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3277 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3278 Fix calculation of the symbol's value.
3279 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3280 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3281 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3282 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3283 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3284 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3285 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3286 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3287 (modules-names): Add `tst-armtlsdescmod',
3288 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3289 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3290 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3291 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3292 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3293 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3294 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3295 ($(objpfx)tst-armtlsdescloc): New dependency.
3296 ($(objpfx)tst-armtlsdescextnow): Likewise.
3297 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3298 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3300 * sysdeps/arm/configure: Regenerate.
3302 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3304 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3305 (__atfct_seterrno_2): Likewise.
3306 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3307 <kernel-features.h>.
3308 (__ASSUME_ATFCTS): Do not undefine and redefine.
3309 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3310 (__have_atfcts): Remove conditional definition.
3311 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3312 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3313 unreachable if [__ASSUME_ATFCTS].
3314 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3315 not undefine and redefine.
3316 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3317 <kernel-features.h>.
3318 (faccessat) [__NR_faccessat]: Make code unconditional.
3319 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3320 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3321 <kernel-features.h>.
3322 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3323 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3324 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3325 <kernel-features.h>.
3326 (fchownat) [__NR_fchownat]: Make code unconditional.
3327 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3328 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3329 <kernel-features.h>.
3330 (futimesat) [__NR_futimesat]: Make code unconditional.
3331 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3332 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3333 <kernel-features.h>.
3334 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3335 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3336 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3337 <kernel-features.h>.
3338 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3339 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3340 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3341 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3342 <kernel-features.h>.
3343 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3344 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3345 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3346 <kernel-features.h>.
3347 (linkat) [__NR_linkat]: Make code unconditional.
3348 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3349 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3350 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3351 <kernel-features.h>.
3352 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3353 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3354 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3355 <kernel-features.h>.
3356 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3357 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3358 * sysdeps/unix/sysv/linux/openat.c: Do not include
3359 <kernel-features.h>.
3360 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3361 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3362 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3363 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3364 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3365 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3366 <kernel-features.h>.
3367 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3368 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3369 result of INLINE_SYSCALL directly, not via int variable.
3370 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3371 <kernel-features.h>.
3372 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3373 (renameat) [__NR_renameat]: Make code unconditional.
3374 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3376 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3377 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3378 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3379 (__ASSUME_ATFCTS): Do not undefine and redefine.
3380 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3381 <kernel-features.h>.
3382 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3383 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3384 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3385 <kernel-features.h>.
3386 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3387 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3388 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3389 (__ASSUME_ATFCTS): Do not undefine and redefine.
3390 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3391 <kernel-features.h>.
3392 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3393 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3394 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3395 <kernel-features.h>.
3396 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3397 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3399 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3401 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3403 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3406 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3407 constructed tree before returning error.
3408 * posix/bug-regexp36.c: Expand test case.
3410 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3413 * math/libm-test.inc (scalbln_test_date):
3414 Add errno expectations.
3415 * math/w_scalblnf.c: New File.
3416 Add wrapper which checks for setting errno to ERANGE.
3417 Add weak_alias for corresponding scalbln function.
3418 * math/w_scalbln.c: Likewise.
3419 * math/w_scalblnl.c: Likewise.
3420 * math/Makefile (libm-calls): Add w_scalbln.
3421 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3422 Remove weak_alias for corresponding scalbln function.
3423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3427 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3428 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3429 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3430 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3431 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3432 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3433 Remove long_double_symbol for scalblnl function in libm, libc.
3434 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3435 Add wrapper which checks for setting errno to ERANGE.
3436 Add long_double_symbol for scalblnl function in libm, libc.
3437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3438 Remove long_double_symbol for scalblnl in libm.
3439 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3440 Add wrapper which checks for setting errno to ERANGE.
3441 Add long_double_symbol for scalblnl function in libm.
3442 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3443 Do not use wrapper because of own implementation.
3445 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3447 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3448 3 bytes for __pad1 for x32.
3449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3451 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3452 H.J. Lu <hongjiu.lu@intel.com>
3454 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3455 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3456 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3457 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3458 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3460 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3463 * posix/regcomp.c (parse_expression): Deallocate partially
3464 constructed tree before returning error.
3465 * posix/Makefile.c (tests): Add bug-regex36.
3466 (generated): Add bug-regex36.mtrace.
3467 (tests-special): Add $(objpfx)bug-regex36-mem.out
3468 (bug-regex36-ENV): New variable.
3469 ($(objpfx)bug-regex36-mem.out): New rule.
3470 * posix/bug-regex36.c: New file.
3472 2014-06-19 Will Newton <will.newton@linaro.org>
3474 * malloc/malloc.c (systrim): If extra is zero then return
3477 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3479 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3481 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3483 * sysdeps/aarch64/strchr.S: New file.
3485 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3489 from arguments -2 or below.
3490 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3491 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3493 2014-06-18 Andreas Schwab <schwab@suse.de>
3496 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3497 of a bracket expr not to run off the end of the string.
3498 * posix/Makefile (tests): Add tst-fnmatch3.
3499 * posix/tst-fnmatch3.c: New file.
3501 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3503 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3504 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3505 [$(cross-compiling) = no]: Likewise.
3506 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3507 [$(cross-compiling) = no]: Likewise.
3509 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3512 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3513 double, adjusted for any remainder from the high double.
3514 * math/libm-test.inc (nearbyint): Add tests.
3517 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3519 * nptl/sysdeps/powerpc/Makefile: Moved ...
3520 * sysdeps/powerpc/nptl/Makefile: ... here.
3521 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3522 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3523 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3524 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3525 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3526 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3527 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3528 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3529 * nptl/sysdeps/powerpc/tls.h: Moved ...
3530 * sysdeps/powerpc/nptl/tls.h: ... here.
3532 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3535 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3536 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3537 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3538 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3539 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3540 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3541 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3542 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3543 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3545 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3547 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3549 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3551 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3554 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3557 2014-06-16 Florian Weimer <fweimer@redhat.com>
3560 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3561 non-executed part of the test.
3563 2014-06-16 Andreas Schwab <schwab@suse.de>
3565 * string/bits/string2.h (strdup, strndup): Update feature guard.
3567 2014-06-14 David S. Miller <davem@davemloft.net>
3569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3571 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3573 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3574 that was previously under [RESET_PID].
3575 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3577 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3578 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3579 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3580 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3581 (__libc_vfork): New strong alias.
3582 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3584 2014-06-14 Andi Kleen <ak@linux.intel.com>
3586 * sysdeps/generic/elide.h: New file.
3588 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3590 * Makefile (installed-headers): Adjust path of pthread.h header.
3592 2014-06-13 Roland McGrath <roland@hack.frob.com>
3594 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3595 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3596 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3597 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3599 * nptl/sysdeps/s390/Makefile: Moved ...
3600 * sysdeps/s390/nptl/Makefile: ... here.
3601 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3602 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3603 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3604 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3605 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3606 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3607 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3608 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3609 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3610 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3611 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3612 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3613 * nptl/sysdeps/s390/tls.h: Moved ...
3614 * sysdeps/s390/nptl/tls.h: ... here.
3616 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3617 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3619 2014-06-13 David S. Miller <davem@davemloft.net>
3621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3624 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3629 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3630 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3631 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3632 Remove RESET_PID cpp guards.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3634 Remove RESET_PID cpp guards.
3635 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3637 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3639 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3642 2014-06-13 Andi Kleen <ak@linux.intel.com>
3644 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3649 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3650 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3654 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3655 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3665 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3666 (pthread_rwlock_rdlock): Add elision.
3667 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3668 (pthread_rwlock_wrlock): Add elision.
3669 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3670 (pthread_rwlock_trywrlock): Add elision.
3671 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3672 (pthread_rwlock_tryrdlock): Add elision.
3673 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3674 (pthread_rwlock_tryrdlock): Add elision unlock.
3675 * nptl/sysdeps/pthread/pthread.h:
3676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3677 (PTHREAD_RWLOCK_INITIALIZER,
3678 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3679 Handle new elision field.
3680 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3681 * sysdeps/arm/nptl/bits/pthreadtypes.h
3682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3683 * sysdeps/sh/nptl/bits/pthreadtypes.h
3684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3685 * sysdeps/tile/nptl/bits/pthreadtypes.h
3686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3687 * sysdeps/a/nptl/bits/pthreadtypes.h
3688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3689 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3691 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3693 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3695 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3697 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3699 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3701 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3703 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3705 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3706 (elision_init): Set try_xbegin to zero when no RTM.
3707 * sysdeps/x86/nptl/bits/pthreadtypes.h
3708 (pthread_rwlock_t): Change __pad1 to __rwelision.
3709 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3711 2014-06-13 Andi Kleen <ak@linux.intel.com>
3713 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3714 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3715 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3716 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3718 2014-06-13 Meador Inge <meadori@codesourcery.com>
3721 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3722 that the cached result has been set before returning it.
3724 2014-06-12 Roland McGrath <roland@hack.frob.com>
3726 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3727 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3729 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3731 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3733 * nptl/sysdeps/sparc/Makefile: Moved ...
3734 * sysdeps/sparc/nptl/Makefile: ... here.
3735 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3736 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3737 * nptl/sysdeps/sparc/tls.h: Moved ...
3738 * sysdeps/sparc/nptl/tls.h: ... here.
3739 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3740 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3741 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3742 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3743 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3744 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3745 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3746 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3747 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3748 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3749 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3750 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3751 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3752 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3753 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3754 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3755 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3756 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3758 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3759 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3761 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3762 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3764 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3765 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3768 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3770 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3771 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3773 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3774 (struct list_links): Type removed.
3775 (struct thread_node, struct timer_node): Replace struct list_links
3776 with struct list_head.
3777 (list_unlink_ip): Likewise.
3778 * sysdeps/pthread/timer_routines.c
3779 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3780 (list_append, list_insbefore): Likewise.
3781 (list_init): Function removed.
3782 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3783 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3784 * sysdeps/pthread/Makefile: ... here, new file.
3786 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3787 * sysdeps/nptl/Implies: ... here.
3788 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3789 * nptl/sysdeps/pthread/list.h: Moved ...
3790 * include/list.h: ... here.
3791 * nptl/sysdeps/pthread/createthread.c: Moved ...
3792 * nptl/createthread.c: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3794 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3795 * nptl/pt-longjmp.c: ... here.
3796 * nptl/sysdeps/pthread/Makefile: Moved ...
3797 * sysdeps/nptl/Makefile: ... here.
3798 * nptl/sysdeps/pthread/Subdirs: Moved ...
3799 * sysdeps/nptl/Subdirs: ... here.
3800 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3801 * sysdeps/nptl/aio_misc.h: ... here.
3802 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3803 * sysdeps/nptl/bits/libc-lock.h: ... here.
3804 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3805 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3806 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3807 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3808 * nptl/sysdeps/pthread/configure: Moved ...
3809 * sysdeps/nptl/configure: ... here.
3810 * nptl/sysdeps/pthread/configure.ac: Moved ...
3811 * sysdeps/nptl/configure.ac: ... here.
3812 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3813 * sysdeps/nptl/gai_misc.h: ... here.
3814 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3815 * sysdeps/nptl/librt-cancellation.c: ... here.
3816 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3817 * sysdeps/nptl/malloc-machine.h: ... here.
3818 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3819 * sysdeps/nptl/pthread-functions.h: ... here.
3820 * nptl/sysdeps/pthread/pthread.h: Moved ...
3821 * sysdeps/nptl/pthread.h: ... here.
3822 * nptl/sysdeps/pthread/setxid.h: Moved ...
3823 * sysdeps/nptl/setxid.h: ... here.
3824 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3825 * sysdeps/nptl/sigfillset.c: ... here.
3826 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3827 * sysdeps/nptl/tcb-offsets.h: ... here.
3828 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3829 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3830 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3831 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3832 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3833 * sysdeps/pthread/allocalim.h: ... here.
3834 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3835 * sysdeps/pthread/bits/sigthread.h: ... here.
3836 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3837 * sysdeps/pthread/flockfile.c: ... here.
3838 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3839 * sysdeps/pthread/ftrylockfile.c: ... here.
3840 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3841 * sysdeps/pthread/funlockfile.c: ... here.
3842 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3843 * sysdeps/pthread/posix-timer.h: ... here.
3844 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3845 * sysdeps/pthread/timer_create.c: ... here.
3846 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3847 * sysdeps/pthread/timer_delete.c: ... here.
3848 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3849 * sysdeps/pthread/timer_getoverr.c: ... here.
3850 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3851 * sysdeps/pthread/timer_gettime.c: ... here.
3852 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3853 * sysdeps/pthread/timer_routines.c: ... here.
3854 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3855 * sysdeps/pthread/timer_settime.c: ... here.
3856 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3857 * sysdeps/pthread/tst-timer.c: ... here.
3858 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3859 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3861 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3862 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3864 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3865 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3866 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3867 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3868 Update #include target.
3869 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3870 * sysdeps/i386/i686/nptl/Makefile: ... here.
3871 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3872 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3873 Update #include target.
3874 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3875 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3876 * nptl/sysdeps/i386/Makefile: Moved ...
3877 * sysdeps/i386/nptl/Makefile: ... here.
3878 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3879 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3880 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3881 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3882 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3883 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3884 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3885 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3886 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3887 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3888 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3889 * nptl/sysdeps/i386/tls.h: Moved ...
3890 * sysdeps/i386/nptl/tls.h: ... here.
3892 * sysdeps/sh/Makefile [$(subdir) = csu]
3893 (gen-as-const-headers): Add tcb-offsets.sym.
3894 * nptl/sysdeps/sh/Makefile: File removed.
3895 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3896 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3897 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3898 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3899 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3900 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3901 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3902 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3903 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3904 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3905 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3906 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3907 * nptl/sysdeps/sh/tls.h: Moved ...
3908 * sysdeps/sh/nptl/tls.h: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3910 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3912 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3914 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3916 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3918 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3920 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3922 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3924 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3926 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3928 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3930 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3932 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3935 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3938 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3939 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3944 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3946 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3947 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3948 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3950 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3952 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3954 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3956 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3958 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3960 * posix/spawn_faction_addopen.c: Include string.h.
3962 2014-06-11 Roland McGrath <roland@hack.frob.com>
3964 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3965 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3966 * nptl/sysdeps/x86_64/Makefile: Moved ...
3967 * sysdeps/x86_64/nptl/Makefile: ... here.
3968 * nptl/sysdeps/x86_64/configure: Moved ...
3969 * sysdeps/x86_64/nptl/configure: ... here.
3970 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3971 * sysdeps/x86_64/nptl/configure.ac: ... here.
3972 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3973 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3974 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3975 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3976 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3977 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3978 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3979 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3980 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3981 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3982 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3983 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3984 * nptl/sysdeps/x86_64/tls.h: Moved ...
3985 * sysdeps/x86_64/nptl/tls.h: ... here.
3986 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3987 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3988 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3989 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3991 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3993 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3997 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3999 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4001 [POSIX] (off_t): Likewise.
4002 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4003 [POSIX] (S_ISBLK): Require macro.
4004 [POSIX] (S_ISCHR): Likewise.
4005 [POSIX] (S_ISDIR): Likewise.
4006 [POSIX] (S_ISFIFO): Likewise.
4007 [POSIX] (S_ISREG): Likewise.
4008 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4010 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4012 [POSIX] (time_t): Likewise.
4013 [POSIX] (timer_t): Likewise.
4015 2014-06-11 Florian Weimer <fweimer@redhat.com>
4018 * posix/spawn_int.h (struct __spawn_action): Make the path string
4019 non-const to support deallocation.
4020 * posix/spawn_faction_addopen.c
4021 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4022 * posix/spawn_faction_destroy.c
4023 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4024 path in all spawn_do_open actions.
4025 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4026 posix_spawn_file_actions_addopen.
4028 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4030 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4031 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4032 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4033 conditional code always true.
4034 (__libc_vfork): New alias.
4036 2014-06-11 Roland McGrath <roland@hack.frob.com>
4038 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4039 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4041 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4043 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4044 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4046 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4047 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4049 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4050 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4052 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4054 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4055 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4056 multiarch strcmp for PPC64.
4057 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4058 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4060 multiarch optimizations.
4061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4062 (__libc_ifunc_impl_list): Likewise.
4064 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4066 * benchtests/scripts/validate_benchout.py: New script.
4067 * benchtests/Makefile (bench-func): Call it.
4068 * benchtests/scripts/benchout.schema.json: New file.
4070 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4072 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4073 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4074 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4075 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4076 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4077 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4078 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4079 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4080 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4081 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4082 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4083 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4084 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4085 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4086 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4087 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4192 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4194 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4197 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4200 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4204 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4208 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4210 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4213 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4216 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4218 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4221 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4225 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4226 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4227 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4229 2014-06-10 Wilco <wdijkstr@arm.com>
4231 * math/test-fenv-return.c: New file.
4232 * math/Makefile: Add new test test-fenv-return.
4234 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4237 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4239 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4240 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4241 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4242 0.0L for an argument of 1.0L.
4243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4245 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4246 value when x - 1 is zero.
4247 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4248 * sysdeps/i386/fpu/libm-test-ulps: Update.
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4254 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4256 2014-06-09 Roland McGrath <roland@hack.frob.com>
4258 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4259 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4261 2014-06-09 Roland McGrath <roland@hack.frob.com>
4263 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4264 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4266 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4267 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4269 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4270 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4272 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4273 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4275 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4276 if not already defined.
4277 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4278 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4279 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4280 (TLS_INIT_TP): Use it.
4281 (TLS_DEFINE_INIT_TP): New macro.
4282 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4284 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4286 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4288 [POSIX] (IXANY): Likewise.
4289 [POSIX] (OLCUC): Likewise.
4290 [POSIX || POSIX2008] (CBAUD): Do not allow.
4291 [POSIX || POSIX2008] (DEFECHO): Likewise.
4292 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4293 [POSIX || POSIX2008] (ECHOKE): Likewise.
4294 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4295 [POSIX || POSIX2008] (EXTA): Likewise.
4296 [POSIX || POSIX2008] (EXTB): Likewise.
4297 [POSIX || POSIX2008] (FLUSHO): Likewise.
4298 [POSIX || POSIX2008] (LOBLK): Likewise.
4299 [POSIX || POSIX2008] (PENDIN): Likewise.
4300 [POSIX || POSIX2008] (SWTCH): Likewise.
4301 [POSIX || POSIX2008] (VDISCARD): Likewise.
4302 [POSIX || POSIX2008] (VDSUSP): Likewise.
4303 [POSIX || POSIX2008] (VLNEXT): Likewise.
4304 [POSIX || POSIX2008] (VREPRINT): Likewise.
4305 [POSIX || POSIX2008] (VSTATUS): Likewise.
4306 [POSIX || POSIX2008] (VWERASE): Likewise.
4307 (B*): Change to B[0123456789]*.
4308 * conform/data/time.h-data [POSIX || UNIX98]
4309 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4310 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4311 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4312 [POSIX] (tm_*): Do not allow.
4314 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4316 * Makefile (install): Don't set LANGUAGE.
4317 * Makefile.in (install): Likewise.
4318 * assert/Makefile (test-assert-ENV): Remove variable.
4319 (test-assert-perr-ENV): Likewise.
4320 * elf/Makefile (neededtest4-ENV): Likewise.
4321 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4322 [$(cross-compiling) = no]: Don't set LANGUAGE.
4323 * io/ftwtest-sh (LANG): Remove variable.
4324 * libio/Makefile (tst-widetext-ENV): Likewise.
4325 * manual/install.texi (Running make install): Don't refer to
4326 environment settings for make install.
4327 * INSTALL: Regenerated.
4328 * nptl/tst-tls6.sh: Don't set LANG.
4329 * posix/globtest.sh (LANG): Remove variable.
4330 * string/Makefile (tester-ENV): Likewise.
4331 (inl-tester-ENV): Likewise.
4332 (noinl-tester-ENV): Likewise.
4333 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4334 [$(cross-compiling) = no]: Don't set LANGUAGE.
4335 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4336 without explicit environment settings.
4338 2014-06-06 Roland McGrath <roland@hack.frob.com>
4340 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4341 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4342 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4343 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4345 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4347 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4348 other files in the crypt directory.
4349 * crypt/crypt.c: Remove duplicate includes.
4350 * crypt/crypt-entry.c: Likewise.
4351 * crypt/crypt_util.c: Likewise.
4353 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4355 * Makeconfig (run-program-env): New variable.
4356 (run-program-prefix-before-env): Likewise.
4357 (run-program-prefix-after-env): Likewise.
4358 (run-program-prefix): Define in terms of new variables.
4359 (built-program-cmd-before-env): New variable.
4360 (built-program-cmd-after-env): Likewise.
4361 (built-program-cmd): Define in terms of new variables.
4362 (test-program-prefix-before-env): New variable.
4363 (test-program-prefix-after-env): Likewise.
4364 (test-program-prefix): Define in terms of new variables.
4365 (test-program-cmd-before-env): New variable.
4366 (test-program-cmd-after-env): Likewise.
4367 (test-program-cmd): Define in terms of new variables.
4368 * Rules (make-test-out): Use $(run-program-env).
4369 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4370 (help): Do not mention environment variables. Mention
4371 --timeoutfactor option.
4372 (timeoutfactor): New variable.
4373 (blacklist_exports): Remove function.
4374 (exports): Remove variable.
4375 (command): Do not include ${exports}.
4376 * manual/install.texi (Configuring and compiling): Do not mention
4377 test wrappers preserving environment variables. Mention that last
4378 assignment to a variable must take precedence.
4379 * INSTALL: Regenerated.
4380 * benchtests/Makefile (run-bench): Use $(run-program-env).
4381 * catgets/Makefile ($(objpfx)test1.cat): Use
4382 $(built-program-cmd-before-env), $(run-program-env) and
4383 $(built-program-cmd-after-env).
4384 ($(objpfx)test2.cat): Do not specify environment variables
4386 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4387 $(run-program-env) and $(built-program-cmd-after-env).
4388 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4389 $(run-program-env) and $(test-program-cmd-after-env).
4390 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4392 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4393 run_program_env and test_program_cmd_after_env arguments.
4394 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4395 * elf/tst-pathopt.sh: Use run_program_env argument.
4396 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4397 $(test-wrapper-env) and $(run-program-env).
4398 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4399 run_program_env arguments.
4400 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4401 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4402 $(test-program-prefix-before-env), $(run-program-env) and
4403 $(test-program-prefix-after-env).
4404 ($(objpfx)tst-gettext2.out): Likewise.
4405 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4406 run_program_env and test_program_prefix_after_env arguments.
4407 * intl/tst-gettext2.sh: Likewise.
4408 * intl/tst-gettext4.sh: Do not set environment variables
4410 * intl/tst-gettext6.sh: Likewise.
4411 * intl/tst-translit.sh: Likewise.
4412 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4413 $(test-program-prefix-before-env), $(run-program-env) and
4414 $(test-program-prefix-after-env).
4415 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4416 run_program_env and test_program_prefix_after_env arguments.
4417 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4418 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4419 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4420 explicitly with each use of ${test_wrapper_env}.
4421 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4422 $(test-program-prefix-before-env), $(run-program-env) and
4423 $(test-program-prefix-after-env).
4424 * posix/tst-getconf.sh: Do not set environment variables
4426 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4427 run_program_env and test_program_prefix_after_env arguments.
4428 * stdio-common/tst-printf.sh: Do not set environment variables
4430 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4431 $(test-program-prefix-before-env), $(run-program-env) and
4432 $(test-program-prefix-after-env).
4433 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4434 run_program_env and test_program_prefix_after_env arguments.
4435 Split $test calls into $test_pre and $test.
4436 * timezone/Makefile (build-testdata): Use
4437 $(built-program-cmd-before-env), $(run-program-env) and
4438 $(built-program-cmd-after-env).
4440 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4442 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4443 strlen for non SHARED builds.
4445 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4447 * nptl/allocatestack.c (check_list): Inlined function...
4448 (__reclaim_stacks): ... here.
4450 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4453 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4456 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4458 * Rules (make-test-out): Include
4459 LOCPATH=$(common-objpfx)localedata in default environment.
4460 * debug/Makefile (tst-chk1-ENV): Remove variable.
4461 (tst-chk2-ENV): Likewise.
4462 (tst-chk3-ENV): Likewise.
4463 (tst-chk4-ENV): Likewise.
4464 (tst-chk5-ENV): Likewise.
4465 (tst-chk6-ENV): Likewise.
4466 (tst-lfschk1-ENV): Likewise.
4467 (tst-lfschk2-ENV): Likewise.
4468 (tst-lfschk3-ENV): Likewise.
4469 (tst-lfschk4-ENV): Likewise.
4470 (tst-lfschk5-ENV): Likewise.
4471 (tst-lfschk6-ENV): Likewise.
4472 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4473 (tst-iconv7-ENV): Likewise.
4474 * intl/Makefile (LOCPATH-ENV): Likewise.
4475 (tst-codeset-ENV): Likewise.
4476 (tst-gettext3-ENV): Likewise.
4477 (tst-gettext5-ENV): Likewise.
4478 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4479 (tst-fopenloc-ENV): Likewise.
4480 (tst-fgetws-ENV): Remove variable.
4481 (tst-ungetwc1-ENV): Likewise.
4482 (tst-ungetwc2-ENV): Likewise.
4483 (bug-ungetwc2-ENV): Likewise.
4484 (tst-swscanf-ENV): Likewise.
4485 (bug-ftell-ENV): Likewise.
4486 (tst-fgetwc-ENV): Likewise.
4487 (tst-fseek-ENV): Likewise.
4488 (tst-ftell-partial-wide-ENV): Likewise.
4489 (tst-ftell-active-handler-ENV): Likewise.
4490 (tst-ftell-append-ENV): Likewise.
4491 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4492 (tst-regexloc-ENV): Likewise.
4493 (bug-regex1-ENV): Likewise.
4494 (tst-regex-ENV): Likewise.
4495 (tst-regex2-ENV): Likewise.
4496 (bug-regex5-ENV): Likewise.
4497 (bug-regex6-ENV): Likewise.
4498 (bug-regex17-ENV): Likewise.
4499 (bug-regex18-ENV): Likewise.
4500 (bug-regex19-ENV): Likewise.
4501 (bug-regex20-ENV): Likewise.
4502 (bug-regex22-ENV): Likewise.
4503 (bug-regex23-ENV): Likewise.
4504 (bug-regex25-ENV): Likewise.
4505 (bug-regex26-ENV): Likewise.
4506 (bug-regex30-ENV): Likewise.
4507 (bug-regex32-ENV): Likewise.
4508 (bug-regex33-ENV): Likewise.
4509 (bug-regex34-ENV): Likewise.
4510 (bug-regex35-ENV): Likewise.
4511 (tst-rxspencer-ENV): Likewise.
4512 (tst-rxspencer-no-utf8-ENV): Likewise.
4513 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4514 (tst-sscanf-ENV): Likewise.
4515 (tst-swprintf-ENV): Likewise.
4516 (tst-swscanf-ENV): Likewise.
4517 (test-vfprintf-ENV): Likewise.
4518 (scanf13-ENV): Likewise.
4519 (bug14-ENV): Likewise.
4520 (tst-grouping-ENV): Likewise.
4521 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4522 (tst-strtod3-ENV): Likewise.
4523 (tst-strtod4-ENV): Likewise.
4524 (tst-strtod5-ENV): Likewise.
4525 (testmb2-ENV): Likewise./
4526 * string/Makefile (tst-strxfrm-ENV): Likewise.
4527 (tst-strxfrm2-ENV): Likewise.
4528 (bug-strcoll1-ENV): Likewise.
4529 (test-strcasecmp-ENV): Likewise.
4530 (test-strncasecmp-ENV): Likewise.
4531 * time/Makefile (tst-strptime-ENV): Likewise.
4532 (tst-ftime_l-ENV): Likewise.
4533 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4534 (tst-mbrtowc-ENV): Likewise.
4535 (tst-wcrtomb-ENV): Likewise.
4536 (tst-mbrtowc2-ENV): Likewise.
4537 (tst-c16c32-1-ENV): Likewise.
4538 (tst-mbsnrtowcs-ENV): Likewise.
4540 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4542 * manual/resource.texi (How to get information about the memory
4543 subsystem?): Fix typo.
4544 Reported by Peon de la Parra Ivan <peon@keba.com>
4546 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4549 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4550 (pthread_spin_lock): Branch out of spin loop to proper location.
4551 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4552 (pthread_spin_lock): Likewise.
4554 * nptl/tst-spin4.c: New test.
4555 * nptl/Makefile (tests): Add tst-spin4.
4557 2014-06-03 Andreas Schwab <schwab@suse.de>
4560 * resolv/res_send.c (send_dg): Reload file descriptor after
4563 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4565 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4567 2014-06-03 Richard Henderson <rth@redhat.com>
4569 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4570 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4571 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4572 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4573 in the SAVE_PID block.
4574 (__libc_vfork): New alias.
4575 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4577 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4578 child in registers, not on the stack. Remove RESET_PID conditionals.
4579 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4581 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4583 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4585 2014-06-03 Wilco <wdijkstr@arm.com>
4587 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4588 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4589 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4590 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4591 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4594 2014-06-03 Wilco <wdijkstr@arm.com>
4596 * sysdeps/aarch64/fpu/math_private.h
4597 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4598 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4599 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4600 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4603 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4605 * crypt/crypt-private.h: Include ufc-crypt.h.
4606 (__b64_from_24bit): Declare extern.
4607 * crypt/crypt_util.c(__b64_from_24bit): New function.
4608 (b64t): New static const variable.
4609 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4610 (b64t): Remove variable.
4611 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4612 * crypt/sha256-crypt.c: Include crypt-private.h.
4613 (b64t): Remove variable.
4614 (__sha256_crypt_r): Remove b64_from_24bit and replace
4615 with __b64_from_24bit.
4616 * crypt/sha512-crypt.c: Likewise.
4618 2014-06-02 Roland McGrath <roland@hack.frob.com>
4620 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4621 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4622 Label the code __libc_vfork rather than __vfork.
4623 [!NOT_IN_libc] (vfork): Define as weak alias.
4624 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4625 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4626 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4628 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4630 * malloc/malloc.c (malloc_info): Fix format specifier for
4633 2014-06-02 Wilco <wdijkstr@arm.com>
4635 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4638 2014-06-02 Wilco <wdijkstr@arm.com>
4641 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4642 Rewrite to reduce FPCR/FPSR accesses.
4644 2014-06-01 David S. Miller <davem@davemloft.net>
4646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4648 2014-05-31 David S. Miller <davem@davemloft.net>
4650 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4651 to occur in round to nearest mode when |x| >= 2.0
4653 2014-05-30 Richard Henderson <rth@twiddle.net>
4655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4656 (PSEUDO_RET_NOERRNO): Remove.
4657 (ret): Don't redefine.
4658 (ret_NOERRNO): Define in terms of ret.
4659 (ret_ERRVAL): Likewise.
4661 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4662 use of PSEUDO_RET; perform the error check directly.
4664 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4666 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4669 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4671 * malloc/malloc (malloc_info): Fix formatting.
4673 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 Roland McGrath <roland@hack.frob.com>
4676 * malloc/malloc (malloc_info): Also print mmapped statistics.
4678 2014-05-30 Roland McGrath <roland@hack.frob.com>
4680 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4681 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4683 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4685 * malloc/malloc.c (malloc_info): Inline mi_arena.
4687 2014-05-29 Richard Henderson <rth@twiddle.net>
4689 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4690 Remove comma before expanding ASM_ARGS_##nr.
4691 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4692 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4694 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4695 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4696 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4697 (ASM_ARGS_1): Add leading comma.
4699 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4700 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4701 to __errno_location.
4702 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4703 Remove the expected plt for __errno_location.
4705 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4706 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4710 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4711 it and break it down.
4712 (DOCARGS_0, DOCARGS_1): Do nothing.
4713 (DOCARGS_2): Update to store into the new stack frame.
4714 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4715 (UNDOCARGS_1): Update to restore from the new stack frame.
4716 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4717 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4719 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4720 (SINGLE_THREAD_P): New parameter for result regno.
4721 (PSEUDO): Update to match; use cbz instead of beq.
4723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4724 Use ENTRY to define the _nocancel entry point. Share the syscall
4725 and syscall error check paths with the cancel path.
4728 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4729 whitespace; tabs before and after asm mnemonics.
4731 2014-05-29 Eric Wong <normalperson@yhbt.net>
4734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4735 Call fstat64 or stat64 internally, depending on arguments passed.
4736 Replace stat buffer argument with file descriptor argument.
4737 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4738 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4739 Pass fd to __internal_statvfs instead of calling fstat64.
4740 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4741 Pass fd to __internal_statvfs64 instead of calling fstat64.
4742 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4743 Pass -1 to __internal_statvfs instead of calling stat64.
4744 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4745 Pass -1 to __internal_statvfs64 instead of calling stat64.
4747 2014-05-28 Roland McGrath <roland@hack.frob.com>
4749 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4750 that was previously under [RESET_PID].
4751 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4753 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4754 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4756 2014-05-27 Roland McGrath <roland@hack.frob.com>
4758 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4760 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4761 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4763 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4765 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4767 2014-05-27 Andreas Schwab <schwab@suse.de>
4769 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4771 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4772 * elf/rtld.c (init_tls, dl_main): Likewise.
4773 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4774 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4775 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4776 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4777 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4778 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4779 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4780 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4781 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4782 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4783 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4784 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4785 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4786 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4787 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4788 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4789 * sysdeps/generic/tls.h: Update description.
4791 2014-05-27 Will Newton <will.newton@linaro.org>
4794 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4795 and restore r2 rather than just restoring.
4797 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4800 * libio/tst-ftell-append.c: New test case.
4801 * libio/Makefile (tests): Add test case.
4802 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4804 * libio/wfileops.c (do_ftell_wide): Likewise.
4806 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4810 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4814 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4815 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4817 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4819 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4827 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4829 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4832 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4835 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4837 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4839 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4841 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4844 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4846 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4869 conditional [RESET_PID].
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4878 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4879 (__libc_vfork): New strong alias.
4880 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4887 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4888 (__libc_vfork): New strong alias.
4889 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4894 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4896 * malloc/malloc.c (mi_arena): New function.
4897 (malloc_info): Remove nested function mi_arena. Call non-nosted
4900 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4904 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4905 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4906 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4907 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4908 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4910 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4912 2014-05-26 Andreas Schwab <schwab@suse.de>
4915 * locale/programs/repertoire.c (repertoire_read): Add slash
4916 between I18NPATH element and file name.
4917 * locale/programs/locfile.c (locfile_read): Likewise.
4919 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4921 * nptl/pthread_mutexattr_settype.c
4922 (__pthread_mutexattr_settype):
4923 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4925 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4927 * nptl/tst-mutex5 (do_test):
4928 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4930 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4932 * benchtests/README: Document 'init' directive.
4933 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4935 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4936 (parse_file): Recognize 'init' directive.
4938 2014-05-26 Kyle McMartin <kyle@redhat.com>
4941 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4942 alignment of struct pthread.
4944 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4947 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4948 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4949 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4950 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4952 2014-05-25 Richard Henderson <rth@twiddle.net>
4954 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4955 (SINGLE_THREAD_P_PIC): Remove.
4956 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4957 (SINGLE_THREAD_P_PIC): Remove.
4959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4960 branch to syscall error ...
4962 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4963 from __local_syscall_error to .Lsyscall_error.
4964 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4965 (SYSCALL_ERROR): Update label name.
4967 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4968 Do not use DOARGS/UNDOARGS.
4969 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4970 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4971 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4972 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4973 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4978 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4979 define if !NOT_IN_libc.
4980 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4981 define with non-default symbol versions.
4983 2014-05-23 Richard Henderson <rth@twiddle.net>
4985 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4986 (vfork, __vfork): Define via compat_symbol.
4988 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4989 [!HAVE_IFUNC] (vfork_compat): Remove.
4990 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4992 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4995 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4996 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4999 2014-05-23 Richard Henderson <rth@twiddle.net>
5001 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5002 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5003 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5004 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5006 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5007 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5008 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5009 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5010 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5011 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5013 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5014 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5015 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5016 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5017 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5018 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5019 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5023 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5027 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5029 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5030 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5031 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5033 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5034 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5035 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5037 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5038 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5043 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5044 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5045 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5046 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5047 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5049 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5050 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5051 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5053 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5055 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5057 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5059 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5061 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5063 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5064 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5065 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5066 before exiting on error.
5067 (__libc_vfork): New strong alias.
5068 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5069 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5071 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5072 that was previously under [RESET_PID].
5073 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5075 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5077 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5080 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5081 value when x - 1 is zero.
5082 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5083 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5085 0.0L for an argument of 1.0L.
5086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5088 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5089 value when x - 1 is zero.
5090 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5091 * sysdeps/i386/fpu/libm-test-ulps: Update.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5096 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5097 alphasort and versionsort.
5099 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5101 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5103 [copysignf]: Likewise.
5105 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 * crypt/md5-crypt.c: Fix formatting.
5109 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5111 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5112 (b64_from_24bit): New function.
5114 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5116 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5117 libc_hidden_builtin_def to ifunc.
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5119 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5121 2014-05-21 Roland McGrath <roland@hack.frob.com>
5123 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5124 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5126 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5128 * nscd/Depend (linuxthreads): Remove.
5130 * resolv/Depend (linuxthreads): Remove.
5131 * rt/Depend (linuxthreads): Remove.
5133 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5134 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5135 $(common-objpfx)elf/.
5136 (link-libc-before-gnulib): Likewise.
5137 (elfobjdir): Remove variable.
5138 * Makefile (install): Use $(elf-objpfx) instead of
5139 $(common-objpfx)elf/.
5140 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5142 (link-libc-deps): Likewise.
5143 ($(common-objpfx)libc.so): Likewise.
5144 ($(common-objpfx)linkobj/libc.so): Likewise.
5145 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5146 instead of $(common-objpfx)elf/.
5147 (symbolic-link-list): Likewise.
5148 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5149 [$(cross-compiling) = no]: Likewise.
5150 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5152 (static-gnulib-arch): Likewise.
5153 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5154 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5155 $(common-objpfx)elf/.
5157 2014-05-21 Richard Henderson <rth@redhat.com>
5159 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5160 (SINGLE_THREAD_P): Use the correct width load. Fold
5161 into the ldr offset.
5163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5164 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5166 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5168 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5169 (libgcc_s_resume): Use __attribute_used__.
5170 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5173 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5176 optimization when used with float constants.
5178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5180 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5183 * locale/nl_langinfo_l.c: Make direct reference to every
5184 _nl_current_CATEGORY symbol.
5185 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5186 (tests-static): Add tst-langinfo-static.
5187 (tests-special): Add tst-langinfo-static.out.
5188 ($(objpfx)tst-langinfo.out): Redirect output.
5189 ($(objpfx)tst-langinfo-static.out): New.
5190 * localedata/tst-langinfo.sh: Send output to stdout.
5191 * localedata/tst-langinfo-static.c: New file.
5194 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5195 when the shift amount is modulo the limb size.
5197 2014-05-20 Richard Henderson <rth@redhat.com>
5200 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5201 Change type of sa_flags from unsigned int to int.
5204 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5206 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5208 2014-05-20 Will Newton <will.newton@linaro.org>
5210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5211 Test the return value of the system call in the nocancel case.
5213 2014-05-20 Will Newton <will.newton@linaro.org>
5214 Yvan Roux <yvan.roux@linaro.org>
5216 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5217 #include of asm/ptrace.h.
5218 (PTRACE_GET_THREAD_AREA): Remove #undef.
5219 (PTRACE_GETHBPREGS): Likewise.
5220 (PTRACE_SETHBPREGS): Likewise.
5221 (struct user_regs_struct): New structure.
5222 (struct user_fpsimd_struct): New structure.
5223 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5224 #include of asm/ptrace.h and second #include of sys/user.h.
5225 (PTRACE_GET_THREAD_AREA): Remove #undef.
5226 (PTRACE_GETHBPREGS): Likewise.
5227 (PTRACE_SETHBPREGS): Likewise.
5228 (ELF_NGREG): Use new struct user_regs_struct.
5229 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5231 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5236 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5240 membar to avoid block loads/stores to overlap previous stores.
5242 2014-05-17 Richard Henderson <rth@redhat.com>
5244 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5245 Create the __##syscall_name##_nocancel entry point.
5246 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5247 Remove; let the sysdep-cancel.h code create it.
5249 2014-05-17 David S. Miller <davem@davemloft.net>
5251 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5252 Protect with __USE_GNU.
5253 (TIOCSET_TEMPT): Likewise.
5254 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5255 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5256 these are already provided in bits/ioctl-types.h
5258 2014-05-16 Roland McGrath <roland@hack.frob.com>
5260 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5261 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5263 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5264 Use wait4 regardless of [__NR_waitpid].
5266 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5269 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5270 (_FP_NANSIGN_Q): Set the quiet bit.
5272 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5274 * benchtests/Makefile
5275 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5276 not $(common-objpfx)math/libm.so.
5277 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5278 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5279 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5280 $(common-objpfx)dlfcn/libdl.so.
5281 ($(objpfx)tst-audit8): Depend on $(libm), not
5282 $(common-objpfx)math/libm.so.
5283 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5284 not $(common-objpfx)dlfcn/libdl.so.
5286 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5287 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5288 [$(build-shared) = yes].
5289 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5290 $(common-objpfx)nptl/libpthread.so.
5291 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5292 $(common-objpfx)math/libm.so$(libm.so-version) or
5293 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5294 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5295 $(common-objpfx)dlfcn/libdl.so.
5296 * setjmp/Makefile (link-libm): Remove variable.
5297 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5298 * stdio-common/Makefile (link-libm): Remove variable.
5299 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5300 * stdlib/Makefile (link-libm): Remove variable.
5301 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5302 ($(objpfx)tst-strtod-round): Likewise.
5303 ($(objpfx)tst-tininess): Likewise.
5304 ($(objpfx)tst-strtod-underflow): Likewise.
5305 ($(objpfx)tst-strtod6): Likewise.
5306 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5307 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5308 $(common-objpfx)dlfcn/libdl.so.
5310 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5313 BSD terminal modes definitions.
5315 2014-05-16 Roland McGrath <roland@hack.frob.com>
5317 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5318 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5320 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5321 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5322 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5323 Don't do #include_next.
5324 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5325 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5326 Don't do #include_next.
5327 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5328 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5329 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5330 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5332 2014-05-16 Allan McRae <allan@archlinux.org>
5334 * po/sv.po: Update Swedish translation from translation project.
5336 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5339 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5342 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5343 errno if the TIOCGPTN ioctl fails with an error different than
5345 * login/tst-ptsname.c: New file.
5346 * login/Makefile (tests): Add tst-ptsname.
5349 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5352 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5356 herrno to return EAI_AGAIN.
5358 2014-05-14 Roland McGrath <roland@hack.frob.com>
5360 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5361 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5362 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5363 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5369 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5377 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5378 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5389 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5391 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5393 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5396 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5398 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5420 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5422 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5425 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5431 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5433 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5437 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5446 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5450 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5451 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5452 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5453 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5454 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5455 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5456 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5458 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5460 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5462 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5464 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5466 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5468 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5470 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5472 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5473 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5474 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5476 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5482 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5483 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5485 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5486 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5487 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5489 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5495 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5498 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5503 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5506 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5508 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5512 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5515 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5516 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5520 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5521 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5523 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5526 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5532 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5534 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5537 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5540 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5543 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5548 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5551 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5553 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5557 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5560 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5563 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5565 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5566 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5567 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5568 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5571 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5577 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5579 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5581 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5583 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5589 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5592 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5595 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5597 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5599 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5602 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5603 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5604 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5608 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5611 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5612 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5616 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5617 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5619 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5628 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5629 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5630 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5632 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5634 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5636 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5638 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5639 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5641 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5642 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5644 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5645 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5646 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5648 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5650 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5652 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5654 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5658 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5660 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5663 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5665 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5668 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5670 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5672 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5674 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5677 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5680 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5682 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5686 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5687 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5688 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5690 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5692 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5694 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5696 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5698 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5699 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5700 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5701 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5702 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5704 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5705 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5706 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5707 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5708 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5709 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5710 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5711 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5712 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5713 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5715 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5716 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5718 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5719 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5720 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5721 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5722 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5723 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5725 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5727 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5731 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5758 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5762 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5763 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5769 that was previously under [RESET_PID].
5770 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5771 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5772 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5774 * sysdeps/i386/nptl/Implies: New file.
5775 * sysdeps/x86_64/nptl/Implies: New file.
5776 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5777 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5779 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5781 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5782 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5783 (__libc_vfork): New strong alias.
5784 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5785 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5787 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5788 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5789 (__libc_vfork): New strong alias.
5790 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5791 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5793 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5794 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5795 (__libc_vfork): New strong alias.
5796 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5797 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5798 * nptl/pt-vfork.c: New file.
5799 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5800 (libpthread: GLIBC_2.20): New version set (empty).
5802 2014-05-14 Will Newton <will.newton@linaro.org>
5804 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5807 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5810 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5811 arguments with exponent 65 or above.
5812 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5813 arguments 0x1p113L or above.
5814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5815 to arguments 0x1p107L or above.
5816 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5817 positive arguments with exponent 65 or above.
5818 * math/auto-libm-test-in: Add more tests of log1p.
5819 * math/auto-libm-test-out: Regenerated.
5822 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5823 non-finite arguments is +0.
5824 * math/s_cacosf.c (__cacosf): Likewise.
5825 * math/s_cacosl.c (__cacosl): Likewise.
5826 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5827 * sysdeps/i386/fpu/libm-test-ulps: Update.
5828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5833 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5834 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5835 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5836 for explicit high bit of mantissa when testing for argument equal
5838 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5839 * sysdeps/i386/fpu/libm-test-ulps: Update.
5840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5843 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5844 (__erf): Scale by 16 instead of 8 in potentially underflowing
5845 case. Ensure exception if result actually underflows.
5846 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5847 (__erff): Scale by 16 instead of 8 in potentially underflowing
5848 case. Ensure exception if result actually underflows.
5849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5850 (efx8): Remove variable.
5851 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5852 case. Ensure exception if result actually underflows.
5853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5854 (efx8): Remove variable.
5855 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5856 case. Ensure exception if result actually underflows.
5857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5858 (efx8): Remove variable.
5859 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5860 case. Ensure exception if result actually underflows.
5861 * math/auto-libm-test-in: Add more tests of erf.
5862 * math/auto-libm-test-out: Regenerated.
5864 2014-05-14 Andreas Schwab <schwab@suse.de>
5866 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5867 Remove code conditionalized on USE___THREAD.
5869 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5870 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5873 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5876 Define unconditionally.
5877 (__ASSUME_O_CLOEXEC): Likewise.
5878 (__ASSUME_SOCK_CLOEXEC): Likewise.
5879 (__ASSUME_IN_NONBLOCK): Likewise.
5880 (__ASSUME_PIPE2): Likewise.
5881 (__ASSUME_EVENTFD2): Likewise.
5882 (__ASSUME_SIGNALFD4): Likewise.
5883 (__ASSUME_DUP3): Likewise.
5884 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5885 (__ASSUME_DUP3): Do not define.
5886 (__ASSUME_EVENTFD2): Likewise.
5887 (__ASSUME_IN_NONBLOCK): Likewise.
5888 (__ASSUME_O_CLOEXEC): Likewise.
5889 (__ASSUME_PIPE2): Likewise.
5890 (__ASSUME_SIGNALFD4): Likewise.
5891 (__ASSUME_SOCK_CLOEXEC): Likewise.
5892 (__ASSUME_UTIMES): Undefine.
5893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5894 (__ASSUME_UTIMES): Do not define.
5895 (__ASSUME_O_CLOEXEC): Likewise.
5896 (__ASSUME_SOCK_CLOEXEC): Likewise.
5897 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5898 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5900 (__ASSUME_PIPE2): Likewise.
5901 (__ASSUME_EVENTFD2): Likewise.
5902 (__ASSUME_SIGNALFD4): Likewise.
5903 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5904 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5906 (__ASSUME_EVENTFD2): Likewise.
5907 (__ASSUME_SIGNALFD4): Likewise.
5908 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5909 (__ASSUME_32BITUIDS): Likewise.
5910 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5911 (__ASSUME_IPC64): Likewise.
5912 (__ASSUME_ST_INO_64_BIT): Likewise.
5913 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5914 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5915 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5916 (__ASSUME_UTIMES): Do not define.
5917 (__ASSUME_PSELECT): Likewise.
5918 (__ASSUME_PPOLL): Likewise.
5919 (__ASSUME_O_CLOEXEC): Likewise.
5920 (__ASSUME_SOCK_CLOEXEC): Likewise.
5921 (__ASSUME_IN_NONBLOCK): Likewise.
5922 (__ASSUME_PIPE2): Likewise.
5923 (__ASSUME_EVENTFD2): Likewise.
5924 (__ASSUME_SIGNALFD4): Likewise.
5925 (__ASSUME_DUP3): Likewise.
5926 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5927 (__ASSUME_UTIMES): Likewise.
5928 (__ASSUME_O_CLOEXEC): Likewise.
5929 (__ASSUME_SOCK_CLOEXEC): Likewise.
5930 (__ASSUME_IN_NONBLOCK): Likewise.
5931 (__ASSUME_PIPE2): Likewise.
5932 (__ASSUME_EVENTFD2): Likewise.
5933 (__ASSUME_SIGNALFD4): Likewise.
5934 (__ASSUME_DUP3): Likewise.
5935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5936 (__ASSUME_UTIMES): Likewise.
5937 (__ASSUME_O_CLOEXEC): Likewise.
5938 (__ASSUME_SOCK_CLOEXEC): Likewise.
5939 (__ASSUME_IN_NONBLOCK): Likewise.
5940 (__ASSUME_PIPE2): Likewise.
5941 (__ASSUME_EVENTFD2): Likewise.
5942 (__ASSUME_SIGNALFD4): Likewise.
5943 (__ASSUME_DUP3): Likewise.
5944 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5946 (__ASSUME_UTIMES): Likewise.
5947 (__ASSUME_EVENTFD2): Likewise.
5948 (__ASSUME_SIGNALFD4): Likewise.
5949 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5950 (__ASSUME_O_CLOEXEC): Likewise.
5951 (__ASSUME_SOCK_CLOEXEC): Likewise.
5952 (__ASSUME_IN_NONBLOCK): Likewise.
5953 (__ASSUME_PIPE2): Likewise.
5954 (__ASSUME_EVENTFD2): Likewise.
5955 (__ASSUME_SIGNALFD4): Likewise.
5956 (__ASSUME_DUP3): Likewise.
5957 (__ASSUME_UTIMES): Undefine.
5959 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5960 feclearexcept. Remove symbol versioning code.
5961 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5962 symbol versioning code.
5963 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5964 symbol versioning code.
5965 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5966 feupdateenv. Remove symbol versioning code.
5967 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5968 fegetexceptflag. Remove symbol versioning code.
5969 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5970 fesetexceptflag. Remove symbol versioning code.
5971 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5972 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5973 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5974 (__posix_fadvise64_l32): Remove prototype.
5975 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5978 2014-05-13 Roland McGrath <roland@hack.frob.com>
5980 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5981 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5982 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5983 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5985 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5987 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5988 current working directory
5990 2014-05-13 Roland McGrath <roland@hack.frob.com>
5992 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5993 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5994 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5995 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5996 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5997 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5998 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6001 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6002 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6003 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6004 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6007 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6009 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6010 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6011 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6012 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6013 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6014 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6015 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6017 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6018 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6019 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6020 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6021 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6022 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6023 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6024 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6025 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6026 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6027 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6028 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6029 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6030 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6031 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6032 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6033 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6035 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6036 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6038 * sysdeps/unix/sysv/linux/arm/Makefile
6039 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6040 Add rt-aeabi_unwind_cpp_pr1.
6041 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6042 Add nptl-aeabi_unwind_cpp_pr1.
6043 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6044 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6045 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6046 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6047 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6048 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6050 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6051 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6052 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6053 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6055 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6056 Deconditionalize the code that was previously under [RESET_PID].
6057 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6059 * sysdeps/generic/exit-thread.h: New file.
6060 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6061 * include/unistd.h (__exit_thread): Remove declaration.
6062 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6063 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6064 * csu/libc-start.c: Include <exit-thread.h>.
6065 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6066 * nptl/pthread_create.c: Include <exit-thread.h>.
6067 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6068 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6069 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6070 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6071 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6072 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6073 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6074 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6075 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6076 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6077 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6078 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6079 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6080 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6081 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6082 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6083 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6085 2014-05-13 Andreas Schwab <schwab@suse.de>
6087 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6089 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6091 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6092 (__ASSUME_UTIMES): Do not condition on kernel version.
6093 (__ASSUME_PSELECT): Define unconditionally.
6094 (__ASSUME_PPOLL): Likewise.
6095 (__ASSUME_ATFCTS): Likewise.
6096 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6097 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6098 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6099 (__ASSUME_UTIMENSAT): Define unconditionally.
6100 (__ASSUME_PRIVATE_FUTEX): Likewise.
6101 (__ASSUME_FALLOCATE): Likewise.
6102 (__ASSUME_O_CLOEXEC): Likewise.
6103 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6104 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6105 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6106 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6107 (__ASSUME_IN_NONBLOCK): Likewise.
6108 (__ASSUME_PIPE2): Likewise.
6109 (__ASSUME_EVENTFD2): Likewise.
6110 (__ASSUME_SIGNALFD4): Likewise.
6111 (__ASSUME_DUP3): Likewise.
6112 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6113 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6114 (__ASSUME_AT_RANDOM): Likewise.
6115 (__ASSUME_PREADV): Likewise.
6116 (__ASSUME_PWRITEV): Likewise.
6117 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6118 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6119 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6121 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6122 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6123 (__ASSUME_O_CLOEXEC): Define unconditionally.
6124 (__ASSUME_PSELECT): Do not undefine conditionally.
6125 (__ASSUME_PPOLL): Likewise.
6126 (__ASSUME_ATFCTS): Likewise.
6127 (__ASSUME_SET_ROBUST_LIST): Likewise.
6128 (__ASSUME_UTIMENSAT): Likewise.
6129 (__ASSUME_FDATASYNC): Define unconditionally.
6130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6131 (__ASSUME_SIGFRAME_V2): Likewise.
6132 )__ASSUME_EVENTFD2): Likewise.
6133 (__ASSUME_SIGNALFD4): Likewise.
6134 (__ASSUME_PSELECT): Do not undefine conditionally.
6135 (__ASSUME_PPOLL): Likewise.
6136 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6137 (__ASSUME_PSELECT): Define unconditionally.
6138 (__ASSUME_PPOLL): Likewise.
6139 (__ASSUME_O_CLOEXEC): Likewise.
6140 (__ASSUME_SOCK_CLOEXEC): Likewise.
6141 (__ASSUME_IN_NONBLOCK): Likewise.
6142 (__ASSUME_PIPE2): Likewise.
6143 (__ASSUME_EVENTFD2): Likewise.
6144 (__ASSUME_SIGNALFD4): Likewise.
6145 (__ASSUME_DUP3): Likewise.
6146 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6147 (__ASSUME_O_CLOEXEC): Likewise.
6148 (__ASSUME_SOCK_CLOEXEC): Likewise.
6149 (__ASSUME_IN_NONBLOCK): Likewise.
6150 (__ASSUME_PIPE2): Likewise.
6151 (__ASSUME_EVENTFD2): Likewise.
6152 (__ASSUME_SIGNALFD4): Likewise.
6153 (__ASSUME_DUP3): Likewise.
6154 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6155 (__ASSUME_EVENTFD2): Likewise.
6156 (__ASSUME_SIGNALFD4): Likewise.
6157 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6159 2014-05-12 Andreas Schwab <schwab@suse.de>
6162 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6163 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6164 than maximum RPC packet size.
6165 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6166 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6167 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6168 (_nss_nis_getservbyport_r): Likewise.
6170 2014-05-12 Will Newton <will.newton@linaro.org>
6172 * malloc/Makefile (tests): Add tst-mallopt.
6173 * malloc/tst-mallopt.c: New file.
6175 2014-05-09 Roland McGrath <roland@hack.frob.com>
6177 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6178 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6180 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6182 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6183 (tst-tlsmod6.so): Likewise.
6185 2014-05-09 Roland McGrath <roland@hack.frob.com>
6187 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6189 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6192 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6193 and <dl-procinfo.h>.
6194 (__fegetenv): Save SSE state in envp->__eip if supported.
6195 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6196 envp->__eip if supported.
6197 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6198 and <dl-procinfo.h>.
6199 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6200 __data_offset and __data_selector in environment to 0. Set SSE
6202 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6204 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6206 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6208 2014-05-09 Will Newton <will.newton@linaro.org>
6210 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6211 and libc_relro_required for ARM.
6212 * sysdeps/arm/preconfigure: Regenerate.
6214 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6215 Stefan Liebler <stli@linux.vnet.ibm.com>
6217 * config.make.in (enable-lock-elision): New Makefile variable.
6218 * configure.ac: Likewise.
6219 * configure: Regenerate.
6220 * sysdeps/s390/configure.ac:
6221 Add check for gcc transactions support.
6222 * sysdeps/s390/configure: Regenerate.
6223 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6224 Build elision files if enabled.
6225 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6226 Add lock elision support for s390.
6227 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6228 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6230 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6232 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6233 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6241 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6242 (__lll_timedlock_elision, __lll_lock_elision)
6243 (__lll_unlock_elision, __lll_trylock_elision)
6244 (lll_timedlock_elision, lll_lock_elision)
6245 (lll_unlock_elision, lll_trylock_elision): Add.
6246 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6247 (pthread_mutex_t): Add lock elision support for s390.
6249 2014-05-14 Wilco <wdijkstr@arm.com>
6251 * sysdeps/arm/fclrexcpt.c: Cleanup.
6252 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6253 * sysdeps/arm/feenablxcpt.c: Cleanup.
6254 * sysdeps/arm/fegetenv.c: Cleanup.
6255 * sysdeps/arm/fegetexcept.c: Cleanup.
6256 * sysdeps/arm/fegetround.c: Cleanup.
6257 * sysdeps/arm/feholdexcpt.c: Cleanup.
6258 * sysdeps/arm/fesetenv.c: Cleanup.
6259 * sysdeps/arm/fesetround.c: Cleanup.
6260 * sysdeps/arm/feupdateenv.c: Cleanup.
6261 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6262 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6263 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6264 * sysdeps/arm/ftestexcept.c: Cleanup.
6265 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6266 * sysdeps/arm/setfpucw.c: Cleanup.
6268 2014-05-09 Will Newton <will.newton@linaro.org>
6270 * sysdeps/arm/armv7/strcmp.S: New file.
6271 * NEWS: Mention addition of ARMv7 optimized strcmp.
6273 2014-05-08 Roland McGrath <roland@hack.frob.com>
6275 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6276 look for %.ac rather than %.in.
6278 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6279 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6280 * sysdeps/mach/hurd/configure: Regenerated.
6281 * sysdeps/unix/sysv/linux/configure: Regenerated.
6283 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6285 2014-05-07 Steve Ellcey <sellcey@mips.com>
6288 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6292 2014-05-07 Andreas Schwab <schwab@suse.de>
6294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6295 when skipping over non-matching result from nscd.
6297 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6300 * nptl/sockperf.c (client): Check socket return value.
6303 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6304 nscd security class.
6306 2014-05-06 Roland McGrath <roland@hack.frob.com>
6308 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6309 * sysdeps/arm/unwind.h: ... here.
6311 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6314 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6317 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6319 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6320 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6321 multiarch strncpy for PPC64.
6322 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6325 multiarch optimizations.
6326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6327 (__libc_ifunc_impl_list): Likewise.
6328 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6329 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6330 multiarch stpncpy for PPC64.
6331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6332 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6334 2014-05-06 Andreas Schwab <schwab@suse.de>
6337 * gmon/mcount.c (_MCOUNT_DECL): Use
6338 atomic_compare_and_exchange_bool_acq instead of
6339 catomic_compare_and_exchange_bool_acq.
6341 2014-05-05 Roland McGrath <roland@hack.frob.com>
6343 * elf/Makefile (others, install-bin): Remove pldd.
6344 (pldd-modules): Variable removed.
6345 ($(objpfx)pldd): Target removed.
6346 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6347 (others, install-bin): Append pldd here.
6348 ($(objpfx)pldd): New target.
6350 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6351 to 0, so the first #if test emitted later doesn't see it undefined.
6352 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6353 * sysdeps/gnu/errlist.c: Regenerated.
6355 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6358 [libc_hidden_builtin_def]: Define to empty value.
6359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6360 [libc_hidden_builtin_def]: Likewise.
6361 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6362 [libc_hidden_builtin_def]: Likewise.
6363 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6364 [libc_hidden_builtin_def]: Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6366 __redirect_memcpy and define ifunc as default hidden symbol.
6367 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6368 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6370 2014-05-04 Adam Conrad <adconrad@0c3.net>
6372 * locale/iso-4217.def: Reintroduce XDR currency.
6374 2014-05-04 Allan McRae <allan@archlinux.org>
6376 * po/eo.po: Update Esperanto translation from translation project.
6378 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6380 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6381 and FEATURE_INDEX_MAX to 1.
6382 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6384 2014-05-01 Steve Ellcey <sellcey@mips.com>
6386 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6387 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6388 * iconvdata/big5.c (ONE_DIRECTION): Define.
6389 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6390 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6391 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6392 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6393 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6394 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6395 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6396 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6397 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6398 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6399 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6400 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6401 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6402 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6403 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6404 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6405 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6406 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6407 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6408 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6409 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6410 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6411 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6412 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6413 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6414 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6415 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6416 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6417 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6418 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6419 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6420 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6421 * iconvdata/johab.c (ONE_DIRECTION): Define.
6422 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6423 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6424 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6425 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6426 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6427 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6428 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6429 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6430 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6431 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6433 2014-05-01 Roland McGrath <roland@hack.frob.com>
6435 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6436 (_IO_JUMPS_OFFSET): Define to 0.
6438 * nptl/sysdeps/pthread/bits/libc-lock.h
6439 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6440 (__libc_lock_define_initialized_recursive): Always define using
6441 initializer. Modern compilers treat uninitialized (implicit zero) and
6442 explicit zero initializers the same (i.e. put the datum in bss).
6444 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6446 * nscd/nscd-client.h: Include <string.h>.
6448 2014-05-01 David S. Miller <davem@davemloft.net>
6451 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6452 multiple zero bytes exist at the end of a string.
6453 Reported by Aurelien Jarno <aurelien@aurel32.net>
6455 * string/test-strcmp.c (check): Add explicit test for situations where
6456 there are multiple zero bytes after the first.
6458 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6461 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6462 when compiling wprintf.
6463 * stdio-common/tstdiomisc.c (t3): New function.
6466 2014-05-01 Steve Ellcey <sellcey@mips.com>
6468 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6469 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6470 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6471 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6473 2014-05-01 Steve Ellcey <sellcey@mips.com>
6475 * stdlib/longlong.h: Updated from GCC.
6477 2014-05-01 Will Newton <will.newton@linaro.org>
6478 Bernard Ogden <bernie.ogden@linaro.org>
6480 * NEWS: Update fixed bug list.
6483 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6485 2014-04-30 David S. Miller <davem@davemloft.net>
6487 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6488 (libc_feholdexcept_setround_sparc_ctx): New function.
6489 (libc_fesetenv_sparc_ctx): Likewise.
6490 (libc_feupdateenv_sparc_ctx): Likewise.
6491 (libc_feholdsetround_sparc_ctx): Likewise.
6492 (libc_feholdexcept_setround_ctx): Define.
6493 (libc_feholdexcept_setroundf_ctx): Likewise.
6494 (libc_feholdexcept_setroundl_ctx): Likewise.
6495 (libc_fesetenv_ctx): Likewise.
6496 (libc_fesetenvf_ctx): Likewise.
6497 (libc_fesetenvl_ctx): Likewise.
6498 (libc_feupdateenv_ctx): Likewise.
6499 (libc_feupdateenvf_ctx): Likewise.
6500 (libc_feupdateenvl_ctx): Likewise.
6501 (libc_feresetround_ctx): Likewise.
6502 (libc_feresetroundf_ctx): Likewise.
6503 (libc_feresetroundl_ctx): Likewise.
6504 (libc_feholdsetround_ctx): Likewise.
6505 (libc_feholdsetroundf_ctx): Likewise.
6506 (libc_feholdsetroundl_ctx): Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6509 with __USE_GNU instead of XOPEN cpp guards.
6511 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6515 with XOPEN cpp guards.
6517 2014-04-30 Julian Brown <julian@codesourcery.com>
6520 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6523 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6526 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6528 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6529 * sysdeps/unix/sysv/linux/configure: Regenerated.
6530 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6531 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6532 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6533 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6534 * README: Update reference to required Linux kernel version.
6535 * manual/install.texi (Linux): Update reference to required Linux
6536 kernel headers version.
6537 * INSTALL: Regenerated.
6539 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6541 [POSIX] (limits.h): Likewise.
6542 [POSIX] (math.h): Likewise.
6543 [POSIX] (sys/wait.h): Likewise.
6544 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6546 [POSIX] (stddef.h): Do not allow header inclusion.
6548 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6550 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6552 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6554 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6555 Return immediately after lll_futex_wake.
6557 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6560 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6562 (datahead_init_pos): Call datahead_init_common early.
6563 (datahead_init_neg): Likewise.
6565 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6566 datahead_init_neg): New functions.
6567 * nscd/aicache.c (addhstaiX): Use them.
6568 * nscd/grpcache.c (cache_addgr): Likewise.
6569 * nscd/hstcache.c (cache_addhst): Likewise.
6570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6571 * nscd/netgroupcache.c (do_notfound): Likewise.
6572 (addgetnetgrentX): Likewise.
6573 (addinnetgrX): Likewise.
6574 * nscd/pwdcache.c (cache_addpw): Likewise.
6575 * nscd/servicescache.c (cache_addserv): Likewise.
6577 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6578 Atsushi Onoe <atsushi@onoe.org>
6583 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6584 one response is valid.
6585 * resolv/res_send.c (send_dg): Check for validity of other
6586 response if the current response is a referral.
6588 2014-04-29 Steve Ellcey <sellcey@mips.com>
6590 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6592 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6595 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6596 Always divide by positive zero when computing -Inf result.
6597 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6598 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6600 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6603 FPSCR if value do not change.
6604 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6605 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6606 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6607 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6608 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6609 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6612 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6614 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6615 * sysdeps/unix/sysv/linux/hppa: Move directory from
6616 ports/systeps/unix/sysv/linux/hppa.
6617 * README: Update listing for hppa-*-linux-gnu.
6619 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6622 * manual/stdio.texi (Hook functions): Fix types of stream hook
6625 * socket/sys/socket.h: Fix typo in comment.
6627 2014-04-28 Wilco <wdijkstr@arm.com>
6629 * sysdeps/arm/fenv_private.h: New file.
6630 * sysdeps/arm/math_private.h: New file.
6631 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6633 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6635 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6637 (La_x86_64_retval): Likewise.
6639 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6641 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6642 fpsr if value didn't change.
6643 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6644 to fpcr if value didn't change.
6645 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6646 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6647 fpsr or fpcr if value didn't change.
6648 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6649 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6650 fpcr if value didn't change.
6651 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6652 to fpsr if value didn't change.
6654 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6656 * nptl/tst-sem3.c: Use test-skeleton.c
6657 (main): Rename to do_test. Use return instead of
6659 * nptl/tst-sem4.c: Use test-skeleton.c
6660 (main): Rename to do_test.
6662 2014-04-22 David S. Miller <davem@davemloft.net>
6664 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6665 (struct sigaction): New struct member __glibc_reserved0, change
6666 type of sa_flags to int.
6668 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6670 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6671 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6673 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6675 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6676 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6678 2014-04-22 Will Newton <will.newton@linaro.org>
6679 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6681 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6682 (__longjmp): Add longjmp and longjmp_target SystemTap
6684 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6685 (__sigsetjmp): Add setjmp SystemTap probe.
6687 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6689 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6692 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6696 * sysdeps/powerpc/fpu/fenv_private.h
6697 (libc_feholdexcept_setroundl_ctx): Define to
6698 libc_feholdexcept_setround_ppc_ctx.
6699 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6700 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6701 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6702 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6704 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6706 * sysdeps/aarch64/math-tests.h: New file.
6708 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6710 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6713 Check and set bit_AVX2_Usable.
6714 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6716 (bit_AVX2): Likewise.
6717 (index_AVX2_Usable): Likewise.
6718 (CPUID_AVX2): Likewise.
6719 (HAS_AVX2): Likewise.
6721 2014-04-17 Will Newton <will.newton@linaro.org>
6723 * manual/setjmp.texi (System V contexts): Add note that
6724 calling setcontext on a context created by a call to a
6725 signal handler is undefined. Update text to note that
6726 setcontext from a signal handler is possible but not
6730 * stdlib/tst-setcontext.c: Include signal.h.
6731 (main): Check that the signal stack before and
6732 after swapcontext is the same.
6734 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6735 Re-implement to restore registers in user code and avoid
6736 rt_sigreturn system call.
6738 2014-04-17 Wilco <wdijkstr@arm.com>
6740 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6741 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6742 * math/test-fenv.c: Skip exception trap tests on targets which only
6743 support non-stop mode.
6745 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6746 Wilco Dijkstra <wilco.dijkstra@arm.com>
6748 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6749 (libc_feholdsetround_aarch64_ctx)
6750 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6751 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6752 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6753 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6754 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6755 (libc_feresetround_noexl_ctx): Define.
6757 2014-04-16 Richard Henderson <rth@redhat.com>
6759 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6761 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6764 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6765 const from the non-libc, non-ldso copy.
6767 * sysdeps/alpha/libm-test-ulps: Regenerate.
6769 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6770 Wilco Dijkstra <wilco.dijkstra@arm.com>
6772 * sysdeps/aarch64/fpu/math_private.h: New file.
6774 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6776 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6778 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6781 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6782 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6784 Intel MPX bound registers before _dl_profile_fixup.
6785 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6786 registers after _dl_profile_fixup. Save and restore bound
6787 registers bnd0/bnd1 when calling _dl_call_pltexit.
6788 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6789 (LR_BND_OFFSET): Likewise.
6790 (LRV_BND0_OFFSET): Likewise.
6791 (LRV_BND1_OFFSET): Likewise.
6793 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6795 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6797 * sysdeps/mach/hurd/i386/tls.h: ... here.
6798 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6799 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6802 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6804 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6806 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6808 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6810 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6813 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6814 * sysdeps/s390/configure: Regenerate.
6817 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6818 Set round-to-nearest internally to reduce error accumulation.
6820 2014-04-16 Alan Modra <amodra@gmail.com>
6824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6825 * math/libm-test.inc (frexp_test_data): Add tests.
6826 * NEWS: Update fixed bug list.
6828 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6830 * benchtests/Makefile: Depend on libraries in build directory.
6831 (bench-math): Separate out math tests.
6832 (bench-pthread): Separate out pthread tests.
6833 (bench): Include math and pthread tests.
6835 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6838 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6839 _dl_debug_initialize.
6841 * configure.ac: Remove SELinux header check.
6842 * configure: Regenerate.
6843 * nscd/selinux.c (perms): Array of const char* to permission names.
6844 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6845 default policy. Call string_to_security_class and string_to_av_perm to
6846 translate strings. Enforce default policy and call avs_has_perm with
6847 results of translated strings.
6849 2014-04-13 David S. Miller <davem@davemloft.net>
6851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6853 2014-04-12 Allan McRae <allan@archlinux.org>
6856 * manual/string.texi (Collation Functions): Fix qsort argument
6858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6860 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6862 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6863 Make the test a no-op if there are no exceptions defined.
6865 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6867 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6868 enable-hardcoded-path-in-tests
6870 2014-04-11 Will Newton <will.newton@linaro.org>
6872 * benchtests/Makefile (extra-objs): Add json-lib.o.
6873 (bench-func): Tidy up JSON output.
6874 * benchtests/bench-skeleton.c: Include json-lib.h.
6875 (main): Use JSON library functions to do output of
6877 * benchtests/bench-timing-type.c (main): Output the
6878 timing type simply, leaving formatting to the user.
6879 * benchtests/json-lib.c: New file.
6880 * benchtests/json-lib.h: Likewise.
6882 2014-04-11 Torvald Riegel <triegel@redhat.com>
6885 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6886 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6887 memory barriers. Add comments.
6888 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6889 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6890 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6891 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6892 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6893 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6895 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6897 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6898 * sysdeps/s390/s390-64/configure.ac: ... this ...
6899 * sysdeps/s390/configure.ac: ... to here.
6900 * sysdeps/s390/s390-32/configure: Delete file.
6901 * sysdeps/s390/s390-64/configure: Delete file.
6902 * sysdeps/s390/configure: Regenerate.
6904 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6906 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6908 2014-04-11 Will Newton <will.newton@linaro.org>
6910 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6911 to zero if it is not defined elsewhere. (mtrim): Test
6912 the value of MALLOC_DEBUG with #if rather than #ifdef.
6914 2014-04-10 Torvald Riegel <triegel@redhat.com>
6916 * benchtests/pthread_once-inputs: New file.
6917 * benchtests/pthread_once-source.c: New file.
6918 * benchtests/README: Update documentation.
6920 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6921 H.J. Lu <hongjiu.lu@intel.com>
6924 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6925 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6926 * sysdeps/x86_64/configure: Regenerated.
6927 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6929 (REGISTER_SAVE_RAX): Likewise.
6930 (REGISTER_SAVE_RCX): Likewise.
6931 (REGISTER_SAVE_RDX): Likewise.
6932 (REGISTER_SAVE_RSI): Likewise.
6933 (REGISTER_SAVE_RDI): Likewise.
6934 (REGISTER_SAVE_R8): Likewise.
6935 (REGISTER_SAVE_R9): Likewise.
6936 (REGISTER_SAVE_BND0): Likewise.
6937 (REGISTER_SAVE_BND1): Likewise.
6938 (REGISTER_SAVE_BND2): Likewise.
6939 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6940 bound registers when calling _dl_fixup.
6942 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6944 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6945 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6947 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6948 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6949 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6950 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6951 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6952 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6953 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6955 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6958 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6959 pathconf(_PC_NAME_MAX).
6961 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6965 (__PTHREAD_SPINS): Move definition to ...
6966 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6967 (__PTHREAD_SPINS): ... here.
6968 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6969 (__PTHREAD_SPIN): Likewise.
6970 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6971 (__PTHREAD_SPIN): Likewise.
6972 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6973 (__PTHREAD_SPIN): Likewise.
6974 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6975 (__PTHREAD_SPIN): Likewise.
6976 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6977 (__PTHREAD_SPIN): Likewise.
6978 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6979 (__PTHREAD_SPIN): Likewise.
6980 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6981 (__PTHREAD_SPIN): Likewise.
6982 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6983 (__PTHREAD_SPIN): Likewise.
6984 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6985 (__PTHREAD_SPIN): Likewise.
6986 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6987 (__PTHREAD_SPIN): Likewise.
6988 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6989 (__PTHREAD_SPIN): Likewise.
6990 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6991 (__PTHREAD_SPIN): Likewise.
6993 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6994 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6995 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6996 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6998 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6999 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7000 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7001 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7003 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7004 strlen symbol for non multi-arch builds.
7005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7006 missing hidden_def and weak_alias.
7008 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7010 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7012 2014-04-07 Will Newton <will.newton@linaro.org>
7014 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7015 and contents. [!_LIBC] Remove #ifndef and contents.
7016 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7017 * string/memccpy.c (__memccpy): Use ANSI prototype.
7018 * string/memfrob.c (memfrob): Likewise.
7019 * string/strcoll.c (STRCOLL): Likewise.
7020 * string/strlen.c (strlen): Likewise.
7021 * string/strtok.c (STRTOK): Likewise.
7022 * string/strcat.c: Remove unused #include of memcopy.h.
7023 (strcat): Use ANSI prototype.
7024 * string/strchr.c: Remove unused #include of memcopy.h.
7025 (strchr): Use ANSI prototype.
7026 * string/strcmp.c: Remove unused #include of memcopy.h.
7027 (strcmp): Use ANSI prototype.
7028 * string/strcpy.c: Remove unused #include of memcopy.h.
7029 (strcpy): Use ANSI prototype.
7031 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7033 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7034 * config.make.in (config-extra-cppflags): Set it from
7035 libc_extra_cppflags.
7036 * configure.ac (libc_extra_cflags): Make it accumulate over
7037 configure fragments.
7038 (libc_extra_cppflags): New flag.
7039 * configure. Regenerate.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7041 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7042 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7047 result for FE_DOWNWARD rounding mode.
7048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7052 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7054 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7055 in function argument name.
7057 2014-04-03 David Svoboda <svoboda@cert.org>
7060 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7063 2014-04-03 Roland McGrath <roland@hack.frob.com>
7065 * elf/dl-unmap-segments.h: New file.
7066 * sysdeps/generic/ldsodefs.h
7067 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7068 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7069 * elf/dl-fptr.c: Likewise.
7070 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7071 * sysdeps/aarch64/tlsdesc.c: Likewise.
7072 * sysdeps/arm/tlsdesc.c: Likewise.
7073 * sysdeps/i386/tlsdesc.c: Likewise.
7074 * sysdeps/tile/dl-runtime.c: Likewise.
7075 * sysdeps/x86_64/tlsdesc.c: Likewise.
7076 * elf/dl-load.h: New file.
7077 * elf/dl-load.c: Include it.
7078 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7079 Macros moved to dl-load.h.
7080 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7081 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7082 Use _dl_unmap_segments in place of __munmap.
7083 Break out segment-mapping loop into ...
7084 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7086 2014-04-03 Will Newton <will.newton@linaro.org>
7088 * elf/dl-lookup.c (do_lookup_x): Remove comment
7089 referring to nested function and move variable
7090 declarations down to before first use.
7092 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7096 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7098 * math/s_catanf.c (__catanf): Likewise.
7099 * math/s_catanh.c (__catanh): Likewise.
7100 * math/s_catanhf.c (__catanhf): Likewise.
7101 * math/s_catanhl.c (__catanhl): Likewise.
7102 * math/s_catanl.c (__catanl): Likewise.
7103 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7104 by positive zero when computing -Inf result.
7105 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7106 (catanh_test): Likewise.
7107 * sysdeps/i386/fpu/libm-test-ulps: Update.
7108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7111 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7112 instead of using underflowing value in computing result.
7113 * math/s_clog10.c (__clog10): Likewise.
7114 * math/s_clog10f.c (__clog10f): Likewise.
7115 * math/s_clog10l.c (__clog10l): Likewise.
7116 * math/s_clogf.c (__clogf): Likewise.
7117 * math/s_clogl.c (__clogl): Likewise.
7118 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7119 (clog10_test): Likewise.
7120 * sysdeps/i386/fpu/libm-test-ulps: Update.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123 2014-04-02 Alan Modra <amodra@gmail.com>
7126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7127 output when value is near a power of two. Use int64_t for lx and
7128 remove casts. Use decimal rather than hex exponent constants.
7129 Don't use long double multiplication when double will suffice.
7130 * math/libm-test.inc (nextafter_test_data): Add tests.
7131 * NEWS: Add 16739 and 16786 to bug list.
7133 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7135 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7137 2014-04-01 Will Newton <will.newton@linaro.org>
7139 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7140 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7142 2014-04-01 Florian Weimer <fweimer@redhat.com>
7145 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7146 * nptl/tst-setuid2.c: New file.
7147 * nptl/Makefile (xtests): Add tst-setuid2.
7149 2014-04-01 Alan Modra <amodra@gmail.com>
7152 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7154 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7158 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7159 set errno as appropriate.
7160 * math/w_scalbf.c (__scalbf): Likewise.
7161 * math/w_scalbl.c (__scalbl): Likewise.
7162 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7163 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7164 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7168 * math/w_atan2.c: Include <errno.h>.
7169 (__atan2): Set errno for result underflowing to zero.
7170 * math/w_atan2f.c: Include <errno.h>.
7171 (__atan2f): Set errno for result underflowing to zero.
7172 * math/w_atan2l.c: Include <errno.h>.
7173 (__atan2l): Set errno for result underflowing to zero.
7174 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7176 * math/auto-libm-test-out: Regenerated.
7178 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7180 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7181 Encode instruction correctly in little endian.
7182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7186 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7191 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7194 * sysdeps/unix/sysv/linux/kernel-features.h
7195 [__sparc__ && !__arch64__ && !__sparc_v9__]
7196 (__ASSUME_SET_ROBUST_LIST): Do not define.
7197 [__sparc__ && !__arch64__ && !__sparc_v9__]
7198 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7199 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7201 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7202 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7203 (__ASSUME_REQUEUE_PI): Likewise.
7204 (__ASSUME_SET_ROBUST_LIST): Likewise.
7205 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7206 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7209 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7215 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7216 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7219 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7224 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7225 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7227 2014-03-31 Will Newton <will.newton@linaro.org>
7229 * benchtests/Makefile (bench): Add ffs and ffsll to list
7231 * benchtests/ffs-inputs: New file.
7232 * benchtests/ffsll-inputs: Likewise.
7234 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7237 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7238 too large before casting to int.
7239 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7240 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7241 * math/libm-test.inc (scalb_test_data): Add more tests.
7243 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * benchtests/Makefile (DETAILED_OPT): New make option.
7246 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7248 * benchtests/bench-skeleton.c: Include stdbool.h.
7249 (main): Store and print timings per input.
7250 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7251 member to each argument value.
7252 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7253 (_print_arg_data): Initialize per-input timing to 0.
7255 * benchtests/Makefile (timing-type): New binary.
7256 (bench-clean): Also remove bench-timing-type.
7257 (bench): New target for timing-type.
7258 (bench-func): Print output in JSON format.
7259 * benchtests/bench-skeleton.c (main): Print output in JSON
7261 * benchtests/bench-timing-type.c: New file.
7262 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7263 (TIMING_PRINT_STATS): Remove.
7264 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7267 * benchtests/bench-modf.c: Remove.
7268 * benchtests/modf-inputs: New inputs file.
7270 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7273 * math/s_clog10.c (M_PI_LOG10E): New macro.
7274 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7275 imaginary parts are 0.
7276 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7277 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7278 imaginary parts are 0.
7279 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7280 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7281 imaginary parts are 0.
7282 * math/libm-test.inc (clog10_test_data): Update expected results
7283 for when real and imaginary parts are 0.
7285 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7287 * elf/dl-load.c: Finish conversion of __builtin_expect into
7290 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7294 1+x for argument with exponent below -67.
7295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7297 * math/auto-libm-test-in: Add more tests of exp.
7298 * math/auto-libm-test-out: Regenerated.
7300 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7303 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7304 (nscd_getnetgrent): Use it.
7307 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7310 2014-03-27 Andi Kleen <ak@linux.intel.com>
7312 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7313 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7314 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7315 (lll_robust_unlock): Remove out of line section. Use cfi
7317 (LLL_STUB_UNWIND_INFO*): Remove.
7318 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7319 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7320 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7321 (lll_robust_unlock): Remove out of line section. Use cfi
7323 (LLL_STUB_UNWIND_INFO*): Remove.
7325 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7328 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7331 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7333 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7335 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7340 * math/test-fenv-preserve.c: New file.
7341 * math/Makefile (tests): Add test-fenv-preserve.
7343 2014-03-26 Will Newton <will.newton@linaro.org>
7345 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7347 2014-03-25 Roland McGrath <roland@hack.frob.com>
7349 * scripts/versionlist.awk: Partition the version sets and emit all
7350 GLIBC_* (sorted) before all others (sorted).
7352 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7354 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7355 GLIBC_2.2.5 version.
7357 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7367 2014-03-25 Andreas Schwab <schwab@suse.de>
7369 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7370 label to be used after in6ailist is initialized.
7372 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7374 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7375 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7377 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7381 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7383 (fp_formats): Update initializers.
7384 (init_fp_formats): Initialize new field.
7385 (output_for_one_input_case): Allow underflow for results up to
7387 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7388 * math/auto-libm-test-in: Don't mark some underflows from asin and
7390 * math/auto-libm-test-out: Regenerated.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394 2014-03-25 Andreas Schwab <schwab@suse.de>
7396 * libio/Makefile (tst-ftell-partial-wide-ENV)
7397 (tst-ftell-active-handler-ENV): Define.
7399 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7401 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7403 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7405 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7407 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7409 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7410 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7411 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7413 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7416 * elf/dl-load.c (open_verify): Add mode parameter.
7417 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7418 (open_path): Change from boolean 'secure' to complete flag 'mode'
7419 (_dl_map_object): Adjust.
7420 * elf/Makefile (tests): Add tst-dlopen-aout.
7421 * elf/tst-dlopen-aout.c: New test.
7423 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7426 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7427 (struct stat): Rename member pad0 to __glibc_reserved0.
7430 * sysdeps/s390/s390-32/bits/wordsize.h
7431 (__WORDSIZE32_SIZE_ULONG): New define.
7432 * sysdeps/s390/s390-64/bits/wordsize.h
7433 (__WORDSIZE32_SIZE_ULONG): Likewise.
7434 * sysdeps/generic/stdint.h (SIZE_MAX):
7435 Define as UL if __WORDSIZE32_SIZE_ULONG.
7438 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7439 (__glibc_reserved0): New variable.
7440 (sa_flags): Change type to int.
7442 * posix/Makefile (before-compile): Use += before-compile instead
7445 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7446 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7448 2014-03-20 Andreas Schwab <schwab@suse.de>
7451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7452 non-matching result from nscd.
7454 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7456 * scripts/bench.py: Moved to ...
7457 * benchtests/scripts/bench.py: ... here.
7458 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7460 2014-03-24 Andreas Schwab <schwab@suse.de>
7463 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7464 alloca_account and account alloca use for struct in6ailist.
7466 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7470 rounding mode to recompute results that overflow to infinity or
7472 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7474 * math/auto-libm-test-out: Regenerated.
7475 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7476 (ccosh_test): Likewise.
7477 (csin_test_data): Use plus_oflow.
7478 (csin_test): Use ALL_RM_TEST.
7479 (csinh_test_data): Use plus_oflow.
7480 (csinh_test): Use ALL_RM_TEST.
7481 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7486 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7487 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7488 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7491 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7493 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7494 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7495 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7496 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7498 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7499 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7501 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7505 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7507 * scripts/bench.pl: Remove file.
7508 * scripts/bench.py: New benchmark script.
7509 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7510 * benchtests/README: Mention python dependency.
7511 * scripts/pylintrc: New file.
7512 * scripts/pylint: New file.
7514 * bits/mathdef.h: Use #ifdef instead of #if.
7515 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7516 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7517 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7519 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7522 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7523 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7525 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7527 and strpbrk-ppc64 objects.
7528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7529 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7530 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7531 multiarch strpbrk for POWER7.
7532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7533 multiarch strpbrk for PPC64.
7534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7536 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7539 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7541 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7542 (atan_test): Likewise.
7543 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7544 (atanh_test): Use ALL_RM_TEST.
7545 (atan2_test_data): Likewise.
7546 (cabs_test): Likewise.
7547 (cacosh_test): Likewise.
7548 (carg_test): Likewise.
7549 (casin_test): Likewise.
7550 (casinh_test): Likewise.
7551 (cbrt_test): Likewise.
7552 (csqrt_test): Likewise.
7553 (erf_test): Likewise.
7554 (erfc_test): Likewise.
7555 (pow10_test): Likewise.
7556 (exp2_test): Likewise.
7557 (hypot_test): Likewise.
7558 (j0_test): Likewise.
7559 (j1_test): Likewise.
7560 (lgamma_test): Likewise.
7561 (gamma_test): Likewise.
7562 (sincos_test): Likewise.
7563 (tanh_test): Likewise.
7564 (y0_test): Likewise.
7565 (y1_test): Likewise.
7566 * sysdeps/i386/fpu/libm-test-ulps: Update.
7567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7569 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7573 and strcspn-ppc64 objects.
7574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7575 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7576 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7577 multiarch strcspn for POWER7.
7578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7579 multiarch strcspn for PPC64.
7580 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7582 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7585 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7587 * math/gen-libm-test.pl (generate_testfile): Expect only function
7588 name as argument to AUTO_TESTS_* and pass results for all rounding
7589 modes to parse_args.
7590 (parse_auto_input): Separate inputs of automatic tests from
7591 outputs before storing in %auto_tests.
7592 * math/libm-test.inc (acos_test_data): Update call to
7594 (acos_test): Use ALL_RM_TEST.
7595 (acos_tonearest_test_data): Remove.
7596 (acos_test_tonearest): Likewise.
7597 (acos_towardzero_test_data): Likewise.
7598 (acos_test_towardzero): Likewise.
7599 (acos_downward_test_data): Likewise.
7600 (acos_test_downward): Likewise.
7601 (acos_upward_test_data): Likewise.
7602 (acos_test_upward): Likewise.
7603 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7604 (asin_test_data): Likewise.
7605 (asin_test): Use ALL_RM_TEST.
7606 (asin_tonearest_test_data): Remove.
7607 (asin_test_tonearest): Likewise.
7608 (asin_towardzero_test_data): Likewise.
7609 (asin_test_towardzero): Likewise.
7610 (asin_downward_test_data): Likewise.
7611 (asin_test_downward): Likewise.
7612 (asin_upward_test_data): Likewise.
7613 (asin_test_upward): Likewise.
7614 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7615 (atan_test_data): Likewise.
7616 (atanh_test_data): Likewise.
7617 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7618 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7619 (carg_test_data): Likewise.
7620 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7621 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7622 (ccosh_test_data): Likewise.
7623 (cexp_test_data): Likewise.
7624 (clog_test_data): Likewise.
7625 (clog10_test_data): Likewise.
7626 (cos_test_data): Update call to AUTO_TESTS_f_f.
7627 (cos_test): Use ALL_RM_TEST.
7628 (cos_tonearest_test_data): Remove.
7629 (cos_test_tonearest): Likewise.
7630 (cos_towardzero_test_data): Likewise.
7631 (cos_test_towardzero): Likewise.
7632 (cos_downward_test_data): Likewise.
7633 (cos_test_downward): Likewise.
7634 (cos_upward_test_data): Likewise.
7635 (cos_test_upward): Likewise.
7636 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7637 (cosh_test): Use ALL_RM_TEST.
7638 (cosh_tonearest_test_data): Remove.
7639 (cosh_test_tonearest): Likewise.
7640 (cosh_towardzero_test_data): Likewise.
7641 (cosh_test_towardzero): Likewise.
7642 (cosh_downward_test_data): Likewise.
7643 (cosh_test_downward): Likewise.
7644 (cosh_upward_test_data): Likewise.
7645 (cosh_test_upward): Likewise.
7646 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7647 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7648 (ctan_test_data): Likewise.
7649 (ctan_test): Use ALL_RM_TEST.
7650 (ctan_tonearest_test_data): Remove.
7651 (ctan_test_tonearest): Likewise.
7652 (ctan_towardzero_test_data): Likewise.
7653 (ctan_test_towardzero): Likewise.
7654 (ctan_downward_test_data): Likewise.
7655 (ctan_test_downward): Likewise.
7656 (ctan_upward_test_data): Likewise.
7657 (ctan_test_upward): Likewise.
7658 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7659 (ctanh_test): Use ALL_RM_TEST.
7660 (ctanh_tonearest_test_data): Remove.
7661 (ctanh_test_tonearest): Likewise.
7662 (ctanh_towardzero_test_data): Likewise.
7663 (ctanh_test_towardzero): Likewise.
7664 (ctanh_downward_test_data): Likewise.
7665 (ctanh_test_downward): Likewise.
7666 (ctanh_upward_test_data): Likewise.
7667 (ctanh_test_upward): Likewise.
7668 (erf_test_data): Update call to AUTO_TESTS_f_f.
7669 (erfc_test_data): Likewise.
7670 (exp_test_data): Likewise.
7671 (exp_test): Use ALL_RM_TEST.
7672 (exp_tonearest_test_data): Remove.
7673 (exp_test_tonearest): Likewise.
7674 (exp_towardzero_test_data): Likewise.
7675 (exp_test_towardzero): Likewise.
7676 (exp_downward_test_data): Likewise.
7677 (exp_test_downward): Likewise.
7678 (exp_upward_test_data): Likewise.
7679 (exp_test_upward): Likewise.
7680 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7681 (exp10_test): Use ALL_RM_TEST.
7682 (exp10_tonearest_test_data): Remove.
7683 (exp10_test_tonearest): Likewise.
7684 (exp10_towardzero_test_data): Likewise.
7685 (exp10_test_towardzero): Likewise.
7686 (exp10_downward_test_data): Likewise.
7687 (exp10_test_downward): Likewise.
7688 (exp10_upward_test_data): Likewise.
7689 (exp10_test_upward): Likewise.
7690 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7691 (expm1_test_data): Likewise.
7692 (expm1_test): Use ALL_RM_TEST.
7693 (expm1_tonearest_test_data): Remove.
7694 (expm1_test_tonearest): Likewise.
7695 (expm1_towardzero_test_data): Likewise.
7696 (expm1_test_towardzero): Likewise.
7697 (expm1_downward_test_data): Likewise.
7698 (expm1_test_downward): Likewise.
7699 (expm1_upward_test_data): Likewise.
7700 (expm1_test_upward): Likewise.
7701 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7702 (fma_test): Use ALL_RM_TEST.
7703 (fma_towardzero_test_data): Remove.
7704 (fma_test_towardzero): Likewise.
7705 (fma_downward_test_data): Likewise.
7706 (fma_test_downward): Likewise.
7707 (fma_upward_test_data): Likewise.
7708 (fma_test_upward): Likewise.
7709 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7710 (j0_test_data): Update call to AUTO_TESTS_f_f.
7711 (j1_test_data): Likewise.
7712 (jn_test_data): Update call to AUTO_TESTS_if_f.
7713 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7714 (log_test_data): Update call to AUTO_TESTS_f_f.
7715 (log10_test_data): Likewise.
7716 (log1p_test_data): Likewise.
7717 (log2_test_data): Likewise.
7718 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7719 (pow_tonearest_test_data): Likewise.
7720 (sin_test_data): Update call to AUTO_TESTS_f_f.
7721 (sin_test): Use ALL_RM_TEST.
7722 (sin_tonearest_test_data): Remove.
7723 (sin_test_tonearest): Likewise.
7724 (sin_towardzero_test_data): Likewise.
7725 (sin_test_towardzero): Likewise.
7726 (sin_downward_test_data): Likewise.
7727 (sin_test_downward): Likewise.
7728 (sin_upward_test_data): Likewise.
7729 (sin_test_upward): Likewise.
7730 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7731 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7732 (sinh_test): Use ALL_RM_TEST.
7733 (sinh_tonearest_test_data): Remove.
7734 (sinh_test_tonearest): Likewise.
7735 (sinh_towardzero_test_data): Likewise.
7736 (sinh_test_towardzero): Likewise.
7737 (sinh_downward_test_data): Likewise.
7738 (sinh_test_downward): Likewise.
7739 (sinh_upward_test_data): Likewise.
7740 (sinh_test_upward): Likewise.
7741 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7742 (sqrt_test): Use ALL_RM_TEST.
7743 (sqrt_tonearest_test_data): Remove.
7744 (sqrt_test_tonearest): Likewise.
7745 (sqrt_towardzero_test_data): Likewise.
7746 (sqrt_test_towardzero): Likewise.
7747 (sqrt_downward_test_data): Likewise.
7748 (sqrt_test_downward): Likewise.
7749 (sqrt_upward_test_data): Likewise.
7750 (sqrt_test_upward): Likewise.
7751 (tan_test_data): Update call to AUTO_TESTS_f_f.
7752 (tan_test): Use ALL_RM_TEST.
7753 (tan_tonearest_test_data): Remove.
7754 (tan_test_tonearest): Likewise.
7755 (tan_towardzero_test_data): Likewise.
7756 (tan_test_towardzero): Likewise.
7757 (tan_downward_test_data): Likewise.
7758 (tan_test_downward): Likewise.
7759 (tan_upward_test_data): Likewise.
7760 (tan_test_upward): Likewise.
7761 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7762 (tgamma_test_data): Likewise.
7763 (y0_test_data): Likewise.
7764 (y1_test_data): Likewise.
7765 (yn_test_data): Update call to AUTO_TESTS_if_f.
7766 (main): Do not call removed functions.
7768 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7770 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7771 (ldexp_test_data): Remove.
7772 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7774 (scalb_test): Use ALL_RM_TEST.
7776 2014-03-19 Andreas Schwab <schwab@suse.de>
7778 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7780 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7783 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7784 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7785 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7787 (__ASSUME_PREADV): Undefine.
7788 (__ASSUME_PWRITEV): Likewise.
7790 2014-03-18 Roland McGrath <roland@hack.frob.com>
7792 * bits/mman-linux.h: Add comment about non-Linux use.
7793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7794 bits/mman-linux.h resting place.
7796 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7797 * bits/mman-linux.h: ... here.
7799 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7801 * conform/conformtest.pl: Add standard definition when calling C
7802 preprocessor on data files.
7803 (checknamespace): Remove unused variable.
7805 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7807 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7808 minus_oflow, plus_uflow and minus_uflow in expected results.
7809 * math/libm-test.inc (scalbn_test_data): Add more tests of
7810 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7812 (scalbn_test): Use ALL_RM_TEST.
7813 (scalbln_test_data): Add more tests of negative arguments. Use
7814 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7815 (scalbln_test): Use ALL_RM_TEST.
7817 2014-03-18 Roland McGrath <roland@hack.frob.com>
7819 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7821 2014-03-18 Will Newton <will.newton@linaro.org>
7823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7826 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7828 * Makerules [!subdir] (check-abi): Exit with error status if a
7831 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7833 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7834 for rint. Include results for all rounding modes.
7835 (nearbyint_test): Use ALL_RM_TEST.
7836 (rint_test_data): Include all tests used for nearbyint.
7838 2014-03-17 Will Newton <will.newton@linaro.org>
7840 * nptl/sysdeps/pthread/pthread.h: Revert previous
7843 * sysdeps/generic/ldsodefs.h: Revert previous
7846 * libio/genops.c: Revert previous change.
7847 * libio/libioP.h: Likewise.
7848 * stdio-common/vfprintf.c: Likewise.
7850 * sysdeps/generic/math_private.h: Revert previous
7853 * sysdeps/generic/math_private.h: Check whether
7854 HAVE_RM_CTX is defined with #ifdef rather
7857 * argp/argp-fmtstream.h: Check whether
7858 __STRICT_ANSI__ is defined with #ifdef rather
7860 * argp/argp.h: Likewise.
7862 * libio/genops.c: Check whether
7863 _IO_JUMPS_OFFSET is defined with #ifdef rather
7865 * libio/libioP.h: Likewise.
7866 * stdio-common/vfprintf.c: Likewise.
7868 * sysdeps/generic/ldsodefs.h: Check whether
7869 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7872 * nptl/sysdeps/pthread/pthread.h: Check
7873 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7876 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7878 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7880 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7884 * libio/fileops.c (_IO_file_open): Seek to end of file but
7885 don't cache the offset.
7886 (get_file_offset): Remove function.
7887 (do_ftell): Use cached offset when available.
7888 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7889 don't cache the offset.
7890 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7892 (do_one_test): Call it.
7893 (do_ftell_test): Fix up expected old offset for a+ mode.
7894 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7897 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7898 up test status with function return status.
7899 (do_write_test): Likewise.
7900 (do_append_test): Likewise.
7902 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7903 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7906 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7908 * math/gen-libm-test.pl (parse_args): Handle results specified for
7909 each rounding mode separately.
7910 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7911 tests and results from lrint_tonearest_test_data,
7912 lrint_towardzero_test_data, lrint_downward_test_data and
7913 lrint_upward_test_data.
7914 (lrint_test): Use ALL_RM_TEST.
7915 (lrint_tonearest_test_data): Remove.
7916 (lrint_test_tonearest): Likewise.
7917 (lrint_towardzero_test_data): Likewise.
7918 (lrint_test_towardzero): Likewise.
7919 (lrint_downward_test_data): Likewise.
7920 (lrint_test_downward): Likewise.
7921 (lrint_upward_test_data): Likewise.
7922 (lrint_test_upward): Likewise.
7923 (llrint_test_data): Merge in per-rounding-mode tests and results
7924 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7925 llrint_downward_test_data and llrint_upward_test_data.
7926 (llrint_test): Use ALL_RM_TEST.
7927 (llrint_tonearest_test_data): Remove.
7928 (llrint_test_tonearest): Likewise.
7929 (llrint_towardzero_test_data): Likewise.
7930 (llrint_test_towardzero): Likewise.
7931 (llrint_downward_test_data): Likewise.
7932 (llrint_test_downward): Likewise.
7933 (llrint_upward_test_data): Likewise.
7934 (llrint_test_upward): Likewise.
7935 (rint_test_data): Merge in per-rounding-mode tests and results
7936 from rint_tonearest_test_data, rint_towardzero_test_data,
7937 rint_downward_test_data and rint_upward_test_data. Add
7938 per-rounding-mode results for tests not in those arrays.
7939 (rint_test): Use ALL_RM_TEST.
7940 (rint_tonearest_test_data): Remove.
7941 (rint_test_tonearest): Likewise.
7942 (rint_towardzero_test_data): Likewise.
7943 (rint_test_towardzero): Likewise.
7944 (rint_downward_test_data): Likewise.
7945 (rint_test_downward): Likewise.
7946 (rint_upward_test_data): Likewise.
7947 (rint_test_upward): Likewise.
7948 (main): Don't call removed functions.
7950 2014-03-14 Roland McGrath <roland@hack.frob.com>
7952 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7953 "Compiled on ..." crapola. It is anti-useful.
7955 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7957 * scripts/evaluate-test.sh: Handle fourth argument to determine
7958 whether test run should stop on failure.
7959 * Makeconfig (stop-on-test-failure): New variable.
7960 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7961 $(stop-on-test-failure).
7962 * Makefile (tests): Give a summary of results from testing and
7963 exit with failure status if they include an ERROR or FAIL.
7965 * manual/install.texi (Configuring and compiling): Mention
7966 stop-on-test-failure=y.
7967 * INSTALL: Regenerated.
7969 2014-03-14 Roland McGrath <roland@hack.frob.com>
7971 * scripts/versionlist.awk: New file.
7972 * Makerules [$(build-shared) = yes]
7973 (postclean-generated): Add Versions.def, not Versions.def.v and
7975 ($(common-objpfx)Versions.def.v.i): Target removed.
7976 ($(common-objpfx)Versions.def): New target.
7977 ($(common-objpfx)Versions.all): Depend on that rather that
7978 $(common-objpfx)Versions.def.v.
7979 * Versions.def: File removed.
7981 * Makeconfig (+gccwarn): Add -Wundef.
7982 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7983 a dl-sysdep.h breaking its contract.
7984 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7985 * include/stackinfo.h: New file.
7986 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7987 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7988 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7989 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7990 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7991 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7992 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7993 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7994 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7995 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7996 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7997 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7998 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7999 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8000 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8002 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8007 * math/libm-test.inc (round_test_data): Add more tests.
8010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8012 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8015 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8017 * math/libm-test.inc (ceil_test_data): Add more tests.
8019 * math/libm-test.inc (trunc_test_data): Add more tests related to
8022 2014-03-14 Roland McGrath <roland@hack.frob.com>
8024 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8025 with #if rather than #ifdef.
8026 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8028 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8030 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8031 first. Disable AVX-512 GCC support if assembler doesn't support
8033 * sysdeps/x86_64/configure: Regenerated.
8035 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8037 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8038 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8039 (__old_pthread_attr_setstack): Likewise.
8040 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8041 [!_STACK_GROWS_DOWN]: Likewise.
8043 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8045 * config.make.in (have-bash2): Delete.
8046 * configure.ac (libc_cv_have_bash2): Delete.
8047 * configure: Regenerate.
8048 * elf/Makefile (common-ldd-rewrite): Rename to ...
8049 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8050 (sh-ldd-rewrite): Delete.
8051 (bash-ldd-rewrite): Delete.
8052 (have-bash2): Delete checks.
8053 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8056 * config.make.in (have-ksh): Delete.
8058 * configure.ac (libc_cv_have_ksh): Delete.
8059 * configure: Regenerate.
8061 * elf/Makefile: Delete $(have-ksh) check.
8062 ($(objpfx)sotruss): Change KSH to BASH.
8063 * elf/sotruss.ksh: Rename to ...
8064 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8065 function style to match POSIX. Drop ksh vim mode setting.
8067 * manual/time.texi (Specifying the Time Zone with TZ): Change
8068 Tuesday to Thursday.
8070 * debug/tst-longjmp_chk2.c: Update header comment.
8071 (stackoverflow_handler): Add comment. Call assert on pass value.
8073 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8076 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8077 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8078 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8079 (La_x86_64_vector): Add zmm.
8080 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8081 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8082 ($(objpfx)tst-audit10): New target.
8083 ($(objpfx)tst-audit10.out): Likewise.
8084 (tst-audit10-ENV): New.
8085 (AVX512-CFLAGS): Likewise.
8086 (CFLAGS-tst-audit10.c): Likewise.
8087 (CFLAGS-tst-auditmod10a.c): Likewise.
8088 (CFLAGS-tst-auditmod10b.c): Likewise.
8089 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8090 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8091 * sysdeps/x86_64/configure: Regenerated.
8092 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8093 AVX-512 zmm register support.
8094 (_dl_x86_64_save_sse): Likewise.
8095 (_dl_x86_64_restore_sse): Likewise.
8096 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8097 size vector registers.
8098 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8099 (ZMM_SIZE): Likewise.
8100 * sysdeps/x86_64/tst-audit10.c: New file.
8101 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8102 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8104 2014-03-13 Roland McGrath <roland@hack.frob.com>
8106 * configure.ac (HAVE_EHDR_START): New check.
8107 * configure: Regenerated.
8108 * config.h.in (HAVE_EHDR_START): New #undef.
8109 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8110 assuming the lowest-addressed segment maps the start of the file.
8112 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8114 * INSTALL: Regenerated.
8116 2014-03-13 Will Newton <will.newton@linaro.org>
8118 * manual/setjmp.texi (System V contexts): Improve
8119 clarity and grammar of documentation.
8121 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8124 * elf/Makefile (tests): Add tst-pie2.
8125 (tests-pie): Add tst-pie2.
8126 * elf/tst-pie2.c: New file.
8127 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8129 * elf/rtld.c (map_doit): Load executable as lt_executable.
8130 (dl_main): Likewise.
8132 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8136 (__ASSUME_PSELECT): Undefine.
8138 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8142 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8144 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8145 selector for static builds.
8147 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8150 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8153 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8155 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8156 IFUNC selector for static builds.
8158 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8160 * sysdeps/mips/math_private.h [__mips_hard_float]
8161 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8162 libc_feresetround_mips_ctx.
8163 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8164 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8165 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8168 * math/s_nextafter.c (__nextafter): Do not return value from
8169 overflowing computation.
8170 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8171 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8176 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8177 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8179 2014-03-11 Roland McGrath <roland@hack.frob.com>
8181 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8182 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8183 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8184 the new mov targetting sp.
8186 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8190 Define it for static builds as well.
8191 (NO_BZERO_IMPL): Likewise.
8193 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8195 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8196 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8197 multiarch strspn for PPC64.
8198 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8199 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8201 (__libc_ifunc_impl_list): Likewise.
8202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8203 multiarch optimizations
8204 * string/strspn.c (strspn): Using macro to redefine symbol name.
8206 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8207 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8209 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8210 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8211 multiarch strncat for PPC64.
8212 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8213 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8215 (__libc_ifunc_impl_list): Likewise.
8216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8217 multiarch optimizations
8219 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8222 * nscd/nscd.service: Make service type forking.
8224 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8227 sign in non default rounding modes.
8228 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8230 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8232 * math/libm-test.inc (ALL_RM_TEST): New macro.
8233 (ceil_test): Use ALL_RM_TEST.
8234 (cimag_test): Likewise.
8235 (conj_test): Likewise.
8236 (copysign_test): Likewise.
8237 (cproj_test): Likewise.
8238 (creal_test): Likewise.
8239 (fabs_test): Likewise.
8240 (floor_test): Likewise.
8241 (fmax_test): Likewise.
8242 (fmin_test): Likewise.
8243 (fmod_test): Likewise.
8244 (fpclassify_test): Likewise.
8245 (frexp_test): Likewise.
8246 (ilogb_test): Likewise.
8247 (isfinite_test): Likewise.
8248 (finite_test): Likewise.
8249 (isgreater_test): Likewise.
8250 (isgreaterequal_test): Likewise.
8251 (isinf_test): Likewise.
8252 (isless_test): Likewise.
8253 (islessequal_test): Likewise.
8254 (islessgreater_test): Likewise.
8255 (isnan_test): Likewise.
8256 (isnormal_test): Likewise.
8257 (issignaling_test): Likewise.
8258 (isunordered_test): Likewise.
8259 (logb_test): Likewise.
8260 (logb_downward_test_data): Remove.
8261 (logb_test_downward): Likewise.
8262 (lround_test): Use ALL_RM_TEST.
8263 (llround_test): Likewise.
8264 (modf_test): Likewise.
8265 (nexttoward_test): Likewise.
8266 (remainder_test): Likewise.
8267 (drem_test): Likewise.
8268 (remainder_tonearest_test_data): Likewise.
8269 (remainder_test_tonearest): Likewise.
8270 (drem_test_tonearest): Likewise.
8271 (remainder_towardzero_test_data): Likewise.
8272 (remainder_test_towardzero): Likewise.
8273 (drem_test_towardzero): Likewise.
8274 (remainder_downward_test_data): Likewise.
8275 (remainder_test_downward): Likewise.
8276 (drem_test_downward): Likewise.
8277 (remainder_upward_test_data): Likewise.
8278 (remainder_test_upward): Likewise.
8279 (drem_test_upward): Likewise.
8280 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8281 (round_test): Use ALL_RM_TEST.
8282 (signbit_test): Likewise.
8283 (trunc_test): Likewise.
8284 (significand_test): Likewise.
8285 (main): Don't call removed functions.
8287 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8290 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8292 (ILL_ILLOPN): Likewise.
8293 (ILL_ILLADR): Likewise.
8294 (ILL_ILLTRP): Likewise.
8295 (ILL_PRVOPC): Likewise.
8296 (ILL_PRVREG): Likewise.
8297 (ILL_COPROC): Likewise.
8298 (ILL_BADSTK): Likewise.
8299 (FPE_INTDIV): Likewise.
8300 (FPE_INTOVF): Likewise.
8301 (FPE_FLTDIV): Likewise.
8302 (FPE_FLTOVF): Likewise.
8303 (FPE_FLTUND): Likewise.
8304 (FPE_FLTRES): Likewise.
8305 (FPE_FLTINV): Likewise.
8306 (FPE_FLTSUB): Likewise.
8307 (SEGV_MAPERR): Likewise.
8308 (SEGV_ACCERR): Likewise.
8309 (BUS_ADRALN): Likewise.
8310 (BUS_ADRERR): Likewise.
8311 (BUS_OBJERR): Likewise.
8312 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8313 (TRAP_TRACE): Likewise.
8314 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8316 (CLD_KILLED): Likewise.
8317 (CLD_DUMPED): Likewise.
8318 (CLD_TRAPPED): Likewise.
8319 (CLD_STOPPED): Likewise.
8320 (CLD_CONTINUED): Likewise.
8321 (POLL_IN): Likewise.
8322 (POLL_OUT): Likewise.
8323 (POLL_MSG): Likewise.
8324 (POLL_ERR): Likewise.
8325 (POLL_PRI): Likewise.
8326 (POLL_HUP): Likewise.
8327 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8329 (ILL_ILLOPN): Likewise.
8330 (ILL_ILLADR): Likewise.
8331 (ILL_ILLTRP): Likewise.
8332 (ILL_PRVOPC): Likewise.
8333 (ILL_PRVREG): Likewise.
8334 (ILL_COPROC): Likewise.
8335 (ILL_BADSTK): Likewise.
8336 (FPE_INTDIV): Likewise.
8337 (FPE_INTOVF): Likewise.
8338 (FPE_FLTDIV): Likewise.
8339 (FPE_FLTOVF): Likewise.
8340 (FPE_FLTUND): Likewise.
8341 (FPE_FLTRES): Likewise.
8342 (FPE_FLTINV): Likewise.
8343 (FPE_FLTSUB): Likewise.
8344 (SEGV_MAPERR): Likewise.
8345 (SEGV_ACCERR): Likewise.
8346 (BUS_ADRALN): Likewise.
8347 (BUS_ADRERR): Likewise.
8348 (BUS_OBJERR): Likewise.
8349 (BUS_MCEERR_AR): Likewise.
8350 (BUS_MCEERR_AO): Likewise.
8351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8352 (TRAP_TRACE): Likewise.
8353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8355 (CLD_KILLED): Likewise.
8356 (CLD_DUMPED): Likewise.
8357 (CLD_TRAPPED): Likewise.
8358 (CLD_STOPPED): Likewise.
8359 (CLD_CONTINUED): Likewise.
8360 (POLL_IN): Likewise.
8361 (POLL_OUT): Likewise.
8362 (POLL_MSG): Likewise.
8363 (POLL_ERR): Likewise.
8364 (POLL_PRI): Likewise.
8365 (POLL_HUP): Likewise.
8366 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8367 (ILL_ILLOPN): Likewise.
8368 (ILL_ILLADR): Likewise.
8369 (ILL_ILLTRP): Likewise.
8370 (ILL_PRVOPC): Likewise.
8371 (ILL_PRVREG): Likewise.
8372 (ILL_COPROC): Likewise.
8373 (ILL_BADSTK): Likewise.
8374 (FPE_INTDIV): Likewise.
8375 (FPE_INTOVF): Likewise.
8376 (FPE_FLTDIV): Likewise.
8377 (FPE_FLTOVF): Likewise.
8378 (FPE_FLTUND): Likewise.
8379 (FPE_FLTRES): Likewise.
8380 (FPE_FLTINV): Likewise.
8381 (FPE_FLTSUB): Likewise.
8382 (SEGV_MAPERR): Likewise.
8383 (SEGV_ACCERR): Likewise.
8384 (BUS_ADRALN): Likewise.
8385 (BUS_ADRERR): Likewise.
8386 (BUS_OBJERR): Likewise.
8387 (BUS_MCEERR_AR): Likewise.
8388 (BUS_MCEERR_AO): Likewise.
8389 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8390 (TRAP_TRACE): Likewise.
8391 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8393 (CLD_KILLED): Likewise.
8394 (CLD_DUMPED): Likewise.
8395 (CLD_TRAPPED): Likewise.
8396 (CLD_STOPPED): Likewise.
8397 (CLD_CONTINUED): Likewise.
8398 (POLL_IN): Likewise.
8399 (POLL_OUT): Likewise.
8400 (POLL_MSG): Likewise.
8401 (POLL_ERR): Likewise.
8402 (POLL_PRI): Likewise.
8403 (POLL_HUP): Likewise.
8404 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8406 (ILL_ILLOPN): Likewise.
8407 (ILL_ILLADR): Likewise.
8408 (ILL_ILLTRP): Likewise.
8409 (ILL_PRVOPC): Likewise.
8410 (ILL_PRVREG): Likewise.
8411 (ILL_COPROC): Likewise.
8412 (ILL_BADSTK): Likewise.
8413 (ILL_BADIADDR): Likewise.
8414 (ILL_BREAK): Likewise.
8415 (FPE_INTDIV): Likewise.
8416 (FPE_INTOVF): Likewise.
8417 (FPE_FLTDIV): Likewise.
8418 (FPE_FLTOVF): Likewise.
8419 (FPE_FLTUND): Likewise.
8420 (FPE_FLTRES): Likewise.
8421 (FPE_FLTINV): Likewise.
8422 (FPE_FLTSUB): Likewise.
8423 (FPE_DECOVF): Likewise.
8424 (FPE_DECDIV): Likewise.
8425 (FPE_DECERR): Likewise.
8426 (FPE_INVASC): Likewise.
8427 (FPE_INVDEC): Likewise.
8428 (SEGV_MAPERR): Likewise.
8429 (SEGV_ACCERR): Likewise.
8430 (SEGV_PSTKOVF): Likewise.
8431 (BUS_ADRALN): Likewise.
8432 (BUS_ADRERR): Likewise.
8433 (BUS_OBJERR): Likewise.
8434 (BUS_MCEERR_AR): Likewise.
8435 (BUS_MCEERR_AO): Likewise.
8436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8437 (TRAP_TRACE): Likewise.
8438 (TRAP_BRANCH): Likewise.
8439 (TRAP_HWBKPT): Likewise.
8440 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8442 (CLD_KILLED): Likewise.
8443 (CLD_DUMPED): Likewise.
8444 (CLD_TRAPPED): Likewise.
8445 (CLD_STOPPED): Likewise.
8446 (CLD_CONTINUED): Likewise.
8447 (POLL_IN): Likewise.
8448 (POLL_OUT): Likewise.
8449 (POLL_MSG): Likewise.
8450 (POLL_ERR): Likewise.
8451 (POLL_PRI): Likewise.
8452 (POLL_HUP): Likewise.
8453 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8454 (ILL_ILLOPN): Likewise.
8455 (ILL_ILLADR): Likewise.
8456 (ILL_ILLTRP): Likewise.
8457 (ILL_PRVOPC): Likewise.
8458 (ILL_PRVREG): Likewise.
8459 (ILL_COPROC): Likewise.
8460 (ILL_BADSTK): Likewise.
8461 (FPE_INTDIV): Likewise.
8462 (FPE_INTOVF): Likewise.
8463 (FPE_FLTDIV): Likewise.
8464 (FPE_FLTOVF): Likewise.
8465 (FPE_FLTUND): Likewise.
8466 (FPE_FLTRES): Likewise.
8467 (FPE_FLTINV): Likewise.
8468 (FPE_FLTSUB): Likewise.
8469 (SEGV_MAPERR): Likewise.
8470 (SEGV_ACCERR): Likewise.
8471 (BUS_ADRALN): Likewise.
8472 (BUS_ADRERR): Likewise.
8473 (BUS_OBJERR): Likewise.
8474 (BUS_MCEERR_AR): Likewise.
8475 (BUS_MCEERR_AO): Likewise.
8476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8477 (TRAP_TRACE): Likewise.
8478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8480 (CLD_KILLED): Likewise.
8481 (CLD_DUMPED): Likewise.
8482 (CLD_TRAPPED): Likewise.
8483 (CLD_STOPPED): Likewise.
8484 (CLD_CONTINUED): Likewise.
8485 (POLL_IN): Likewise.
8486 (POLL_OUT): Likewise.
8487 (POLL_MSG): Likewise.
8488 (POLL_ERR): Likewise.
8489 (POLL_PRI): Likewise.
8490 (POLL_HUP): Likewise.
8491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8492 (ILL_ILLOPN): Likewise.
8493 (ILL_ILLADR): Likewise.
8494 (ILL_ILLTRP): Likewise.
8495 (ILL_PRVOPC): Likewise.
8496 (ILL_PRVREG): Likewise.
8497 (ILL_COPROC): Likewise.
8498 (ILL_BADSTK): Likewise.
8499 (FPE_INTDIV): Likewise.
8500 (FPE_INTOVF): Likewise.
8501 (FPE_FLTDIV): Likewise.
8502 (FPE_FLTOVF): Likewise.
8503 (FPE_FLTUND): Likewise.
8504 (FPE_FLTRES): Likewise.
8505 (FPE_FLTINV): Likewise.
8506 (FPE_FLTSUB): Likewise.
8507 (SEGV_MAPERR): Likewise.
8508 (SEGV_ACCERR): Likewise.
8509 (BUS_ADRALN): Likewise.
8510 (BUS_ADRERR): Likewise.
8511 (BUS_OBJERR): Likewise.
8512 (BUS_MCEERR_AR): Likewise.
8513 (BUS_MCEERR_AO): Likewise.
8514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8515 (TRAP_TRACE): Likewise.
8516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8518 (CLD_KILLED): Likewise.
8519 (CLD_DUMPED): Likewise.
8520 (CLD_TRAPPED): Likewise.
8521 (CLD_STOPPED): Likewise.
8522 (CLD_CONTINUED): Likewise.
8523 (POLL_IN): Likewise.
8524 (POLL_OUT): Likewise.
8525 (POLL_MSG): Likewise.
8526 (POLL_ERR): Likewise.
8527 (POLL_PRI): Likewise.
8528 (POLL_HUP): Likewise.
8529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8530 (ILL_ILLOPN): Likewise.
8531 (ILL_ILLADR): Likewise.
8532 (ILL_ILLTRP): Likewise.
8533 (ILL_PRVOPC): Likewise.
8534 (ILL_PRVREG): Likewise.
8535 (ILL_COPROC): Likewise.
8536 (ILL_BADSTK): Likewise.
8537 (FPE_INTDIV): Likewise.
8538 (FPE_INTOVF): Likewise.
8539 (FPE_FLTDIV): Likewise.
8540 (FPE_FLTOVF): Likewise.
8541 (FPE_FLTUND): Likewise.
8542 (FPE_FLTRES): Likewise.
8543 (FPE_FLTINV): Likewise.
8544 (FPE_FLTSUB): Likewise.
8545 (SEGV_MAPERR): Likewise.
8546 (SEGV_ACCERR): Likewise.
8547 (BUS_ADRALN): Likewise.
8548 (BUS_ADRERR): Likewise.
8549 (BUS_OBJERR): Likewise.
8550 (BUS_MCEERR_AR): Likewise.
8551 (BUS_MCEERR_AO): Likewise.
8552 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8553 (TRAP_TRACE): Likewise.
8554 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8556 (CLD_KILLED): Likewise.
8557 (CLD_DUMPED): Likewise.
8558 (CLD_TRAPPED): Likewise.
8559 (CLD_STOPPED): Likewise.
8560 (CLD_CONTINUED): Likewise.
8561 (POLL_IN): Likewise.
8562 (POLL_OUT): Likewise.
8563 (POLL_MSG): Likewise.
8564 (POLL_ERR): Likewise.
8565 (POLL_PRI): Likewise.
8566 (POLL_HUP): Likewise.
8567 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8568 (ILL_ILLOPN): Likewise.
8569 (ILL_ILLADR): Likewise.
8570 (ILL_ILLTRP): Likewise.
8571 (ILL_PRVOPC): Likewise.
8572 (ILL_PRVREG): Likewise.
8573 (ILL_COPROC): Likewise.
8574 (ILL_BADSTK): Likewise.
8575 (ILL_DBLFLT): Likewise.
8576 (ILL_HARDWALL): Likewise.
8577 (FPE_INTDIV): Likewise.
8578 (FPE_INTOVF): Likewise.
8579 (FPE_FLTDIV): Likewise.
8580 (FPE_FLTOVF): Likewise.
8581 (FPE_FLTUND): Likewise.
8582 (FPE_FLTRES): Likewise.
8583 (FPE_FLTINV): Likewise.
8584 (FPE_FLTSUB): Likewise.
8585 (SEGV_MAPERR): Likewise.
8586 (SEGV_ACCERR): Likewise.
8587 (BUS_ADRALN): Likewise.
8588 (BUS_ADRERR): Likewise.
8589 (BUS_OBJERR): Likewise.
8590 (BUS_MCEERR_AR): Likewise.
8591 (BUS_MCEERR_AO): Likewise.
8592 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8593 (TRAP_TRACE): Likewise.
8594 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8596 (CLD_KILLED): Likewise.
8597 (CLD_DUMPED): Likewise.
8598 (CLD_TRAPPED): Likewise.
8599 (CLD_STOPPED): Likewise.
8600 (CLD_CONTINUED): Likewise.
8601 (POLL_IN): Likewise.
8602 (POLL_OUT): Likewise.
8603 (POLL_MSG): Likewise.
8604 (POLL_ERR): Likewise.
8605 (POLL_PRI): Likewise.
8606 (POLL_HUP): Likewise.
8607 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8608 (ILL_ILLOPN): Likewise.
8609 (ILL_ILLADR): Likewise.
8610 (ILL_ILLTRP): Likewise.
8611 (ILL_PRVOPC): Likewise.
8612 (ILL_PRVREG): Likewise.
8613 (ILL_COPROC): Likewise.
8614 (ILL_BADSTK): Likewise.
8615 (FPE_INTDIV): Likewise.
8616 (FPE_INTOVF): Likewise.
8617 (FPE_FLTDIV): Likewise.
8618 (FPE_FLTOVF): Likewise.
8619 (FPE_FLTUND): Likewise.
8620 (FPE_FLTRES): Likewise.
8621 (FPE_FLTINV): Likewise.
8622 (FPE_FLTSUB): Likewise.
8623 (SEGV_MAPERR): Likewise.
8624 (SEGV_ACCERR): Likewise.
8625 (BUS_ADRALN): Likewise.
8626 (BUS_ADRERR): Likewise.
8627 (BUS_OBJERR): Likewise.
8628 (BUS_MCEERR_AR): Likewise.
8629 (BUS_MCEERR_AO): Likewise.
8630 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8631 (TRAP_TRACE): Likewise.
8632 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8634 (CLD_KILLED): Likewise.
8635 (CLD_DUMPED): Likewise.
8636 (CLD_TRAPPED): Likewise.
8637 (CLD_STOPPED): Likewise.
8638 (CLD_CONTINUED): Likewise.
8639 (POLL_IN): Likewise.
8640 (POLL_OUT): Likewise.
8641 (POLL_MSG): Likewise.
8642 (POLL_ERR): Likewise.
8643 (POLL_PRI): Likewise.
8644 (POLL_HUP): Likewise.
8645 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8646 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8649 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8650 before #include of <time.h>.
8651 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8652 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8653 (test-xfail-UNIX98/sched.h/conform): Likewise.
8655 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8657 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8658 error absence of trapping exception support.
8659 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8661 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8663 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8664 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8665 * timezone/Makefile (testdata): Move definition above include of
8667 (test-zones): New variable.
8668 (tests-special): Add zone files.
8669 (build-testdata): Use $(evaluate-test).
8671 * elf/Makefile (tests-special): Rename tests to end with .out.
8672 ($(objpfx)noload-mem): Likewise.
8673 ($(objpfx)tst-leaks1-mem): Likewise.
8674 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8675 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8676 $(objpfx)test-iconvconfig.out.
8677 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8678 set -e inside subshell and redirect output to file.
8679 * iconvdata/Makefile (generated): Rename tests to end with .out.
8681 (tests-special): Rename tests to end with .out.
8682 ($(objpfx)mtrace-tst-loading): Likewise.
8683 * intl/Makefile (generated): Likewise.
8684 (tests-special): Likewise.
8685 ($(objpfx)mtrace-tst-gettext): Likewise.
8686 * misc/Makefile (generated): Likewise.
8687 (tests-special): Likewise.
8688 ($(objpfx)tst-error1-mem): Likewise.
8689 * nptl/Makefile (tests-special): Likewise.
8690 ($(objpfx)tst-stack3-mem): Likewise.
8691 (generated): Likewise.
8692 * posix/Makefile (generated): Likewise.
8693 (tests-special): Likewise.
8694 (xtests-special): Likewise.
8695 ($(objpfx)tst-fnmatch-mem): Likewise.
8696 ($(objpfx)bug-regex2-mem): Likewise.
8697 ($(objpfx)bug-regex14-mem): Likewise.
8698 ($(objpfx)bug-regex21-mem): Likewise.
8699 ($(objpfx)bug-regex31-mem): Likewise.
8700 ($(objpfx)tst-vfork3-mem): Likewise.
8701 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8702 ($(objpfx)tst-pcre-mem): Likewise.
8703 ($(objpfx)tst-boost-mem): Likewise.
8704 ($(objpfx)bug-ga2-mem): Likewise.
8705 ($(objpfx)bug-glob2-mem): Likewise.
8706 * resolv/Makefile (generate): Likewise.
8707 (tests-special): Likewise.
8708 (xtests-special): Likewise.
8709 (generated): Likewise.
8710 ($(objpfx)mtrace-tst-leaks): Likewise.
8711 ($(objpfx)mtrace-tst-leaks2): Likewise.
8713 * scripts/merge-test-results.sh: New file.
8714 * Makefile (tests-special-notdir): New variable.
8715 (tests): Run merge-test-results.sh.
8717 * Rules (tests-special-notdir): New variable.
8718 (xtests-special-notdir): Likewise.
8719 (tests): Run merge-test-results.sh
8722 * Makeconfig (test-xfail-name): New variable.
8723 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8724 compute variable name for expected failures.
8725 * conform/Makefile (conformtest-headers-data): New variable.
8726 (conformtest-standards): Likewise.
8727 (conformtest-headers-ISO): Likewise.
8728 (conformtest-headers-ISO99): Likewise.
8729 (conformtest-headers-ISO11): Likewise.
8730 (conformtest-headers-POSIX): Likewise.
8731 (conformtest-headers-XPG3): Likewise.
8732 (conformtest-headers-XPG4): Likewise.
8733 (conformtest-headers-UNIX98): Likewise.
8734 (conformtest-headers-XOPEN2K): Likewise.
8735 (conformtest-headers-POSIX2008): Likewise.
8736 (conformtest-headers-XOPEN2K8): Likewise.
8737 (conformtest-header-list-base): Likewise.
8738 (conformtest-header-list-tests): Likewise.
8739 (conformtest-header-base): Likewise.
8740 (conformtest-header-tests): Likewise.
8741 (tests-special): Add $(conformtest-header-list-tests). If
8742 [$(fast-check) && !$(cross-compiling)], add
8743 $(conformtest-header-tests) instead of
8744 $(objpfx)run-conformtest.out.
8745 (generated): Add $(conformtest-header-list-base). If
8746 [$(fast-check) && !$(cross-compiling)], add
8747 $(conformtest-header-base). Remove previous setting.
8748 ($(conformtest-header-list-tests)): New target.
8749 (test-xfail-run-conformtest): Remove variable.
8750 ($(objpfx)run-conformtest.out): Remove target.
8751 (test-xfail-ISO11/complex.h/conform): New variable.
8752 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8753 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8754 (test-xfail-XPG3/varargs.h/conform): Likewise.
8755 (test-xfail-XPG4/varargs.h/conform): Likewise.
8756 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8757 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8758 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8759 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8760 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8761 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8762 (test-xfail-XPG3/ftw.h/conform): Likewise.
8763 (test-xfail-XPG3/grp.h/conform): Likewise.
8764 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8765 (test-xfail-XPG3/limits.h/conform): Likewise.
8766 (test-xfail-XPG3/pwd.h/conform): Likewise.
8767 (test-xfail-XPG3/search.h/conform): Likewise.
8768 (test-xfail-XPG3/signal.h/conform): Likewise.
8769 (test-xfail-XPG3/stdio.h/conform): Likewise.
8770 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8771 (test-xfail-XPG3/string.h/conform): Likewise.
8772 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8773 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8774 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8775 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8776 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8777 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8778 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8779 (test-xfail-XPG3/termios.h/conform): Likewise.
8780 (test-xfail-XPG3/time.h/conform): Likewise.
8781 (test-xfail-XPG3/unistd.h/conform): Likewise.
8782 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8783 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8784 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8785 (test-xfail-XPG4/netdb.h/conform): Likewise.
8786 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8787 (test-xfail-XPG4/signal.h/conform): Likewise.
8788 (test-xfail-XPG4/stdio.h/conform): Likewise.
8789 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8790 (test-xfail-XPG4/stropts.h/conform): Likewise.
8791 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8792 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8793 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8794 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8795 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8796 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8797 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8798 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8799 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8800 (test-xfail-XPG4/termios.h/conform): Likewise.
8801 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8802 (test-xfail-XPG4/unistd.h/conform): Likewise.
8803 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8804 (test-xfail-POSIX/sched.h/conform): Likewise.
8805 (test-xfail-POSIX/signal.h/conform): Likewise.
8806 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8807 (test-xfail-POSIX/tar.h/conform): Likewise.
8808 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8809 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8810 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8811 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8812 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8813 (test-xfail-UNIX98/sched.h/conform): Likewise.
8814 (test-xfail-UNIX98/signal.h/conform): Likewise.
8815 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8816 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8817 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8818 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8819 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8820 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8821 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8822 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8823 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8824 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8825 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8826 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8827 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8828 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8829 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8830 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8831 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8832 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8833 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8834 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8835 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8836 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8837 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8838 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8839 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8840 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8841 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8842 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8843 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8844 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8845 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8846 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8847 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8848 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8849 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8850 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8851 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8852 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8853 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8854 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8855 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8856 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8857 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8858 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8859 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8860 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8861 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8862 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8863 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8864 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8865 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8866 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8867 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8868 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8869 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8870 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8871 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8872 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8873 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8874 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8875 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8876 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8877 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8878 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8879 (conformtest-cc-flags): Likewise.
8880 ($(conformtest-header-tests): New target.
8881 * conform/check-header-lists.sh: New file.
8882 * conform/run-conformtest.sh: Remove.
8884 * conform/conformtest.pl: Allow ' and \ in values given for
8886 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8888 [POSIX] (sys/types.h): Likewise.
8889 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8891 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8893 * conform/data/signal.h-data (SIGIO): Remove expectation.
8894 [XPG3] (SIGBUS): Do not expect.
8895 [POSIX || XPG3] (SIGPOLL): Likewise.
8896 [POSIX || XPG3] (SIGPROF): Likewise.
8897 [POSIX || XPG3] (SIGSYS): Likewise.
8898 [XPG3] (SIGTRAP): Likewise.
8899 [POSIX || XPG3] (SIGURG): Likewise.
8900 [POSIX || XPG3] (SIGVTALRM): Likewise.
8901 [POSIX || XPG3] (SIGXCPU): Likewise.
8902 [POSIX || XPG3] (SIGXFSZ): Likewise.
8903 [POSIX] (SA_SIGINFO): Expect.
8904 [XPG3] (siginfo_t): Do not expect type or contents.
8905 [POSIX] (si_pid): Do not expect element.
8906 [POSIX] (si_uid): Likewise.
8907 [POSIX] (si_addr): Likewise.
8908 [POSIX] (si_status): Likewise.
8909 [POSIX] (si_band): Likewise.
8910 [XPG4] (si_value): Likewise.
8911 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8912 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8913 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8914 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8915 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8916 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8917 [POSIX || XPG3] (ILL_COPROC): Likewise.
8918 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8919 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8920 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8921 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8922 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8923 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8924 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8925 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8926 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8927 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8928 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8929 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8930 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8931 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8932 [POSIX || XPG3] (CLD_EXITED): Likewise.
8933 [POSIX || XPG3] (CLD_KILLED): Likewise.
8934 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8935 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8936 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8937 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8938 [POSIX || XPG3] (POLL_IN): Likewise.
8939 [POSIX || XPG3] (POLL_OUT): Likewise.
8940 [POSIX || XPG3] (POLL_MSG): Likewise.
8941 [POSIX || XPG3] (POLL_ERR): Likewise.
8942 [POSIX || XPG3] (POLL_PRI): Likewise.
8943 [POSIX || XPG3] (POLL_HUP): Likewise.
8944 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8945 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8946 (SIG*): Do not allow.
8947 [XPG3] (si_*): Likewise.
8948 [XPG3] (SI_*): Likewise.
8949 [XPG3 || XPG4] (sigev_*): Likewise.
8950 [XPG3 || XPG4] (SIGEV_*): Likewise.
8951 [XPG3 || XPG4] (sival_*): Likewise.
8952 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8953 [POSIX || XPG3] (BUS_*): Likewise.
8954 [POSIX || XPG3] (CLD_*): Likewise.
8955 [POSIX || XPG3] (FPE_*): Likewise.
8956 [POSIX || XPG3] (ILL_*): Likewise.
8957 [POSIX || XPG3] (POLL_*): Likewise.
8958 [POSIX || XPG3] (SEGV_*): Likewise.
8959 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8960 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8961 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8962 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8963 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8964 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8965 Specify type and value.
8966 (TVERSLEN): Likewise.
8967 (REGTYPE): Likewise.
8968 (AREGTYPE): Likewise.
8969 (LNKTYPE): Likewise.
8970 (SYMTYPE): Likewise.
8971 (CHRTYPE): Likewise.
8972 (BLKTYPE): Likewise.
8973 (DIRTYPE): Likewise.
8974 (FIFOTYPE): Likewise.
8975 (CONTTYPE): Likewise.
8980 (TUWRITE): Likewise.
8983 (TGWRITE): Likewise.
8986 (TOWRITE): Likewise.
8988 [POSIX] (TSVTX): Expect constant.
8990 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8992 * Makefile (tests): Change dependencies to ....
8993 (tests-special): ... additions to this variable.
8994 (tests): Depend on $(tests-special).
8995 * Makerules (check-abi-list): New variable.
8996 (check-abi): Depend on $(check-abi-list).
8997 [$(subdir) = elf] (tests-special): Add
8998 $(objpfx)check-abi-libc.out.
8999 [$(build-shared) = yes && subdir] (tests-special): Add
9001 [$(build-shared) = yes && subdir] (tests): Do not depend on
9003 * Rules (tests): Depend on $(tests-special).
9004 (xtests): Depend on $(xtests-special).
9005 * catgets/Makefile (tests): Change dependencies to ....
9006 (tests-special): ... additions to this variable.
9007 * conform/Makefile (tests): Change dependencies to ....
9008 (tests-special): ... additions to this variable.
9009 * elf/Makefile (tests): Change dependencies to ....
9010 (tests-special): ... additions to this variable.
9011 * grp/Makefile (tests): Change dependencies to ....
9012 (tests-special): ... additions to this variable.
9013 * iconv/Makefile (xtests): Change dependencies to ....
9014 (xtests-special): ... additions to this variable.
9015 * iconvdata/Makefile (tests): Change dependencies to ....
9016 (tests-special): ... additions to this variable.
9017 * intl/Makefile (tests): Change dependencies to ....
9018 (tests-special): ... additions to this variable. Also add
9019 $(objpfx)tst-gettext.out.
9020 * io/Makefile (tests): Change dependencies to ....
9021 (tests-special): ... additions to this variable.
9022 * libio/Makefile (tests): Change dependencies to ....
9023 (tests-special): ... additions to this variable.
9024 * malloc/Makefile (tests): Change dependencies to ....
9025 (tests-special): ... additions to this variable.
9026 * misc/Makefile (tests): Change dependencies to ....
9027 (tests-special): ... additions to this variable.
9028 * nptl/Makefile (tests): Change dependencies to ....
9029 (tests-special): ... additions to this variable.
9030 * nptl_db/Makefile (tests): Change dependencies to ....
9031 (tests-special): ... additions to this variable.
9032 * posix/Makefile (tests): Change dependencies to ....
9033 (tests-special): ... additions to this variable.
9034 (xtests): Change dependencies to ....
9035 (xtests-special): ... additions to this variable.
9036 * resolv/Makefile (tests): Change dependencies to ....
9037 (tests-special): ... additions to this variable.
9038 (xtests): Change dependencies to ....
9039 (xtests-special): ... additions to this variable.
9040 * stdio-common/Makefile (tests): Change dependencies to ....
9041 (tests-special): ... additions to this variable.
9042 (do-tst-unbputc): Remove target.
9043 (do-tst-printf): Likewise.
9044 * stdlib/Makefile (tests): Change dependencies to ....
9045 (tests-special): ... additions to this variable.
9046 * string/Makefile (tests): Change dependencies to ....
9047 (tests-special): ... additions to this variable.
9048 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9049 (tests-special): ... additions to this variable.
9051 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9053 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9055 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9056 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9058 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9059 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9060 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9061 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9062 * conform/data/libgen.h-data [XPG3]: Likewise.
9063 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9064 * conform/data/ndbm.h-data [XPG3]: Likewise.
9065 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9066 * conform/data/netdb.h-data [XPG3]: Likewise.
9067 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9068 * conform/data/poll.h-data [XPG3]: Likewise.
9069 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9070 * conform/data/strings.h-data [XPG3]: Likewise.
9071 * conform/data/stropts.h-data [XPG3]: Likewise.
9072 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9073 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9074 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9076 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9077 * conform/data/sys/time.h-data [XPG3]: Likewise.
9078 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9079 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9080 * conform/data/sys/un.h-data [XPG3]: Likewise.
9081 * conform/data/syslog.h-data [XPG3]: Likewise.
9082 * conform/data/ucontext.h-data [XPG3]: Likewise.
9083 * conform/data/utmpx.h-data [XPG3]: Likewise.
9084 * conform/data/varargs.h-data [UNIX98]: Enable file.
9086 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9088 * math/libm-test.inc (struct test_f_f_data): Move expected results
9089 into structure for each rounding mode.
9090 (struct test_ff_f_data): Likewise.
9091 (struct test_ff_f_data_nexttoward): Likewise.
9092 (struct test_fi_f_data): Likewise.
9093 (struct test_fl_f_data): Likewise.
9094 (struct test_if_f_data): Likewise.
9095 (struct test_fff_f_data): Likewise.
9096 (struct test_c_f_data): Likewise.
9097 (struct test_f_f1_data): Likewise.
9098 (struct test_fF_f1_data): Likewise.
9099 (struct test_ffI_f1_data): Likewise.
9100 (struct test_c_c_data): Likewise.
9101 (struct test_cc_c_data): Likewise.
9102 (struct test_f_i_data): Likewise.
9103 (struct test_ff_i_data): Likewise.
9104 (struct test_f_l_data): Likewise.
9105 (struct test_f_L_data): Likewise.
9106 (struct test_fFF_11_data): Likewise.
9108 (RM_FE_DOWNWARD): Likewise.
9109 (RM_FE_TONEAREST): Likewise.
9110 (RM_FE_TOWARDZERO): Likewise.
9111 (RM_FE_UPWARD): Likewise.
9112 (RUN_TEST_LOOP_f_f): Update references to expected results.
9113 (RUN_TEST_LOOP_2_f): Likewise.
9114 (RUN_TEST_LOOP_fff_f): Likewise.
9115 (RUN_TEST_LOOP_c_f): Likewise.
9116 (RUN_TEST_LOOP_f_f1): Likewise.
9117 (RUN_TEST_LOOP_fF_f1): Likewise.
9118 (RUN_TEST_LOOP_fI_f1): Likewise.
9119 (RUN_TEST_LOOP_ffI_f1): Likewise.
9120 (RUN_TEST_LOOP_c_c): Likewise.
9121 (RUN_TEST_LOOP_cc_c): Likewise.
9122 (RUN_TEST_LOOP_f_i): Likewise.
9123 (RUN_TEST_LOOP_f_i_tg): Likewise.
9124 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9125 (RUN_TEST_LOOP_f_b): Likewise.
9126 (RUN_TEST_LOOP_f_b_tg): Likewise.
9127 (RUN_TEST_LOOP_f_l): Likewise.
9128 (RUN_TEST_LOOP_f_L): Likewise.
9129 (RUN_TEST_LOOP_fFF_11): Likewise.
9130 * math/gen-libm-test.pl (parse_args): Output four copies of
9131 expected results for each test.
9133 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9134 (__ASSUME_UTIMES): Remove.
9135 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9136 (__ASSUME_UTIMES): Likewise.
9138 * math/gen-auto-libm-tests.c: Update comment on output format.
9139 (output_for_one_input_case): Generate before-rounding and
9140 after-rounding information as conditions on output flags not
9141 floating-point format.
9142 * math/auto-libm-test-out: Regenerated.
9143 * math/gen-libm-test.pl (cond_value): New function.
9144 (or_cond_value): Use cond_value.
9145 (generate_testfile): Handle conditional exceptions.
9147 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9149 * math/libm-test.inc (max_valid_error): New variable.
9150 (init_max_error): Take new argument specifying whether function
9151 results are exactly determined. Set max_valid_error and bound
9152 other variables for errors based on this argument.
9153 (set_max_error): Do not record results above max_valid_error.
9154 (check_float_internal): Only accept errors of up to 0.5ulps if
9155 also at most max_valid_error.
9156 (START): Take new argument EXACT and pass it to init_max_error.
9157 (acos_test): Update call to START.
9158 (acos_test_tonearest): Likewise.
9159 (acos_test_towardzero): Likewise.
9160 (acos_test_downward): Likewise.
9161 (acos_test_upward): Likewise.
9162 (acosh_test): Likewise.
9163 (asin_test): Likewise.
9164 (asin_test_tonearest): Likewise.
9165 (asin_test_towardzero): Likewise.
9166 (asin_test_downward): Likewise.
9167 (asin_test_upward): Likewise.
9168 (asinh_test): Likewise.
9169 (atan_test): Likewise.
9170 (atanh_test): Likewise.
9171 (atan2_test): Likewise.
9172 (cabs_test): Likewise.
9173 (cacos_test): Likewise.
9174 (cacosh_test): Likewise.
9175 (carg_test): Likewise.
9176 (casin_test): Likewise.
9177 (casinh_test): Likewise.
9178 (catan_test): Likewise.
9179 (catanh_test): Likewise.
9180 (cbrt_test): Likewise.
9181 (ccos_test): Likewise.
9182 (ccosh_test): Likewise.
9183 (ceil_test): Likewise.
9184 (cexp_test): Likewise.
9185 (cimag_test): Likewise.
9186 (clog_test): Likewise.
9187 (clog10_test): Likewise.
9188 (conj_test): Likewise.
9189 (copysign_test): Likewise.
9190 (cos_test): Likewise.
9191 (cos_test_tonearest): Likewise.
9192 (cos_test_towardzero): Likewise.
9193 (cos_test_downward): Likewise.
9194 (cos_test_upward): Likewise.
9195 (cosh_test): Likewise.
9196 (cosh_test_tonearest): Likewise.
9197 (cosh_test_towardzero): Likewise.
9198 (cosh_test_downward): Likewise.
9199 (cosh_test_upward): Likewise.
9200 (cpow_test): Likewise.
9201 (cproj_test): Likewise.
9202 (creal_test): Likewise.
9203 (csin_test): Likewise.
9204 (csinh_test): Likewise.
9205 (csqrt_test): Likewise.
9206 (ctan_test): Likewise.
9207 (ctan_test_tonearest): Likewise.
9208 (ctan_test_towardzero): Likewise.
9209 (ctan_test_downward): Likewise.
9210 (ctan_test_upward): Likewise.
9211 (ctanh_test): Likewise.
9212 (ctanh_test_tonearest): Likewise.
9213 (ctanh_test_towardzero): Likewise.
9214 (ctanh_test_downward): Likewise.
9215 (ctanh_test_upward): Likewise.
9216 (erf_test): Likewise.
9217 (erfc_test): Likewise.
9218 (exp_test): Likewise.
9219 (exp_test_tonearest): Likewise.
9220 (exp_test_towardzero): Likewise.
9221 (exp_test_downward): Likewise.
9222 (exp_test_upward): Likewise.
9223 (exp10_test): Likewise.
9224 (exp10_test_tonearest): Likewise.
9225 (exp10_test_towardzero): Likewise.
9226 (exp10_test_downward): Likewise.
9227 (exp10_test_upward): Likewise.
9228 (pow10_test): Likewise.
9229 (exp2_test): Likewise.
9230 (expm1_test): Likewise.
9231 (expm1_test_tonearest): Likewise.
9232 (expm1_test_towardzero): Likewise.
9233 (expm1_test_downward): Likewise.
9234 (expm1_test_upward): Likewise.
9235 (fabs_test): Likewise.
9236 (fdim_test): Likewise.
9237 (floor_test): Likewise.
9238 (fma_test): Likewise.
9239 (fma_test_towardzero): Likewise.
9240 (fma_test_downward): Likewise.
9241 (fma_test_upward): Likewise.
9242 (fmax_test): Likewise.
9243 (fmin_test): Likewise.
9244 (fmod_test): Likewise.
9245 (fpclassify_test): Likewise.
9246 (frexp_test): Likewise.
9247 (hypot_test): Likewise.
9248 (ilogb_test): Likewise.
9249 (isfinite_test): Likewise.
9250 (finite_test): Likewise.
9251 (isgreater_test): Likewise.
9252 (isgreaterequal_test): Likewise.
9253 (isinf_test): Likewise.
9254 (isless_test): Likewise.
9255 (islessequal_test): Likewise.
9256 (islessgreater_test): Likewise.
9257 (isnan_test): Likewise.
9258 (isnormal_test): Likewise.
9259 (issignaling_test): Likewise.
9260 (isunordered_test): Likewise.
9261 (j0_test): Likewise.
9262 (j1_test): Likewise.
9263 (jn_test): Likewise.
9264 (ldexp_test): Likewise.
9265 (lgamma_test): Likewise.
9266 (gamma_test): Likewise.
9267 (lrint_test): Likewise.
9268 (lrint_test_tonearest): Likewise.
9269 (lrint_test_towardzero): Likewise.
9270 (lrint_test_downward): Likewise.
9271 (lrint_test_upward): Likewise.
9272 (llrint_test): Likewise.
9273 (llrint_test_tonearest): Likewise.
9274 (llrint_test_towardzero): Likewise.
9275 (llrint_test_downward): Likewise.
9276 (llrint_test_upward): Likewise.
9277 (log_test): Likewise.
9278 (log10_test): Likewise.
9279 (log1p_test): Likewise.
9280 (log2_test): Likewise.
9281 (logb_test): Likewise.
9282 (logb_test_downward): Likewise.
9283 (lround_test): Likewise.
9284 (llround_test): Likewise.
9285 (modf_test): Likewise.
9286 (nearbyint_test): Likewise.
9287 (nextafter_test): Likewise.
9288 (nexttoward_test): Likewise.
9289 (pow_test): Likewise.
9290 (pow_test_tonearest): Likewise.
9291 (pow_test_towardzero): Likewise.
9292 (pow_test_downward): Likewise.
9293 (pow_test_upward): Likewise.
9294 (remainder_test): Likewise.
9295 (drem_test): Likewise.
9296 (remainder_test_tonearest): Likewise.
9297 (drem_test_tonearest): Likewise.
9298 (remainder_test_towardzero): Likewise.
9299 (drem_test_towardzero): Likewise.
9300 (remainder_test_downward): Likewise.
9301 (drem_test_downward): Likewise.
9302 (remainder_test_upward): Likewise.
9303 (drem_test_upward): Likewise.
9304 (remquo_test): Likewise.
9305 (rint_test): Likewise.
9306 (rint_test_tonearest): Likewise.
9307 (rint_test_towardzero): Likewise.
9308 (rint_test_downward): Likewise.
9309 (rint_test_upward): Likewise.
9310 (round_test): Likewise.
9311 (scalb_test): Likewise.
9312 (scalbn_test): Likewise.
9313 (scalbln_test): Likewise.
9314 (signbit_test): Likewise.
9315 (sin_test): Likewise.
9316 (sin_test_tonearest): Likewise.
9317 (sin_test_towardzero): Likewise.
9318 (sin_test_downward): Likewise.
9319 (sin_test_upward): Likewise.
9320 (sincos_test): Likewise.
9321 (sinh_test): Likewise.
9322 (sinh_test_tonearest): Likewise.
9323 (sinh_test_towardzero): Likewise.
9324 (sinh_test_downward): Likewise.
9325 (sinh_test_upward): Likewise.
9326 (sqrt_test): Likewise.
9327 (sqrt_test_tonearest): Likewise.
9328 (sqrt_test_towardzero): Likewise.
9329 (sqrt_test_downward): Likewise.
9330 (sqrt_test_upward): Likewise.
9331 (tan_test): Likewise.
9332 (tan_test_tonearest): Likewise.
9333 (tan_test_towardzero): Likewise.
9334 (tan_test_downward): Likewise.
9335 (tan_test_upward): Likewise.
9336 (tanh_test): Likewise.
9337 (tgamma_test): Likewise.
9338 (trunc_test): Likewise.
9339 (y0_test): Likewise.
9340 (y1_test): Likewise.
9341 (yn_test): Likewise.
9342 (significand_test): Likewise.
9344 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9345 individual tests in comment.
9346 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9347 (prev_max_error): New variable.
9348 (prev_real_max_error): Likewise.
9349 (prev_imag_max_error): Likewise.
9350 (compare_ulp_data): Don't refer to test names in comment.
9351 (find_test_ulps): Remove function.
9352 (find_function_ulps): Likewise.
9353 (find_complex_function_ulps): Likewise.
9354 (init_max_error): Take function name as argument. Look up ulps
9356 (print_ulps): Remove function.
9357 (print_max_error): Use prev_max_error instead of calling
9359 (print_complex_max_error): Use prev_real_max_error and
9360 prev_imag_max_error instead of calling find_complex_function_ulps.
9361 (check_float_internal): Take max_ulp parameter instead of calling
9362 find_test_ulps. Don't call print_ulps.
9363 (check_float): Update call to check_float_internal.
9364 (check_complex): Update calls to check_float_internal.
9365 (START): Pass argument to init_max_error.
9366 * math/gen-libm-test.pl (%results): Don't include "kind"
9368 (parse_ulps): Don't handle ulps of individual tests.
9369 (print_ulps_file): Likewise.
9370 (output_ulps): Likewise.
9371 * math/README.libm-test: Update.
9372 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9374 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9375 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9376 * sysdeps/arm/libm-test-ulps: Likewise.
9377 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9378 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9379 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9380 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9381 * sysdeps/microblaze/libm-test-ulps: Likewise.
9382 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9383 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9384 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9385 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9386 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9387 * sysdeps/sh/libm-test-ulps: Likewise.
9388 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9389 * sysdeps/tile/libm-test-ulps: Likewise.
9390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9392 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9394 * math/libm-test.inc (print_complex_max_error): Check separately
9395 whether real and imaginary errors are within allowed range and
9396 pass 0 to print_complex_function_ulps instead of value within
9399 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9401 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9403 (get_handles_fopen): Likewise.
9404 (do_write_test): Likewise.
9406 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9408 * libio/fileops.c (do_ftell): Use cached offset when
9410 * libio/iofwide.c (do_ftell_wide): Likewise.
9411 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9413 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9416 * libio/libioP.h (get_file_offset): New function.
9417 * libio/fileops.c (get_file_offset): Likewise.
9418 (do_ftell): Likewise.
9419 (_IO_new_file_seekoff): Split out ftell logic.
9420 * libio/wfileops.c (do_ftell_wide): Likewise.
9421 (_IO_wfile_seekoff): Split out ftell logic.
9422 * libio/tst-ftell-active-handler.c: New test case.
9423 * libio/Makefile (tests): Add it.
9425 2014-03-03 Roland McGrath <roland@hack.frob.com>
9427 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9428 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9430 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9433 * nscd/connections.c (nscd_init): Call do_exit.
9434 (start_threads): Call do_exit and notify_parent.
9435 (begin_drop_privileges): Call do_exit.
9436 (finish_drop_privileges): Likewise.
9437 * nscd/selinux.c (preserve_capabilities): Likewise.
9438 (install_real_capabilities): Likewise.
9439 (nscd_selinux_enabled): Likewise.
9440 (avc_create_thread): Likewise.
9441 (avc_alloc_lock): Likewise.
9442 (nscd_avc_init): Likewise.
9443 * nscd/nscd.c (parent_fd): New static variable.
9444 (main): Create a pipe between parent and child processes.
9445 Skip closing parent_fd.
9446 (monitor_child): New function.
9447 (do_exit): Likewise.
9448 (notify_parent): Likewise.
9449 * nscd/nscd.h (notify_parent): Likewise.
9450 (do_exit): Likewise.
9452 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9454 * malloc/malloc.c (__libc_calloc): Revert last change.
9456 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9460 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9462 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9466 (__libc_ifunc_impl_list): Likewise.
9467 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9468 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9469 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9470 * string/strrchr.c: Define STRRCHR.
9472 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9474 * benchtest/bench-strtok.c (simple_strtok): Delete.
9475 (strtok_string): Use as benchmark.
9476 * string/strtok (STRTOK): New macro.
9478 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9480 * manual/threads.texi: Add header and standard comments to all
9483 * elf/dl-lookup.c (check_match): New function.
9484 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9485 (do_lookup_x): Remove nested function check_match. Use non-nested
9486 function check_match.
9488 2014-02-28 Roland McGrath <roland@hack.frob.com>
9490 * csu/Makefile (generated, before-compile): Use += rather than =.
9491 * catgets/Makefile (generated, generated-dirs): Likewise.
9492 * debug/Makefile (generated): Likewise.
9493 * dlfcn/Makefile (generated): Likewise.
9494 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9495 * iconvdata/Makefile (before-compile, generated): Likewise.
9496 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9497 * libio/Makefile (generated): Likewise.
9498 * malloc/Makefile (generated): Likewise.
9499 * manual/Makefile (generated, generated-dirs): Likewise.
9500 * misc/Makefile (generated): Likewise.
9501 * posix/Makefile (generated): Likewise.
9502 * resolv/Makefile (generated): Likewise.
9503 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9504 * timezone/Makefile (generated, generated-dirs): Likewise.
9506 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9508 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9511 power8 implementation.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9513 file: POWER8 llround ifunc implementation.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9515 (__lllround): Add POWER8 implementation.
9516 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9517 POWER8 llround implementation.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9520 power8 implementation.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9522 file: POWER8 llrint ifunc implementation.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9524 Add POWER8 implementation.
9525 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9526 POWER8 llrint implementation.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9529 power8 implementation.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9531 file: POWER8 finite ifunc implementation.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9533 Add POWER8 implementation.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9536 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9537 POWER8 finite implementation.
9538 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9541 power8 implementation.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9543 file: POWER8 isinf ifunc implementation.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9545 POWER8 implementation.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9549 isinf implementation.
9550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9552 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9553 (INIT_ARCH): Add hwcap2 initialization.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9555 power8 implementation.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9557 file: POWER8 isnan ifunc implementation.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9559 POWER8 implementation.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9563 isnan implementation.
9564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9566 2014-02-27 Joey Ye <joey.ye@arm.com>
9568 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9569 (_FP_NANFRAC_Q): Set to zero.
9571 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9574 * math/auto-libm-test-in: New test inputs.
9575 * math/auto-libm-test-out: Regenerate.
9576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9579 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9581 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9583 * scripts/evaluate-test.sh: Take new argument indicating whether
9584 failure is expected.
9585 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9586 indicating whether failure is expected.
9587 * conform/Makefile (test-xfail-run-conformtest): New variable.
9588 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9590 * posix/Makefile (test-xfail-annexc): New variable.
9591 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9593 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9595 * argp/Makefile: Include Makeconfig immediately after defining
9597 * assert/Makefile: Likewise.
9598 * benchtests/Makefile: Likewise.
9599 * catgets/Makefile: Likewise.
9600 * conform/Makefile: Likewise.
9601 * crypt/Makefile: Likewise.
9602 * csu/Makefile: Likewise.
9603 (all): Remove target.
9604 * ctype/Makefile: Include Makeconfig immediately after defining
9606 * debug/Makefile: Likewise.
9607 * dirent/Makefile: Likewise.
9608 * dlfcn/Makefile: Likewise.
9609 * gmon/Makefile: Likewise.
9610 * gnulib/Makefile: Likewise.
9611 * grp/Makefile: Likewise.
9612 * gshadow/Makefile: Likewise.
9613 * hesiod/Makefile: Likewise.
9614 * hurd/Makefile: Likewise.
9615 (all): Remove target.
9616 * iconvdata/Makefile: Include Makeconfig immediately after
9618 * inet/Makefile: Likewise.
9619 * intl/Makefile: Likewise.
9620 * io/Makefile: Likewise.
9621 * libio/Makefile: Likewise.
9622 (all): Remove target.
9623 * locale/Makefile: Include Makeconfig immediately after defining
9625 * login/Makefile: Likewise.
9626 * mach/Makefile: Likewise.
9627 (all): Remove target.
9628 * malloc/Makefile: Include Makeconfig immediately after defining
9630 (all): Remove target.
9631 * manual/Makefile: Include Makeconfig immediately after defining
9633 * math/Makefile: Likewise.
9634 * misc/Makefile: Likewise.
9635 * nis/Makefile: Likewise.
9636 * nss/Makefile: Likewise.
9637 * po/Makefile: Likewise.
9638 (all): Remove target.
9639 * posix/Makefile: Include Makeconfig immediately after defining
9641 * pwd/Makefile: Likewise.
9642 * resolv/Makefile: Likewise.
9643 * resource/Makefile: Likewise.
9644 * rt/Makefile: Likewise.
9645 * setjmp/Makefile: Likewise.
9646 * shadow/Makefile: Likewise.
9647 * signal/Makefile: Likewise.
9648 * socket/Makefile: Likewise.
9649 * soft-fp/Makefile: Likewise.
9650 * stdio-common/Makefile: Likewise.
9651 * stdlib/Makefile: Likewise.
9652 * streams/Makefile: Likewise.
9653 * string/Makefile: Likewise.
9654 * sunrpc/Makefile: Likewise.
9655 (all): Remove target.
9656 * sysvipc/Makefile: Include Makeconfig immediately after defining
9658 * termios/Makefile: Likewise.
9659 * time/Makefile: Likewise.
9660 * timezone/Makefile: Likewise.
9661 (all): Remove target.
9662 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9664 * wctype/Makefile: Likewise.
9666 2014-02-26 Steve Ellcey <sellcey@mips.com>
9668 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9669 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9670 (libc_feholdexcept_setround_mips): Ditto.
9671 (libc_feholdsetround): New.
9672 (libc_feholdsetroundf): New.
9673 (libc_feholdsetroundl): New.
9674 (libc_feupdateenv_test_mips): New.
9675 (libc_feupdateenv_test): New.
9676 (libc_feupdateenv_testf): New.
9677 (libc_feupdateenv_testl): New.
9678 (libc_feresetround): New.
9679 (libc_feresetroundf): New.
9680 (libc_feresetroundl): New.
9681 (libc_fetestexcept_mips): New.
9682 (libc_fetestexcept): New.
9683 (libc_fetestexceptf): New.
9684 (libc_fetestexceptl): New.
9686 (libc_feholdexcept_setround_mips_ctx): New.
9687 (libc_feholdexcept_setround_ctx): New.
9688 (libc_feholdexcept_setroundf_ctx): New.
9689 (libc_feholdexcept_setroundl_ctx): New.
9690 (libc_fesetenv_mips_ctx): New.
9691 (libc_fesetenv_ctx): New.
9692 (libc_fesetenv_ctxf): New.
9693 (libc_fesetenv_ctxl): New.
9694 (libc_feupdateenv_mips_ctx): New.
9695 (libc_feupdateenv_ctx): New.
9696 (libc_feupdateenvf_ctx): New.
9697 (libc_feupdateenvl_ctx): New.
9698 (libc_feholdsetround_mips_ctx): New.
9699 (libc_feholdsetround_ctx): New.
9700 (libc_feholdsetroundf_ctx): New.
9701 (libc_feholdsetroundl_ctx): New.
9702 (libc_feresetround_mips_ctx): New.
9703 (libc_feresetround_ctx): New.
9704 (libc_feresetroundf_ctx): New.
9705 (libc_feresetroundl_ctx): New.
9707 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9709 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9711 * manual/ipc.texi: New file.
9712 * manual/Makefile (chapters): Add ipc.
9713 * manual/job.texi: Add "Inter-Process Communication" to next.
9714 * manual/process.texi: Add "Inter-Process Communication" to prev.
9716 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9720 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9722 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9724 * manual/arith.texi: Fix spaces after sentences.
9725 * manual/charset.texi: Likewise.
9726 * manual/errno.texi: Likewise.
9727 * manual/install.texi: Likewise.
9728 * manual/llio.texi: Likewise.
9729 * manual/locale.texi: Likewise.
9730 * manual/maint.texi: Likewise.
9731 * manual/math.texi: Likewise.
9732 * manual/memory.texi: Likewise.
9733 * manual/message.texi: Likewise.
9734 * manual/probes.texi: Likewise.
9735 * manual/resource.texi: Likewise.
9736 * manual/signal.texi: Likewise.
9737 * manual/socket.texi: Likewise.
9738 * manual/stdio.texi: Likewise.
9739 * manual/string.texi: Likewise.
9740 * manual/time.texi: Likewise.
9741 * manual/users.texi: Likewise.
9743 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9746 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9747 _DEFAULT_SOURCE is defined.
9749 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9750 Carlos O'Donell <carlos@redhat.com>
9753 * elf/dl-tls.c (_dl_count_modids): New function.
9754 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9755 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9756 audit library and increment generation counter.
9757 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9758 * elf/tst-audit9.c: New file.
9759 * elf/tst-auditmod9a.c: New file.
9760 * elf/tst-auditmod9b.c: New file.
9761 * elf/Makefile: Add rules to build and run tst-audit9.
9763 2014-02-25 Florian Weimer <fweimer@redhat.com>
9766 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9768 2014-02-25 Will Newton <will.newton@linaro.org>
9770 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9771 (__longjmp): Restore sp and lr before restoring callee
9772 saved registers. Add longjmp and longjmp_target
9773 SystemTap probe point.
9774 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9775 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9776 Define to zero to match jmpbuf layout.
9777 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9778 (__sigsetjmp): Save sp and lr before saving callee
9779 saved registers. Add setjmp SystemTap probe point.
9781 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9783 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9785 2014-02-24 Andreas Schwab <schwab@suse.de>
9788 * elf/pldd.c (wait_for_ptrace_stop): New function.
9789 (main): Call it after attaching.
9791 2014-02-22 Roland McGrath <roland@hack.frob.com>
9793 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9794 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9795 Versions files is now verboten.
9796 * hurd/Versions (libc: GLIBC_2.0):
9797 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9798 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9799 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9800 * mach/Versions: Likewise.
9802 * csu/Versions: Remove unused %include.
9803 * resolv/Versions: Likewise.
9805 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9807 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9808 ($(objpfx)check-local-headers.out): Likewise.
9809 ($(objpfx)begin-end-check.out): Likewise.
9810 * Makerules (check-abi-%.out): Likewise.
9811 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9812 ($(objpfx)test2.cat): Likewise.
9813 ($(objpfx)de/libc.cat): Likewise.
9814 ($(objpfx)test-gencat.out): Likewise.
9815 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9816 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9817 ($(objpfx)noload-mem): Likewise.
9818 ($(objpfx)tst-pathopt.out): Likewise.
9819 ($(objpfx)tst-rtld-load-self.out): Likewise.
9820 ($(objpfx)tst-array1-cmp.out): Likewise.
9821 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9822 ($(objpfx)tst-array2-cmp.out): Likewise.
9823 ($(objpfx)tst-array3-cmp.out): Likewise.
9824 ($(objpfx)tst-array4-cmp.out): Likewise.
9825 ($(objpfx)tst-array5-cmp.out): Likewise.
9826 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9827 ($(objpfx)check-textrel.out): Likewise.
9828 ($(objpfx)check-execstack.out): Likewise.
9829 ($(objpfx)check-localplt.out): Likewise.
9830 ($(objpfx)order2-cmp.out): Likewise.
9831 ($(objpfx)tst-leaks1-mem): Likewise.
9832 ($(objpfx)tst-leaks1-static-mem): Likewise.
9833 ($(objpfx)tst-initorder-cmp.out): Likewise.
9834 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9835 ($(objpfx)tst-unused-dep.out): Likewise.
9836 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9837 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9838 * iconv/Makefile (test-iconvconfig): Likewise.
9839 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9840 ($(objpfx)iconv-test.out): Likewise.
9841 ($(objpfx)tst-tables.out): Likewise.
9842 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9843 ($(objpfx)tst-gettext.out): Likewise.
9844 ($(objpfx)tst-translit.out): Likewise.
9845 ($(objpfx)tst-gettext2.out): Likewise.
9846 ($(objpfx)tst-gettext4.out): Likewise.
9847 ($(objpfx)tst-gettext6.out): Likewise.
9848 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9849 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9850 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9851 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9852 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9853 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9854 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9855 ($(objpfx)wordexp-tst.out): Likewise.
9856 ($(objpfx)annexc.out): Likewise.
9857 ($(objpfx)tst-fnmatch-mem): Likewise.
9858 ($(objpfx)bug-regex2-mem): Likewise.
9859 ($(objpfx)bug-regex14-mem): Likewise.
9860 ($(objpfx)bug-regex21-mem): Likewise.
9861 ($(objpfx)bug-regex31-mem): Likewise.
9862 ($(objpfx)tst-vfork3-mem): Likewise.
9863 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9864 ($(objpfx)tst-pcre-mem): Likewise.
9865 ($(objpfx)tst-boost-mem): Likewise.
9866 ($(objpfx)tst-getconf.out): Likewise.
9867 ($(objpfx)bug-ga2-mem): Likewise.
9868 ($(objpfx)bug-glob2-mem): Likewise.
9869 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9870 ($(objpfx)mtrace-tst-leaks2): Likewise.
9871 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9872 ($(objpfx)tst-printf.out): Likewise.
9873 ($(objpfx)tst-setvbuf1.out): Likewise.
9874 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9875 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9876 ($(objpfx)tst-fmtmsg.out): Likewise.
9877 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9878 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9880 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9881 * bits/sigaction.h [__USE_MISC]: Likewise.
9882 * bits/waitstatus.h: Update #endif comments.
9883 * ctype/ctype.h: Likewise.
9884 * dirent/dirent.h: Likewise.
9885 [__USE_MISC]: Remove redundant conditionals.
9886 * grp/grp.h: Update #endif comments.
9887 [__USE_GNU]: Remove redundant conditionals.
9888 [__USE_MISC]: Likewise.
9889 * inet/netinet/in.h [__USE_GNU]: Likewise.
9890 * io/sys/stat.h [__USE_MISC]: Likewise.
9891 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9892 * libio/bits/stdio.h: Update #endif comments.
9893 [__USE_MISC]: Remove redundant conditionals.
9894 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9895 * libio/stdio.h: Update #endif comments.
9896 [__USE_MISC]: Remove redundant conditionals.
9897 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9898 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9899 * math/math.h: Update #else and #endif comments.
9900 [__USE_MISC]: Remove redundant conditionals.
9901 * misc/sys/uio.h: Update #endif comments.
9902 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9903 * posix/glob.h [__USE_MISC]: Likewise.
9904 * posix/sys/types.h: Update #endif comments.
9905 [__USE_MISC]: Remove redundant conditionals.
9906 * posix/sys/wait.h: Update #endif comments.
9907 [__USE_MISC]: Remove redundant conditionals.
9908 * posix/unistd.h: Update #endif comments.
9909 [__USE_MISC]: Remove redundant conditionals.
9910 * pwd/pwd.h [__USE_GNU]: Likewise.
9911 [__USE_MISC]: Likewise.
9912 * resolv/netdb.h [__USE_GNU]: Likewise.
9913 * signal/signal.h: Update #endif comments.
9914 [__USE_MISC]: Remove redundant conditionals.
9915 * stdlib/stdlib.h: Update #else and #endif comments.
9916 [__USE_MISC]: Remove redundant conditionals.
9917 [__USE_GNU]: Likewise.
9918 * string/bits/string2.h [__USE_MISC]: Likewise.
9919 * string/string.h: Update #endif comments.
9920 [__USE_MISC]: Remove redundant conditionals.
9921 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9923 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9924 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9925 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9927 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9931 [__USE_MISC]: Remove redundant conditionals.
9932 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9933 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9934 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9935 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9936 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9938 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9939 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9941 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9942 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9944 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9946 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9949 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9951 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9952 * sysdeps/x86/bits/string.h: Update #endif comments.
9953 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9955 * time/sys/time.h: Update #endif comments.
9956 * time/time.h: Likewise.
9957 [__USE_MISC]: Remove redundant conditionals.
9959 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9962 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9964 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9966 * Versions.def (librt): Add GLIBC_2.17.
9968 2014-02-21 Adam Conrad <adconrad@0c3.net>
9970 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9971 synonym for _SYS_AUXV_H to allow direct inclusion.
9972 * sysdeps/sparc/bits/hwcap.h: Likewise.
9973 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9974 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9975 * sysdeps/sparc/sysdep.h: Likewise.
9977 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9979 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9981 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9983 * benchtests/bench-strrchr.c: Print length instead of position.
9985 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9988 * sysdeps/unix/sysv/linux/kernel-features.h
9989 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9990 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9991 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9992 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9994 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9995 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9996 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9997 (__ASSUME_SENDMMSG): Define instead of using previous
9998 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9999 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10000 (__ASSUME_SENDMMSG_SYSCALL): Define.
10001 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10002 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10004 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10005 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10008 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10010 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10011 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10012 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10013 [__ASSUME_SENDMMSG]: Change conditionals to
10014 [__ASSUME_SENDMMSG_SOCKETCALL].
10015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10016 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10018 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10019 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10021 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10022 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10023 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10024 [!__ASSUME_SENDMMSG]: Change conditional to
10025 [!__ASSUME_SENDMMSG_SOCKETCALL].
10026 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10027 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10031 * sysdeps/unix/sysv/linux/kernel-features.h
10032 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10033 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10034 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10035 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10036 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10037 [__i386__ || __sparc__]
10038 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10039 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10040 (__ASSUME_RECVMMSG): Define instead of using previous
10041 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10042 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10043 (__ASSUME_RECVMMSG_SYSCALL): Define.
10044 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10047 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10048 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10050 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10053 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10054 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10055 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10056 [__ASSUME_RECVMMSG]: Change condition to
10057 [__ASSUME_RECVMMSG_SOCKETCALL].
10058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10059 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10061 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10062 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10065 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10066 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10067 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10068 [!__ASSUME_RECVMMSG]: Change condition to
10069 [!__ASSUME_RECVMMSG_SOCKETCALL].
10070 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10071 (__ASSUME_RECVMMSG_SYSCALL): Define.
10074 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10075 __powerpc__ || __s390__ || __sh__ || __sparc__]
10076 (__ASSUME_SOCKETCALL): Define.
10077 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10078 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10079 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10080 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10081 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10082 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10083 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10084 (__ASSUME_ACCEPT4): Define instead of using previous
10085 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10086 __powerpc__ || __sparc__ || __s390__)] condition.
10087 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10088 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10089 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10090 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10091 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10092 [!__ASSUME_ACCEPT4]: Change condition to
10093 [!__ASSUME_ACCEPT4_SOCKETCALL].
10094 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10095 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10096 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10097 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10098 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10099 __ASSUME_ACCEPT4_SYSCALL.
10100 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10101 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10102 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10103 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10104 __ASSUME_ACCEPT4_SYSCALL.
10105 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10106 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10107 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10108 [__ASSUME_ACCEPT4]: Change condition to
10109 [__ASSUME_ACCEPT4_SOCKETCALL].
10110 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10111 (__ASSUME_SOCKETCALL): Define.
10112 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10114 (__ASSUME_SOCKETCALL): Define.
10115 (__ASSUME_ACCEPT4): Remove.
10116 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10118 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10119 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10121 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10122 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10124 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10126 (HWCAP_ARM_LPAE): Likewise.
10127 (HWCAP_ARM_EVTSTRM): Likewise.
10128 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10129 Add vpfd32, lpae and evtstrm.
10130 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10133 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10135 * math/auto-libm-test-in: Add tests of clog10.
10136 * math/auto-libm-test-out: Regenerated.
10137 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10138 * sysdeps/i386/fpu/libm-test-ulps: Update.
10139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10141 2014-02-18 Andreas Schwab <schwab@suse.de>
10144 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10145 Store non-zero if the second buffer was newly allocated.
10146 (send_dg): Likewise.
10147 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10148 to send_vc and send_dg.
10149 (res_nsend): Pass NULL for ansp2_malloced.
10150 * resolv/res_query.c (__libc_res_nquery): Add parameter
10151 answerp2_malloced and pass it down to __libc_res_nsend.
10152 (res_nquery): Pass additional NULL to __libc_res_nquery.
10153 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10154 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10155 second answer buffer if answerp2_malloced was set.
10156 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10157 (__libc_res_nquerydomain): Add parameter
10158 answerp2_malloced and pass it down to __libc_res_nquery.
10159 (res_nquerydomain): Pass additional NULL to
10160 __libc_res_nquerydomain.
10161 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10162 additional NULL to __libc_res_nsend and __libc_res_nquery.
10163 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10164 additional NULL to __libc_res_nsearch.
10165 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10166 parameter of __libc_res_nsearch to check for separately allocated
10168 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10170 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10171 additional NULL to __libc_res_nquery.
10172 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10173 __libc_res_nsearch.
10174 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10175 * include/resolv.h: Update prototypes of __libc_res_nquery,
10176 __libc_res_nsearch, __libc_res_nsend.
10178 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10180 * math/auto-libm-test-in: Add tests of fma.
10181 * math/auto-libm-test-out: Regenerated.
10182 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10183 (fma_towardzero_test_data): Likewise.
10184 (fma_downward_test_data): Likewise.
10185 (fma_upward_test_data): Likewise.
10186 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10188 (rounding_modes): Add values for new field.
10189 (func_calc_method): Add value mpfr_fff_f.
10190 (func_calc_desc): Add mpfr_fff_f union field.
10191 (test_function): Add field exact_args.
10192 (FUNC): Add macro argument EXACT_ARGS.
10193 (FUNC_mpfr_f_f): Update call to FUNC.
10194 (FUNC_mpfr_f_f): Likewise.
10195 (FUNC_mpfr_ff_f): Likewise.
10196 (FUNC_mpfr_if_f): Likewise.
10197 (FUNC_mpc_c_f): Likewise.
10198 (FUNC_mpc_c_c): Likewise.
10199 (test_functions): Add fma. Update calls to FUNC.
10200 (handle_input_arg): Add argument exact_args.
10201 (add_test): Update call to handle_input_arg.
10202 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10203 (output_for_one_input_case): Update call to calc_generic_results.
10204 Recalculate exact zero results in each rounding mode.
10206 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10207 non-negative before setting low bit.
10208 * math/auto-libm-test-in: Mark one asin test possibly having
10209 spurious underflow.
10210 * math/auto-libm-test-out: Regenerated.
10211 * sysdeps/i386/fpu/libm-test-ulps: Update.
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10216 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10217 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10218 ports/sysdeps/unix/sysv/linux/microblaze.
10219 * README: Add missing listing for microblaze*-*-linux-gnu.
10221 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10223 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10226 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10228 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10229 * sysdeps/unix/sysv/linux/ia64: Move directory from
10230 ports/sysdeps/unix/sysv/linux/ia64.
10231 * README: Update listing for ia64-*-linux-gnu.
10233 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10234 Joseph Myers <joseph@codesourcery.com>
10236 * Makeconfig (test-name): New variable.
10237 (evaluate-test): Likewise.
10238 * Makerules (do-test-clean): Remove .test-result files.
10239 (common-mostlyclean): Likewise.
10240 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10241 * scripts/evaluate-test.sh: New file.
10243 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10245 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10246 separate $(objpfx)tst-fopenloc-cmp.out and
10247 $(objpfx)tst-fopenloc-mem.out targets.
10248 (tests): Update dependencies.
10249 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10250 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10251 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10252 (tst-rxspencer-no-utf8-ARGS): New variable.
10253 (tst-rxspencer-no-utf8-ENV): Likewise.
10254 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10255 instead of $(objpfx)tst-rxspencer-mem.
10256 ($(objpfx)tst-rxspencer-mem): Change target to
10257 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10258 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10259 * posix/tst-rxspencer-no-utf8.c: New file.
10261 * elf/Makefile ($(objpfx)order.out): Remove rule.
10262 [$(run-built-tests) = yes] (tests): Depend on
10263 $(objpfx)order-cmp.out.
10264 ($(objpfx)order-cmp.out): New rule.
10265 [$(run-built-tests) = yes] (tests): Depend on
10266 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10267 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10268 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10269 $(objpfx)tst-array5-static-cmp.out.
10270 ($(objpfx)tst-array1.out): Remove rule.
10271 ($(objpfx)tst-array1-cmp.out): New rule.
10272 ($(objpfx)tst-array1-static.out): Remove rule.
10273 ($(objpfx)tst-array1-static-cmp.out): New rule.
10274 ($(objpfx)tst-array2.out): Remove rule.
10275 ($(objpfx)tst-array2-cmp.out): New rule.
10276 ($(objpfx)tst-array3.out): Remove rule.
10277 ($(objpfx)tst-array3-cmp.out): New rule.
10278 ($(objpfx)tst-array4.out): Remove rule.
10279 ($(objpfx)tst-array4-cmp.out): New rule.
10280 ($(objpfx)tst-array5.out): Remove rule.
10281 ($(objpfx)tst-array5-cmp.out): New rule.
10282 ($(objpfx)tst-array5-static.out): Remove rule.
10283 ($(objpfx)tst-array5-static-cmp.out): New rule.
10284 [$(run-built-tests) = yes] (tests): Depend on
10285 $(objpfx)order2-cmp.out.
10286 ($(objpfx)order2.out): Remove rule.
10287 ($(objpfx)order2-cmp.out): New rule.
10288 ($(objpfx)tst-initorder.out): Remove rule.
10289 [$(run-built-tests) = yes] (tests): Depend on
10290 $(objpfx)tst-initorder-cmp.out.
10291 ($(objpfx)tst-initorder-cmp.out): New rule.
10292 ($(objpfx)tst-initorder2.out): Remove rule.
10293 [$(run-built-tests) = yes] (tests): Depend on
10294 $(objpfx)tst-initorder2-cmp.out.
10295 ($(objpfx)tst-initorder2-cmp.out): New rule.
10296 [$(run-built-tests) = yes] (tests): Depend on
10297 $(objpfx)tst-unused-dep-cmp.out.
10298 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10299 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10300 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10301 on $(objpfx)tst-setvbuf1-cmp.out.
10302 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10303 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10304 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10305 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10306 ($(objpfx)tst-svc.out): Remove rule.
10307 ($(objpfx)tst-svc-cmp.out): New rule.
10309 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10311 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10312 * ctype/ctype.h [__USE_MISC]: Likewise.
10313 * dirent/dirent.h [__USE_MISC]: Likewise.
10314 * grp/grp.h [__USE_MISC]: Likewise.
10315 * io/fcntl.h [__USE_MISC]: Likewise.
10316 * io/sys/stat.h [__USE_MISC]: Likewise.
10317 * libio/stdio.h [__USE_MISC]: Likewise.
10318 * posix/unistd.h [__USE_MISC]: Likewise.
10319 * pwd/pwd.h [__USE_MISC]: Likewise.
10320 * stdlib.h [__USE_MISC]: Likewise.
10321 * string/bits/string2.h [__USE_MISC]: Likewise.
10322 * string/string.h [__USE_MISC]: Likewise.
10323 * time/time.h [__USE_MISC]: Likewise.
10325 2014-02-13 Andreas Schwab <schwab@suse.de>
10328 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10329 second answer buffer if it was separately allocated.
10331 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/mips/math-tests.h: Include <features.h>.
10334 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10335 (ROUNDING_TESTS_long_double): Do not define.
10336 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10337 (EXCEPTION_TESTS_long_double): Likewise.
10338 * sysdeps/mips/mips64/libm-test-ulps: Update.
10340 * include/features.h (__USE_BSD): Remove macro definitions.
10341 (__USE_SVID): Likewise.
10342 (_BSD_SOURCE): Likewise.
10343 (_SVID_SOURCE): Likewise.
10344 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10345 from definition of _DEFAULT_SOURCE.
10346 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10348 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10349 * bits/mman.h [__USE_BSD]: Likewise.
10350 * bits/termios.h [__USE_BSD]: Likewise.
10351 * bits/waitstatus.h [__USE_BSD]: Likewise.
10352 * ctype/ctype.h [__USE_SVID]: Likewise.
10353 * dirent/dirent.h [__USE_BSD]: Likewise.
10354 * grp/grp.h [__USE_SVID]: Likewise.
10355 [__USE_BSD]: Likewise.
10356 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10357 * io/fcntl.h [__USE_BSD]: Likewise.
10358 * io/ftw.h [__USE_BSD]: Likewise.
10359 * io/sys/stat.h [__USE_BSD]: Likewise.
10360 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10361 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10362 * libio/stdio.h [__USE_SVID]: Likewise.
10363 [__USE_BSD]: Likewise.
10364 * math/math.h [__USE_SVID]: Likewise.
10365 [__USE_BSD]: Likewise.
10366 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10367 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10368 * misc/search.h [__USE_SVID]: Likewise.
10369 * misc/sys/mman.h [__USE_BSD]: Likewise.
10370 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10371 * misc/sys/uio.h [__USE_BSD]: Likewise.
10372 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10373 * posix/glob.h [__USE_BSD]: Likewise.
10374 * posix/regex.h [__USE_BSD]: Likewise.
10375 * posix/sys/types.h [__USE_BSD]: Likewise.
10376 [__USE_SVID]: Likewise.
10377 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10378 * posix/sys/wait.h [__USE_BSD]: Likewise.
10379 [__USE_SVID]: Likewise.
10380 * posix/unistd.h [__USE_BSD]: Likewise.
10381 [__USE_SVID]: Likewise.
10382 * pwd/pwd.h [__USE_SVID]: Likewise.
10383 * resolv/netdb.h [__USE_BSD]: Likewise.
10384 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10385 * signal/signal.h [__USE_BSD]: Likewise.
10386 [__USE_SVID]: Likewise.
10387 * socket/sys/socket.h [__USE_BSD]: Likewise.
10388 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10389 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10390 [__USE_SVID]: Likewise.
10391 * string/bits/string2.h [__USE_BSD]: Likewise.
10392 [__USE_SVID]: Likewise.
10393 * string/bits/string3.h [__USE_BSD]: Likewise.
10394 * string/endian.h [__USE_BSD]: Likewise.
10395 * string/string.h [__USE_SVID]: Likewise.
10396 [__USE_BSD]: Likewise.
10397 * string/strings.h [__USE_BSD]: Likewise.
10398 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10399 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10400 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10401 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10402 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10403 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10407 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10410 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10411 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10413 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10415 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10416 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10417 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10419 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10421 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10422 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10423 * termios/termios.h [__USE_BSD]: Likewise.
10424 * time/sys/time.h [__USE_BSD]: Likewise.
10425 * time/time.h [__USE_BSD]: Likewise.
10426 [__USE_SVID]: Likewise.
10428 * Makefile (subdir_targets): Remove subdir_lint.out.
10430 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10431 (do-tst-printf): Likewise.
10432 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10433 $(objpfx)tst-printf.out.
10435 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10437 * Makerules (check-abi-%): Change target to
10438 $(objpfx)check-abi-%.out.
10439 (check-abi target): Update dependencies.
10440 (check-abi-pattern variable): Redirect output of diff to $@.
10441 (check-abi variable): Likewise.
10442 * elf/Makefile (check-abi): Update dependencies.
10444 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10446 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10447 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10449 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10450 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10451 value has largest subnormal exponent.
10452 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10453 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10454 * sysdeps/aarch64/soft-fp/sfp-machine.h
10455 (_FP_TININESS_AFTER_ROUNDING): New macro.
10456 * sysdeps/alpha/soft-fp/sfp-machine.h
10457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10458 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10460 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10462 * sysdeps/mips/soft-fp/sfp-machine.h
10463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10464 * sysdeps/powerpc/soft-fp/sfp-machine.h
10465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10466 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10468 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10469 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10470 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10471 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10472 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10475 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10478 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10481 2014-02-12 Richard Henderson <rth@redhat.com>
10483 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10484 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10485 * sysdeps/unix/sysv/linux/alpha: Move directory from
10486 ports/sysdeps/unix/sysv/linux/alpha.
10487 * README: Update listing for alpha-*-linux-gnu.
10489 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10491 * include/features.h: Update comment documenting feature test
10493 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10495 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10496 (_SVID_SOURCE): Likewise.
10497 (_DEFAULT_SOURCE): Update description of default features.
10498 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10500 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10501 (S_ISVTX): Likewise.
10502 * manual/math.texi (Mathematical Constants): Likewise.
10503 * manual/signal.texi (Interrupted Primitives): Likewise.
10504 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10505 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10506 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10507 Don't refer to _SVID_SOURCE in warning text.
10509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10511 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10513 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10514 * sysdeps/mips/dl-lookup.c: Remove.
10515 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10517 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10520 * math/auto-libm-test-in: Add testcase for expl.
10521 * math/auto-libm-test-out: Regenerate.
10522 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10523 calculation of unsafe.
10524 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10526 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10528 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10529 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10530 ports/sysdeps/unix/sysv/linux/aarch64.
10531 * README: Update listing for aarch64*-*-linux-gnu.
10533 2014-02-11 Will Newton <will.newton@linaro.org>
10535 * manual/probes.texi (Mathematical Function Probes): Use
10536 "triggered" instead of "hit".
10538 * manual/probes.texi (Internal Probes): Add documentation
10539 of setjmp, longjmp and longjmp_target probes.
10541 * include/stap-probe.h: Add comment about probe argument
10544 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10545 definition. (tr_where, tr_freehook, tr_mallochook,
10546 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10548 2014-02-11 David S. Miller <davem@davemloft.net>
10550 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10551 processing int_tests.
10553 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10555 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10556 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10557 * sysdeps/unix/sysv/linux/mips: Move directory from
10558 ports/sysdeps/unix/sysv/linux/mips.
10559 * README: Update listing for mips-*-linux-gnu and
10560 mips64-*-linux-gnu.
10562 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10564 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10565 * sysdeps/unix/sysv/linux/m68k: Move directory from
10566 ports/sysdeps/unix/sysv/linux/m68k.
10567 * README: Update listing for m68k-*-linux-gnu.
10569 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10571 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10572 * sysdeps/unix/sysv/linux/generic: Move directory from
10573 ports/sysdeps/unix/sysv/linux/generic.
10574 * sysdeps/unix/sysv/linux/tile: Move directory from
10575 ports/sysdeps/unix/sysv/linux/tile.
10576 * README: Update listing for tile*-*-linux-gnu.
10578 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10580 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10582 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10583 * catgets/open_catalog.c (__open_catalog): Likewise.
10584 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10585 * debug/confstr_chk.c: Likewise.
10586 * debug/fread_chk.c (__fread_chk): Likewise.
10587 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10588 * debug/getgroups_chk.c: Likewise.
10589 * debug/mbsnrtowcs_chk.c: Likewise.
10590 * debug/mbsrtowcs_chk.c: Likewise.
10591 * debug/mbstowcs_chk.c: Likewise.
10592 * debug/memcpy_chk.c: Likewise.
10593 * debug/memmove_chk.c: Likewise.
10594 * debug/mempcpy_chk.c: Likewise.
10595 * debug/memset_chk.c: Likewise.
10596 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10597 * debug/strcat_chk.c (__strcat_chk): Likewise.
10598 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10599 * debug/strncat_chk.c (__strncat_chk): Likewise.
10600 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10601 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10602 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10603 * debug/wcpncpy_chk.c: Likewise.
10604 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10605 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10606 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10607 * debug/wcsncpy_chk.c: Likewise.
10608 * debug/wcsnrtombs_chk.c: Likewise.
10609 * debug/wcsrtombs_chk.c: Likewise.
10610 * debug/wcstombs_chk.c: Likewise.
10611 * debug/wmemcpy_chk.c: Likewise.
10612 * debug/wmemmove_chk.c: Likewise.
10613 * debug/wmempcpy_chk.c: Likewise.
10614 * debug/wmemset_chk.c: Likewise.
10615 * dirent/scandirat.c (SCANDIRAT): Likewise.
10616 * dlfcn/dladdr1.c (dladdr1): Likewise.
10617 * dlfcn/dladdr.c (dladdr): Likewise.
10618 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10619 * dlfcn/dlerror.c (__dlerror): Likewise.
10620 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10621 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10622 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10623 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10624 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10625 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10626 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10627 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10629 * elf/dl-conflict.c: Likewise.
10630 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10631 * elf/dl-dst.h: Likewise.
10632 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10633 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10634 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10635 * elf/dl-init.c (call_init, _dl_init): Likewise.
10636 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10637 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10638 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10640 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10642 * elf/dl-minimal.c (__libc_memalign): Likewise.
10643 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10644 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10645 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10646 * elf/dl-sym.c (do_sym): Likewise.
10647 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10648 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10649 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10650 * elf/dl-writev.h (_dl_writev): Likewise.
10651 * elf/ldconfig.c (search_dir): Likewise.
10652 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10653 (dl_main): Likewise.
10654 * elf/setup-vdso.h (setup_vdso): Likewise.
10655 * grp/compat-initgroups.c (compat_call): Likewise.
10656 * grp/fgetgrent.c (fgetgrent): Likewise.
10657 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10658 * grp/putgrent.c (putgrent): Likewise.
10659 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10661 * hurd/hurdinit.c: Likewise.
10662 * iconvdata/8bit-gap.c (struct): Likewise.
10663 * iconvdata/ansi_x3.110.c : Likewise.
10664 * iconvdata/big5.c : Likewise.
10665 * iconvdata/big5hkscs.c : Likewise.
10666 * iconvdata/cp1255.c: Likewise.
10667 * iconvdata/cp1258.c : Likewise.
10668 * iconvdata/cp932.c : Likewise.
10669 * iconvdata/euc-cn.c: Likewise.
10670 * iconvdata/euc-jisx0213.c : Likewise.
10671 * iconvdata/euc-jp.c: Likewise.
10672 * iconvdata/euc-jp-ms.c : Likewise.
10673 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10674 * iconvdata/gb18030.c : Likewise.
10675 * iconvdata/gbbig5.c (const): Likewise.
10676 * iconvdata/gbgbk.c: Likewise.
10677 * iconvdata/gbk.c : Likewise.
10678 * iconvdata/ibm1364.c : Likewise.
10679 * iconvdata/ibm930.c : Likewise.
10680 * iconvdata/ibm932.c: Likewise.
10681 * iconvdata/ibm933.c : Likewise.
10682 * iconvdata/ibm935.c : Likewise.
10683 * iconvdata/ibm937.c : Likewise.
10684 * iconvdata/ibm939.c : Likewise.
10685 * iconvdata/ibm943.c: Likewise.
10686 * iconvdata/iso_11548-1.c: Likewise.
10687 * iconvdata/iso-2022-cn.c : Likewise.
10688 * iconvdata/iso-2022-cn-ext.c : Likewise.
10689 * iconvdata/iso-2022-jp-3.c: Likewise.
10690 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10691 * iconvdata/iso-2022-kr.c : Likewise.
10692 * iconvdata/iso646.c (gconv_end): Likewise.
10693 * iconvdata/iso_6937-2.c : Likewise.
10694 * iconvdata/iso_6937.c : Likewise.
10695 * iconvdata/iso8859-1.c: Likewise.
10696 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10697 * iconvdata/shift_jisx0213.c : Likewise.
10698 * iconvdata/sjis.c : Likewise.
10699 * iconvdata/t.61.c : Likewise.
10700 * iconvdata/tcvn5712-1.c : Likewise.
10701 * iconvdata/tscii.c: Likewise.
10702 * iconvdata/uhc.c : Likewise.
10703 * iconvdata/unicode.c (gconv_end): Likewise.
10704 * iconvdata/utf-16.c (gconv_end): Likewise.
10705 * iconvdata/utf-32.c (gconv_end): Likewise.
10706 * iconvdata/utf-7.c (base64): Likewise.
10707 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10708 * iconv/gconv_close.c (__gconv_close): Likewise.
10709 * iconv/gconv_open.c (__gconv_open): Likewise.
10710 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10711 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10712 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10713 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10714 (ucs4le_internal_loop_single): Likewise.
10715 * iconv/iconv.c (iconv): Likewise.
10716 * iconv/iconv_close.c: Likewise.
10717 * iconv/loop.c (SINGLE): Likewise.
10718 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10719 * include/atomic.h: Likewise.
10720 * inet/inet6_option.c (option_alloc): Likewise.
10721 * intl/bindtextdom.c (set_binding_values): Likewise.
10722 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10723 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10724 * intl/localealias.c (read_alias_file): Likewise.
10725 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10726 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10727 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10728 * libio/fmemopen.c (fmemopen): Likewise.
10729 * libio/iofgets.c (_IO_fgets): Likewise.
10730 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10731 * libio/iofgetws.c (fgetws): Likewise.
10732 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10733 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10734 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10735 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10736 * locale/findlocale.c (_nl_find_locale): Likewise.
10737 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10738 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10740 * locale/setlocale.c (setlocale): Likewise.
10741 * login/programs/pt_chown.c (main): Likewise.
10742 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10743 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10744 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10745 (mmap, mmap64, mremap, munmap): Likewise.
10746 * math/e_exp2l.c: Likewise.
10747 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10748 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10749 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10750 * math/s_catan.c (__catan): Likewise.
10751 * math/s_catanf.c (__catanf): Likewise.
10752 * math/s_catanh.c (__catanh): Likewise.
10753 * math/s_catanhf.c (__catanhf): Likewise.
10754 * math/s_catanhl.c (__catanhl): Likewise.
10755 * math/s_catanl.c (__catanl): Likewise.
10756 * math/s_ccosh.c (__ccosh): Likewise.
10757 * math/s_ccoshf.c (__ccoshf): Likewise.
10758 * math/s_ccoshl.c (__ccoshl): Likewise.
10759 * math/s_cexp.c (__cexp): Likewise.
10760 * math/s_cexpf.c (__cexpf): Likewise.
10761 * math/s_cexpl.c (__cexpl): Likewise.
10762 * math/s_clog10.c (__clog10): Likewise.
10763 * math/s_clog10f.c (__clog10f): Likewise.
10764 * math/s_clog10l.c (__clog10l): Likewise.
10765 * math/s_clog.c (__clog): Likewise.
10766 * math/s_clogf.c (__clogf): Likewise.
10767 * math/s_clogl.c (__clogl): Likewise.
10768 * math/s_csin.c (__csin): Likewise.
10769 * math/s_csinf.c (__csinf): Likewise.
10770 * math/s_csinh.c (__csinh): Likewise.
10771 * math/s_csinhf.c (__csinhf): Likewise.
10772 * math/s_csinhl.c (__csinhl): Likewise.
10773 * math/s_csinl.c (__csinl): Likewise.
10774 * math/s_csqrt.c (__csqrt): Likewise.
10775 * math/s_csqrtf.c (__csqrtf): Likewise.
10776 * math/s_csqrtl.c (__csqrtl): Likewise.
10777 * math/s_ctan.c (__ctan): Likewise.
10778 * math/s_ctanf.c (__ctanf): Likewise.
10779 * math/s_ctanh.c (__ctanh): Likewise.
10780 * math/s_ctanhf.c (__ctanhf): Likewise.
10781 * math/s_ctanhl.c (__ctanhl): Likewise.
10782 * math/s_ctanl.c (__ctanl): Likewise.
10783 * math/w_pow.c: Likewise.
10784 * math/w_powf.c: Likewise.
10785 * math/w_powl.c: Likewise.
10786 * math/w_scalb.c (sysv_scalb): Likewise.
10787 * math/w_scalbf.c (sysv_scalbf): Likewise.
10788 * math/w_scalbl.c (sysv_scalbl): Likewise.
10789 * misc/error.c (error_tail): Likewise.
10790 * misc/pselect.c (__pselect): Likewise.
10791 * nis/nis_callback.c (__nis_create_callback): Likewise.
10792 * nis/nis_call.c (__nisfind_server): Likewise.
10793 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10794 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10795 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10796 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10797 * nis/nis_lookup.c (nis_lookup): Likewise.
10798 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10799 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10800 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10801 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10802 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10803 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10804 * nis/nss_compat/compat-initgroups.c (add_group)
10805 (internal_getgrent_r): Likewise.
10806 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10807 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10808 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10809 (internal_getspnam_r): Likewise.
10810 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10811 (_nss_nis_getaliasbyname_r): Likewise.
10812 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10813 (_nss_nis_getntohost_r): Likewise.
10814 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10815 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10816 (_nss_nis_getgrgid_r): Likewise.
10817 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10818 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10819 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10820 (_nss_nis_gethostbyname4_r): Likewise.
10821 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10822 (initgroups_netid): Likewise.
10823 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10824 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10825 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10826 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10827 (_nss_nis_getprotobynumber_r): Likewise.
10828 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10829 (_nss_nis_getsecretkey): Likewise.
10830 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10831 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10832 (_nss_nis_getpwuid_r): Likewise.
10833 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10834 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10835 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10836 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10837 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10838 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10839 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10841 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10842 (_nss_nisplus_getntohost_r): Likewise.
10843 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10844 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10845 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10846 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10848 * nis/nss_nisplus/nisplus-initgroups.c
10849 (_nss_nisplus_initgroups_dyn): Likewise.
10850 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10851 (_nss_nisplus_getnetbyaddr_r): Likewise.
10852 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10853 (_nss_nisplus_getprotobynumber_r): Likewise.
10854 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10855 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10856 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10858 * nis/nss_nisplus/nisplus-service.c
10859 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10860 (_nss_nisplus_getservbyport_r): Likewise.
10861 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10862 (_nss_nisplus_getspnam_r): Likewise.
10863 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10865 * nscd/aicache.c (addhstaiX): Likewise.
10866 * nscd/cache.c (cache_search, prune_cache): Likewise.
10867 * nscd/connections.c (register_traced_file, send_ro_fd)
10868 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10869 (main_loop_epoll): Likewise.
10870 * nscd/grpcache.c (addgrbyX): Likewise.
10871 * nscd/hstcache.c (addhstbyX): Likewise.
10872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10873 * nscd/mem.c (gc, mempool_alloc): Likewise.
10874 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10875 (addinnetgrX): Likewise.
10876 * nscd/nscd-client.h (__nscd_acquire_maplock)
10877 (__nscd_drop_map_ref): Likewise.
10878 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10879 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10880 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10882 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10884 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10885 (__nscd_get_map_ref): Likewise.
10886 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10887 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10889 * nscd/pwdcache.c (addpwbyX): Likewise.
10890 * nscd/selinux.c (preserve_capabilities): Likewise.
10891 * nscd/servicescache.c (addservbyX): Likewise.
10892 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10893 * posix/fnmatch.c (fnmatch): Likewise.
10894 * posix/getopt.c (_getopt_internal_r): Likewise.
10895 * posix/glob.c (glob, glob_in_dir): Likewise.
10896 * posix/wordexp.c (exec_comm_child): Likewise.
10897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10898 (getanswer_r, gaih_getanswer_slice): Likewise.
10899 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10900 * resolv/res_init.c: Likewise.
10901 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10902 * resolv/res_query.c (__libc_res_nquery): Likewise.
10903 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10905 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10906 * stdio-common/perror.c (perror): Likewise.
10907 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10908 * stdio-common/tmpnam.c (tmpnam): Likewise.
10909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10910 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10911 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10913 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10914 * stdlib/putenv.c (putenv): Likewise.
10915 * stdlib/setenv.c (__add_to_environ): Likewise.
10916 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10917 * stdlib/strtol_l.c (INTERNAL): Likewise.
10918 * string/memmem.c (memmem): Likewise.
10919 * string/strerror.c (strerror): Likewise.
10920 * string/strnlen.c (__strnlen): Likewise.
10921 * string/test-memmem.c (simple_memmem): Likewise.
10922 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10923 * sunrpc/pm_getport.c (__get_socket): Likewise.
10924 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10925 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10926 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10927 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10929 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10930 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10931 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10932 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10933 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10934 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10936 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10938 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10939 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10941 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10942 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10944 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10945 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10946 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10947 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10948 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10951 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10957 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10959 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10960 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10961 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10965 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10967 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10972 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10974 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10978 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10979 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10980 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10982 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10983 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10984 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10985 * sysdeps/posix/sleep.c: Likewise.
10986 * sysdeps/posix/tempname.c: Likewise.
10987 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10988 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10990 * sysdeps/powerpc/powerpc32/dl-machine.h
10991 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10992 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10994 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10995 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10997 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10999 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11001 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11002 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11003 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11004 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11006 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11008 (elf_machine_lazy_rel): Likewise.
11009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11011 (elf_machine_lazy_rel): Likewise.
11012 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11013 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11014 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11015 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11016 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11017 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11018 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11021 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11022 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11023 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11024 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11025 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11026 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11027 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11028 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11029 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11030 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11031 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11033 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11034 (__posix_fallocate64_l64): Likewise.
11035 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11036 (posix_fallocate): Likewise.
11037 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11039 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11040 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11041 (getifaddrs_internal): Likewise.
11042 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11043 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11044 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11045 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11046 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11047 (__posix_fallocate64_l64): Likewise.
11048 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11050 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11051 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11052 (__get_clockfreq): Likewise.
11053 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11054 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11055 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11058 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11059 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11060 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11062 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11063 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11064 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11066 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11067 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11068 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11070 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11071 (posix_fallocate): Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11073 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11074 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11075 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11076 (elf_machine_rela, elf_machine_rela_relative)
11077 (elf_machine_lazy_rel): Likewise.
11078 * time/asctime.c (asctime_internal): Likewise.
11079 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11080 * time/tzset.c (__tzset_parse_tz): Likewise.
11081 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11082 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11083 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11084 * wcsmbs/wcsmbsload.h: Likewise.
11087 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11089 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11090 (arena_get2): Remove THREAD_STATS conditionals.
11091 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11092 (__malloc_stats, int): Likewise.
11094 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11097 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11099 * manual/setjmp.texi: Fix typos/grammar errors.
11101 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11102 Only return early when n is <= 0. Delete unused return statement.
11104 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11105 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11106 * debug/tst-longjmp_chk3.c: New file.
11108 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11109 (test_main): Replace code with set_fortify_handler call.
11110 * debug/test-strcpy_chk.c: Likewise.
11111 * debug/tst-chk1.c: Likewise.
11112 * debug/tst-longjmp_chk.c: Likewise.
11113 * test-skeleton.c: Include fcntl.h & paths.h
11114 (set_fortify_handler): Define.
11116 * debug/tst-longjmp_chk.c: Add header comment and include
11117 ../test-skeleton.c.
11118 (do_test): Mark static.
11119 (TEST_FUNCTION): Define.
11121 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11122 (IP_PMTUDISC_INTERFACE): Likewise.
11123 (IP_MULTICAST_IF): Likewise.
11124 (IP_MULTICAST_TTL): Likewise.
11125 (IP_MULTICAST_LOOP): Likewise.
11126 (IP_ADD_MEMBERSHIP): Likewise.
11127 (IP_DROP_MEMBERSHIP): Likewise.
11128 (IP_UNBLOCK_SOURCE): Likewise.
11129 (IP_BLOCK_SOURCE): Likewise.
11130 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11131 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11132 (IP_MSFILTER): Likewise.
11133 (MCAST_JOIN_GROUP): Likewise.
11134 (MCAST_BLOCK_SOURCE): Likewise.
11135 (MCAST_UNBLOCK_SOURCE): Likewise.
11136 (MCAST_LEAVE_GROUP): Likewise.
11137 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11138 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11139 (MCAST_MSFILTER): Likewise.
11140 (IP_MULTICAST_ALL): Likewise.
11141 (IP_UNICAST_IF): Likewise.
11143 * timezone/Makefile: Delete $(have-ksh) check.
11144 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11145 * timezone/tzselect.ksh: Add +x mode bits.
11147 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11148 (ANON_INODE_FS_MAGIC): Likewise.
11149 (BDEVFS_MAGIC): Likewise.
11150 (BINFMTFS_MAGIC): Likewise.
11151 (BTRFS_TEST_MAGIC): Likewise.
11152 (CRAMFS_MAGIC_WEND): Likewise.
11153 (DEBUGFS_MAGIC): Likewise.
11154 (ECRYPTFS_SUPER_MAGIC): Likewise.
11155 (EXT3_SUPER_MAGIC): Likewise.
11156 (EXT4_SUPER_MAGIC): Likewise.
11157 (FUTEXFS_SUPER_MAGIC): Likewise.
11158 (HOSTFS_SUPER_MAGIC): Likewise.
11159 (HUGETLBFS_MAGIC): Likewise.
11160 (MINIX3_SUPER_MAGIC): Likewise.
11161 (MTD_INODE_FS_MAGIC): Likewise.
11162 (NILFS_SUPER_MAGIC): Likewise.
11163 (OPENPROM_SUPER_MAGIC): Likewise.
11164 (PIPEFS_MAGIC): Likewise.
11165 (PSTOREFS_MAGIC): Likewise.
11166 (QNX6_SUPER_MAGIC): Likewise.
11167 (RAMFS_MAGIC): Likewise.
11168 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11169 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11170 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11171 (SECURITYFS_MAGIC): Likewise.
11172 (SELINUX_MAGIC): Likewise.
11173 (SMACK_MAGIC): Likewise.
11174 (SOCKFS_MAGIC): Likewise.
11175 (SQUASHFS_MAGIC): Likewise.
11176 (STACK_END_MAGIC): Likewise.
11177 (TMPFS_MAGIC): Likewise.
11178 (USBDEVICE_SUPER_MAGIC): Likewise.
11179 (V9FS_MAGIC): Likewise.
11180 (XENFS_SUPER_MAGIC): Likewise.
11181 (CRAMFS_MAGIC): Fix typo in comment.
11182 (EXT2_SUPER_MAGIC): Update comment.
11183 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11185 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11187 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11188 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11189 * sysdeps/unix/sysv/linux/arm: Move directory from
11190 ports/sysdeps/unix/sysv/linux/arm.
11191 * README: Update listing for arm-*-linux-gnueabi.
11193 * README: Remove mention of am33.
11195 2014-02-07 Roland McGrath <roland@hack.frob.com>
11197 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11198 than the comma operator, to avoid "rhs of comma has no effect"
11200 (__sigfillset, __sigandset, __sigorset): Likewise.
11201 * include/signal.h (__sigemptyset): Likewise.
11202 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11204 2014-02-07 Allan McRae <allan@archlinux.org>
11206 * version.h (RELEASE): Set to "development".
11207 (VERSION): Set to "2.19.90"
11208 * NEWS: Add 2.20 section.
11210 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11213 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11215 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * manual/contrib.texi: Update entry for Carlos O'Donell,
11218 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11220 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11222 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11224 * sysdeps/unix/sysv/linux/kernel-features.h
11225 [__LINUX_KERNEL_VERSION >= 0x020621]
11226 (__ASSUME_PROC_PID_TASK_COMM): Define.
11228 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11231 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11232 conversion when destination buffer does not have enough space.
11233 * libio/tst-ftell-partial-wide.c: New test case.
11234 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11236 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11237 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11238 Leonard and Allan McRae.
11240 2014-02-04 David S. Miller <davem@davemloft.net>
11242 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11245 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11274 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11277 * shlib-versions: Likewise.
11279 2014-02-04 Roland McGrath <roland@hack.frob.com>
11280 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11283 (abilist-pattern): New variable, set to %-le.abilist.
11285 * Makerules (abilist-pattern): New variable.
11286 (vpath): Use $(abilist-pattern) in place of %.abilist.
11287 (check-abi-% pattern rule): Likewise.
11288 (check-abi, update-abi): Likewise.
11290 2014-02-04 Eric Wong <normalperson@yhbt.net>
11292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11294 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11296 * manual/startup.texi: Add next, previous, and top entries for
11297 the `Program Arguments' and `Environment Variables' nodes.
11299 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11301 * manual/macros.texi: Add comments before MTASC-safety macros.
11303 * manual/users.texi: Document MTASC-safety properties.
11305 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11306 (pthread_getspecific, pthread_setspecific): Format with
11307 @deftypefun, and add @safety note.
11308 * manual/signal.texi: Move comments that analyze the above
11309 functions to their home place.
11311 2014-02-03 Allan McRae <allan@archlinux.org>
11313 * po/sl.po: Update Slovenian translation from translation project.
11315 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11317 * manual/time.texi (timegm): Add missing blank after @c.
11318 Reported by Joseph Myers <joseph@codesourcery.com>.
11320 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11322 * manual/check-safety.sh: New.
11323 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11325 * manual/terminal.texi: Document MTASC-safety properties.
11327 * manual/filesys.texi: Document MTASC-safety properties.
11329 * manual/errno.texi: Document MTASC-safety properties.
11331 * manual/intro.texi: Document safety identifiers and
11334 * manual/string.texi (wcstok): Fix prototype.
11335 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11337 * manual/time.texi: Document MTASC-safety properties.
11339 * manual/string.texi: Document MTASC-safety properties.
11341 * manual/threads.texi: Document MTASC-safety properties.
11343 * manual/stdio.texi: Document MTASC-safety properties.
11345 * manual/syslog.texi: Document MTASC-safety properties.
11347 * manual/sysinfo.texi: Document MTASC-safety properties.
11349 * manual/startup.texi: Document MTASC-safety properties.
11351 * manual/socket.texi: Document MTASC-safety properties.
11353 * manual/signal.texi: Document MTASC-safety properties.
11355 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11357 * manual/setjmp.texi: Document MTASC-safety properties.
11359 * manual/search.texi: Document MTASC-safety properties.
11361 * manual/resource.texi: Document MTASC-safety properties.
11363 * manual/process.texi: Document MTASC-safety properties.
11365 * manual/platform.texi: Document MTASC-safety properties.
11367 * manual/pipe.texi: Document MTASC-safety properties.
11369 * manual/pattern.texi: Document MTASC-safety properties.
11371 * manual/message.texi: Document MTASC-safety properties.
11374 * manual/memory.texi: Document MTASC-safety properties.
11376 * manual/math.texi: Document MTASC-safety properties.
11378 * manual/locale.texi: Document MTASC-safety properties.
11380 * manual/llio.texi: Document MTASC-safety properties.
11382 * manual/libdl.texi: New.
11384 * manual/lang.texi: Document MTASC-safety properties.
11386 * manual/job.texi: Document MTASC-safety properties.
11388 * manual/getopt.texi: Document MTASC-safety properties.
11390 * manual/ctype.texi: Document MTASC-safety properties.
11392 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11395 * csu/libc-tls.c (static_map): Remove variable.
11396 (__libc_setup_tls): Use main executable's link map for TLS data.
11397 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11398 casing for LM_ID_BASE and GL(dl_nns).
11399 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11400 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11401 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11402 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11403 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11405 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11408 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11410 * manual/debug.texi: Document MTASC-safety properties.
11412 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11415 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11416 of __x86_64__ when disabling x87 inline functions.
11418 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11420 * manual/charset.texi: Document MTASC-safety properties.
11422 * manual/crypt.texi: Document MTASC-safety properties.
11424 * manual/conf.texi: Document MTASC-safety properties.
11426 * manual/arith.texi: Document MTASC-safety properties.
11428 * manual/argp.texi: Document MTASC-safety properties.
11430 * manual/macros.texi: Introduce macros to document multi
11431 thread, asynchronous signal and asynchronous cancellation
11433 * manual/intro.texi: Introduce the properties themselves.
11435 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11437 * sysdeps/sh/sh4/Makefile: New file.
11439 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11441 * math/gen-libm-test.pl ($srcdir): New variable.
11442 ($auto_input): Use it.
11444 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11447 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11448 access beyond array bounds when parsing netgroups file.
11450 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11451 the old buffer before realloc.
11453 2014-01-27 Allan McRae <allan@archlinux.org>
11455 * po/fr.po: Update French translation from translation project.
11457 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11459 * sysdeps/sh/libm-test-ulps: Regenerate.
11461 2014-01-24 David S. Miller <davem@davemloft.net>
11463 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11465 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11467 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11468 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11470 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11473 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11474 string pointers after reallocation.
11476 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11478 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11479 __SH4A__ instead of __SH_FPU_ANY__.
11481 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11483 * sysdeps/sh/fpu_control.h: New file.
11484 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11485 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11486 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11487 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11488 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11489 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11490 * sysdeps/sh/sys/ucontext.h: Remove.
11491 * sysdeps/sh/sys: Remove directory.
11493 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11495 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11496 s390/sys/ucontext.h.
11497 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11498 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11500 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11503 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11505 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11508 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11509 Adjust the vDSO correctly for internal calls.
11510 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11512 2014-01-20 Allan McRae <allan@archlinux.org>
11514 * po/ca.po: Update Catalan translation from translation project.
11516 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11518 * sysdeps/s390/sotruss-lib.c: New file.
11520 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11523 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11524 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11525 local calls issues by not having a PLT stub required for IFUNC calls.
11526 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11528 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11530 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11531 * math/test-fpucw-static.c: Likewise.
11533 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11536 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11538 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11540 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11541 implementation for powerpc.
11543 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11546 * sysdeps/posix/system.c (__libc_system): Do not enable
11547 asynchronous cancellation.
11549 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11552 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11553 handling only for numbers special also in the IEEE case.
11555 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11557 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11559 2014-01-11 Allan McRae <allan@archlinux.org>
11561 * po/bg.po: Update Bulgarian translation from translation project.
11563 * po/de.po: Update German translation from translation project.
11565 2014-01-10 Roland McGrath <roland@hack.frob.com>
11567 * sysdeps/generic/gcc-compat.h: New file.
11569 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11571 * benchtests/asin-inputs: Correct slow inputs.
11572 * benchtests/acos-inputs: Likewise.
11574 2014-01-10 Allan McRae <allan@archlinux.org>
11576 * po:sv.po: Update Swedish translation from translation project.
11578 * po/vi.po: Update Vietnamese translation from translation project.
11580 * po/eo.po: Update Esperanto translation from translation project.
11582 * po/cs.po: Update Czech translation from translation project.
11584 * po/nl.po: Update Dutch translation from translation project.
11586 * po/pl.po: Update Polish translation from translation project.
11588 * po/ru.po: Update Russian translation from translation project.
11590 * po/uk.po: Update Ukrainian translation from translation project.
11592 2014-01-08 Brooks Moses <bmoses@google.com>
11594 * elf/dl-load.c: Fix comment typo.
11596 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11598 * po/header.pot: Rename to...
11599 * po/pot.header: ... this.
11600 * po/Makefile: Use pot.header.
11602 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11603 Maxim Kuvyrkov <maxim@kugelworks.com>
11606 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11607 SRC and DEST against LEN.
11609 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11616 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11620 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11623 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11624 for large positive arguments.
11626 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11630 * math/auto-libm-test-in: Mark various tests with
11631 xfail-rounding:ldbl-128ibm.
11632 * math/auto-libm-test-out: Regenerated.
11635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11636 Increase overflow threshold.
11638 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11641 * stdio-common/vfprintf.c: Check for integer overflow.
11643 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11645 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11646 the first argument and return value of __tls_get_addr_internal.
11648 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11650 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11651 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11653 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11655 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11656 * sysdeps/s390/rtld-global-offsets.sym: New file.
11657 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11659 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11661 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11663 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11664 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11670 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11671 halfs of GPRs for high_gprs contexts.
11672 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11673 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11675 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11679 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11680 for high GPRs (uc_high_gprs) and for future extensions
11682 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11683 for future extensions (__reserved).
11684 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11686 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11687 SC_HIGHGPRS offset definition.
11688 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11689 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11691 * Versions.def: Add GLIBC_2.19 for libpthread.
11692 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11693 siglongjmp for libpthread with GLIBC_2.19 symver.
11694 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11695 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11696 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11697 * sysdeps/s390/__longjmp.c: New file.
11698 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11699 * sysdeps/s390/longjmp.c: New file.
11700 * sysdeps/s390/setjmp.S: New file.
11701 * sysdeps/s390/sigjmp.S: New file.
11702 * sysdeps/s390/v1-longjmp.c: New file.
11703 * sysdeps/s390/v1-setjmp.h: New file.
11704 * sysdeps/s390/v1-sigjmp.c: New file.
11705 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11706 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11707 GLIBC_2.19 version.
11708 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11709 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11710 versioned symbols for ____longjmp_chk.
11711 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11721 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11722 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11723 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11724 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11725 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11726 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11727 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11728 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11729 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11730 * sysdeps/s390/rtld-__longjmp.c: New file.
11731 * sysdeps/s390/rtld-setjmp.S: New file.
11733 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11737 Return -__logl (x) for small positive arguments without evaluating
11740 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11742 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11744 (__ptrace_peeksiginfo_args): ... this.
11745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11749 2014-01-06 Allan McRae <allan@archlinux.org>
11751 * inet/netinet/in.h: Fix typo in comment.
11753 2014-01-05 Andreas Jaeger <aj@suse.de>
11755 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 2014-01-05 Allan McRae <allan@archlinux.org>
11759 * po/libc.pot: Regenerated.
11761 * malloc/memusagestat.c: Fix gettext call formatting.
11763 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11765 * nscd/nscd.c: Improve usage() output.
11767 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11769 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11770 * sysdeps/unix/sysv/linux/configure: Regenerated.
11771 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11772 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11774 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11777 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11778 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11780 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11782 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11783 extra tokens at end of #undef directive.
11784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11785 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11786 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11788 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11790 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11792 * math/auto-libm-test-in: Mark various tests with
11793 xfail-rounding:ldbl-128ibm.
11794 * math/auto-libm-test-out: Regenerated.
11796 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11800 numbers with subnormal high part when calculating exponent.
11803 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11809 (__ieee754_acoshl): Use __log1pl not __log1p.
11811 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11813 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11814 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11815 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11816 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11817 (reused_arena, arena_get2): Convert to GNU style.
11818 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11819 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11820 (memalign_check, __malloc_set_state): Likewise.
11821 * malloc/mallocbug.c (main): Likewise.
11822 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11823 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11824 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11825 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11826 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11827 (__posix_memalign, malloc_info): Likewise.
11828 * malloc/malloc.h: Likewise.
11829 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11830 (mallochook, memalignhook, reallochook, mabort): Likewise.
11831 * malloc/mcheck.h: Likewise.
11832 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11833 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11834 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11835 * malloc/morecore.c (__default_morecore): Likewise.
11836 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11837 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11838 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11839 (print_and_abort): Likewise.
11840 * malloc/obstack.h: Likewise.
11841 * malloc/set-freeres.c (__libc_freeres): Likewise.
11842 * malloc/tst-mallocstate.c (main): Likewise.
11843 * malloc/tst-mtrace.c (main): Likewise.
11844 * malloc/tst-realloc.c (do_test): Likewise.
11846 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11849 * nscd/netgroupcache.c (do_notfound): New function.
11850 (addgetnetgrentX): Use it.
11853 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11854 NSS_STATUS_NOTFOUND.
11856 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11858 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861 2014-01-01 Allan McRae <allan@archlinux.org>
11863 * scripts/update-copyrights: Update configure input file suffix.
11865 * NEWS: Update copyright year.
11866 * catgets/gencat.c: Likewise.
11867 * csu/version.c: Likewise.
11868 * debug/catchsegv.sh: Likewise.
11869 * debug/pcprofiledump.c: Likewise.
11870 * debug/xtrace.sh: Likewise.
11871 * elf/ldconfig.c: Likewise.
11872 * elf/ldd.bash.in: Likewise.
11873 * elf/pldd.c: Likewise.
11874 * elf/sotruss.ksh: Likewise.
11875 * elf/sprof.c: Likewise.
11876 * iconv/iconv_prog.c: Likewise.
11877 * iconv/iconvconfig.c: Likewise.
11878 * locale/programs/locale.c: Likewise.
11879 * locale/programs/localedef.c: Likewise.
11880 * login/programs/pt_chown.c: Likewise.
11881 * malloc/memusage.sh: Likewise.
11882 * malloc/memusagestat.c: Likewise.
11883 * malloc/mtrace.pl: Likewise.
11884 * manual/libc.texinfo: Likewise.
11885 * nscd/nscd.c: Likewise.
11886 * nss/getent.c: Likewise.
11887 * nss/makedb.c: Likewise.
11888 * posix/getconf.c: Likewise.
11889 * scripts/test-installation.pl: Likewise.
11891 * All files with FSF copyright notices: Update copyright dates
11892 using scripts/update-copyrights.
11893 * intl/plural.c: Regenerated.
11894 * locale/programs/charmap-kw.h: Likewise.
11895 * locale/programs/locfile-kw.h: Likewise.
11897 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11899 * sysdeps/unix/sysv/linux/configure: Regenerated.
11900 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11901 the linux/fanotify.h header.
11902 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11903 HAVE_LINUX_FANOTIFY_H is defined.
11905 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11907 * benchtests/cos-inputs: New inputs.
11908 * benchtests/sin-inputs: Likewise.
11910 * benchtests/atan-inputs: New inputs. Fix name of multiple
11911 precision fallback inputs.
11913 * benchtests/atanh-inputs: New inputs.
11914 * benchtests/tanh-inputs: Likewise.
11916 * benchtests/acosh-inputs: New inputs.
11917 * benchtests/asinh-inputs: Likewise.
11919 * benchtests/cosh-inputs: New inputs.
11920 * benchtests/sinh-inputs: Likewise.
11922 * benchtests/acos-inputs: Add more inputs.
11923 * benchtests/asin-inputs: Likewise.
11925 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11928 * manual/arith.texi: Fix spelling.
11929 * manual/charset.texi: Likewise.
11930 * manual/errno.texi: Likewise.
11931 * manual/filesys.texi: Likewise.
11932 * manual/lang.texi: Likewise.
11933 * manual/llio.texi: Likewise.
11934 * manual/locale.texi: Likewise.
11935 * manual/message.texi: Likewise.
11936 * manual/resource.texi: Likewise.
11937 * manual/search.texi: Likewise.
11938 * manual/setjmp.texi: Likewise.
11939 * manual/stdio.texi: Likewise.
11940 * manual/string.texi: Likewise.
11941 * manual/sysinfo.texi: Likewise.
11942 * manual/time.texi: Likewise.
11944 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11946 * po/sl.po: New file.
11948 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11950 * .gitignore: Add core/.gdbinit/.gdb_history.
11952 2013-12-27 Allan McRae <allan@archlinux.org>
11955 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11956 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11958 2013-12-24 Brooks Moses <bmoses@google.com>
11960 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11961 all compilers that claim C++98 compliance, not just GCC.
11962 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11965 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11967 * NEWS: Restore accidentally deleted bug-fix entries.
11969 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11970 Ondřej Bílka <neleai@seznam.cz>
11973 * malloc/malloc.c (_int_free): Perform sanity check only if we
11976 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11979 * manual/stdio.texi (String Input Conversions): Clarify that character
11980 classes are not supported.
11982 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11986 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11990 Calculate results for small negative arguments directly rather
11991 than using reflection formula with special underflow handling.
11993 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11994 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11995 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11996 (fchflags): Likewise.
11997 (revoke): Likewise.
11998 (setlogin): Likewise.
11999 (sigaltstack): Likewise.
12001 (sigblock): Remove.
12002 (sigsetmask): Likewise.
12004 (waitpid): Likewise.
12005 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12006 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12008 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12009 * sysdeps/unix/bsd/Makefile: ... here.
12010 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12011 * sysdeps/unix/bsd/Versions: ... here.
12012 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12013 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12014 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12015 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12016 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12017 * sysdeps/unix/bsd/sigblock.c: ... here.
12018 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12019 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12020 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12021 * sysdeps/unix/bsd/sigvec.c: ... here.
12022 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12023 * sysdeps/unix/bsd/tcdrain.c: ... here.
12024 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12025 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12026 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12027 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12028 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12029 * sysdeps/unix/bsd/wait.c: ... here.
12030 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12031 * sysdeps/unix/bsd/wait3.c: ... here.
12032 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12033 * sysdeps/unix/bsd/waitpid.c: ... here.
12035 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12039 round-to-nearest for [!USE_AS_EXPM1L].
12040 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12041 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12042 more tests of exp and exp10. Expect some exp10 tests to miss
12043 exceptions or fail in directed rounding modes.
12044 * math/auto-libm-test-out: Regenerated.
12045 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12046 (exp10_test_tonearest): New function.
12047 (exp10_towardzero_test_data): New array.
12048 (exp10_test_towardzero): New function.
12049 (exp10_downward_test_data): New array.
12050 (exp10_test_downward): New function.
12051 (exp10_upward_test_data): New array.
12052 (exp10_test_upward): New function.
12053 (main): Call the new functions.
12054 * sysdeps/i386/fpu/libm-test-ulps: Update.
12055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12059 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12060 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12061 * math/auto-libm-test-out: Regenerated.
12062 * math/libm-test.inc (acosh_test_data): Add more tests.
12063 (atanh_test_data): Likewise.
12064 (ceil_test_data): Likewise.
12065 (copysign_test_data): Likewise.
12066 * sysdeps/i386/fpu/libm-test-ulps: Update.
12067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069 * timezone/checktab.awk: Update from tzcode 2013i.
12070 * timezone/private.h: Likewise.
12071 * timezone/scheck.c: Likewise.
12072 * timezone/tzfile.h: Likewise.
12073 * timezone/tzselect.ksh: Likewise.
12074 * timezone/zdump.c: Likewise.
12075 * timezone/zic.c: Likewise.
12077 * math/auto-libm-test-in: Add tests of cpow.
12078 * math/auto-libm-test-out: Regenerated.
12079 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12080 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12082 (func_calc_desc): Add mpc_cc_c union field.
12083 (test_functions): Add cpow.
12084 (special_fill_2pi): New function.
12085 (special_real_inputs): Add 2pi.
12086 (calc_generic_results): Handle mpc_cc_c.
12087 * sysdeps/i386/fpu/libm-test-ulps: Update.
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12091 csqrt, ctan and ctanh.
12092 * math/auto-libm-test-out: Regenerated.
12093 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12094 (TEST_COND_x86): Likewise.
12095 (ccos_test_data): Use AUTO_TESTS_c_c.
12096 (ccosh_test_data): Likewise.
12097 (cexp_test_data): Likewise.
12098 (clog_test_data): Likewise.
12099 (csqrt_test_data): Likewise.
12100 (ctan_test_data): Likewise.
12101 (ctan_tonearest_test_data): Likewise.
12102 (ctan_towardzero_test_data): Likewise.
12103 (ctan_downward_test_data): Likewise.
12104 (ctan_upward_test_data): Likewise.
12105 (ctanh_test_data): Likewise.
12106 (ctanh_tonearest_test_data): Likewise.
12107 (ctanh_towardzero_test_data): Likewise.
12108 (ctanh_downward_test_data): Likewise.
12109 (ctanh_upward_test_data): Likewise.
12110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12112 (func_calc_desc): Add mpc_c_c union field.
12113 (FUNC_mpc_c_c): New macro.
12114 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12115 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12117 (special_fill_min_subnorm_p120): New function.
12118 (special_real_inputs): Add min_subnorm_p120.
12119 (calc_generic_results): Handle mpc_c_c.
12120 * sysdeps/i386/fpu/libm-test-ulps: Update.
12121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12125 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12126 (do_sin_slow): New functions.
12127 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12128 (cslow2, csloww1, csloww2): Use the new functions.
12130 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12131 Use M to change sign of result instead of X. Assume X is
12133 (csloww1): Likewise.
12137 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12138 arguments A and DA.
12142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12144 (sloww1): Don't adjust sign of DX.
12145 (csloww1): Likewise.
12146 (sloww2): Use X directly and don't adjust sign of DX.
12147 (csloww2): Likewise.
12149 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12151 * math/auto-libm-test-in: Add tests of cabs and carg.
12152 * math/auto-libm-test-out: Regenerated.
12153 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12154 (carg_test_data): Likewise.
12155 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12157 (func_calc_desc): Add mpc_c_f union field.
12158 (test_functions): Add cabs and carg.
12159 (calc_generic_results): Handle mpc_c_f.
12161 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12162 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12163 as a macro and a compat symbol.
12164 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12165 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12166 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12167 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12168 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12181 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12182 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12185 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12189 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12191 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12192 trailing whitespace removed.
12193 * scripts/config.guess: Update to version 2013-11-29.
12194 * scripts/config.sub: Update to version 2013-10-01.
12196 * math/auto-libm-test-in: Add tests of sincos.
12197 * math/auto-libm-test-out: Regenerated.
12198 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12199 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12201 (func_calc_desc): Add mpfr_f_11 union field.
12202 (test_functions): Add sincos.
12203 (calc_generic_results): Handle mpfr_f_11.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update.
12205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12207 2013-12-19 Andreas Schwab <schwab@suse.de>
12209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12211 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12212 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12213 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12215 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12217 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12223 round-to-nearest mode when using frndint.
12224 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12225 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12228 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12230 * math/auto-libm-test-out: Regenerated.
12231 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12232 (TEST_COND_x86): Likewise.
12233 (expm1_tonearest_test_data): New array.
12234 (expm1_test_tonearest): New function.
12235 (expm1_towardzero_test_data): New array.
12236 (expm1_test_towardzero): New function.
12237 (expm1_downward_test_data): New array.
12238 (expm1_test_downward): New function.
12239 (expm1_upward_test_data): New array.
12240 (expm1_test_upward): New function.
12241 (main): Run the new test functions.
12242 * sysdeps/i386/fpu/libm-test-ulps: Update.
12243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12245 * include/features.h: Update comment documenting feature test
12246 macros. Mention _DEFAULT_SOURCE in comment.
12247 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12248 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12249 _BSD_SOURCE and _SVID_SOURCE.
12250 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12251 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12252 !_SVID_SOURCE]: Likewise.
12253 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12254 (__USE_POSIX_IMPLICITLY): Define.
12255 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12256 (_POSIX_SOURCE): Undefine and redefine.
12257 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12258 (_POSIX_C_SOURCE): Likewise.
12259 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12260 (Feature Test Macros): Update documentation of default features.
12262 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12264 * benchtests/Makefile: Add bench-strtok.
12265 * benchtests/bench-strtok.c: New file: strtok benchtest.
12267 2013-12-19 Allan McRae <allan@archlinux.org>
12269 * manual/install.texi: Suppress menu for plain text output.
12270 * INSTALL: Regenerated.
12272 2013-12-18 Brooks Moses <bmoses@google.com>
12275 * misc/getauxval.c: Include errno.h.
12276 (__getauxval): Set errno to ENOENT if the requested type is not
12278 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12279 don't declare with __attribute_const__.
12280 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12281 * manual/startup.texi: Document that getauxval sets errno.
12283 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12285 * math/auto-libm-test-in: Add tests of jn and yn.
12286 * math/auto-libm-test-out: Regenerated.
12287 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12288 (yn_test_data): Likewise.
12289 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12291 (func_calc_desc): Add mpfr_if_f union field.
12292 (FUNC_mpfr_if_f): New macro.
12293 (test_functions): Add jn and yn.
12294 (calc_generic_results): Assert type of second input for
12295 mpfr_ff_f. Handle mpfr_if_f.
12296 (output_for_one_input_case): Disable all checking for arguments
12297 fitting floating-point types in case of an integer argument.
12298 * sysdeps/i386/fpu/libm-test-ulps: Update.
12299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12302 Don't expect fegetround reference in libm.so.
12304 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12306 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12307 $(config-cflags-nofma).
12309 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12311 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12312 * math/auto-libm-test-out: Regenerated.
12315 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12316 to determine exponent and adjust argument to have exponent of -1.
12317 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12319 * math/auto-libm-test-out: Regenerated.
12320 * sysdeps/i386/fpu/libm-test-ulps: Update.
12321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12323 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12325 * manual/probes.texi: Remove cases when per-thread arenas are
12328 2013-12-18 Andreas Schwab <schwab@suse.de>
12330 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12331 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12332 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12333 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12334 * sysdeps/i386/i686/multiarch/Makefile: Update.
12335 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12337 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12339 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12340 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12342 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12345 Support TZ transition times < 00:00:00.
12346 This is needed for version-3 tz-format files; it supports time
12347 stamps past 2037 for America/Godthab (the only entry in the tz
12348 database for which this change is relevant).
12349 * manual/time.texi (TZ Variable): Document transition times
12350 from -167:59:59 through -00:00:01.
12351 * time/tzset.c (tz_rule): Time of day is now signed.
12352 (__tzset_parse_tz): Parse negative time of day.
12354 Document TZ transition times >= 25:00:00.
12355 * manual/time.texi (TZ Variable): Document transition times from
12356 25:00:00 through 167:59:59. These are already supported, and this
12357 support will help with version-3 tz-format files.
12359 * manual/time.texi (TZ Variable): Modernize North America example
12360 to reflect current (i.e., 2007-and-later) daylight saving rules.
12362 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12364 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12366 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12367 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12370 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12371 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12372 * sysdeps/unix/bsd/clock.c: Likewise.
12373 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12374 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12375 * sysdeps/unix/bsd/init-posix.c: Likewise.
12376 * sysdeps/unix/bsd/poll.c: Likewise.
12377 * sysdeps/unix/bsd/ptsname.c: Likewise.
12378 * sysdeps/unix/bsd/seekdir.c: Likewise.
12379 * sysdeps/unix/bsd/setegid.c: Likewise.
12380 * sysdeps/unix/bsd/seteuid.c: Likewise.
12381 * sysdeps/unix/bsd/setgid.c: Likewise.
12382 * sysdeps/unix/bsd/setrgid.c: Likewise.
12383 * sysdeps/unix/bsd/setruid.c: Likewise.
12384 * sysdeps/unix/bsd/setsid.c: Likewise.
12385 * sysdeps/unix/bsd/setuid.c: Likewise.
12386 * sysdeps/unix/bsd/sigaction.c: Likewise.
12387 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12388 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12389 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12390 * sysdeps/unix/bsd/telldir.c: Likewise.
12391 * sysdeps/unix/bsd/times.c: Likewise.
12392 * sysdeps/unix/bsd/usleep.c: Likewise.
12394 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12395 ($(objpfx)libbsd-compat.a): Remove rule.
12397 * include/features.h (__FAVOR_BSD): Do not define.
12398 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12399 features conflicting with POSIX.
12400 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12401 (_BSD_SOURCE): Remove description of not being a subset of other
12402 feature test macros.
12403 * manual/job.texi (getpgrp): Do not document BSD version.
12404 (getpgid): Do not document by reference to BSD getpgrp.
12405 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12406 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12407 * signal/signal.h [__FAVOR_BSD]: Likewise.
12408 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12409 instead of making contents conditional on [__FAVOR_BSD].
12410 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12412 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12416 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12419 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12420 values below 2**-450, not 2**-500.
12421 * math/auto-libm-test-in: Don't allow spurious underflow from
12423 * math/auto-libm-test-out: Regenerated.
12427 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12428 values of ha and hb and sort them after adjusting subnormal
12430 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12432 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12433 values of ea and eb and sort them after adjusting subnormal
12435 * math/auto-libm-test-in: Do not expect some hypot tests of
12436 subnormals to fail. Add more hypot tests.
12437 * math/auto-libm-test-out: Regenerated.
12439 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12442 * sysdeps/sh/s_fma.c: New file.
12443 * sysdeps/sh/s_fmaf.c: New file.
12444 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12446 * sysdeps/sh/Implies: Add sh/soft-fp.
12448 2013-12-16 Roland McGrath <roland@hack.frob.com>
12450 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12451 level of indirection to members `objname', `errstring', `malloced'.
12452 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12453 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12454 it as the __longjmp argument (just pass 1 instead).
12455 (_dl_catch_error): Initialize C with argument pointers and address of
12456 volatile local ERRCODE rather than copying values out of C at return.
12458 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12460 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12461 * math/auto-libm-test-out: Regenerated.
12462 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12463 (hypot_test_data): Likewise.
12464 (pow_test_data): Likewise.
12465 (pow_tonearest_test_data): Likewise.
12466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12468 (func_calc_desc): Add mpfr_ff_f union field.
12469 (FUNC_mpfr_ff_f): New macro.
12470 (test_functions): Add atan2, hypot and pow.
12471 (special_fill_min): New function.
12472 (special_fill_minus_min): Likewise.
12473 (special_fill_min_subnorm): Likewise.
12474 (special_fill_minus_min_subnorm): Likewise.
12475 (special_real_inputs): Add min, -min, min_subnorm and
12477 (calc_generic_results): Handle mpfr_ff_f.
12478 * sysdeps/i386/fpu/libm-test-ulps: Update.
12479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12481 2013-12-16 Will Newton <will.newton@linaro.org>
12483 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12484 (Aligned Memory Blocks): Add documentation for aligned_alloc
12485 and suggest it as an alternative to posix_memalign.
12486 (Hooks for Malloc): Document __memalign_hook is also called
12487 for aligned_alloc. (Summary of Malloc): Add summary for
12488 aligned alloc. Document __memalign_hook is also called
12491 2013-12-16 Will Newton <will.newton@linaro.org>
12493 * manual/memory.texi (Malloc Examples): Clarify default
12494 alignment documentation. Suggest posix_memalign rather
12495 than memalign or valloc.
12496 (Aligned Memory Blocks): Remove suggestion to use memalign
12497 or valloc. Remove obsolete comment about BSD.
12498 Document memalign errno values and mark the function obsolete.
12499 Document posix_memalign returned error codes. Mark valloc
12500 as obsolete. (Hooks for Malloc): __memalign_hook is also
12501 called for posix_memalign and valloc.
12502 (Summary of Malloc): Add posix_memalign to function summary.
12503 __memalign_hook is also called for posix_memalign and valloc.
12505 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12507 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12511 (sloww): Use mynumber union. Expand ternary operator into
12512 if-else statements.
12513 (cslow): use mynumber union.
12515 2013-12-16 Allan McRae <allan@archlinux.org>
12517 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12518 * configure: Regenerated.
12520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12523 * configure.ac: Added --enable-maintainer-mode. Check for
12524 autoconf when enabled.
12525 * configure: Regenerated.
12527 * nscd/nscd.service: New file.
12528 * nscd/nscd.tmpfiles: New file.
12530 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12533 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12534 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12535 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12536 (strstr): Add __strstr_sse2_unaligned ifunc.
12537 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12538 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12539 (strcasestr): Remove __strcasestr_sse42 ifunc.
12540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12544 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12546 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12547 * sysdeps/sh/bits/fenv.h: ... here.
12548 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12550 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12552 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12555 hypotf multiarch implementations.
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12559 multiarch hypot for PPC64.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12563 multiarch hypotf for PPC64.
12565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12566 modff multiarch implementations.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12570 multiarch modf for PPC64.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12574 multiarch modff for PPC64.
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12577 and logl multiarch implementations.
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12581 multiarch logb for PPC64.
12582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12585 multiarch logb for PPC64.
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12589 multiarch logb for PPC64.
12591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12592 isinff multiarch implementation.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12597 multiarch isinf for PPC64.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12601 multiarch isinff for PPC64.
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12604 finitef multiarch implementation.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12609 multiarch finite for PPC64.
12610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12613 multiarch finitef for PPC64.
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12616 lrint multiarch implementation.
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12621 multiarch llrint for PPC64.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12623 multiarch lrint for PPC64.
12625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12626 copysignf multiarch implementation.
12627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12632 multiarch copysign for PPC64.
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12634 multiarch copysignf for PPC64.
12636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12637 multiarch implementation.
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12646 multiarch llround for PPC64.
12647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12648 multiarch trunc for PPC64.
12649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12650 multiarch truncf for PPC64.
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12653 multiarch implementation.
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12662 multiarch llround for PPC64.
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12664 multiarch round for PPC64.
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12666 multiarch roundf for PPC64.
12668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12669 multiarch implementation.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12678 multiarch llround for PPC64.
12679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12680 multiarch floor for PPC64.
12681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12682 multiarch floorf for PPC64.
12684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12685 multiarch implementation.
12686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12694 multiarch llround for PPC64.
12695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12696 multiarch ceil for PPC64.
12697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12698 multiarch ceilf for PPC64.
12700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12701 multiarch implementation.
12702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12709 multiarch llround for PPC64.
12710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12711 multiarch lround for PPC64.
12713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12714 multiarch implementation.
12715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12722 multiarch isnan for PPC64.
12723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12724 multiarch isnanf for PPC64.
12726 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12727 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12728 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12729 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12730 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12733 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12734 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12739 multiarch implementations.
12740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12741 (__libc_ifunc_impl_list): Likewise.
12742 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12743 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12745 multiarch stpcpy for PPC64.
12747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12748 multiarch implementations.
12749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12750 (__libc_ifunc_impl_list): Likewise.
12751 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12752 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12753 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12754 multiarch strcpy for PPC64.
12756 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12757 redefine function name.
12758 (_wordcopy_fwd_dest_aligned): Likewise.
12759 (_wordcopy_bwd_aligned): Likewise.
12760 (_wordcopy_bwd_dest_aligned): Likewise.
12761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12762 multiarch implementations.
12763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12764 (__libc_ifunc_impl_list): Likewise.
12765 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12769 multiarch wcscpy for PPC64.
12771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12772 multiarch implementations.
12773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12774 (__libc_ifunc_impl_list): Likewise.
12775 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12779 multiarch wcscpy for PPC64.
12781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12782 multiarch implementations.
12783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12784 (__libc_ifunc_impl_list): Likewise.
12785 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12789 multiarch wcsrchr for PPC64.
12791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12792 multiarch implementations.
12793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12794 (__libc_ifunc_impl_list): Likewise.
12795 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12796 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12797 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12798 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12799 multiarch wcschr for PPC64.
12801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12802 multiarch implementations.
12803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12804 (__libc_ifunc_impl_list): Likewise.
12805 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12807 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12808 multiarch strchrnul for PPC64.
12810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12813 (__libc_ifunc_impl_list): Likewise.
12814 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12815 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12816 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12817 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12823 (__libc_ifunc_impl_list): Likewise.
12824 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12825 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12827 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12831 multiarch implementations.
12832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12833 (__libc_ifunc_impl_list): Likewise.
12834 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12835 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12836 strncasecmp for PPC64.
12837 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12838 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12839 multiarch strncasecmp_l for PPC64.
12841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12842 multiarch implementations.
12843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12844 (__libc_ifunc_impl_list): Likewise.
12845 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12847 multiarch strcasecmp for PPC64.
12848 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12851 multiarch strcasecmp_l for PPC64.
12853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12856 (__libc_ifunc_impl_list): Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12858 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12859 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12866 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12867 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12868 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12874 (__libc_ifunc_impl_list): Likewise.
12875 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12876 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12877 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12878 rawmemrchr for PPC64.
12880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12883 (__libc_ifunc_impl_list): Likewise.
12884 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12885 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12886 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12892 (__libc_ifunc_impl_list): Likewise.
12893 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12894 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12895 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12901 (__libc_ifunc_impl_list): Likewise.
12902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12903 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12904 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12907 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12908 avoid cretion of __bzero symbol.
12909 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12911 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12913 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12916 multiarch implementations.
12917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12918 (__libc_ifunc_impl_list): Likewise.
12919 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12920 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12922 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12924 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12925 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12926 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12927 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12928 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12930 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12932 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12936 (__libc_ifunc_impl_list): Likewise.
12937 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12938 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12940 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12944 multiarch for POWER/PPC64.
12945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12946 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12953 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12956 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12957 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12958 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12960 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12961 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12962 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12963 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12964 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12965 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12966 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12967 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12968 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12969 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12970 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12979 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12983 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12985 * benchtests/Makefile (bench): Add exp2 and log2.
12986 (LDLIBS-bench-exp2): Add -lm.
12987 (LDLIBS-bench-log2): Likewise.
12988 * benchtests/exp2-inputs: New inputs file.
12989 * benchtests/log2-inputs: New inputs file.
12990 * benchtests/log-inputs: Add new inputs.
12991 * benchtests/tan-inputs: Likewise.
12993 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12995 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12997 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12998 (csloww2): ... from here.
13000 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13001 instead of structures.
13002 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13003 (POLYNOMIAL): Likewise.
13004 (TAYLOR_SLOW): Likewise.
13010 (sloww1); Likewise.
13011 (sloww2): Likewise.
13012 (bsloww1): Likewise.
13013 (bsloww2): Likewise.
13014 (cslow2): Likewise.
13015 (csloww): Likewise.
13016 (csloww1): Likewise.
13017 (csloww2): Likewise.
13019 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13021 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13022 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13023 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13024 * malloc/hooks.c (realloc_check): Likewise.
13026 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13027 * malloc/arena.c: Remove PER_THREAD conditional.
13028 [!PER_THREAD]: Remove code.
13029 (ptmalloc_unlock_all2): Likewise.
13030 (ptmalloc_init): Likewise.
13031 (_int_new_arena): Likewise.
13032 (arena_get2): Likewise.
13033 * malloc/hooks.c (__malloc_get_state): Likewise.
13034 (__malloc_set_state): Likewise.
13035 * malloc/malloc.c: Likewise.
13036 (struct malloc_state): Likewise.
13037 (struct malloc_par): Likewise.
13038 (__libc_realloc): Likewise.
13039 (__libc_mallopt): Likewise.
13041 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13043 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13045 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13047 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13048 macro to a function. Check for zero perturb_byte.
13049 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13051 * malloc/malloc.c: (force_reg): Remove.
13052 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13053 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13054 force_reg by atomic_forced_read.
13055 * malloc/arena.c (ptmalloc_init): Likewise.
13056 * malloc/hooks.c (top_check): Likewise.
13058 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13062 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13066 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13068 * math/auto-libm-test-in: Add tests of lgamma.
13069 * math/auto-libm-test-out: Regenerated.
13070 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13071 (M_LOG_2_SQRT_PIl): Likewise.
13072 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13075 (func_calc_desc): Add mpfr_f_f1 union field.
13076 (ARGS1): New macro.
13084 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13085 (test_functions): Add lgamma.
13086 (calc_generic_results): Handle mpfr_f_f1.
13087 * sysdeps/i386/fpu/libm-test-ulps: Update.
13088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13090 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13093 __mpn_add_n for PowerPC64/POWER7.
13094 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13095 __mpn_sub_n for PowerPC64/POWER7.
13097 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13098 __mpn_addmul_1 for PowerPC64.
13099 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13100 __mpn_submul_1 for PowerPC64.
13101 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13103 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13106 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13109 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13111 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13115 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13116 add multiarch folders.
13117 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13118 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13119 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13120 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13121 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13122 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13123 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13124 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13125 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13126 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13127 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13136 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13142 multiarch __ieee754_hypot for PowerPC32.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13148 multiarch __ieee754_hypotf for PowerPC32.
13150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13151 long_double_symbol only if __logbl is defined.
13152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13153 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13155 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13157 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13159 path for implementation.
13160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13161 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13163 logb, and logbl multiarch implementations for PowerPC32.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13169 multiarch logb for PowerPC32.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13175 multiarch logbf for PowerPC32.
13176 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13180 multiarch logbl implementation for PowerPC32.
13182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13183 and modff multiarch implementations.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13189 multiarch modf for PowerPC32.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13195 multiarch modff for PowerPC32.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13198 and lrintf multiarch implementations.
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13204 multiarch lrint for PowerPC32.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13206 file: multiarch lrintf for PowerPC32.
13208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13209 and lroundf multiarch implementations.
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13217 multiarch lround for PowerPC32.
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13219 file: multiarch lroundf for PowerPC32.
13221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13222 copysign and copysignf multiarch implementations.
13223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13228 file: multiarch copysign for PowerPC32.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13230 file: multiarch copysignf for PowerPC32.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13233 and truncf multiarch implementations.
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13239 multiarch trunc for PowerPC32.
13240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13245 multiarch truncf for PowerPC32.
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13248 and roundf multiarch implementations.
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13254 multiarch round for PowerPC32.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13260 multiarch roundf for PowerPC32.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13263 and floorf multiarch implementations.
13264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13269 multiarch floor for PowerPC32.
13270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13275 multiarch floorf for PowerPC32.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13278 and ceilf multiarch implementations.
13279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13284 multiarch ceil for PowerPC32.
13285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13290 multiarch ceilf for PowerPC32.
13292 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13294 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13295 FINITEF is defined.
13296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13297 and finitef multiarch implementations.
13298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13303 multiarch finite for PowerPC32.
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13307 file: multiarch finitef for PowerPC32.
13309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13310 and isinff multiarch implementations.
13311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13316 multiarch isinf for PowerPC32.
13317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13320 multiarch isinff for PowerPC32.
13322 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13323 alias when __isnan is defined.
13324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13325 and isnanf multiarch implementations.
13326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13335 multiarch isnan for PowerPC32.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13341 multiarch isnanf for PowerPC32.
13343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13344 and sqrtf multiarch implementations.
13345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13350 multiarch sqrt for PowerPC32.
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13356 multiarch sqrtf for PowerPC32.
13358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13359 and llroundf multiarch implementations.
13360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13367 file: multiarch llround for PowerPC32.
13368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13369 file: multiarch llroundf for PowerPC32.
13371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13372 multiarch PowerPC32 fpu implementations.
13373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13378 multiarch llrint for PowerPC32.
13379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13395 multiarch wordcopy for PPC32.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13399 (__libc_ifunc_impl_list): Likewise.
13400 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13401 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13402 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13403 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13404 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13405 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13407 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13415 multiarch wcscpy for PPC32.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13419 (__libc_ifunc_impl_list): Likewise.
13420 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13421 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13422 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13423 sysdeps/powerpc/power6/wcscpy.c.
13425 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13433 multiarch wcsrchr for PPC32.
13434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13437 (__libc_ifunc_impl_list): Likewise.
13438 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13439 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13440 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13441 sysdeps/powerpc/power6/wcsrchr.c.
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13449 multiarch wcschr for PPc32.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13453 (__libc_ifunc_impl_list): Likewise.
13454 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13455 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13456 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13457 sysdeps/powerpc/power6/wcschr.c.
13459 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13463 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13464 file: multiarch strchr for PPC32.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13468 (__libc_ifunc_impl_list): Likewise.
13470 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13472 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13477 multiarch strchrnul for PPC32.
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13481 (__libc_ifunc_impl_list): Likewise.
13483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13486 multiarch strncasecmp for PPC32.
13487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13490 multiarch strncasecmp_l for PPC32.
13491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13492 strncasecmp multiarch objects.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13494 (__libc_ifunc_impl_list): Likewise.
13496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13499 multiarch strncasecmp for PPC32.
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13503 multiarch strcasecmp_l for PPC32.
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13507 (__libc_ifunc_impl_list): Likewise.
13509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13514 multiarch strncmp for PPC32.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13518 (__libc_ifunc_impl_list): Likewise.
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13521 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13528 (__libc_ifunc_impl_list): Likewise.
13530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13538 (__libc_ifunc_impl_list): Likewise.
13540 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13545 multiarch rawmemchr for PPC32.
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13549 (__libc_ifunc_impl_list): Likewise.
13551 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13556 file: memrchr multiarch for PPC32.
13557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13560 (__libc_ifunc_impl_list): Likewise.
13562 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13566 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13567 multiarch memchr for PPC32.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13571 (__libc_ifunc_impl_list): Likewise.
13573 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13574 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13579 file: multiarch mempcpy for PPC32.
13580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13583 (__libc_ifunc_impl_list): Likewise.
13585 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13586 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13589 multiarch bzero for PPC32.
13590 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13595 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13596 file: multiarch memset for PPC32.
13597 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13599 memset multiarch objects.
13600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13601 (__libc_ifunc_impl_list): Likewise.
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13608 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13612 (__libc_ifunc_impl_list): Likewise.
13614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13623 multiarch memcpy for PPC32.
13624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13627 (__libc_ifunc_impl_list): Likewise.
13629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13630 support multiarch for POWER/PPC32.
13631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13633 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13635 Implies file to make multiarch folder appers before the fpu and
13636 default folder for power4 configuration.
13638 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13640 * scripts/bench.pl: Append volatile keyword to type.
13642 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13644 * sysdeps/sh/sotruss-lib.c: New file.
13645 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13647 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13651 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13654 * math/w_tgamma.c: Include <errno.h>.
13655 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13656 * math/w_tgammaf.c: Include <errno.h>.
13657 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13658 * math/w_tgammal.c: Include <errno.h>.
13659 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13660 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13661 underflow. Add more tgamma tests.
13662 * math/auto-libm-test-out: Regenerated.
13663 * sysdeps/i386/fpu/libm-test-ulps: Update.
13664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13666 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13667 sin, sinh, tan, tanh, tgamma, y0 and y1.
13668 * math/auto-libm-test-out: Regenerated.
13669 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13670 (TEST_COND_x86): Likewise.
13671 (M_E2l): Remove macro.
13673 (M_2_SQRT_PIl): Likewise.
13674 (M_SQRT_PIl): Likewise.
13675 (M_1_DIV_El): Likewise.
13676 (log_test_data): Use AUTO_TESTS_f_f.
13677 (log10_test_data): Likewise.
13678 (log1p_test_data): Likewise.
13679 (log2_test_data): Likewise.
13680 (sin_test_data): Likewise.
13681 (sin_tonearest_test_data): Likewise.
13682 (sin_towardzero_test_data): Likewise.
13683 (sin_downward_test_data): Likewise.
13684 (sin_upward_test_data): Likewise.
13685 (sinh_test_data): Likewise.
13686 (sinh_tonearest_test_data): Likewise.
13687 (sinh_towardzero_test_data): Likewise.
13688 (sinh_downward_test_data): Likewise.
13689 (sinh_upward_test_data): Likewise.
13690 (tan_test_data): Likewise.
13691 (tan_tonearest_test_data): Likewise.
13692 (tan_towardzero_test_data): Likewise.
13693 (tan_downward_test_data): Likewise.
13694 (tan_upward_test_data): Likewise.
13695 (tanh_test_data): Likewise.
13696 (tgamma_test_data): Likewise.
13697 (y0_test_data): Likewise.
13698 (y1_test_data): Likewise.
13699 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13700 (special_real_inputs): Add pi/4.
13701 * sysdeps/i386/fpu/libm-test-ulps: Update.
13702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13704 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13706 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13707 "longjmp_target" static probes.
13708 (__longjmp): Rename to __longjmp_symbol.
13709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13710 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13711 on which longjmp to generate.
13712 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13715 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13716 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13717 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13718 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13719 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13720 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13722 __longjmp_symbol based on which __longjmp to generate.
13723 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13725 (setjmp): Rename to setjmp_symbol.
13726 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13727 (_setjmp): Rename to _setjmp_symbol.
13728 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13729 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13730 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13731 which setjmp to generate.
13732 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13733 "longjmp_target" static probes.
13735 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13737 * benchtests/README: Add note about output arguments.
13738 * benchtests/bench-sincos.c: Remove file.
13739 * benchtests/sincos-inputs: New file.
13740 * scripts/bench.pl: Identify output arguments and define
13741 static variables for them.
13743 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13746 * Makefile (INSTALL): Add install-plain.texi as the primary
13748 * manual/install-plain.texi: New file.
13749 * manual/install.texi: Include node directive only for
13750 non-plaintext output.
13752 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13754 * stdlib/longlong.h: Update from GCC.
13758 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13759 * math/w_j0f.c (y0f): Likewise.
13760 * math/w_j0l.c (__y0l): Likewise.
13761 * math/w_j1.c (y1): Likewise.
13762 * math/w_j1f.c (y1f): Likewise.
13763 * math/w_j1l.c (__y1l): Likewise
13764 * math/w_jn.c (yn): Likewise.
13765 * math/w_jnf.c (ynf): Likewise.
13766 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13767 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13768 value for Bessel function domain errors outside _SVID_ mode.
13769 Adjust sign of return value for yn (negative integer, 0).
13770 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13771 by zero in return for negative x and set sign appropriately for
13773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13774 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13775 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13776 expectations in error cases.
13777 (y1_test_data): Likewise.
13778 (yn_test_data): Likewise.
13779 * sysdeps/i386/fpu/libm-test-ulps: Update.
13780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13784 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13785 "64" to "64-v1". Add "64-v2".
13786 (abi-64-options): Rename to ...
13787 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13788 (abi-64-condition): Rename to ...
13789 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13790 (abi-64-ld-soname): Rename to ...
13791 (abi-64-v1-ld-soname): ... this.
13792 (abi-64-v2-options): Define.
13793 (abi-64-v2-condition): Likewise.
13794 (abi-64-v2-ld-soname): Likewise.
13795 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13796 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13801 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13802 Alan Modra <amodra@gmail.com>
13804 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13805 New versions for use with the ELFv2 ABI.
13806 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13807 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13809 (struct La_ppc64v2_retval): Likewise.
13810 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13811 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13812 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13813 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13814 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13816 Do not save or restore CR.
13817 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13818 (_dl_profile_resolve): Do no save or restore CR. Support extended
13819 return values for ELFv2 ABI. Fix location of FPR return registers.
13820 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13821 updated values for _CALL_ELF == 2.
13822 (La_regs, La_retval, int_retval): Likewise.
13824 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13826 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13827 (FRAME_MIN_SIZE_PARM): Likewise.
13828 (FRAME_BACKCHAIN): Likewise.
13829 (FRAME_CR_SAVE): Likewise.
13830 (FRAME_LR_SAVE): Likewise.
13831 (FRAME_TOC_SAVE): Likewise.
13832 (FRAME_PARM_SAVE): Likewise.
13833 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13834 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13835 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13836 (call_mcount_parm_offset): New macro.
13837 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13838 (PROF): Use symbolic stack frame offsets.
13839 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13840 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13841 Redefine in terms of FRAME_MIN_SIZE.
13842 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13843 (_dl_profile_resolve): Likewise. Update comment.
13844 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13845 symbols stack frame offsets.
13846 (__sigsetjmp): Likewise.
13847 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13848 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13849 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13850 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13853 (FRAME_BACKCHAIN): Remove.
13854 (FRAME_CR_SAVE): Likewise.
13855 (FRAME_LR_SAVE): Likewise.
13856 (FRAME_COMPILER_DW): Likewise.
13857 (FRAME_LINKER_DW): Likewise.
13858 (FRAME_TOC_SAVE): Likewise.
13859 (FRAME_PARM_SAVE): Likewise.
13860 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13861 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13862 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13864 (CHECK_SP): Use symbolic stack frame offsets.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13866 zone" instead of caller's parameter save area for temp storage.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13868 Likewise. Also, use symbolic stack frame offsets.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13870 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13871 our own stack frame instead of the caller's.
13872 (__socket): Use symbolic stack frame offsets.
13874 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13875 Alan Modra <amodra@gmail.com>
13877 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13879 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13880 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13881 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13883 (elf_machine_fixup_plt): Call it.
13884 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13886 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13888 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13889 r2 before calling target.
13891 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13892 Alan Modra <amodra@gmail.com>
13894 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13895 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13896 versions of macros to support ELFv2 ABI.
13897 (LOCALENTRY): New macro.
13898 (ENTRY, EALIGN): Use it.
13899 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13900 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13901 fall through into ENTRY entry point.
13902 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13903 Only define if _CALL_ELF != 2.
13905 (elf_machine_matches_host): Verify ABI version matches.
13906 (RTLD_START): Use LOCALENTRY.
13907 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13908 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13909 (PLT_ENTRY_WORDS): New macro.
13910 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13911 (elf_machine_runtime_setup): Support ELFv2 ABI.
13912 (elf_machine_fixup_plt): Likewise.
13913 (elf_machine_plt_conflict): Likewise.
13914 (resolve_ifunc): Likewise.
13915 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13916 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13919 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13921 (makecontext): Support ELFv2 ABI.
13922 * elf/elf.h (EF_PPC64_ABI): Define.
13924 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13926 * sysdeps/powerpc/powerpc64/sysdep.h
13927 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13928 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13929 (ENTRY) [ASSEMBLER]: ... but instead here ...
13930 (EALIGN) [ASSEMBLER]: ... and here.
13931 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13932 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13933 (ENTRY_2) [!ASSEMBLER]: Use it.
13934 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13935 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13936 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13937 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13938 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13940 Use PPC64_LOAD_FUNCPTR.
13942 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13944 2013-12-04 Alan Modra <amodra@gmail.com>
13946 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13947 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13948 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13949 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13952 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13953 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13954 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13955 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13956 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13958 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13961 (__makecontext): Fix incorrect CFI when backtracing out of
13962 context created via makecontext.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13964 (__setcontext): Fix incorrect CFI during switch to new context.
13965 (__novec_setcontext): Likewise.
13967 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13970 * time/strptime_l.c (__strptime_internal): Allow modifiers
13972 * time/tst-strptime.c (day_tests): Add testcase.
13974 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 * scripts/bench.pl: Skip over blank lines.
13978 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13981 * manual/time.texi (Calendar Time): Clarify what timezone functions
13984 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13988 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13990 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13992 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13993 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13994 * debug/memset_chk.c (__memset_chk): Likewise.
13995 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13996 * debug/strncpy_chk.c: Likewise.
13998 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14002 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14003 (__ieee754_exp): For possibly underflowing results, check size of
14004 result and force underflow exception if required.
14005 * math/auto-libm-test-in: Add more tests of exp.
14006 * math/auto-libm-test-out: Regenerated.
14007 * sysdeps/i386/fpu/libm-test-ulps: Update.
14008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14011 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14012 * math/w_exp2f.c (__exp2f): Likewise.
14013 * math/w_exp2l.c (__exp2l): Likewise.
14014 * math/auto-libm-test-in: Do not allow missing errno on exp2
14016 * math/auto-libm-test-out: Regenerated.
14018 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14021 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14022 handle filename validation.
14023 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14026 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14029 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14030 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14031 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14033 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14035 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14037 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14038 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14039 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14040 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14041 Add more erfc tests.
14042 * math/auto-libm-test-out: Regenerated.
14043 * sysdeps/i386/fpu/libm-test-ulps: Update.
14044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14046 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14047 exp2, expm1, j0 and j1.
14048 * math/auto-libm-test-out: Regenerated.
14049 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14050 (erfc_test_data): Likewise.
14051 (exp_test_data): Likewise.
14052 (exp_tonearest_test_data): Likewise.
14053 (exp_towardzero_test_data): Likewise.
14054 (exp_downward_test_data): Likewise.
14055 (exp_upward_test_data): Likewise.
14056 (exp10_test_data): Likewise.
14057 (exp2_test_data): Likewise.
14058 (expm1_test_data): Likewise.
14059 (j0_test_data): Likewise.
14060 (j1_test_data): Likewise.
14061 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14062 (input_flag_type): Add flag_xfail_rounding.
14063 (input_flags): Add xfail-rounding.
14064 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14065 (output_for_one_input_case): Handle flag_xfail_rounding.
14066 * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14069 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14072 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14075 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14078 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14079 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14080 (STAP_PROBE0): New macro.
14081 (STAP_PROBE1): Likewise.
14082 (STAP_PROBE2): Likewise.
14083 (STAP_PROBE3): Likewise.
14084 (STAP_PROBE4): Likewise.
14086 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14088 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14090 2013-12-02 Steve Ellcey <sellcey@mips.com>
14092 * benchtests/Makefile (bench): Add sqrt.
14093 (LDLIBS-bench-sqrt): New.
14094 * benchtests/sqrt-input: New.
14096 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14098 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14099 (GAIH_EAI): Likewise.
14100 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14101 (gaih_inet): Likewise.
14102 (getaddrinfo): Don't use GAIH_EAI.
14104 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14105 (struct gaih): Remove definition.
14107 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14109 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14110 Use HERRNOP directly.
14112 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14116 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14118 * math/gen-auto-libm-tests.c (test_functions): Add more
14119 single-argument functions.
14120 (special_fill_pi_2): New function.
14121 (special_fill_minus_pi_2): Likewise.
14122 (special_fill_pi_6): Likewise.
14123 (special_fill_minus_pi_6): Likewise.
14124 (special_fill_pi_3): Likewise.
14125 (special_fill_2pi_3): Likewise.
14126 (special_fill_e): Likewise.
14127 (special_fill_1_e): Likewise.
14128 (special_fill_e_minus_1): Likewise.
14129 (special_real_inputs): Add more special inputs.
14130 (output_for_one_input_case): Do not require ERANGE on underflow to
14131 zero if round-to-nearest result does not underflow to zero, unless
14132 exact results required.
14133 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14134 atan, atanh, cbrt, cos and cosh.
14135 * math/auto-libm-test-out: Regenerated.
14136 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14137 (acos_tonearest_test_data): Likewise.
14138 (acos_towardzero_test_data): Likewise.
14139 (acos_downward_test_data): Likewise.
14140 (acos_upward_test_data): Likewise.
14141 (acosh_test_data): Likewise.
14142 (asin_test_data): Likewise.
14143 (asin_tonearest_test_data): Likewise.
14144 (asin_towardzero_test_data): Likewise.
14145 (asin_upward_test_data): Likewise.
14146 (asinh_test_data): Likewise.
14147 (atan_test_data): Likewise.
14148 (atanh_test_data): Likewise.
14149 (cbrt_test_data): Likewise.
14150 (cos_test_data): Likewise.
14151 (cos_tonearest_test_data): Likewise.
14152 (cos_towardzero_test_data): Likewise.
14153 (cos_downward_test_data): Likewise.
14154 (cos_upward_test_data): Likewise.
14155 (cosh_test_data): Likewise.
14156 (cosh_tonearest_test_data): Likewise.
14157 (cosh_towardzero_test_data): Likewise.
14158 (cosh_downward_test_data): Likewise.
14159 (cosh_upward_test_data): Likewise.
14160 * sysdeps/i386/fpu/libm-test-ulps: Update.
14161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14163 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14166 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14167 * math/w_exp10f.c (__exp10f): Likewise.
14168 * math/w_exp10l.c (__exp10l): Likewise.
14169 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14170 errno settings in existing tests.
14173 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14174 precision control set to double precision.
14175 * sysdeps/i386/fpu/w_sqrt.c: New file.
14176 * math/auto-libm-test-in: Add more tests.
14177 * math/auto-libm-test-out: Update.
14179 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14180 (sqrt_test_tonearest): New function.
14181 (sqrt_towardzero_test_data): New variable.
14182 (sqrt_test_towardzero): New function.
14183 (sqrt_downward_test_data): New variable.
14184 (sqrt_test_downward): New function.
14185 (sqrt_upward_test_data): New variable.
14186 (sqrt_test_upward): New function.
14187 (main): Call the new functions.
14189 * math/gen-auto-libm-tests.c: New file.
14190 * math/auto-libm-test-in: Likewise.
14191 * math/auto-libm-test-out: New generated file.
14192 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14194 (%beautify): Add generated representations of zero.
14195 (top level): Set $auto_input and call parse_auto_input.
14196 (beautify): Remove trailing "f" from hex float constants.
14197 (parse_args): Handle XFAIL_TEST.
14198 (convert_condition): New function.
14199 (or_value): Likewise.
14200 (or_cond_value): Likewise.
14201 (generate_testfile): Handle AUTO_TESTS_* lines.
14202 (parse_auto_input): New function.
14203 * math/libm-test.inc (XFAIL_TEST): New macro.
14204 (ERRNO_UNCHANGED): Update value.
14205 (ERRNO_EDOM): Likewise.
14206 (ERRNO_ERANGE): Likewise.
14207 (IGNORE_RESULT): Likewise.
14208 (TEST_COND_flt_32): New macro.
14209 (TEST_COND_dbl_64): Likewise.
14210 (TEST_COND_ldbl_96_intel): Likewise.
14211 (TEST_COND_ldbl_96_m68k): Likewise.
14212 (TEST_COND_ldbl_128): Likewise.
14213 (TEST_COND_ldbl_128ibm): Likewise.
14214 (TEST_COND_long32): Likewise.
14215 (TEST_COND_long64): Likewise.
14216 (TEST_COND_before_rounding): Likewise.
14217 (TEST_COND_after_rounding): Likewise.
14218 (enable_test): Handle XFAIL_TEST flag.
14219 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14220 with finite results.
14221 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14222 auto-libm-test-out.
14224 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14225 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14228 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14229 __tls_get_addr_internal instead of __tls_get_offset in order to
14230 avoid GOT pointer dependency. Make rtld export
14231 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14232 __tls_get_addr since we are a __tls_get_offset platform.
14233 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14234 GOT pointer being set up before.
14235 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14237 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14239 * manual/math.texi (Errors in Math Functions): Document accuracy
14243 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14244 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14260 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14261 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14262 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14263 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14264 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14266 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14268 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14270 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14271 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14272 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14273 atomic-feupdateenv and flt-rounds.
14274 * sysdeps/powerpc/nofpu/Versions (libc): Add
14275 __atomic_feholdexcept, __atomic_feclearexcept,
14276 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14277 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14278 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14279 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14280 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14285 * manual/arith.texi (FP Exceptions): Document that exceptions may
14286 not be raised when matherr is used.
14287 (Math Error Reporting): Document overflow in directed rounding
14288 modes. Document that errno may not be set when finite values are
14289 returned on overflow. Document intent to set errno on underflow
14290 only for underflow to zero.
14293 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14294 round-to-nearest then adjust result for other rounding modes.
14295 * include/fenv.h (fegetround): Use libm_hidden_proto.
14296 * math/fegetround.c (fegetround): Use libm_hidden_def.
14297 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14298 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14299 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14300 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14302 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14303 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14304 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14305 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14307 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14310 * nss/Versions (libnss_files): Add
14311 _nss_files_gethostbyname3_r.
14312 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14314 (HOST_DB_LOOKUP): Remove macro.
14315 (_nss_files_gethostbyname_r): Implement function without the
14316 HOST_DB_LOOKUP macro.
14317 (_nss_files_gethostbyname2_r): Likewise.
14319 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14321 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14323 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14325 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14326 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14329 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14331 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14332 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14333 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14334 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14335 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14336 __fe_nomask_env_priv and attribute_hidden.
14337 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14338 (libc_feupdateenv_test_ppc): Likewise.
14339 (libc_feresetround_ppc): Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14341 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14342 compat_symbol macro.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14344 (__fe_nomask_env): Likewise.
14345 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14347 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14349 * string/Makefile: Remove ifunc tests.
14350 * string/test-string.h: Define TEST_IFUNC.
14351 * string/test-bcopy-ifunc.c: Remove.
14352 * string/test-bzero-ifunc.c: Likewise.
14353 * string/test-memccpy-ifunc.c: Likewise.
14354 * string/test-memchr-ifunc.c: Likewise.
14355 * string/test-memcmp-ifunc.c: Likewise.
14356 * string/test-memcpy-ifunc.c: Likewise.
14357 * string/test-memmem-ifunc.c: Likewise.
14358 * string/test-memmove-ifunc.c: Likewise.
14359 * string/test-mempcpy-ifunc.c: Likewise.
14360 * string/test-memrchr-ifunc.c: Likewise.
14361 * string/test-memset-ifunc.c: Likewise.
14362 * string/test-rawmemchr-ifunc.c: Likewise.
14363 * string/test-stpcpy-ifunc.c: Likewise.
14364 * string/test-stpncpy-ifunc.c: Likewise.
14365 * string/test-strcasecmp-ifunc.c: Likewise.
14366 * string/test-strcasestr-ifunc.c: Likewise.
14367 * string/test-strcat-ifunc.c: Likewise.
14368 * string/test-strchr-ifunc.c: Likewise.
14369 * string/test-strchrnul-ifunc.c: Likewise.
14370 * string/test-strcmp-ifunc.c: Likewise.
14371 * string/test-strcpy-ifunc.c: Likewise.
14372 * string/test-strcspn-ifunc.c: Likewise.
14373 * string/test-strlen-ifunc.c: Likewise.
14374 * string/test-strncasecmp-ifunc.c: Likewise.
14375 * string/test-strncat-ifunc.c: Likewise.
14376 * string/test-strncmp-ifunc.c: Likewise.
14377 * string/test-strncpy-ifunc.c: Likewise.
14378 * string/test-strnlen-ifunc.c: Likewise.
14379 * string/test-strpbrk-ifunc.c: Likewise.
14380 * string/test-strrchr-ifunc.c: Likewise.
14381 * string/test-strspn-ifunc.c: Likewise.
14382 * string/test-strstr-ifunc.c: Likewise.
14384 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14386 * benchtests/Makefile: Remove ifunc tests.
14387 * benchtests/bench-string.h: Define TEST_IFUNC.
14388 * benchtests/bench-bcopy-ifunc.c: Remove.
14389 * benchtests/bench-bzero-ifunc.c: Likewise.
14390 * benchtests/bench-memccpy-ifunc.c: Likewise.
14391 * benchtests/bench-memchr-ifunc.c: Likewise.
14392 * benchtests/bench-memcmp-ifunc.c: Likewise.
14393 * benchtests/bench-memcpy-ifunc.c: Likewise.
14394 * benchtests/bench-memmem-ifunc.c: Likewise.
14395 * benchtests/bench-memmove-ifunc.c: Likewise.
14396 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14397 * benchtests/bench-memrchr-ifunc.c: Likewise.
14398 * benchtests/bench-memset-ifunc.c: Likewise.
14399 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14400 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14401 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14402 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14403 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14404 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14405 * benchtests/bench-strcat-ifunc.c: Likewise.
14406 * benchtests/bench-strchr-ifunc.c: Likewise.
14407 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14408 * benchtests/bench-strcmp-ifunc.c: Likewise.
14409 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14410 * benchtests/bench-strcpy-ifunc.c: Likewise.
14411 * benchtests/bench-strcspn-ifunc.c: Likewise.
14412 * benchtests/bench-strlen-ifunc.c: Likewise.
14413 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14414 * benchtests/bench-strncat-ifunc.c: Likewise.
14415 * benchtests/bench-strncmp-ifunc.c: Likewise.
14416 * benchtests/bench-strncpy-ifunc.c: Likewise.
14417 * benchtests/bench-strnlen-ifunc.c: Likewise.
14418 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14419 * benchtests/bench-strrchr-ifunc.c: Likewise.
14420 * benchtests/bench-strsep-ifunc.c: Likewise.
14421 * benchtests/bench-strspn-ifunc.c: Likewise.
14422 * benchtests/bench-strstr-ifunc.c: Likewise.
14424 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14426 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14428 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14430 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14431 * rt/aio.h: Likewise.
14432 * sysdeps/gnu/bits/utmp.h: Likewise.
14433 * sysdeps/gnu/bits/utmpx.h: Likewise.
14434 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14435 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14436 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14437 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14438 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14439 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14440 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14441 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14442 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14443 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14444 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14445 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14446 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14449 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14450 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14451 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14454 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14455 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14458 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14466 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14469 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14470 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14471 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14472 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14473 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14474 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14475 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14477 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14480 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14481 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14483 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14486 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14489 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14492 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14493 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14494 (__fesetround): Remove define.
14495 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14496 rounding and exceptions handling.
14497 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14498 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14499 (__fe_nomask_env): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14501 __fegetround instead of fegetround.
14502 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14505 2013-11-21 Roland McGrath <roland@hack.frob.com>
14507 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14510 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14512 2013-11-21 Meador Inge <meadori@codesourcery.com>
14515 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14516 (encrypt_r): Likewise.
14517 * malloc/obstack.h (obstack_free): Likewise.
14518 * posix/unistd.h (encrypt): Likewise.
14520 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14522 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14523 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14524 DL_CALL_DT_FINI() that call the functions directly.
14525 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14526 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14527 * elf/dl-fini.c: Likewise.
14529 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14531 * malloc/hooks.c (memalign_check): Add alignment rounding.
14532 * malloc/malloc.c (_mid_memalign): New function.
14533 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14534 Implement by calling _mid_memalign.
14535 * manual/probes.texi (Memory Allocation Probes): Remove
14536 memory_valloc_retry and memory_pvalloc_retry.
14538 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14540 * locale/programs/locarchive.c (open_archive): Add const
14541 qualifier to ARCHIVEFNAME and copy default fname to
14545 * libio/tst-widetext.input: Rename Oriya to Odia.
14546 * locale/iso-639.def: Likewise.
14548 * manual/probes.texi (Mathematical Function Probes): Add
14549 documentation for sin, cos, asin and acos probes.
14550 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14551 (__sin32): Add slowasin probe.
14552 (__cos32): Add slowacos probe.
14553 (__mpsin): Add slowsin probe.
14554 (__mpcos): Add slowcos probe.
14556 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14559 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14560 thread-local __sim_exceptions_thread and global
14561 __sim_exceptions_global.
14562 (__sim_disabled_exceptions): Change to thread-local
14563 __sim_disabled_exceptions_thread and global
14564 __sim_disabled_exceptions_global.
14565 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14566 and global __sim_round_mode_global.
14567 (__simulate_exceptions): Use thread-local floating-point state and
14568 set global state from it as needed.
14569 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14570 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14571 __sim_round_mode_thread.
14572 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14573 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14574 and global __sim_exceptions_global.
14575 (__sim_disabled_exceptions): Change to thread-local
14576 __sim_disabled_exceptions_thread and global
14577 __sim_disabled_exceptions_global.
14578 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14579 and global __sim_round_mode_global.
14580 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14581 (SIM_SET_GLOBAL): Likewise.
14582 * sysdeps/powerpc/soft-fp/sfp-machine.h
14583 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14584 __sim_round_mode_thread.
14585 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14586 __sim_disabled_exceptions_thread.
14587 (__sim_exceptions): Change to __sim_exceptions_thread.
14588 (__sim_disabled_exceptions): Change to
14589 __sim_disabled_exceptions_thread.
14590 (__sim_round_mode): Change to __sim_round_mode_thread.
14591 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14592 thread-local floating-point state and set global state from it as
14594 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14595 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14596 (__sim_disabled_exceptions): Remove extern declaration.
14597 (feenableexcept): Use thread-local floating-point state and set
14598 global state from it as needed.
14599 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14600 extern declaration.
14601 (__sim_disabled_exceptions): Likewise.
14602 (__sim_round_mode): Likewise.
14603 (__fegetenv): Use thread-local floating-point state.
14604 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14605 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14606 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14607 floating-point state and set global state from it as needed.
14608 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14609 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14610 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14612 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14613 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14615 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14616 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14617 Use __sim_round_mode_thread.
14618 * math/test-fenv-tls.c: New file.
14619 * math/Makefile (tests): Add test-fenv-tls.
14620 ($(objpfx)test-fenv-tls): Depend on
14621 $(common-objpfx)nptl/libpthread.so.
14623 2013-11-19 Andreas Schwab <schwab@suse.de>
14625 * locale/programs/locale.c (show_info): Decode wordarray elements.
14626 * locale/categories.def (LC_MONETARY): Add element for
14627 _NL_MONETARY_CRNCYSTR.
14628 * locale/C-monetary.c (conversion_rate): New variable.
14629 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14632 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14634 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14635 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14637 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14639 * elf/Makefile (tst-auxv): New test.
14640 * elf/tst-auxv.c: New
14641 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14643 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14645 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14646 (hidden_proto): Caller changed.
14647 (hidden_tls_proto): New macro.
14648 (libc_hidden_tls_proto): Likewise.
14649 (rtld_hidden_tls_proto): Likewise.
14650 (libm_hidden_tls_proto): Likewise.
14651 (libresolv_hidden_tls_proto): Likewise.
14652 (librt_hidden_tls_proto): Likewise.
14653 (libdl_hidden_tls_proto): Likewise.
14654 (libnss_files_hidden_tls_proto): Likewise.
14655 (libnsl_hidden_tls_proto): Likewise.
14656 (libnss_nisplus_hidden_tls_proto): Likewise.
14657 (libutil_hidden_tls_proto): Likewise.
14659 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14662 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14663 (decompose_rpath): Defer expansion to fillin_rpath.
14664 (_dl_init_paths): Pass linkmap to fillin_rpath.
14666 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14668 * benchtests/Makefile: Add strsep.
14669 * benchtests/bench-strsep.c: New file: strsep benchtest.
14670 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14672 2013-11-18 Andreas Schwab <schwab@suse.de>
14674 * locale/programs/locale.c (show_info) [case byte]: Check for
14675 '\377' instead of '\177'.
14676 * locale/C-monetary.c (not_available): Always use "\377".
14677 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14678 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14679 detect unavailable sign_posn locale elements.
14680 * locale/localeconv.c (__localeconv): For grouping and
14681 mon_grouping handle "\177" and "\377" like no grouping.
14682 (INT_ELEM): New macro. Use it to set all numeric members.
14683 * locale/programs/ld-monetary.c (monetary_read)
14684 <tok_mon_grouping>: Normalize single -1 to the empty string.
14685 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14688 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14691 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14692 when we match (nil).
14693 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14695 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14697 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14698 (NO_TEST_INLINE): Update value.
14699 (ERRNO_UNCHANGED): Likewise.
14700 (ERRNO_EDOM): Likewise.
14701 (ERRNO_ERANGE): Likewise.
14702 (IGNORE_RESULT): Likewise.
14703 (check_float_internal): Check signs of NaN results if
14704 TEST_NAN_SIGN used.
14705 (check_complex): Pass TEST_NAN_SIGN flag through to second
14706 check_float_internal call.
14707 (copysign_test_data): Add tests with quiet NaNs as second
14708 argument. Use TEST_NAN_SIGN.
14709 (fabs_test_data): Add test of negative quiet NaN argument. Use
14711 (signbit_test_data): Add tests of quiet NaN argument.
14712 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14714 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14716 (parse_args): Handle function results specified as IGNORE.
14717 * math/libm-test.inc (IGNORE_RESULT): New macro.
14718 (check_float_internal): Do not check numerical result if flag
14720 (check_complex): Pass through IGNORE_RESULT to second
14721 check_float_internal call.
14722 (check_int): Do not check numerical result if flag IGNORE_RESULT
14724 (check_long): Likewise.
14725 (check_bool): Likewise.
14726 (check_longlong): Likewise.
14727 (lrint_test_data): Add tests of infinite and NaN arguments.
14728 (lrint_tonearest_test_data): Likewise.
14729 (lrint_towardzero_test_data): Likewise.
14730 (lrint_downward_test_data): Likewise.
14731 (lrint_upward_test_data): Likewise.
14732 (llrint_test_data): Likewise.
14733 (llrint_tonearest_test_data): Likewise.
14734 (llrint_towardzero_test_data): Likewise.
14735 (llrint_downward_test_data): Likewise.
14736 (llrint_upward_test_data): Likewise.
14737 (lround_test_data): Likewise.
14738 (llround_test_data): Likewise.
14740 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14741 (ERRNO_UNCHANGED): Update value.
14742 (ERRNO_EDOM): Likewise.
14743 (ERRNO_ERANGE): Likewise.
14744 (NO_TEST_INLINE_FLOAT): New macro.
14745 (NO_TEST_INLINE_DOUBLE): Likewise.
14746 (enable_test): New function.
14747 (RUN_TEST_f_f): Check enable_test before running test.
14748 (RUN_TEST_2_f): Likewise.
14749 (RUN_TEST_fff_f): Likewise.
14750 (RUN_TEST_c_f): Likewise.
14751 (RUN_TEST_f_f1): Likewise.
14752 (RUN_TEST_fF_f1): Likewise.
14753 (RUN_TEST_fI_f1): Likewise.
14754 (RUN_TEST_ffI_f1): Likewise.
14755 (RUN_TEST_c_c): Likewise.
14756 (RUN_TEST_cc_c): Likewise.
14757 (RUN_TEST_f_i): Likewise.
14758 (RUN_TEST_f_i_tg): Likewise.
14759 (RUN_TEST_ff_i_tg): Likewise.
14760 (RUN_TEST_f_b): Likewise.
14761 (RUN_TEST_f_b_tg): Likewise.
14762 (RUN_TEST_f_l): Likewise.
14763 (RUN_TEST_f_L): Likewise.
14764 (RUN_TEST_fFF_11): Likewise.
14765 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14767 (cosh_test_data): Likewise.
14768 (exp_test_data): Likewise.
14769 (expm1_test_data): Likewise.
14770 (hypot_test_data): Likewise.
14771 (pow_test_data): Likewise.
14772 (sinh_test_data): Likewise.
14773 (tanh_test_data): Likewise.
14774 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14777 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14778 tests with quiet NaN input and output.
14779 (acosh_test_data): Likewise.
14780 (asin_test_data): Likewise.
14781 (asinh_test_data): Likewise.
14782 (atan_test_data): Likewise.
14783 (atanh_test_data): Likewise.
14784 (atan2_test_data): Likewise.
14785 (cbrt_test_data): Likewise.
14786 (cos_test_data): Likewise.
14787 (cosh_test_data): Likewise.
14788 (erf_test_data): Likewise.
14789 (erfc_test_data): Likewise.
14790 (exp_test_data): Likewise.
14791 (exp10_test_data): Likewise.
14792 (exp2_test_data): Likewise.
14793 (expm1_test_data): Likewise.
14794 (hypot_test_data): Likewise.
14795 (j0_test_data): Likewise.
14796 (j1_test_data): Likewise.
14797 (jn_test_data): Likewise.
14798 (lgamma_test_data): Likewise.
14799 (log_test_data): Likewise.
14800 (log10_test_data): Likewise.
14801 (log1p_test_data): Likewise.
14802 (log2_test_data): Likewise.
14803 (pow_test_data): Likewise.
14804 (scalb_test_data): Likewise.
14805 (sin_test_data): Likewise.
14806 (sincos_test_data): Likewise.
14807 (sinh_test_data): Likewise.
14808 (tan_test_data): Likewise.
14809 (tanh_test_data): Likewise.
14810 (tgamma_test_data): Likewise.
14811 (y0_test_data): Likewise.
14812 (y1_test_data): Likewise.
14813 (yn_test_data): Likewise.
14816 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14817 argument being NaN and avoid computations with second argument in
14819 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14820 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14821 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14823 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14825 * locale/iso-639.def: Add Chitwani Tharu (the).
14827 2013-11-14 Andreas Schwab <schwab@suse.de>
14829 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14830 word instead of empty string.
14832 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14835 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14837 (__fe_nomask_env): Likewise.
14839 2013-11-13 Steve Ellcey <sellcey@mips.com>
14841 * benchtests/bench-timing.h: Include time.h.
14843 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14846 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14848 * sysdeps/unix/sysv/linux/configure: Regenerated.
14850 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14853 * stdlib/strtod_l.c (round_and_return): Do not consider
14854 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14855 exponent one less than half the least subnormal exponent.
14856 * stdlib/test-strtod-round-data: Add more tests.
14857 * stdlib/tst-strtod-round.c (tests): Regenerated.
14859 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14863 (__fe_mask_env): Likewise.
14864 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14865 libm_hidden_proto and add function prototype.
14866 (__fe_mask_env): Add function prototype.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14868 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14870 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14872 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14874 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14876 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14877 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14879 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14881 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14882 of htab_find_slot().
14884 2013-11-11 David S. Miller <davem@davemloft.net>
14887 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14888 symbol in the non-vis3 case in static builds.
14889 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14890 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14891 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14892 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14894 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14897 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14900 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14902 * benchtests/Makefile: Add bench-strtod.
14903 * benchtests/bench-strtod.c: New file: strtod benchtest
14905 2013-11-11 Andreas Schwab <schwab@suse.de>
14908 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14909 terminating NUL in key length.
14911 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14913 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14914 Add artificial ODP entry for vDSO symbol for PPC64.
14915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14916 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14918 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14921 * nss/getent.c (services_keys): Recognize services starting with digit.
14923 2013-11-06 David S. Miller <davem@davemloft.net>
14926 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14927 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14929 2013-11-06 Will Newton <will.newton@linaro.org>
14931 * manual/memory.texi (Malloc Examples): Remove register
14932 keyword from examples.
14934 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14936 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14938 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14941 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14942 depending on [__GCC_IEC_559 > 0].
14943 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14944 depending on [__GCC_IEC_559_COMPLEX > 0].
14946 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14948 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14951 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14953 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14955 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14958 * malloc/malloc (malloc_info): Do not handle first bin as
14961 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14963 * locale/iso-639.def: Add Central Nahuatl (nhn).
14965 2013-11-01 Bruno Haible <bruno@clisp.org>
14968 * manual/math.texi (BSD Random): Specify range upper bound as
14971 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14973 * locale/iso-639.def: Add Meadow Mari (mhr).
14975 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14977 [BZ #14752], [BZ #15763]
14978 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14980 * rt/tst_shm.c: Add test for escaping directory.
14982 2013-10-31 Andreas Schwab <schwab@suse.de>
14985 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14986 followed by 'x' as part of digit sequence.
14987 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14989 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14992 * configure.ac: allow GNU Make 4.0 and greater.
14993 * configure: Regenerated.
14995 2013-10-30 Will Newton <will.newton@linaro.org>
14998 * malloc/hooks.c (memalign_check): Limit alignment to the
14999 maximum representable power of two.
15000 * malloc/malloc.c (__libc_memalign): Likewise.
15001 * malloc/tst-memalign.c (do_test): Add test for very
15002 large alignment values.
15003 * malloc/tst-posix_memalign.c (do_test): Likewise.
15005 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15008 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15009 (munmap_chunk): Likewise.
15010 (mremap_chunk): Likewise.
15012 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15015 * stdlib/div.c (div): Remove obsolete code.
15016 * stdlib/ldiv.c (ldiv): Likewise.
15017 * stdlib/lldiv.c (lldiv): Likewise.
15019 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15022 * nss/nss_files/files-XXX.c (get_contents_ret): New
15024 (get_contents): New function.
15025 (internal_getent): Use it. Expand size of LINEBUFLEN.
15027 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15029 * configure.in: Moved to ...
15030 * configure.ac: ... here. Change reference to configure.in
15032 * sysdeps/arm/preconfigure.ac: ... here.
15033 configure.in to configure.ac.
15034 * sysdeps/gnu/configure.in: Moved to ...
15035 * sysdeps/gnu/configure.ac: ... here.
15036 * sysdeps/i386/configure.in: Moved to ...
15037 * sysdeps/i386/configure.ac: ... here.
15038 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15039 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15040 * sysdeps/mach/configure.in: Moved to ...
15041 * sysdeps/mach/configure.ac: ... here.
15042 * sysdeps/mach/hurd/configure.in: Moved to ...
15043 * sysdeps/mach/hurd/configure.ac: ... here.
15044 * sysdeps/powerpc/configure.in: Moved to ...
15045 * sysdeps/powerpc/configure.ac: ... here.
15046 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15047 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15048 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15049 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15050 * sysdeps/s390/s390-32/configure.in: Moved to ...
15051 * sysdeps/s390/s390-32/configure.ac: ... here.
15052 * sysdeps/s390/s390-64/configure.in: Moved to ...
15053 * sysdeps/s390/s390-64/configure.ac: ... here.
15054 * sysdeps/sh/configure.in: Moved to ...
15055 * sysdeps/sh/configure.ac: ... here.
15056 * sysdeps/sparc/configure.in: Moved to ...
15057 * sysdeps/sparc/configure.ac: ... here.
15058 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15059 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15060 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15061 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15062 * sysdeps/x86_64/configure.in: Moved to ...
15063 * sysdeps/x86_64/configure.ac: ... here.
15064 * sysdeps/x86_64/preconfigure.in: Moved to ...
15065 * sysdeps/x86_64/preconfigure.ac: ... here.
15066 * aclocal.m4: Change reference to configure.in to configure.ac.
15067 * config.h.in: Likewise.
15068 * manual/install.texi: Likewise.
15069 * manual/maint.texi: Likewise.
15070 * Makefile: Likewise.
15071 * malloc/Makefile: Likewise.
15072 * nscd/Makefile: Likewise.
15073 * Makeconfig: Change reference to configure.in and
15074 preconfigure.in to configure.ac and preconfigure.ac
15076 * INSTALL: Regenerated.
15077 * configure: Likewise.
15078 * sysdeps/gnu/configure: Likewise.
15079 * sysdeps/i386/configure: Likewise.
15080 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15081 * sysdeps/mach/configure: Likewise.
15082 * sysdeps/mach/hurd/configure: Likewise.
15083 * sysdeps/powerpc/configure: Likewise.
15084 * sysdeps/powerpc/powerpc32/configure: Likewise.
15085 * sysdeps/powerpc/powerpc64/configure: Likewise.
15086 * sysdeps/s390/s390-32/configure: Likewise.
15087 * sysdeps/s390/s390-64/configure: Likewise.
15088 * sysdeps/sh/configure: Likewise.
15089 * sysdeps/sparc/configure: Likewise.
15090 * sysdeps/unix/sysv/linux/configure: Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15092 * sysdeps/x86_64/configure: Likewise.
15093 * sysdeps/x86_64/preconfigure: Likewise.
15095 2013-10-29 Andreas Schwab <schwab@suse.de>
15097 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15099 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15101 * benchtests/pow-inputs: Add new inputs.
15103 * benchtests/exp-inputs: Add new inputs.
15105 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15106 conditional check for return value.
15107 (__cos32): Likewise.
15109 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15111 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15112 to provide a boost for large inputs with word alignment.
15113 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15114 implementation based on optimized PPC64 strcpy.
15115 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15116 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15117 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15118 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15120 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15123 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15125 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15128 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15129 * time/tst-strptime.c (day_tests): Add testcase.
15131 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15134 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15136 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15139 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15140 MAP_FAILED on error.
15142 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15146 heap for large requests.
15148 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15151 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15152 result if the result has no associated interface.
15153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15154 interface for all 127.X.Y.Z addresses.
15156 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15158 * locale/iso-639.def: Add Ligurian (lij)
15160 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15163 * sunrpc/rpc_main.c: Document rpcgen -5.
15165 2013-10-19 Michael Stahl <mstahl@redhat.com>
15167 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15169 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15172 * posix/glob.c: Match only directories when trailing slash is present.
15173 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15174 (main): Add testcase.
15176 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15179 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15181 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15183 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15184 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15185 AUTH_DES and cindex for FIPS 140-2.
15186 (DES Encryption): Add cindex FIPS 46-3.
15188 * locale/locarchive.h (struct locarhandle): Add fname.
15189 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15190 if an optional argument was specified to --list-archive,
15192 * locale/programs/locarchive.c (show_archive_content): Take new
15193 argument fname and pass it via ah.fname to open_archive.
15194 * locale/programs/localedef.h: Update decl.
15195 (open_archive): If AH->fname is non-null, open that file
15196 rather than the default file name, and don't ignore ENOENT.
15197 (create_archive): Set AH.fname to NULL.
15198 (delete_locales_from_archive): Likewise.
15199 (add_locales_to_archive): Likewise.
15200 * locale/programs/locfile.c (write_all_categories): Likewise.
15202 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15203 Aldy Hernandez <aldyh@redhat.com>
15205 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15206 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15207 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15208 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15209 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15210 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15213 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15215 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15216 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15217 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15218 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15219 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15223 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15225 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15227 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15228 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15230 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15231 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15232 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15233 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15235 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15236 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15237 * sysdeps/powerpc/preconfigure: Likewise.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15240 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15241 Replace contents of file by #include of <fenv_libc.h>.
15242 * sysdeps/powerpc/soft-fp/sfp-machine.h
15243 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15245 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15253 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15258 Allow copysignl PLT reference to be missing.
15260 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15261 Joseph Myers <joseph@codesourcery.com
15264 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15266 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15268 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15270 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15271 * elf/tst-tls1.c: Likewise.
15272 * elf/tst-tls10.h: Likewise.
15273 * elf/tst-tls14.c: Likewise.
15274 * elf/tst-tls2.c: Likewise.
15275 * elf/tst-tls3.c: Likewise.
15276 * elf/tst-tls4.c: Likewise.
15277 * elf/tst-tls5.c: Likewise.
15278 * elf/tst-tls6.c: Likewise.
15279 * elf/tst-tls7.c: Likewise.
15280 * elf/tst-tls8.c: Likewise.
15281 * elf/tst-tls9.c: Likewise.
15282 * elf/tst-tlsmod1.c: Likewise.
15283 * elf/tst-tlsmod13.c: Likewise.
15284 * elf/tst-tlsmod13a.c: Likewise.
15285 * elf/tst-tlsmod14a.c: Likewise.
15286 * elf/tst-tlsmod16a.c: Likewise.
15287 * elf/tst-tlsmod16b.c: Likewise.
15288 * elf/tst-tlsmod2.c: Likewise.
15289 * elf/tst-tlsmod3.c: Likewise.
15290 * elf/tst-tlsmod4.c: Likewise.
15291 * elf/tst-tlsmod5.c: Likewise.
15292 * elf/tst-tlsmod6.c: Likewise.
15294 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15297 * malloc/malloc.c: remove checks for statistics.
15299 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15302 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15303 * inet/tst-network.c: Add testcase.
15305 2013-10-17 Andreas Schwab <schwab@suse.de>
15308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15309 to determine canonical name.
15311 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15313 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15314 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15337 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15338 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15372 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15375 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15376 make result into a quiet NaN.
15378 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15380 * soft-fp/adddf3.c: Fix horizontal whitespace.
15381 * soft-fp/addsf3.c: Likewise.
15382 * soft-fp/addtf3.c: Likewise.
15383 * soft-fp/divdf3.c: Likewise.
15384 * soft-fp/divsf3.c: Likewise.
15385 * soft-fp/divtf3.c: Likewise.
15386 * soft-fp/double.h: Likewise.
15387 * soft-fp/eqdf2.c: Likewise.
15388 * soft-fp/eqsf2.c: Likewise.
15389 * soft-fp/eqtf2.c: Likewise.
15390 * soft-fp/extenddftf2.c: Likewise.
15391 * soft-fp/extended.h: Likewise.
15392 * soft-fp/extendsfdf2.c: Likewise.
15393 * soft-fp/extendsftf2.c: Likewise.
15394 * soft-fp/extendxftf2.c: Likewise.
15395 * soft-fp/fixdfdi.c: Likewise.
15396 * soft-fp/fixdfsi.c: Likewise.
15397 * soft-fp/fixdfti.c: Likewise.
15398 * soft-fp/fixsfdi.c: Likewise.
15399 * soft-fp/fixsfsi.c: Likewise.
15400 * soft-fp/fixsfti.c: Likewise.
15401 * soft-fp/fixtfdi.c: Likewise.
15402 * soft-fp/fixtfsi.c: Likewise.
15403 * soft-fp/fixtfti.c: Likewise.
15404 * soft-fp/fixunsdfdi.c: Likewise.
15405 * soft-fp/fixunsdfsi.c: Likewise.
15406 * soft-fp/fixunsdfti.c: Likewise.
15407 * soft-fp/fixunssfdi.c: Likewise.
15408 * soft-fp/fixunssfsi.c: Likewise.
15409 * soft-fp/fixunssfti.c: Likewise.
15410 * soft-fp/fixunstfdi.c: Likewise.
15411 * soft-fp/fixunstfsi.c: Likewise.
15412 * soft-fp/fixunstfti.c: Likewise.
15413 * soft-fp/floatdidf.c: Likewise.
15414 * soft-fp/floatdisf.c: Likewise.
15415 * soft-fp/floatditf.c: Likewise.
15416 * soft-fp/floatsidf.c: Likewise.
15417 * soft-fp/floatsisf.c: Likewise.
15418 * soft-fp/floatsitf.c: Likewise.
15419 * soft-fp/floattidf.c: Likewise.
15420 * soft-fp/floattisf.c: Likewise.
15421 * soft-fp/floattitf.c: Likewise.
15422 * soft-fp/floatundidf.c: Likewise.
15423 * soft-fp/floatundisf.c: Likewise.
15424 * soft-fp/floatunditf.c: Likewise.
15425 * soft-fp/floatunsidf.c: Likewise.
15426 * soft-fp/floatunsisf.c: Likewise.
15427 * soft-fp/floatunsitf.c: Likewise.
15428 * soft-fp/floatuntidf.c: Likewise.
15429 * soft-fp/floatuntisf.c: Likewise.
15430 * soft-fp/floatuntitf.c: Likewise.
15431 * soft-fp/fmadf4.c: Likewise.
15432 * soft-fp/fmasf4.c: Likewise.
15433 * soft-fp/fmatf4.c: Likewise.
15434 * soft-fp/gedf2.c: Likewise.
15435 * soft-fp/gesf2.c: Likewise.
15436 * soft-fp/getf2.c: Likewise.
15437 * soft-fp/ledf2.c: Likewise.
15438 * soft-fp/lesf2.c: Likewise.
15439 * soft-fp/letf2.c: Likewise.
15440 * soft-fp/muldf3.c: Likewise.
15441 * soft-fp/mulsf3.c: Likewise.
15442 * soft-fp/multf3.c: Likewise.
15443 * soft-fp/negdf2.c: Likewise.
15444 * soft-fp/negsf2.c: Likewise.
15445 * soft-fp/negtf2.c: Likewise.
15446 * soft-fp/op-1.h: Likewise.
15447 * soft-fp/op-2.h: Likewise.
15448 * soft-fp/op-4.h: Likewise.
15449 * soft-fp/op-8.h: Likewise.
15450 * soft-fp/op-common.h: Likewise.
15451 * soft-fp/quad.h: Likewise.
15452 * soft-fp/single.h: Likewise.
15453 * soft-fp/soft-fp.h: Likewise.
15454 * soft-fp/sqrtdf2.c: Likewise.
15455 * soft-fp/sqrtsf2.c: Likewise.
15456 * soft-fp/sqrttf2.c: Likewise.
15457 * soft-fp/subdf3.c: Likewise.
15458 * soft-fp/subsf3.c: Likewise.
15459 * soft-fp/subtf3.c: Likewise.
15460 * soft-fp/truncdfsf2.c: Likewise.
15461 * soft-fp/trunctfdf2.c: Likewise.
15462 * soft-fp/trunctfsf2.c: Likewise.
15463 * soft-fp/trunctfxf2.c: Likewise.
15464 * soft-fp/unorddf2.c: Likewise.
15465 * soft-fp/unordsf2.c: Likewise.
15466 * soft-fp/unordtf2.c: Likewise.
15468 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15470 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15471 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15473 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15475 * elf/dl-libc.c: Clear initfini list after freeing.
15477 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15479 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15480 * soft-fp/addsf3.c: Likewise.
15481 * soft-fp/addtf3.c: Likewise.
15482 * soft-fp/divdf3.c: Likewise.
15483 * soft-fp/divsf3.c: Likewise.
15484 * soft-fp/divtf3.c: Likewise.
15485 * soft-fp/double.h: Likewise.
15486 * soft-fp/eqdf2.c: Likewise.
15487 * soft-fp/eqsf2.c: Likewise.
15488 * soft-fp/eqtf2.c: Likewise.
15489 * soft-fp/extenddftf2.c: Likewise.
15490 * soft-fp/extended.h: Likewise.
15491 * soft-fp/extendsfdf2.c: Likewise.
15492 * soft-fp/extendsftf2.c: Likewise.
15493 * soft-fp/extendxftf2.c: Likewise.
15494 * soft-fp/fixdfdi.c: Likewise.
15495 * soft-fp/fixdfsi.c: Likewise.
15496 * soft-fp/fixdfti.c: Likewise.
15497 * soft-fp/fixsfdi.c: Likewise.
15498 * soft-fp/fixsfsi.c: Likewise.
15499 * soft-fp/fixsfti.c: Likewise.
15500 * soft-fp/fixtfdi.c: Likewise.
15501 * soft-fp/fixtfsi.c: Likewise.
15502 * soft-fp/fixtfti.c: Likewise.
15503 * soft-fp/fixunsdfdi.c: Likewise.
15504 * soft-fp/fixunsdfsi.c: Likewise.
15505 * soft-fp/fixunsdfti.c: Likewise.
15506 * soft-fp/fixunssfdi.c: Likewise.
15507 * soft-fp/fixunssfsi.c: Likewise.
15508 * soft-fp/fixunssfti.c: Likewise.
15509 * soft-fp/fixunstfdi.c: Likewise.
15510 * soft-fp/fixunstfsi.c: Likewise.
15511 * soft-fp/fixunstfti.c: Likewise.
15512 * soft-fp/floatdidf.c: Likewise.
15513 * soft-fp/floatdisf.c: Likewise.
15514 * soft-fp/floatditf.c: Likewise.
15515 * soft-fp/floatsidf.c: Likewise.
15516 * soft-fp/floatsisf.c: Likewise.
15517 * soft-fp/floatsitf.c: Likewise.
15518 * soft-fp/floattidf.c: Likewise.
15519 * soft-fp/floattisf.c: Likewise.
15520 * soft-fp/floattitf.c: Likewise.
15521 * soft-fp/floatundidf.c: Likewise.
15522 * soft-fp/floatundisf.c: Likewise.
15523 * soft-fp/floatunsidf.c: Likewise.
15524 * soft-fp/floatunsisf.c: Likewise.
15525 * soft-fp/floatuntidf.c: Likewise.
15526 * soft-fp/floatuntisf.c: Likewise.
15527 * soft-fp/floatuntitf.c: Likewise.
15528 * soft-fp/fmadf4.c: Likewise.
15529 * soft-fp/fmasf4.c: Likewise.
15530 * soft-fp/fmatf4.c: Likewise.
15531 * soft-fp/gedf2.c: Likewise.
15532 * soft-fp/gesf2.c: Likewise.
15533 * soft-fp/getf2.c: Likewise.
15534 * soft-fp/ledf2.c: Likewise.
15535 * soft-fp/lesf2.c: Likewise.
15536 * soft-fp/letf2.c: Likewise.
15537 * soft-fp/muldf3.c: Likewise.
15538 * soft-fp/mulsf3.c: Likewise.
15539 * soft-fp/multf3.c: Likewise.
15540 * soft-fp/negdf2.c: Likewise.
15541 * soft-fp/negsf2.c: Likewise.
15542 * soft-fp/negtf2.c: Likewise.
15543 * soft-fp/op-1.h: Likewise.
15544 * soft-fp/op-2.h: Likewise.
15545 * soft-fp/op-4.h: Likewise.
15546 * soft-fp/op-8.h: Likewise.
15547 * soft-fp/op-common.h: Likewise.
15548 * soft-fp/quad.h: Likewise.
15549 * soft-fp/single.h: Likewise.
15550 * soft-fp/soft-fp.h: Likewise.
15551 * soft-fp/sqrtdf2.c: Likewise.
15552 * soft-fp/sqrtsf2.c: Likewise.
15553 * soft-fp/sqrttf2.c: Likewise.
15554 * soft-fp/subdf3.c: Likewise.
15555 * soft-fp/subsf3.c: Likewise.
15556 * soft-fp/subtf3.c: Likewise.
15557 * soft-fp/truncdfsf2.c: Likewise.
15558 * soft-fp/trunctfdf2.c: Likewise.
15559 * soft-fp/trunctfsf2.c: Likewise.
15560 * soft-fp/trunctfxf2.c: Likewise.
15561 * soft-fp/unorddf2.c: Likewise.
15562 * soft-fp/unordsf2.c: Likewise.
15563 * soft-fp/unordtf2.c: Likewise.
15565 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15568 * misc/error.c (error_tail): Fix possible buffer overflow.
15570 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15573 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15576 2013-10-14 P. J. McDermott <pj@pehjota.net>
15579 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15580 testing pipefail option.
15582 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15584 * soft-fp/double.h: Indent preprocessor directives inside #if.
15585 * soft-fp/extended.h: Likewise.
15586 * soft-fp/op-2.h: Likewise.
15587 * soft-fp/op-4.h: Likewise.
15588 * soft-fp/op-common.h: Likewise.
15589 * soft-fp/quad.h: Likewise.
15590 * soft-fp/single.h: Likewise.
15591 * soft-fp/soft-fp.h: Likewise.
15593 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15595 * iconv/iconv_prog.c: Fix typos.
15596 * stdio-common/psiginfo-data.h: Likewise.
15598 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15601 * locale/setlocale.c: Fix typo.
15603 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15606 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15607 signaling NaN arguments.
15608 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15609 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15612 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15613 unordered operands.
15614 * soft-fp/gesf2.c (__gesf2): Likewise.
15615 * soft-fp/getf2.c (__getf2): Likewise.
15616 * soft-fp/ledf2.c (__ledf2): Likewise.
15617 * soft-fp/lesf2.c (__lesf2): Likewise.
15618 * soft-fp/letf2.c (__letf2): Likewise.
15620 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15621 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15622 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15623 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15624 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15625 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15626 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15627 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15628 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15629 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15630 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15631 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15632 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15633 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15634 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15635 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15636 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15637 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15638 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15639 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15640 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15641 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15642 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15643 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15644 * soft-fp/floattidf.c (__floattidf): Likewise.
15645 * soft-fp/floattisf.c (__floattisf): Likewise.
15646 * soft-fp/floattitf.c (__floattitf): Likewise.
15647 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15648 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15649 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15650 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15651 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15652 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15653 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15654 * soft-fp/gesf2.c (__gesf2): Likewise.
15655 * soft-fp/getf2.c (__getf2): Likewise.
15656 * soft-fp/ledf2.c (__ledf2): Likewise.
15657 * soft-fp/lesf2.c (__lesf2): Likewise.
15658 * soft-fp/letf2.c (__letf2): Likewise.
15660 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15661 Undefine and redefine.
15662 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15663 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15664 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15665 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15666 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15667 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15668 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15669 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15670 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15671 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15672 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15673 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15674 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15675 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15676 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15679 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15680 without decrementing exponent if mantissa >= that for the
15681 denominator, not >.
15682 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15683 denominator, not >. Decrement exponent in < case instead of
15684 incrementing in >= case.
15685 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15686 without decrementing exponent if mantissa >= that for the
15687 denominator, not >.
15689 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15690 computing saturated result for unsigned overflow.
15692 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15693 Jeff Law <law@redhat.com>
15695 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15696 (atan2Mp): Add systemtap probe marker.
15697 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15698 (__ieee754_log): Add systemtap probe marker.
15699 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15700 (atanMp): Add systemtap probe marker.
15701 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15702 (tanMp): Add systemtap probe marker.
15703 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15704 (__slowexp): Add systemtap probe marker.
15705 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15706 (__slowpow): Add systemtap probe marker.
15707 * manual/probes.texi: Document probes.
15709 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15712 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15714 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15716 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15717 written to buffer but not flushed.
15718 * libio/iofwrite_u.c: Likewise.
15719 * libio/iopadn.c: Return bytes returned even if EOF was
15721 * libio/iowpadn.c: Likewise.
15722 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15723 if _IO_padn does not write the whole buffer.
15724 [!COMPILE_WPRINTF] (PAD): Likewise.
15726 2013-10-10 David S. Miller <davem@davemloft.net>
15728 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15731 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15733 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15734 instead of FSF address.
15735 * soft-fp/fixdfti.c: Likewise.
15736 * soft-fp/fixsfti.c: Likewise.
15737 * soft-fp/fixtfti.c: Likewise.
15738 * soft-fp/fixunsdfti.c: Likewise.
15739 * soft-fp/fixunssfti.c: Likewise.
15740 * soft-fp/fixunstfti.c: Likewise.
15741 * soft-fp/floattidf.c: Likewise.
15742 * soft-fp/floattisf.c: Likewise.
15743 * soft-fp/floattitf.c: Likewise.
15744 * soft-fp/floatuntidf.c: Likewise.
15745 * soft-fp/floatuntisf.c: Likewise.
15746 * soft-fp/floatuntitf.c: Likewise.
15747 * soft-fp/trunctfxf2.c: Likewise.
15749 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15750 * soft-fp/fixdfti.c: Likewise.
15751 * soft-fp/fixsfti.c: Likewise.
15752 * soft-fp/fixtfti.c: Likewise.
15753 * soft-fp/fixunsdfti.c: Likewise.
15754 * soft-fp/fixunssfti.c: Likewise.
15755 * soft-fp/fixunstfti.c: Likewise.
15756 * soft-fp/floattidf.c: Likewise.
15757 * soft-fp/floattisf.c: Likewise.
15758 * soft-fp/floattitf.c: Likewise.
15759 * soft-fp/floatuntidf.c: Likewise.
15760 * soft-fp/floatuntisf.c: Likewise.
15761 * soft-fp/floatuntitf.c: Likewise.
15762 * soft-fp/trunctfxf2.c: Likewise.
15764 2013-10-10 David S. Miller <davem@davemloft.net>
15766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15768 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15770 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15771 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15772 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15773 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15774 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15779 for NaNs before doing comparisons on argument.
15780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15783 2013-10-10 Will Newton <will.newton@linaro.org>
15785 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15786 passed to _int_memalign does not overflow.
15788 2013-10-10 Torvald Riegel <triegel@redhat.com>
15790 * scripts/bench.pl: Add include-sources directive.
15791 * benchtests/README: Update documentation.
15793 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15795 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15796 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15797 instead of FP_INIT_ROUNDMODE.
15798 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15799 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15802 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15803 copy class of input value.
15804 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15805 not handle exceptions.
15806 * soft-fp/negsf2.c (__negsf2): Likewise.
15807 * soft-fp/negtf2.c (__negtf2): Likewise.
15808 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15810 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15812 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15813 semicolon. From Linux kernel.
15815 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15817 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15819 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15822 * manual/socket.texi: Added statement about buffer
15823 for gethostbyname2_r.
15825 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15827 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15828 Use .p2align directive instead, throughout.
15829 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15830 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15831 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15832 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15833 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15834 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15835 * sysdeps/x86_64/strchr.S: Likewise.
15836 * sysdeps/x86_64/strrchr.S: Likewise.
15838 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15840 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15842 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15844 * sysdeps/generic/math_private.h (__mpsin1): Remove
15846 (__mpcos1): Likewise.
15847 (__mpsin): New argument __range_reduce.
15848 (__mpcos): Likewise.
15849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15850 (slow): Use __mpsin and __mpcos.
15854 (sloww1): Likewise.
15855 (sloww2): Likewise.
15856 (bsloww): Likewise.
15857 (bsloww1): Likewise.
15858 (bsloww2): Likewise.
15859 (cslow2): Likewise.
15860 (csloww): Likewise.
15861 (csloww1): Likewise.
15862 (csloww2): Likewise.
15863 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15864 range_reduce. Merge in __mpsin1.
15865 (__mpcos): Likewise.
15866 (__mpsin1): Remove.
15867 (__mpcos1): Likewise.
15869 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15871 * locale/loadlocale.c (_nl_intern_locale_data): Use
15873 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15874 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15875 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15876 obstack data is appropriately aligned.
15877 (obstack_int32_grow_fast): Likewise.
15878 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15879 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15880 (add_locale_uint32_array): Likewise.
15882 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15884 * benchtests/Makefile: Remove ARGLIST and RET variables.
15885 ($(objpfx)bench-%.c): Pass only function name to the script.
15886 * benchtests/README: Update documentation.
15887 * benchtests/acos-inputs: Add new directives.
15888 * benchtests/acosh-inputs: Likewise.
15889 * benchtests/asin-inputs: Likewise.
15890 * benchtests/asinh-inputs: Likewise.
15891 * benchtests/atan-inputs: Likewise.
15892 * benchtests/atanh-inputs: Likewise.
15893 * benchtests/cos-inputs: Likewise.
15894 * benchtests/cosh-inputs: Likewise.
15895 * benchtests/exp-inputs: Likewise.
15896 * benchtests/log-inputs: Likewise.
15897 * benchtests/pow-inputs: Likewise.
15898 * benchtests/rint-inputs: Likewise.
15899 * benchtests/sin-inputs: Likewise.
15900 * benchtests/sinh-inputs: Likewise.
15901 * benchtests/tan-inputs: Likewise.
15902 * benchtests/tanh-inputs: Likewise.
15903 * scripts/bench.pl: Add support for new directives.
15905 2013-10-07 Alan Modra <amodra@gmail.com>
15907 * README: Fix careless merge.
15909 2013-10-05 Alan Modra <amodra@gmail.com>
15911 * NEWS: Mention powerpc64le support and bugs fixed.
15912 * README: Both big-endian and little-endian powerpc64 supported.
15914 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15916 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15917 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15918 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15919 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15921 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15923 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15926 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15928 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15929 Move -mhard-float appending from
15930 ports/sysdeps/powerpc/powerpc32/Makefile.
15931 [$(with-fp) = yes] (ASFLAGS): Likewise.
15932 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15933 * sysdeps/powerpc/nofpu: Move directory from
15934 ports/sysdeps/powerpc/nofpu.
15935 * sysdeps/powerpc/soft-fp: Move directory from
15936 ports/sysdeps/powerpc/soft-fp.
15937 * sysdeps/powerpc/powerpc32/405: Move directory from
15938 ports/sysdeps/powerpc/powerpc32/405.
15939 * sysdeps/powerpc/powerpc32/440: Move directory from
15940 ports/sysdeps/powerpc/powerpc32/440.
15941 * sysdeps/powerpc/powerpc32/464: Move directory from
15942 ports/sysdeps/powerpc/powerpc32/464.
15943 * sysdeps/powerpc/powerpc32/476: Move directory from
15944 ports/sysdeps/powerpc/powerpc32/476.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15952 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15954 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15955 * README: Update for powerpc-*-linux-gnu software floating point
15958 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15959 case to powerpc/powerpc32*.
15960 * sysdeps/unix/sysv/linux/configure: Regenerated.
15962 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15963 (_FPU_MASK_OM): Define as 0x04.
15964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15972 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15975 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15978 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15979 and setcontext_e500.
15981 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15983 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15985 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15987 * manual/threads.texi (Default Thread Attributes): Fix typo.
15989 2013-10-04 Will Newton <will.newton@linaro.org>
15991 * malloc/Makefile: Add tst-memalign.
15992 * malloc/tst-memalign.c: New file.
15994 * malloc/tst-posix_memalign.c: Add comments.
15995 (do_test): Add comments and call free on all potentially
15996 allocated pointers. Add space after cast.
15998 * malloc/tst-pvalloc.c: Add comments.
15999 (do_test): Add comments and call free on all potentially
16000 allocated pointers. Remove duplicate check for NULL pointer.
16001 Add space after cast.
16003 * malloc/tst-valloc.c: Add comments.
16004 (do_test): Add comments and call free on all potentially
16005 allocated pointers. Remove duplicate check for NULL pointer.
16006 Add space after cast.
16008 2013-10-04 Alan Modra <amodra@gmail.com>
16010 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16011 Use stdint types in rather than __attribute__((mode())).
16012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16014 2013-10-04 Alan Modra <amodra@gmail.com>
16016 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16017 Correct handling of unaligned relocs for little-endian.
16018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16020 2013-10-04 Alan Modra <amodra@gmail.com>
16022 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16023 * configure: Regenerate.
16024 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16025 * shlib-versions: Likewise.
16027 2013-10-04 Alan Modra <amodra@gmail.com>
16029 * string/tester.c (test_memrchr): Increment reported test cycle.
16031 2013-10-04 Alan Modra <amodra@gmail.com>
16033 * string/test-memcpy.c (do_one_test): When reporting errors, print
16034 string address and don't overrun end of string.
16036 2013-10-04 Alan Modra <amodra@gmail.com>
16038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16039 insrdi. Make better use of reg selection to speed exit slightly.
16040 Schedule entry path a little better. Remove useless "are we done"
16041 checks on entry to main loop. Handle wrapping around zero address.
16042 Correct main loop count. Handle single left-over word from main
16043 loop inline rather than by using loop_small. Remove extra word
16044 case in loop_small caused by wrong loop count. Add little-endian
16046 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16051 support. Avoid rlwimi.
16052 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16054 2013-10-04 Alan Modra <amodra@gmail.com>
16056 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16057 insrdi. Formatting.
16058 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16061 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16065 2013-10-04 Alan Modra <amodra@gmail.com>
16067 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16070 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16071 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16072 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16073 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16074 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16076 use of regs. Use power7 mtocrf. Tidy function tails.
16078 2013-10-04 Alan Modra <amodra@gmail.com>
16080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16081 Formatting. Consistently use rXXX register defines or rN defines.
16082 Use early exit labels that avoid restoring unused non-volatile regs.
16083 Make cr field use more consistent with rWORDn compares. Rename
16084 regs used as shift registers for unaligned loop, using rN defines
16085 for short lifetime/multiple use regs.
16086 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16088 addi 1,1,64 to pop stack frame. Simplify return value code.
16089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16091 2013-10-04 Alan Modra <amodra@gmail.com>
16093 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16094 support. Correct typos, formatting. Optimize tail. Use insrdi
16095 rather than rlwimi.
16096 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16097 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16098 little-endian support. Correct typos.
16099 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16100 rather than rlwimi.
16101 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16102 in loop and entry code to keep "and." results.
16103 (strchr): Add little-endian support. Comment. Move cntlzd
16105 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16107 2013-10-04 Alan Modra <amodra@gmail.com>
16109 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16110 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16111 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16114 2013-10-04 Alan Modra <amodra@gmail.com>
16116 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16117 (rTMP): Define as r11.
16118 (strcmp): Add little-endian support. Optimise tail.
16119 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16120 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16121 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16123 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16127 2013-10-04 Alan Modra <amodra@gmail.com>
16129 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16130 little-endian support. Remove unnecessary "are we done" tests.
16131 Handle "s" wrapping around zero and extremely large "size".
16132 Correct main loop count. Handle single left-over word from main
16133 loop inline rather than by using small_loop. Correct comments.
16134 Delete "zero" tail, use "end_max" instead.
16135 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16137 2013-10-04 Alan Modra <amodra@gmail.com>
16139 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16140 support. Don't branch over align.
16141 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16142 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16143 support. Rearrange tmp reg use to suit. Comment.
16144 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16146 2013-10-04 Alan Modra <amodra@gmail.com>
16148 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16150 2013-10-04 Alan Modra <amodra@gmail.com>
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16153 conditional form of branch and link when obtaining pc.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16156 2013-10-04 Alan Modra <amodra@gmail.com>
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16163 2013-10-04 Alan Modra <amodra@gmail.com>
16165 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16166 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16167 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16168 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16169 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16170 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16171 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16172 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16173 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16174 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16176 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16177 Alistair Popple <alistair@ozlabs.au.ibm.com>
16178 Alan Modra <amodra@gmail.com>
16181 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16183 _dl_hwcap access for little-endian.
16184 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16185 destroy vmx regs when saving unaligned.
16186 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16187 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16188 destroy vmx regs when saving unaligned.
16190 2013-10-04 Alan Modra <amodra@gmail.com>
16192 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16193 Don't use a union to pack hi/low value.
16195 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16197 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16199 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16201 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16202 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16203 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16205 2013-10-04 Alan Modra <amodra@gmail.com>
16207 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16208 constants to usual value for .cst8 section, and remove redundant
16210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16211 constant for 0x1p52. Load little-endian words of double from
16212 correct stack offsets.
16214 2013-10-04 Alan Modra <amodra@gmail.com>
16216 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16217 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16218 words of double from correct stack offsets.
16219 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16220 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16221 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16224 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16225 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16226 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16227 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16228 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16229 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16230 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16231 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16232 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16233 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16234 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16235 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16237 2013-10-04 Alan Modra <amodra@gmail.com>
16239 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16240 64-bit int/double union.
16241 (_FPU_SETCW): Likewise.
16242 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16243 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16245 2013-10-04 Alan Modra <amodra@gmail.com>
16247 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16248 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16250 2013-10-04 Alan Modra <amodra@gmail.com>
16252 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16253 use vector int constants.
16254 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16256 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16258 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16259 array with long long.
16260 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16261 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16262 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16263 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16264 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16265 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16266 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16267 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16268 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16269 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16270 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16271 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16272 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16274 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16276 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16277 (__signbit): Likewise. Correct for little-endian.
16278 (__signbitl): Call __signbit.
16279 (lrint): Correct for little-endian.
16280 (lrintf): Call lrint.
16282 2013-10-04 Alan Modra <amodra@gmail.com>
16284 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16285 union 32-bit int array member with 64-bit int array.
16286 (t515, tm256): Double rather than long double.
16287 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16289 2013-10-04 Alan Modra <amodra@gmail.com>
16291 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16293 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16295 version of math_ldbl.h.
16297 2013-10-04 Alan Modra <amodra@gmail.com>
16299 [BZ #15734], [BZ #15735]
16300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16301 all uses of ieee875 long double macros and unions. Simplify test
16302 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16303 ldbl_extract_mantissa value for ix,iy exponents. Properly
16304 normalize after ldbl_extract_mantissa, and don't add hidden bit
16305 already handled. Don't treat low word of ieee854 mantissa like
16306 low word of IBM long double and mask off bit when testing for
16308 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16309 all uses of ieee875 long double macros and unions. Simplify tests
16310 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16311 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16312 two1022, instead use their values. Recognise that tests for large
16313 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16315 Rewrite all uses of ieee875 long double macros and unions. Simplify
16316 test for 0.0L and nan. Correct negation.
16317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16318 ieee875 long double macros and unions. Correct output for large
16319 magnitude x. Correct absolute value calculation.
16320 (__erfcl): Likewise.
16321 * math/libm-test.inc: Add tests for errors discovered in IBM long
16322 double versions of fmodl, remainderl, erfl and erfcl.
16324 2013-10-04 Alan Modra <amodra@gmail.com>
16326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16327 all uses of ieee854 long double macros and unions. Simplify tests
16328 for long doubles that are fully specified by the high double.
16329 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16331 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16332 Remove dead code too.
16333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16334 (__ieee754_ynl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16338 Remove dead code too.
16339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16349 Comment on variable precision.
16350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16357 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16359 2013-10-04 Alan Modra <amodra@gmail.com>
16361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16362 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16363 all uses of ieee854 long double macros and unions.
16364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16377 Simplify sign and nan test too.
16378 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16379 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16383 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16393 2013-10-04 Alan Modra <amodra@gmail.com>
16395 * stdio-common/printf_size.c (__printf_size): Don't use
16396 union ieee854_long_double in fpnum union.
16397 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16398 signbit macro to retrieve sign from long double.
16399 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16400 retrieve sign from long double.
16401 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16402 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16404 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16405 * math/test-misc.c (main): Don't use union ieee854_long_double.
16407 2013-10-04 Alan Modra <amodra@gmail.com>
16410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16411 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16412 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16413 calculation. Remove unnecessary test for denormal exponent.
16414 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16415 Correct handling of denormals. Avoid undefined shift behaviour.
16416 Correct normalisation of low mantissa when low double is denormal.
16417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16418 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16419 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16420 Correct normalisation of low mantissa. Test for overflow of high
16421 mantissa and normalise.
16422 (ldbl_nearbyint): Use more readable constant for two52.
16423 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16424 (__mpn_construct_long_double): Fix test for overflow of high
16425 mantissa and correct normalisation. Avoid undefined shift.
16427 2013-10-04 Alan Modra <amodra@gmail.com>
16429 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16430 (union ibm_extended_long_double): Define as an array of ieee754_double.
16431 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16432 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16433 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16434 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16436 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16441 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16443 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16445 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16446 page size instead of calling getpagesize.
16448 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16449 (LOCFILE_ALIGN_MASK): Likewise.
16450 (LOCFILE_ALIGN_UP): Likewise.
16451 (LOCFILE_ALIGNED_P): Likewise.
16452 * locale/programs/ld-collate.c (collate_output): Use the new
16453 macros instead of __alignof__ (int32_t).
16454 * locale/weight.h (findidx): Likewise.
16456 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16459 * manual/string.texi: Fix strncat and wcsncat.
16461 2013-10-03 Brooks Moses <bmoses@google.com>
16464 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16465 * Makerules: ...here, and adjust associated comments.
16467 2013-10-02 Will Newton <will.newton@linaro.org>
16469 * malloc/Makefile: Add tst-pvalloc.
16470 * malloc/tst-pvalloc.c: New file.
16472 2013-10-02 Will Newton <will.newton@linaro.org>
16474 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16475 improve test coverage.
16477 2013-10-02 Will Newton <will.newton@linaro.org>
16479 * malloc/Makefile: Add tst-posix_memalign.
16480 * malloc/tst-posix_memalign.c: New file.
16482 2013-10-01 Eric Blake <eblake@redhat.com>
16484 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16485 Use __THROWNL rather than __THROW on static functions.
16487 2013-09-30 Petr Machata <pmachata@redhat.com>
16489 * elf/elf.h (R_AARCH64_ABS16): New macro.
16490 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16491 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16492 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16493 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16494 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16495 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16496 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16497 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16498 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16499 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16500 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16501 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16502 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16503 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16504 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16505 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16506 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16507 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16508 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16509 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16510 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16511 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16512 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16513 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16514 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16515 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16516 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16517 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16518 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16519 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16520 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16521 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16522 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16523 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16524 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16525 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16526 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16527 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16528 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16529 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16530 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16531 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16532 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16533 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16534 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16535 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16536 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16537 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16538 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16539 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16540 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16541 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16542 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16543 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16544 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16545 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16546 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16547 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16548 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16549 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16550 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16551 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16552 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16553 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16554 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16555 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16556 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16557 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16558 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16559 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16560 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16561 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16562 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16563 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16564 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16565 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16566 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16567 (R_AARCH64_TLSDESC_LDR): Likewise.
16568 (R_AARCH64_TLSDESC_ADD): Likewise.
16569 (R_AARCH64_TLSDESC_CALL): Likewise.
16571 2013-09-30 Andreas Schwab <schwab@suse.de>
16574 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16575 the nss database lookup.
16576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16579 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16581 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16583 2013-09-28 P. J. McDermott <pj@pehjota.net>
16585 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16586 ${Bash-specific parameter/pattern/string} parameter expansion.
16587 * sysdeps/unix/make-syscalls.sh: Likewise.
16589 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16591 * sysdeps/sh/stackguard-macros.h: New file.
16593 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16597 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16598 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16600 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16602 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16605 Fix thread ID register.
16607 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16609 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16610 [POSIX || UNIX98]: Require rather than permitting all symbols from
16612 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16613 element of struct sched_param.
16614 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16615 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16616 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16617 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16620 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16622 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16623 argument calculation.
16625 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16627 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16629 [POSIX] (pthread_attr_t): Do not require type.
16630 [POSIX] (pthread_cond_t): Likewise.
16631 [POSIX] (pthread_condattr_t): Likewise.
16632 [POSIX] (pthread_key_t): Likewise.
16633 [POSIX] (pthread_mutex_t): Likewise.
16634 [POSIX] (pthread_mutexattr_t): Likewise.
16635 [POSIX] (pthread_once_t): Likewise.
16636 [POSIX] (pthread_t): Likewise.
16637 [POSIX-based standards] (pthread_atfork): Expect function.
16639 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16640 Richard Sandiford <richard@codesourcery.com>
16642 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16643 (swap_endianness_p): New extern variable.
16644 (set_big_endian): New inline function.
16645 (maybe_swap_uint32): Likewise.
16646 (maybe_swap_uint32_array): Likewise.
16647 (maybe_swap_uint32_obstack): Likewise.
16648 * locale/programs/locfile.c: Include <stdbool.h>.
16649 (swap_endianness_p): New variable.
16650 (add_locale_uint32): Call maybe_swap_uint32.
16651 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16652 (write_locale_data): Call maybe_swap_uint32_array.
16653 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16655 (obstack_int32_grow_fast): Likewise.
16656 (output_weightwc): Call maybe_swap_uint32_obstack.
16657 (collate_output): Likewise.
16658 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16659 (OPT_LITTLE_ENDIAN): Likewise.
16660 (options): Add --little-endian and --big-endian options.
16661 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16662 * locale/programs/locarchive.c: Include "locfile.h".
16666 (create_archive): Use the new macros to access fields of
16667 structures directly mapped from or written to locale archives.
16668 (oldlocrecentcmp): Likewise.
16669 (enlarge_archive): Likewise.
16670 (insert_name): Likewise.
16671 (add_alias): Likewise.
16672 (add_locale): Likewise.
16673 (delete_locales_from_archive): Likewise.
16674 (show_archive_content): Likewise.
16675 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16678 2013-09-24 Roland McGrath <roland@hack.frob.com>
16680 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16681 http://www.gnu.org/doc/freemanuals.texi.
16682 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16684 2013-09-24 Will Newton <will.newton@linaro.org>
16686 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16689 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16691 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16694 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16696 * manual/threads.texi (POSIX Threads): Fix a typo.
16698 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 * string/tst-strcoll-overflow.c: New test case.
16702 * string/Makefile (xtests): Add tst-strcoll-overflow.
16703 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16704 cache if string sizes may cause integer overflow.
16707 * string/strcoll_l.c (coll_seq): New members rule, idx,
16708 save_idx and back_us.
16709 (get_next_seq_nocache): New function.
16710 (do_compare_nocache): New function.
16711 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16714 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16717 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16718 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16719 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16722 * elf/Makefile (tests): Add tst-ptrguard1.
16723 (tests-static): Add tst-ptrguard1-static.
16724 (tst-ptrguard1-ARGS): Define.
16725 (tst-ptrguard1-static-ARGS): Define.
16726 * elf/tst-ptrguard1.c: New file.
16727 * elf/tst-ptrguard1-static.c: New file.
16728 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16729 * sysdeps/i386/stackguard-macros.h: Likewise.
16730 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16731 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16732 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16733 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16734 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16735 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16737 2013-09-23 Hector Marco <hecmargi@upv.es>
16738 Ismael Ripoll <iripoll@disca.upv.es>
16739 Carlos O'Donell <carlos@redhat.com>
16742 * sysdeps/generic/stackguard-macros.h: Define
16743 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16744 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16745 Define __pointer_chk_guard_local.
16746 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16747 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16749 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16752 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16754 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16756 * include/string.h (__ffs): Declare as hidden.
16757 * string/ffs.c (__ffs): Define as hidden.
16758 * sysdeps/i386/ffs.c (__ffs): Likewise.
16759 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16760 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16761 * sysdeps/s390/ffs.c (__ffs): Likewise.
16762 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16764 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16766 * NEWS: Mention malloc probes.
16768 * malloc/arena.c (new_heap): New memory_heap_new probe.
16769 (grow_heap): New memory_heap_more probe.
16770 (shrink_heap): New memory_heap_less probe.
16771 (heap_trim): New memory_heap_free probe.
16772 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16773 (systrim): New memory_sbrk_less probe.
16774 * manual/probes.texi: Document them.
16776 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16777 * manual/probes.texi: Document it.
16779 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16780 (__libc_realloc): Add memory_realloc_retry probe.
16781 (__libc_memalign): Add memory_memalign_retry probe.
16782 (__libc_valloc): Add memory_valloc_retry probe.
16783 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16784 (__libc_calloc): Add memory_calloc_retry probe.
16785 * manual/probes.texi: Document them.
16787 * malloc/arena.c (get_free_list): Add probe
16788 memory_arena_reuse_free_list.
16789 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16790 and memory_arena_reuse.
16791 (arena_get2) [!PER_THREAD]: Likewise.
16792 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16793 memory_arena_reuse_realloc.
16794 * manual/probes.texi: Document them.
16796 * malloc/malloc.c (__libc_free): Add
16797 memory_mallopt_free_dyn_thresholds probe.
16798 (__libc_mallopt): Add multiple memory_mallopt probes.
16799 * manual/probes.texi: Document them.
16801 * malloc/malloc.c: Include stap-probe.h.
16802 (__libc_mallopt): Add memory_mallopt probe.
16803 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16804 * manual/probes.texi: New.
16805 * manual/Makefile (chapters): Add probes.
16806 * manual/threads.texi: Set next node.
16808 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16810 [BZ #15963, #13985]
16811 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16812 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16813 Add `Chinese' to `nan' entry name.
16815 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16817 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16818 (POLYNOMIAL): Likewise.
16819 (TAYLOR_SINCOS): Likewise.
16820 (TAYLOR_SLOW): Likewise.
16821 (__sin): Use TAYLOR_SINCOS.
16823 (slow): Use TAYLOR_SLOW.
16825 (bsloww): Likewise.
16826 (csloww): Likewise.
16828 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16830 * stdlib/strtod_l.c: Fix buffer overrun.
16832 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16834 * benchtests/Makefile (bench): Add sincos.
16835 * benchtests/bench-sincos.c: New file.
16837 * math/libm-test.inc (cos_test_data): New test inputs.
16838 (sin_test_data): Likewise.
16840 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16846 (sloww1): Likewise.
16847 (sloww2): Likewise.
16848 (bsloww1): Likewise.
16849 (bsloww2): Likewise.
16850 (cslow2): Likewise.
16851 (csloww1): Likewise.
16852 (csloww2): Likewise.
16854 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16863 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16865 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16866 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16867 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16868 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16869 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16870 * elf/cache.c (print_entry): Handle the new cache flags.
16872 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16873 Aldy Hernandez <aldyh@redhat.com>
16875 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16876 Change condition to [_SOFT_FLOAT].
16877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16889 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16892 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16895 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16897 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16898 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16899 (__longjmp): Use LOAD_GP to load saved GPRs.
16900 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16901 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16902 (__sigsetjmp): Use SAVE_GP to save GPRs.
16904 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16905 Do not append -msoft-float.
16906 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16908 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16910 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16912 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16915 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16916 (_FPU_GETCW): Use initial "__" on variable and field names but not
16917 on macro parameter name.
16918 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16919 parentheses around reference to macro parameter.
16921 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16923 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16925 (ctype_startup): Use uint32_t in cast and sizeof for
16928 2013-09-11 Jia Liu <proljc@gmail.com>
16930 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16932 [__FreeBSD__]: Likewise.
16934 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16937 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16938 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16939 (strchr): Remove __strchr_sse42 ifunc selection.
16940 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16941 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16943 2013-09-11 Will Newton <will.newton@linaro.org>
16945 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16946 parameter to RES. Remove hardcoded 1000 value.
16947 * benchtests/bench-skeleton.c (main): Pass RES parameter
16948 to TIMING_INIT and multiply result by 1000.
16950 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16954 2013-09-11 Andreas Schwab <schwab@suse.de>
16956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16958 (O_TMPFILE) [__USE_GNU]: Define.
16959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16962 2013-09-11 Will Newton <will.newton@linaro.org>
16965 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16968 2013-09-11 Will Newton <will.newton@linaro.org>
16971 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16974 2013-09-11 Will Newton <will.newton@linaro.org>
16977 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16980 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16982 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16988 2013-09-10 Allan McRae <allan@archlinux.org>
16991 * manual/arith.texi (Parsing of Floats): Clarify
16995 * manual/install.texi (Running make install): Mention
16997 * INSTALL: Regenerated.
16999 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17001 * csu/init-first.c (_init): Remove the !SHARED condition around
17002 FPU control word initialization.
17003 * elf/dl-support.c (_dl_fpu_control): New variable.
17004 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17005 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17006 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17007 * math/test-fpucw-static.c: New file.
17008 * math/test-fpucw-ieee.c: New file.
17009 * math/test-fpucw-ieee-static.c: New file.
17010 * math/Makefile (tests): Add `test-fpucw-ieee' and
17012 (tests-static): New variable.
17013 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17015 [($(build-shared),yes)]
17016 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17018 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17021 2013-09-09 Allan McRae <allan@archlinux.org>
17024 * manual/string.texi (Collation Functions): Fix typo in
17026 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17029 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17032 * libio/memstream.c (open_memstream): Fix memory leak.
17033 * libio/wmemstream.c (open_wmemstream): Likewise.
17036 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17038 2013-09-09 Will Newton <will.newton@linaro.org>
17040 * malloc/Makefile: Add tst-realloc to tests.
17041 * malloc/tst-realloc.c: New file.
17043 2013-09-09 Allan McRae <allan@archlinux.org>
17046 * COPYING: Update from GNU website to fix FSF address.
17047 * COPYING.LIB: Likewise.
17049 2013-09-06 David S. Miller <davem@davemloft.net>
17051 * po/zh_TW.po: Update Chinese (traditional) translation from
17052 translation project.
17054 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17055 Joseph Myers <joseph@codesourcery.com>
17057 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17059 (obstack_chunk_alloc): New macro.
17060 (obstack_chunk_free): Likewise.
17061 (record_offset): New function.
17062 (init_locale_data): Likewise.
17063 (align_locale_data): Likewise.
17064 (add_locale_empty): Likewise.
17065 (add_locale_raw_data): Likewise.
17066 (add_locale_raw_obstack): Likewise.
17067 (add_locale_string): Likewise.
17068 (add_locale_wstring): Likewise.
17069 (add_locale_uint32): Likewise.
17070 (add_locale_uint32_array): Likewise.
17071 (add_locale_char): Likewise.
17072 (start_locale_structure): Likewise.
17073 (end_locale_structure): Likewise.
17074 (start_locale_prelude): Likewise.
17075 (end_locale_prelude): Likewise.
17076 (write_locale_data): Take locale_file structure rather than an
17078 * locale/programs/locfile.h: Include "obstack.h".
17079 (struct locale_file): Change to store locale file contents instead
17081 (init_locale_data): New prototype.
17082 (align_locale_data): Likewise.
17083 (add_locale_empty): Likewise.
17084 (add_locale_raw_data): Likewise.
17085 (add_locale_raw_obstack): Likewise.
17086 (add_locale_string): Likewise.
17087 (add_locale_wstring): Likewise.
17088 (add_locale_uint32): Likewise.
17089 (add_locale_uint32_array): Likewise.
17090 (add_locale_char): Likewise.
17091 (start_locale_structure): Likewise.
17092 (end_locale_structure): Likewise.
17093 (start_locale_prelude): Likewise.
17094 (end_locale_prelude): Likewise.
17095 (write_locale_data): Update prototype.
17096 * locale/programs/3level.h (struct TABLE): Remove result field.
17097 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17098 Use new locale_file interface.
17099 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17100 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17101 * locale/programs/ld-address.c (address_output): Use new
17102 locale_file interface.
17103 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17105 (collate_finish): Don't call collseq_table_finalize.
17106 (collate_output): Use new locale_file interface.
17107 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17109 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17110 (TABLE): Move defines earlier in file.
17111 (ELEMENT): Likewise.
17112 (DEFAULT): Likewise.
17113 (wctrans_table_add): Move macro and inline function earlier in
17115 (struct wctype_table): Move type earlier in file.
17116 (add_locale_wctype_table): New static prototype.
17117 (struct locale_ctype_t): Use logical types instead of struct iovec
17118 pointers for members.
17119 (ctype_output): Use new locale_file interface.
17120 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17121 new locale_file interface.
17122 (allocate_arrays): Update for use of new locale_file interface.
17123 * locale/programs/ld-identification.c (identification_output): Use
17124 new locale_file interface.
17125 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17126 * locale/programs/ld-messages.c (messages_output): Likewise.
17127 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17128 * locale/programs/ld-name.c (name_output): Likewise.
17129 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17130 * locale/programs/ld-paper.c (paper_output): Likewise.
17131 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17132 * locale/programs/ld-time.c (time_output): Likewise.
17134 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17136 * benchtests/Makefile: Add memrchr benchmark.
17137 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17138 benchmark as memrchr.
17139 * benchtests/bench-memrchr-ifunc.c: New file.
17140 * benchtests/bench-memrchr.c: New file.
17142 2013-09-06 Will Newton <will.newton@linaro.org>
17144 * benchtests/Makefile (string-bench): Add memcpy.
17146 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17147 Cong Wang <amwang@redhat.com>
17150 * sysdeps/unix/sysv/linux/bits/in.h
17151 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17152 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17153 before __USE_KERNEL_IPV6_DEFS uses.
17154 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17156 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17157 sockaddr_in6, or ipv6_mreq.
17159 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17161 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17162 memory access for final bytes in some large inputs.
17163 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17165 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17167 * string/test-memrchr.c: New file.
17168 * string/test-memrchr-ifunc.c: New file.
17169 * string/Makefile: Add new memrchr testcase.
17171 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17173 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17174 fanotify_init returns EPERM.
17176 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17178 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17180 (top level): Treat second token from macro or constant entries for
17181 allowed headers as allowed.
17182 * include/complex.h: Condition internal declarations on
17184 * include/fenv.h: Condition include of <stdbool.h> and internal
17185 declarations on [!_ISOMAC].
17187 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17190 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17192 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17194 * configure.in (--enable-versioning): Remove configure option.
17195 (libc_cv_asm_symver_directive): Remove configure test.
17196 (libc_cv_ld_version_script_option): Likewise.
17197 (VERSIONING): Remove variable and AC_SUBST.
17198 (DO_VERSIONING): Remove AC_DEFINE.
17199 * configure: Regenerated.
17200 * config.h.in (DO_VERSIONING): Remove macro.
17201 * Makerules [$(versioning) = yes]: Change conditionals to
17202 [$(build-shared) = yes].
17203 * config.make.in (versioning): Remove variable.
17204 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17205 [$(build-shared) = yes].
17206 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17207 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17208 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17209 [$(build-shared) = yes].
17210 * extra-lib.mk [$(versioning) = yes]: Likewise.
17211 * hurd/Makefile [$(versioning) = yes]: Likewise.
17212 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17214 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17216 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17217 [SHARED && !NO_HIDDEN].
17218 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17220 [SHARED && DO_VERSIONING]: Likewise..
17221 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17222 [$(build-shared) = yes].
17223 * manual/install.texi (--disable-versioning): Remove
17225 * INSTALL: Regenerated.
17226 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17228 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17229 [$(build-shared) = yes].
17230 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17231 * sysdeps/i386/i686/multiarch/strstr-c.c
17232 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17233 [SHARED && !NO_HIDDEN].
17234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17235 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17236 * sysdeps/powerpc/powerpc32/dl-machine.c
17237 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17238 * sysdeps/powerpc/powerpc32/sysdep.h
17239 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17240 to [SHARED && PIC && !NO_HIDDEN].
17241 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17242 conditional to [SHARED].
17244 2013-09-04 Will Newton <will.newton@linaro.org>
17246 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17247 * benchtests/bench-string.h: Include bench-timing.h instead
17248 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17249 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17250 call to HP_TIMING_DIFF_INIT.
17251 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17252 instead of hp-timing.h macros.
17253 * benchtests/bench-memchr.c: Likewise.
17254 * benchtests/bench-memcmp.c: Likewise.
17255 * benchtests/bench-memcpy.c: Likewise.
17256 * benchtests/bench-memmem.c: Likewise.
17257 * benchtests/bench-memmove.c: Likewise.
17258 * benchtests/bench-memset.c: Likewise.
17259 * benchtests/bench-rawmemchr.c: Likewise.
17260 * benchtests/bench-strcasecmp.c: Likewise.
17261 * benchtests/bench-strcasestr.c: Likewise.
17262 * benchtests/bench-strcat.c: Likewise.
17263 * benchtests/bench-strchr.c: Likewise.
17264 * benchtests/bench-strcmp.c: Likewise.
17265 * benchtests/bench-strcpy.c: Likewise.
17266 * benchtests/bench-strcpy_chk.c: Likewise.
17267 * benchtests/bench-strlen.c: Likewise.
17268 * benchtests/bench-strncasecmp.c: Likewise.
17269 * benchtests/bench-strncat.c: Likewise.
17270 * benchtests/bench-strncmp.c: Likewise.
17271 * benchtests/bench-strncpy.c: Likewise.
17272 * benchtests/bench-strnlen.c: Likewise.
17273 * benchtests/bench-strpbrk.c: Likewise.
17274 * benchtests/bench-strrchr.c: Likewise.
17275 * benchtests/bench-strspn.c: Likewise.
17276 * benchtests/bench-strstr.c: Likewise.
17278 2013-09-04 Will Newton <will.newton@linaro.org>
17280 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17282 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17285 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17286 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17287 * math/libm-test.inc (lgamma_test_data): Add more tests.
17288 * sysdeps/i386/fpu/libm-test-ulps: Update.
17289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17291 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17293 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17297 Add strcmp-sse2-unaligned
17298 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17300 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17302 * Versions.def (libc): Add GLIBC_2.19.
17304 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17306 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17307 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17309 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17312 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17313 intermediate calculations in recurrence.
17314 (__ieee754_ynf): Likewise.
17315 * math/libm-test.inc (jn_test_data): Do not allow spurious
17316 underflow exception. Add more tests.
17317 (yn_test_data): Add more tests.
17318 * sysdeps/i386/fpu/libm-test-ulps: Update.
17319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17323 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17325 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17327 * csu/init-first.c: Fix then/than typos.
17328 * locale/programs/ld-collate.c: Likewise.
17329 * locale/programs/linereader.h: Likewise.
17330 * manual/charset.texi: Likewise.
17331 * manual/filesys.texi: Likewise.
17332 * manual/stdio.texi: Likewise.
17333 * manual/string.texi: Likewise.
17334 * stdlib/fmtmsg.c: Likewise.
17335 * sysdeps/i386/stpncpy.S: Likewise.
17336 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17337 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17339 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17341 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17343 * elf/dl-open.c: Fix typos.
17344 * iconvdata/gbbig5.c: Likewise.
17345 * iconvdata/iso-2022-jp.c: Likewise.
17346 * iconv/gconv_int.h: Likewise.
17347 * iconv/loop.c: Likewise.
17348 * nis/rpcsvc/nis.h: Likewise.
17349 * resolv/ns_name.c: Likewise.
17350 * stdio-common/vfscanf.c: Likewise.
17351 * streams/stropts.h: Likewise.
17352 * sunrpc/rpc_thread.c: Likewise.
17353 * sysdeps/i386/strpbrk.S: Likewise.
17354 * sysdeps/ieee754/k_standard.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17357 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17358 * sysdeps/mach/hurd/profil.c: Likewise.
17359 * sysdeps/s390/dl-procinfo.h: Likewise.
17360 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17362 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17363 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17366 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17368 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17371 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17373 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17374 aix specific files.
17375 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17376 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17379 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17380 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17381 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17384 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17385 Roland McGrath <roland@hack.frob.com>
17387 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17388 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17390 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17392 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17393 __executable_start symbol instead of _start.
17395 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17397 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17398 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17400 * sysdeps/gnu/ldsodefs.h: ... this new file.
17402 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17403 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17404 instead of ELFOSABI_LINUX.
17406 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17407 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17408 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17409 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17411 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17412 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17413 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17415 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17416 (ibm_extended_long_double): Add ieee_nan member.
17417 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17418 (do_test): New function.
17420 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17422 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17423 functions, renamed from truncdfsf_test, trunctfsf_test,
17425 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17427 (do_test): Run all these.
17429 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17431 * argp/argp-help.c: Fix typos.
17432 * argp/argp-parse.c: Likewise.
17433 * debug/backtracesyms.c: Likewise.
17434 * elf/elf.h: Likewise.
17435 * malloc/malloc.c: Likewise.
17436 * nis/nis_print.c: Likewise.
17437 * resolv/res_comp.c: Likewise.
17438 * stdlib/stdlib.h: Likewise.
17439 * sunrpc/clnt_tcp.c: Likewise.
17440 * sunrpc/clnt_udp.c: Likewise.
17441 * sunrpc/clnt_unix.c: Likewise.
17442 * sysdeps/unix/bsd/ptsname.c: Likewise.
17443 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17444 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17451 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17453 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17455 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17458 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17461 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17462 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17463 ($(objpfx)bug-dl-leaf): New rule.
17464 ($(objpfx)bug-dl-leaf.so): Likewise.
17465 ($(objpfx)bug-dl-leaf.out): Likewise.
17466 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17467 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17468 * dlfcn/bug-dl-leaf.c: New test.
17469 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17470 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17471 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17472 (dlclose): Likewise.
17473 (dlmopen): Likewise.
17475 2013-08-27 Roland McGrath <roland@hack.frob.com>
17477 * include/netdb.h [!_ISOMAC]:
17478 Don't include <tls.h>.
17479 (h_errno, __libc_h_errno): Move declaration and macros out of
17482 * include/resolv.h [_RESOLV_H_]:
17483 Don't include <tls.h>.
17484 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17485 * resolv/res_libc.c: Don't include <tls.h>.
17486 (_res): Use __attribute__ ((nocommon)) in place of
17487 __attribute__ ((section (".bss"))).
17489 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17490 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17492 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17494 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17495 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17497 * resolv/res_mkquery.c: Include <sys/time.h>.
17499 * inet/ifreq.c: Moved to ...
17500 * sysdeps/unix/ifreq.c: ... here.
17501 * inet/ifreq.c: New file, true stub version.
17503 * socket/sa_len.c: New file.
17504 * socket/Makefile (aux): Add it.
17505 * sysdeps/unix/sysv/linux/Makefile
17506 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17507 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17508 and #include <socket/sa_len.c>.
17509 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17510 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17512 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17513 * bits/socket.h: ... here.
17515 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17516 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17517 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17519 2013-08-27 Andreas Schwab <schwab@suse.de>
17522 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17523 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17524 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17525 * string/test-strcasecmp.c (test_main): Run tests in several
17527 * string/test-strncasecmp.c (test_main): Likewise.
17529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17530 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17531 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17533 (__strncasecmp_ssse3) [PIC]: Likewise.
17535 2013-08-26 Roland McGrath <roland@hack.frob.com>
17537 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17539 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17540 instead of explicitly declaring xdecrypt.
17541 * nis/nss_nis/nis-publickey.c: Likewise.
17543 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17546 * nscd/aicache.c: Include res_hconf.h.
17547 (addhstaiX): Initialize res_hconf.
17549 2013-08-26 Andreas Schwab <schwab@suse.de>
17551 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17552 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17554 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17556 * nscd/aicache.c (addhstaiX): Fix indentation.
17558 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17560 * configure.ac: Quote $build_pt_chown test.
17561 * configure: Regenerated.
17563 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17566 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17567 * math/s_cexpf.c (__cexpf): Likewise.
17568 * math/s_cexpl.c (__cexpl): Likewise.
17569 * math/libm-test.inc (cexp_test_data): Correct expected return
17570 value for NaN + i0. Add another test.
17572 2013-08-22 David S. Miller <davem@davemloft.net>
17574 * po/ca.po: Update Catalan translation from translation project.
17575 * po/uk.po: Add Ukrainian translations from translation project.
17577 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17580 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17581 is infinite, not alongside NaN test.
17582 * math/s_fdimf.c (__fdimf): Likewise.
17583 * math/s_fdiml.c (__fdiml): Likewise.
17584 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17585 errno is unchanged.
17587 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17589 * argp/argp-help.c: Fix typos.
17590 * crypt/speeds.c: Likewise.
17591 * csu/check_fds.c: Likewise.
17592 * elf/dl-load.c: Likewise.
17593 * elf/dl-open.c: Likewise.
17594 * elf/reldep3.c: Likewise.
17595 * elf/reldep.c: Likewise.
17596 * elf/sprof.c: Likewise.
17597 * iconv/iconv_charmap.c: Likewise.
17598 * iconv/skeleton.c: Likewise.
17599 * iconv/strtab.c: Likewise.
17600 * io/lockf64.c: Likewise.
17601 * libio/libioP.h: Likewise.
17602 * resolv/gai_notify.c: Likewise.
17603 * resolv/ns_name.c: Likewise.
17604 * resolv/ns_samedomain.c: Likewise.
17605 * resolv/res_send.c: Likewise.
17606 * stdlib/random.c: Likewise.
17607 * sunrpc/rpc/xdr.h: Likewise.
17608 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17609 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17610 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17611 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17616 * sysdeps/mach/hurd/check_fds.c: Likewise.
17617 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17618 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17621 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17622 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17623 * sysdeps/pthread/aio_notify.c: Likewise.
17624 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17625 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17626 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17628 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17630 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17632 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17633 version if bit_Slow_SSE4_2 is set.
17634 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17635 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17637 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17640 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17641 trampoline stack frame information.
17642 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17644 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17645 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17646 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17647 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17648 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17649 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17651 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17652 interrupting a syscall and set with option SA_SIGINFO.
17654 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17657 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17658 argument is infinite.
17659 * math/s_cprojf.c (__cprojf): Likewise.
17660 * math/s_cprojl.c (__cprojl): Likewise.
17661 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17662 * math/libm-test.inc (cproj_test_data): Add more tests.
17664 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17666 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17667 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17668 size. Use __ffs to determine corresponding shift.
17670 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17671 Roland McGrath <roland@hack.frob.com>
17673 * Makefile (INSTALL): Remove trailing blank lines from output of
17676 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17678 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17679 Align 32 bit compat elf_greg to 8 bytes.
17681 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17683 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17685 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17687 * string/strcoll_l.c (coll_seq): New structure.
17688 (get_next_seq_cached): New function.
17689 (get_next_seq): New function.
17690 (do_compare): New function.
17691 (STRCOLL): Use GNU style definition. Simplify implementation
17692 by using get_next_seq, get_next_seq_cached and do_compare.
17694 2013-08-16 Florian Weimer <fweimer@redhat.com>
17698 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17700 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17702 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17703 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17704 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17706 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17707 GETDENTS_64BIT_ALIGNED.
17708 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17709 * manual/filesys.texi (Reading/Closing Directory): Document
17710 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17712 * manual/conf.texi (Limits for Files): Add portability note to
17713 NAME_MAX, PATH_MAX.
17714 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17716 2013-08-13 Andreas Schwab <schwab@suse.de>
17719 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17721 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17722 LDBL_MAX_EXP >= 16384]: Add tests for it.
17724 2013-08-12 David S. Miller <davem@davemloft.net>
17726 * version.h (RELEASE): Set to "development".
17727 (VERSION): Set to "2.18.90".
17728 * NEWS: Add 2.19 section.
17730 2013-08-03 David S. Miller <davem@davemloft.net>
17732 * po/ko.po: Update Korean translation from translation project.
17734 2013-08-01 David S. Miller <davem@davemloft.net>
17736 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17737 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17740 2013-07-30 David S. Miller <davem@davemloft.net>
17742 * po/fr.po: Update French translation from translation project.
17744 2013-07-28 David S. Miller <davem@davemloft.net>
17746 * po/cs.po: Update Czech translation from translation project.
17748 * po/sv.po: Update Swedish translation from translation project.
17750 2013-07-27 David S. Miller <davem@davemloft.net>
17752 * po/eo.po: Update Esperanto translation from translation project.
17754 * po/vi.po: Update Vietnamese translation from translation project.
17756 * po/de.po: Update German translation from translation project.
17758 2013-07-26 David S. Miller <davem@davemloft.net>
17760 * po/bg.po: Update Bulgarian translation from translation project.
17762 * po/nl.po: Update Dutch translation from translation project.
17763 * po/pl.po: Update Polish translation from translation project.
17764 * po/ru.po: Update Russian translation from translation project.
17766 2013-07-24 David S. Miller <davem@davemloft.net>
17768 * po/libc.pot: Update.
17770 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17772 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17773 variable page size.
17774 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17775 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17776 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17778 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17780 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17782 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17783 Andreas Schwab <schwab@suse.de>
17784 Roland McGrath <roland@hack.frob.com>
17785 Joseph Myers <joseph@codesourcery.com>
17786 Carlos O'Donell <carlos@redhat.com>
17789 * config.h.in: Define HAVE_PT_CHOWN.
17790 * config.make.in (build-pt-chown): New variable.
17791 * configure.in (--enable-pt_chown): New configure option.
17792 * configure: Regenerate.
17793 * login/Makefile: Include Makeconfig. Build pt_chown only if
17794 build-pt-chown is enabled.
17795 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17796 pt_chown to fix pty ownership.
17797 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17799 * manual/install.texi (Configuring and compiling): Mention
17800 --enable-pt_chown. Add @findex for grantpt.
17801 * INSTALL: Regenerate.
17803 2013-07-20 David S. Miller <davem@davemloft.net>
17805 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17806 difference between 32-bit and 64-bit.
17808 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17811 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17812 Avoid system header dependency with -ffreestanding.
17813 ($(objpfx)bits/syscall%d): Likewise.
17815 2013-07-13 David S. Miller <davem@davemloft.net>
17817 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17818 underflows from atanl/atan2l due to bug 15319.
17819 (casinh_test_data): Likewise.
17821 2013-07-07 David S. Miller <davem@davemloft.net>
17823 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17825 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17827 * sysdeps/i386/fpu/libm-test-ulps: Update.
17828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17830 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17832 * configure.in (--enable-lock-elision): Fix message text.
17833 * INSTALL: Regenerate.
17834 * configure: Regenerate.
17836 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17840 2013-07-03 Andreas Jaeger <aj@suse.de>
17842 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17844 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17845 (ptrace_peeksiginfo_args): Add.
17846 (__ptrace_peeksiginfo_flags): Add.
17847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17851 2013-07-03 Allan McRae <allan@archlinux.org>
17853 * sysdeps/i386/fpu/libm-test-ulps: Update.
17855 2013-07-02 David S. Miller <davem@davemloft.net>
17857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17859 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17863 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17865 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 2013-07-02 Andi Kleen <ak@linux.intel.com>
17870 * config.h.in (ENABLE_LOCK_ELISION): Add.
17871 * configure.in (--enable-lock-elision): Add option.
17872 * manual/install.texi: Document --enable lock elision.
17873 * configure: Regenerate
17874 * INSTALL: Regenerate.
17876 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17878 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17879 SSE4.2 strcasecmp for libc.a.
17880 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17882 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17885 * soft-fp/op-common.h (_FP_FMA): New macro.
17886 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17887 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17888 (_FP_MUL_MEAT_1_imm): ... here.
17889 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17890 (_FP_MUL_MEAT_1_wide): ... here.
17891 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17892 (_FP_MUL_MEAT_1_hard): ... here.
17893 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17894 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17895 (_FP_MUL_MEAT_2_wide): ... here.
17896 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17897 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17898 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17899 (_FP_MUL_MEAT_2_gmp): ... here.
17900 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17901 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17902 (_FP_MUL_MEAT_4_wide): ... here.
17903 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17904 (_FP_MUL_MEAT_4_gmp): ... here.
17905 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17906 (_FP_WFRACBITS_DW_S): Likewise.
17907 (_FP_WFRACXBITS_DW_S): Likewise.
17908 (_FP_HIGHBIT_DW_S): Likewise.
17909 (FP_FMA_S): Likewise.
17910 (_FP_FRAC_HIGH_DW_S): Likewise.
17911 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17912 (_FP_WFRACBITS_DW_D): Likewise.
17913 (_FP_WFRACXBITS_DW_D): Likewise.
17914 (_FP_HIGHBIT_DW_D): Likewise.
17915 (FP_FMA_D): Likewise.
17916 (_FP_FRAC_HIGH_DW_D): Likewise.
17917 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17918 (_FP_WFRACBITS_DW_E): Likewise.
17919 (_FP_WFRACXBITS_DW_E): Likewise.
17920 (_FP_HIGHBIT_DW_E): Likewise.
17921 (FP_FMA_E): Likewise.
17922 (_FP_FRAC_HIGH_DW_E): Likewise.
17923 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17924 (_FP_WFRACBITS_DW_Q): Likewise.
17925 (_FP_WFRACXBITS_DW_Q): Likewise.
17926 (_FP_HIGHBIT_DW_Q): Likewise.
17927 (FP_FMA_Q): Likewise.
17928 (_FP_FRAC_HIGH_DW_Q): Likewise.
17929 * soft-fp/fmasf4.c: New file.
17930 * soft-fp/fmadf4.c: Likewise.
17931 * soft-fp/fmatf4.c: Likewise.
17933 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17936 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17940 (index_Slow_SSE4_2): Likewise.
17941 (index_Prefer_PMINUB_for_stringop): Likewise.
17942 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17943 bit_Slow_SSE4_2 is set.
17944 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17945 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17947 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17949 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17950 rtld_global._dl_hwcap2.
17951 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17953 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17954 POWER8 feature descriptions defined in _dl_hwcap2.
17955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17956 string handling for POWER8 feature bits.
17957 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17958 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17959 _dl_powerpc_cap_flags.
17960 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17961 * sysdeps/powerpc/rtld-global-offsets.sym
17962 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17963 _dl_hwcap2 in the rtld_global_ro structure.
17965 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17967 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17968 hardware capabilities in support of AT_HWCAP2.
17969 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17970 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17972 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17973 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17974 explicitly the unknown a_type display mechanism is used.
17975 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17976 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17978 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17979 to macro prototype for AT_HWCAP2 support.
17980 * sysdeps/i386/dl-procinfo.h: Likewise.
17981 * sysdeps/s390/dl-procinfo.h: Likewise.
17982 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17983 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17984 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17985 return -1 for unknown a_type display fallback.
17986 * sysdeps/sparc/dl-procinfo.h: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17988 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17990 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17992 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17993 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17995 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17998 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17999 mprotect making __stack_prot writable.
18001 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18002 Joseph Myers <joseph@codesourcery.com>
18004 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18005 as being properly aligned.
18007 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18009 * dlfcn/modstatic5.c: New file.
18010 * dlfcn/tststatic5.c: New file.
18011 * dlfcn/Makefile (tests): Add tststatic5.
18012 (tests-static): Likewise.
18013 (modules-names): Add modstatic5.
18014 (tststatic5-ENV): New variable.
18015 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18018 * elf/dl-support.c (_dl_main_map): New variable.
18019 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18020 (_dl_nns, _dl_load_adds): Set to 1.
18021 (_dl_initial_searchlist): Refer to _dl_main_map.
18022 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18023 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18024 call to _dl_get_origin.
18025 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18027 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18028 * dlfcn/modstatic3.c: New file.
18029 * dlfcn/tststatic3.c: New file.
18030 * dlfcn/tststatic4.c: New file.
18031 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18032 (tests-static): Likewise.
18033 (modules-names): Add modstatic3.
18034 (tststatic3-ENV, tststatic4-ENV): New variables.
18035 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18036 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18038 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18040 * configure.in (CC): Require GCC version 4.4 or later.
18041 * configure: Regenerated.
18042 * manual/install.texi (Tools for Compilation): Update GCC version
18044 * INSTALL: Regenerated.
18046 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18049 * string/test-memcmp.c (check2): New.
18050 (main): Call check2.
18052 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18054 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18057 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18059 (dl_open_worker) [!SHARED]: ... here.
18061 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18063 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18065 2013-06-25 Richard Henderson <rth@redhat.com>
18067 * locale/programs/locarchive.c: Include <libc-internal.h>
18069 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18071 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18072 trailing whitespace removed.
18074 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18077 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18078 * locale/programs/locarchive.c: Include libc-mmap.h.
18079 (prepare_address_space): Take two new outputs (the mmap base and len).
18080 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18082 (create_archive): Declare new mmap base and len values for
18083 prepare_address_space, and store the result in ah.
18084 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18085 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18086 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18087 Declare new mmap base and len values for
18088 prepare_address_space, and store the result in new_ah.
18089 (open_archive): Declare new mmap base and len values for
18090 prepare_address_space, and store the result in ah.
18091 (close_archive): If ah->mmap_base is not NULL, use that and
18092 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18093 * sysdeps/generic/libc-mmap.h: New file.
18095 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18097 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18098 (ALIGN_UP): Likewise.
18099 (PTR_ALIGN_DOWN): Likewise.
18100 (PTR_ALIGN_UP): Likewise.
18102 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18104 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18105 entry mapped to PPC_PLATFORM_POWER8.
18106 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18108 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18109 (_dl_string_platform): Add case for exporting platform position for
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18112 search path to sysdeps/powerpc/powerpc32/power8 directory.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18114 search path to sysdeps/powerpc/powerpc64/power8 directory.
18115 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18116 power7 directories.
18117 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18118 power7 directories.
18120 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18122 * INSTALL: Regenerate.
18124 * nscd/connections.c (nscd_init): Fix comment.
18126 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18128 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18131 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18132 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18134 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18136 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18138 (DL_DST_REQ_STATIC): Remove macro.
18140 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18143 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18144 with a shift of 0 bits.
18146 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18148 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18151 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18154 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18156 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18158 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18159 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18160 accepts -fno-tree-loop-distribute-patterns.
18161 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18162 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18164 * string/memset.c (memset): Likewise.
18165 * string/test-memmove.c (simple_memmove): Disable loop transformation
18167 * string/test-memset.c (simple_memset): Likewise.
18168 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18169 * benchtests/bench-memset.c (simple_memset): Likewise.
18170 * configure: Regenerated.
18172 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18174 * math/test-misc.c (main): Ignore fesetround failure when failures
18175 of subsequent rounding tests would be ignored.
18178 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18179 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18180 * math/fegetenv.c (__fegetenv): Return 0.
18181 * math/fegetexcept.c (fegetexcept): Return 0.
18182 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18184 * math/feholdexcpt.c (feholdexcept): Return 0.
18185 * math/fesetenv.c (__fesetenv): Return 0.
18186 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18187 argument FE_TONEAREST.
18188 * math/feupdateenv.c (__feupdateenv): Return 0.
18189 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18191 2013-06-18 Roland McGrath <roland@hack.frob.com>
18193 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18194 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18195 ($(objpfx)rtld-%.os rules): Use them.
18197 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18202 2013-06-17 Roland McGrath <roland@hack.frob.com>
18204 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18205 length of target pattern, then descending length of dependency pattern.
18206 * configure.in (AWK): Require gawk 3.1.2 or newer.
18207 * manual/install.texi (Tools for Compilation): Say that we do.
18208 * configure: Regenerated.
18210 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18211 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18212 * scripts/sysd-rules.awk: ... this new script.
18213 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18214 than a glob-style pattern.
18216 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18218 * math/test-misc.c (main): Do not treat incorrectly rounded
18219 conversions as failure unless ROUNDING_TESTS passes.
18221 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18224 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18225 restore exception state around main square root computation, then
18226 check for inexactness explicitly.
18228 * math/libm-test.inc (fma_test_data): Add another test.
18230 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18232 * manual/threads.texi (Non-POSIX Extensions): New document
18233 node. Document pthread_getattr_default_np and
18234 pthread_setattr_default_np.
18236 * Versions.def (libpthread): Add GLIBC_2.18.
18237 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18246 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18257 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18260 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18262 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18263 H.J. Lu <hjl.tools@gmail.com>
18266 * sysdeps/x86_64/rtld-memset.c: Remove file.
18267 * sysdeps/x86_64/rtld-memset.S: New file.
18269 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18271 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18272 (test_in_one_mode): Take arguments for whether the rounding mode
18273 is supported for each floating-point type.
18274 (do_test): Pass new arguments to test_in_one_mode using
18277 2013-06-13 Roland McGrath <roland@hack.frob.com>
18279 * posix/tst-waitid.c (do_test): Distinguish different instances of
18280 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18281 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18282 before entering the kernel for waitpid.
18284 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18286 * NEWS: Fix note on clock function precision. Text by Roland
18289 2013-06-13 Roland McGrath <roland@hack.frob.com>
18291 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18292 it into place only when and if the sanity check passes.
18294 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18296 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18297 output for whether conversion result is exact. Take argument
18298 indicating whether type is IBM long double.
18299 (round_for_all): Change need_exact field to ibm_ld.
18300 * stdlib/tst-strtod-round.c (struct exactness): New type.
18301 (struct test): Change bool ld_ok field to struct exactness exact.
18302 (TEST): Update all definitions for change to field.
18303 (tests): Regenerate array contents.
18304 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18305 field value. Check for IBM long double here.
18306 (do_test): Update calls to test_in_one_mode.
18308 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18311 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18312 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18314 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18318 generated by the compiler on loop optimizations.
18319 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18320 general definitions.
18322 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18324 * math/bug-nextafter.c: Include <math-tests.h>.
18325 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18327 * math/bug-nexttoward.c: Include <math-tests.h>.
18328 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18330 * math/test-misc.c: Include <math-tests.h>.
18331 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18334 2013-06-12 Andreas Jaeger <aj@suse.de>
18336 * po/ia.po: Update Interlingua translation from translation
18339 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18341 * include/fenv.h: Include stdbool.h.
18342 (struct rm_ctx): New structure.
18343 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18345 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18346 (SET_RESTORE_ROUNDF): Likewise.
18347 (SET_RESTORE_ROUNDL): Likewise.
18348 (SET_RESTORE_ROUND_NOEX): Likewise.
18349 (SET_RESTORE_ROUND_NOEXF): Likewise.
18350 (SET_RESTORE_ROUND_NOEXL): Likewise.
18351 (SET_RESTORE_ROUND_53BIT): Likewise.
18352 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18353 (libc_feresetround_noexf_ctx): Likewise.
18354 (libc_feresetround_noexl_ctx): Likewise.
18355 (libc_feholdsetround_53bit_ctx): Likewise.
18356 (libc_feresetround_53bit_ctx): Likewise.
18357 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18358 (libc_feholdexcept_setround_sse_ctx): New function.
18359 (libc_fesetenv_sse_ctx): Likewise.
18360 (libc_feupdateenv_sse_ctx): Likewise.
18361 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18362 (libc_feholdexcept_setround_387_ctx): Likewise.
18363 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18364 (libc_feholdsetround_387_prec_ctx): Likewise.
18365 (libc_feholdsetround_387_ctx): Likewise.
18366 (libc_feholdsetround_387_53bit_ctx): Likewise.
18367 (libc_feholdsetround_sse_ctx): Likewise.
18368 (libc_feresetround_sse_ctx): Likewise.
18369 (libc_feresetround_387_ctx): Likewise.
18370 (libc_feupdateenv_387_ctx): Likewise.
18371 (libc_feholdexcept_setroundf_ctx): Define macro.
18372 (libc_fesetenvf_ctx): Likewise.
18373 (libc_feupdateenvf_ctx): Likewise.
18374 (libc_feholdsetroundf_ctx): Likewise.
18375 (libc_feresetroundf_ctx): Likewise.
18376 (libc_feholdexcept_setround_ctx): Likewise.
18377 (libc_fesetenv_ctx): Likewise.
18378 (libc_feupdateenv_ctx): Likewise.
18379 (libc_feholdsetround_ctx): Likewise.
18380 (libc_feresetround_ctx): Likewise.
18381 (libc_feholdexcept_setroundl_ctx): Likewise.
18382 (libc_feupdateenvl_ctx): Likewise.
18383 (libc_feholdsetroundl_ctx): Likewise.
18384 (libc_feresetroundl_ctx): Likewise.
18385 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18386 (libc_feresetround_53bit_ctx): Likewise.
18388 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18390 * locale/iso-639.def: Convert to UTF-8.
18392 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18394 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18395 (EXCEPTION_TESTS_double): Likewise.
18396 (EXCEPTION_TESTS_long_double): Likewise.
18397 (EXCEPTION_TESTS): Likewise.
18398 * math/libm-test.inc (test_exceptions): Only test exceptions if
18399 EXCEPTION_TESTS (FLOAT).
18401 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18403 * benchtests/Makefile (string-bench): Add strcpy_chk and
18405 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18406 * benchtests/bench-stpcpy_chk.c: New file.
18407 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18408 * benchtests/bench-strcpy_chk.c: New file.
18409 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18411 (do_test): Likewise.
18413 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18415 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18416 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18417 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18418 with tabs where appropriate.
18419 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18421 [PPC_PLATFORM_PPC440]: Likewise.
18422 [PPC_PLATFORM_PPC464]: Likewise.
18423 [PPC_PLATFORM_PPC476]: Likewise.
18424 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18425 ppc464, and ppc476 platform strings merging from ports/
18428 2013-06-11 Andreas Schwab <schwab@suse.de>
18431 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18432 (from_ucs4_idx): Regenerate.
18433 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18434 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18435 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18436 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18437 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18438 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18439 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18440 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18441 from FROM_LOOP and TO_LOOP specific macros.
18442 (BODY): Handle combining characters.
18443 * iconvdata/BIG5HKSCS.irreversible: Update.
18444 * iconvdata/BIG5HKSCS.precomposed: New file.
18445 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18447 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18449 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18451 * include/sys/time.h: Fix indentation and add copyright header.
18453 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18454 (do_test): Likewise.
18455 * string/test-memchr.c (do_one_test): Likewise.
18456 (do_test): Likewise.
18457 * string/test-memcmp.c (do_one_test): Likewise.
18458 (do_test): Likewise.
18459 * string/test-memcpy.c (do_one_test): Likewise.
18460 (do_test): Likewise.
18461 * string/test-memmem.c (do_one_test): Likewise.
18462 (do_test): Likewise.
18463 (do_random_tests): Likewise.
18464 * string/test-memmove.c (do_one_test): Likewise.
18465 (do_test): Likewise.
18466 * string/test-memset.c (do_one_test): Likewise.
18467 (do_test): Likewise.
18468 * string/test-rawmemchr.c (do_one_test): Likewise.
18469 (do_test): Likewise.
18470 * string/test-strcasecmp.c (do_one_test): Likewise.
18471 (do_test): Likewise.
18472 * string/test-strcasestr.c (do_one_test): Likewise.
18473 (do_test): Likewise.
18474 * string/test-strcat.c (do_one_test): Likewise.
18475 (do_test): Likewise.
18476 * string/test-strchr.c (do_one_test): Likewise.
18477 (do_test): Likewise.
18478 * string/test-strcmp.c (do_one_test): Likewise.
18479 (do_test): Likewise.
18480 * string/test-strcpy.c (do_one_test): Likewise.
18481 (do_test): Likewise.
18482 * string/test-string.h: Likewise.
18483 (test_init): Likewise.
18484 * string/test-strlen.c (do_one_test): Likewise.
18485 (do_test): Likewise.
18486 * string/test-strncasecmp.c (do_one_test): Likewise.
18487 (do_test): Likewise.
18488 * string/test-strncat.c (do_one_test): Likewise.
18489 (do_test): Likewise.
18490 * string/test-strncmp.c (do_one_test): Likewise.
18491 (do_test_limit): Likewise.
18492 (do_test): Likewise.
18493 * string/test-strncpy.c (do_one_test): Likewise.
18494 (do_test): Likewise.
18495 * string/test-strnlen.c (do_one_test): Likewise.
18496 (do_test): Likewise.
18497 * string/test-strpbrk.c (do_one_test): Likewise.
18498 (do_test): Likewise.
18499 * string/test-strrchr.c (do_one_test): Likewise.
18500 (do_test): Likewise.
18501 * string/test-strspn.c (do_one_test): Likewise.
18502 (do_test): Likewise.
18503 * string/test-strstr.c (do_one_test): Likewise.
18504 (do_test): Likewise.
18506 * benchtests/Makefile (string-bench): Add string benchmarks.
18507 * benchtests/bench-bcopy-ifunc.c: New file.
18508 * benchtests/bench-bcopy.c: New file.
18509 * benchtests/bench-bzero-ifunc.c: New file.
18510 * benchtests/bench-bzero.c: New file.
18511 * benchtests/bench-memccpy-ifunc.c: New file.
18512 * benchtests/bench-memccpy.c: New file.
18513 * benchtests/bench-memchr-ifunc.c: New file.
18514 * benchtests/bench-memchr.c: New file.
18515 * benchtests/bench-memcmp-ifunc.c: New file.
18516 * benchtests/bench-memcmp.c: New file.
18517 * benchtests/bench-memmem-ifunc.c: New file.
18518 * benchtests/bench-memmem.c: New file.
18519 * benchtests/bench-memmove-ifunc.c: New file.
18520 * benchtests/bench-memmove.c: New file.
18521 * benchtests/bench-mempcpy-ifunc.c: New file.
18522 * benchtests/bench-mempcpy.c: New file.
18523 * benchtests/bench-memset-ifunc.c: New file.
18524 * benchtests/bench-memset.c: New file.
18525 * benchtests/bench-rawmemchr-ifunc.c: New file.
18526 * benchtests/bench-rawmemchr.c: New file.
18527 * benchtests/bench-stpcpy-ifunc.c: New file.
18528 * benchtests/bench-stpcpy.c: New file.
18529 * benchtests/bench-stpncpy-ifunc.c: New file.
18530 * benchtests/bench-stpncpy.c: New file.
18531 * benchtests/bench-strcasecmp-ifunc.c: New file.
18532 * benchtests/bench-strcasecmp.c: New file.
18533 * benchtests/bench-strcasestr-ifunc.c: New file.
18534 * benchtests/bench-strcasestr.c: New file.
18535 * benchtests/bench-strcat-ifunc.c: New file.
18536 * benchtests/bench-strcat.c: New file.
18537 * benchtests/bench-strchr-ifunc.c: New file.
18538 * benchtests/bench-strchr.c: New file.
18539 * benchtests/bench-strchrnul-ifunc.c: New file.
18540 * benchtests/bench-strchrnul.c: New file.
18541 * benchtests/bench-strcmp-ifunc.c: New file.
18542 * benchtests/bench-strcmp.c: New file.
18543 * benchtests/bench-strcpy-ifunc.c: New file.
18544 * benchtests/bench-strcpy.c: New file.
18545 * benchtests/bench-strcspn-ifunc.c: New file.
18546 * benchtests/bench-strcspn.c: New file.
18547 * benchtests/bench-strlen-ifunc.c: New file.
18548 * benchtests/bench-strlen.c: New file.
18549 * benchtests/bench-strncasecmp-ifunc.c: New file.
18550 * benchtests/bench-strncasecmp.c: New file.
18551 * benchtests/bench-strncat-ifunc.c: New file.
18552 * benchtests/bench-strncat.c: New file.
18553 * benchtests/bench-strncmp-ifunc.c: New file.
18554 * benchtests/bench-strncmp.c: New file.
18555 * benchtests/bench-strncpy-ifunc.c: New file.
18556 * benchtests/bench-strncpy.c: New file.
18557 * benchtests/bench-strnlen-ifunc.c: New file.
18558 * benchtests/bench-strnlen.c: New file.
18559 * benchtests/bench-strpbrk-ifunc.c: New file.
18560 * benchtests/bench-strpbrk.c: New file.
18561 * benchtests/bench-strrchr-ifunc.c: New file.
18562 * benchtests/bench-strrchr.c: New file.
18563 * benchtests/bench-strspn-ifunc.c: New file.
18564 * benchtests/bench-strspn.c: New file.
18565 * benchtests/bench-strstr-ifunc.c: New file.
18566 * benchtests/bench-strstr.c: New file.
18568 * benchtests/Makefile: Disable parallel execution of targets.
18569 (string-bench): Add memcpy.
18570 (benchset): New variable to store a list of benchmark sets.
18571 (bench-func): Renamed from bench.
18572 (bench-set): New target.
18573 (bench): Depend on bench-func and bench-set.
18574 * benchtests/README: Add section on benchmark sets.
18575 * benchtests/bench-memcpy-ifunc.c: New file.
18576 * benchtests/bench-memcpy.c: New file.
18577 * benchtests/bench-string.h: New file.
18579 2013-06-11 Andreas Schwab <schwab@suse.de>
18582 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18583 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18584 values in the triple.
18585 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18586 terminator in the group key.
18588 2013-06-11 Andreas Jaeger <aj@suse.de>
18590 * po/zh_TW.po: Update Chinese (traditional) translation from
18591 translation project.
18593 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18595 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18596 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18597 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18599 (clock_getcpuclockid): Likewise.
18600 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18601 Add weak_alias and libc_hidden_def.
18602 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18603 * rt/clock_gettime.c (clock_gettime): Rename to
18604 __clock_gettime. Add weak_alias and libc_hidden_def.
18605 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18606 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18607 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18608 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18609 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18611 * rt/clock_settime.c (clock_settime): Rename to
18612 __clock_settime. Add weak_alias and libc_hidden_def.
18613 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18615 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18617 * mach/err_boot.sub: Remove trailing whitespace.
18618 * mach/err_ipc.sub: Likewise.
18619 * mach/err_mach.sub: Likewise.
18621 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18622 (ROUNDING_TESTS_double): Likewise.
18623 (ROUNDING_TESTS_long_double): Likewise.
18624 (ROUNDING_TESTS): Likewise.
18625 * math/libm-test.inc: Include <math-tests.h>.
18626 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18627 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18628 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18629 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18631 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18636 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18638 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18639 otherwise empty TRANS lines.
18640 * sysdeps/gnu/errlist.c: Regenerated.
18642 * catgets/gencat.c (error_print): Use (void) in function
18644 * crypt/crypt_util.c (__init_des): Likewise.
18645 * crypt/speeds.c (Stop): Likewise.
18647 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18648 * inet/ruserpass.c (token): Likewise.
18649 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18650 * intl/localealias.c (extend_alias_table): Likewise.
18651 * intl/plural-exp.c (init_germanic_plural): Likewise.
18652 * libio/fcloseall.c (__fcloseall): Likewise.
18653 * libio/genops.c (_IO_flush_all): Likewise.
18654 (_IO_flush_all_linebuffered): Likewise.
18655 (_IO_cleanup): Likewise.
18656 (_IO_iter_begin): Likewise.
18657 (_IO_iter_end): Likewise.
18658 (_IO_list_lock): Likewise.
18659 (_IO_list_unlock): Likewise.
18660 (_IO_list_resetlock): Likewise.
18661 * libio/getchar.c (getchar): Likewise.
18662 * libio/getchar_u.c (getchar_unlocked): Likewise.
18663 * libio/getwchar.c (getwchar): Likewise.
18664 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18665 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18666 * login/getpt.c (__getpt): Likewise.
18667 * login/tst-utmp.c (main): Likewise.
18668 * malloc/hooks.c (__malloc_check_init): Likewise.
18669 * malloc/malloc.c (__malloc_stats): Likewise.
18670 * malloc/mtrace.c (tr_break): Likewise.
18671 (mtrace): Likewise.
18672 (muntrace): Likewise.
18673 * misc/fstab.c (endfsent): Likewise.
18674 * misc/getclktck.c (__getclktck): Likewise.
18675 * misc/getdtsz.c (__getdtablesize): Likewise.
18676 * misc/gethostid.c (gethostid): Likewise.
18677 * misc/getpagesize.c (__getpagesize): Likewise.
18678 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18679 (__get_nprocs): Likewise.
18680 (__get_phys_pages): Likewise.
18681 (__get_avphys_pages): Likewise.
18682 * misc/getttyent.c (getttyent): Likewise.
18683 (setttyent): Likewise.
18684 (endttyent): Likewise.
18685 * misc/getusershell.c (getusershell): Likewise.
18686 (endusershell): Likewise.
18687 (setusershell): Likewise.
18688 (initshells): Likewise.
18689 * misc/hsearch.c (__hdestroy): Likewise.
18690 * misc/sync.c (sync): Likewise.
18691 * misc/syslog.c (closelog_internal): Likewise.
18692 (closelog): Likewise.
18693 * misc/ttyslot.c (ttyslot): Likewise.
18694 * misc/vhangup.c (vhangup): Likewise.
18695 * posix/fork.c (__fork): Likewise.
18696 * posix/getegid.c (__getegid): Likewise.
18697 * posix/geteuid.c (__geteuid): Likewise.
18698 * posix/getgid.c (__getgid): Likewise.
18699 * posix/getpid.c (__getpid): Likewise.
18700 * posix/getppid.c (__getppid): Likewise.
18701 * posix/getuid.c (__getuid): Likewise.
18702 * posix/pause.c (pause): Likewise.
18703 * posix/setpgrp.c (setpgrp): Likewise.
18704 * posix/setsid.c (__setsid): Likewise.
18705 * posix/test-vfork.c (noop): Likewise.
18706 * resolv/gethnamaddr.c (_endhtent): Likewise.
18707 (_gethtent): Likewise.
18708 (ht_endhostent): Likewise.
18709 (gethostent): Likewise.
18710 (dns_service): Likewise.
18711 * stdlib/drand48.c (drand48): Likewise.
18712 * stdlib/lrand48.c (lrand48): Likewise.
18713 * stdlib/mrand48.c (mrand48): Likewise.
18714 * stdlib/rand.c (rand): Likewise.
18715 * stdlib/random.c (__random): Likewise.
18716 * stdlib/setenv.c (clearenv): Likewise.
18717 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18718 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18719 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18720 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18721 (__get_nprocs): Likewise.
18722 (__get_phys_pages): Likewise.
18723 (__get_avphys_pages): Likewise.
18724 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18725 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18726 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18727 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18728 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18729 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18730 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18731 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18732 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18733 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18734 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18735 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18736 * sysdeps/posix/clock.c (clock): Likewise.
18737 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18738 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18739 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18740 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18741 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18743 (__get_nprocs_conf): Likewise.
18744 (__get_phys_pages): Likewise.
18745 (__get_avphys_pages): Likewise.
18746 * time/clock.c (clock): Likewise.
18747 * time/tzset.c (__tzname_max): Likewise.
18749 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18751 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18752 (__bswap_32): Do not use "register".
18753 * crypt/crypt.c (_ufc_doit_r): Likewise.
18754 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18755 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18756 * gmon/gmon.c (__monstartup): Likewise.
18757 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18758 * hurd/hurdmalloc.c (more_memory): Likewise.
18759 (malloc): Likewise.
18761 (realloc): Likewise.
18762 (malloc_fork_prepare): Likewise.
18763 (malloc_fork_parent): Likewise.
18764 (malloc_fork_child): Likewise.
18765 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18766 (_svcauth_des): Likewise.
18767 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18768 * inet/inet_net.c (inet_network): Likewise.
18769 * inet/inet_netof.c (inet_netof): Likewise.
18770 * inet/rcmd.c (__validuser2_sa): Likewise.
18771 * io/fts.c (fts_open): Likewise.
18772 (fts_load): Likewise.
18773 (fts_close): Likewise.
18774 (fts_read): Likewise.
18775 (fts_children): Likewise.
18776 (fts_build): Likewise.
18777 (fts_stat): Likewise.
18778 (fts_sort): Likewise.
18779 (fts_alloc): Likewise.
18780 (fts_lfree): Likewise.
18781 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18782 (_IO_file_xsgetn): Likewise.
18783 (_IO_file_xsgetn_mmap): Likewise.
18784 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18785 (_IO_cookie_write): Likewise.
18786 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18787 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18788 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18789 * malloc/obstack.c (_obstack_begin): Likewise.
18790 (_obstack_begin_1): Likewise.
18791 (_obstack_newchunk): Likewise.
18792 (_obstack_allocated_p): Likewise.
18793 (obstack_free): Likewise.
18794 (_obstack_memory_used): Likewise.
18795 * misc/getttyent.c (getttynam): Likewise.
18796 (getttyent): Likewise.
18799 * misc/getusershell.c (initshells): Likewise.
18800 * misc/syslog.c (__vsyslog_chk): Likewise.
18801 * misc/ttyslot.c (ttyslot): Likewise.
18802 * nis/nis_hash.c (__nis_hash): Likewise.
18803 * posix/fnmatch_loop.c (FCT): Likewise.
18804 * posix/getconf.c (print_all): Likewise.
18806 * posix/getopt.c (exchange): Likewise.
18807 * posix/glob.c (globfree): Likewise.
18808 (prefix_array): Likewise.
18809 (__glob_pattern_type): Likewise.
18810 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18811 (NS_GET32): Likewise.
18812 (NS_PUT16): Likewise.
18813 (NS_PUT32): Likewise.
18814 * resolv/gethnamaddr.c (getanswer): Likewise.
18815 (gethostbyname2): Likewise.
18816 (gethostbyaddr): Likewise.
18817 (_gethtent): Likewise.
18818 (_gethtbyname2): Likewise.
18819 (_gethtbyaddr): Likewise.
18820 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18821 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18822 * resolv/res_init.c (__res_vinit): Likewise.
18823 (net_mask): Likewise.
18824 * resolv/res_mkquery.c (outchar): Likewise.
18826 * stdio-common/printf_fp.c (outchar): Likewise.
18828 * stdio-common/printf_fphex.c (outchar): Likewise.
18830 * stdio-common/printf_size.c (outchar): Likewise.
18832 * stdio-common/test_rdwr.c (main): Likewise.
18833 * stdio-common/tfformat.c (matches): Likewise.
18834 * stdio-common/vfprintf.c (outchar): Likewise.
18835 (printf_unknown): Likewise.
18836 (buffered_vfprintf): Likewise.
18837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18838 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18839 (ReadFile): Likewise.
18840 * stdlib/qsort.c (SWAP): Likewise.
18841 (_quicksort): Likewise.
18842 * stdlib/setenv.c (__add_to_environ): Likewise.
18843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18844 * stdlib/strtol_l.c (__strtol_l): Likewise.
18845 * stdlib/tst-strtod.c (main): Likewise.
18846 * stdlib/tst-strtol.c (main): Likewise.
18847 * stdlib/tst-strtoll.c (main): Likewise.
18848 * string/bits/string2.h (__strcmp_cc): Likewise.
18849 (__strcmp_cg): Likewise.
18850 (__strcspn_c1): Likewise.
18851 (__strcspn_c2): Likewise.
18852 (__strcspn_c3): Likewise.
18853 (__strspn_c1): Likewise.
18854 (__strspn_c2): Likewise.
18855 (__strspn_c3): Likewise.
18856 (__strsep_1c): Likewise.
18857 (__strsep_2c): Likewise.
18858 (__strsep_3c): Likewise.
18859 * string/memccpy.c (__memccpy): Likewise.
18860 * string/stpcpy.c (__stpcpy): Likewise.
18861 * string/strcmp.c (strcmp): Likewise.
18862 * string/strrchr.c (strrchr): Likewise.
18863 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18865 * sysdeps/mach/hurd/getcwd.c
18866 (_hurd_canonicalize_directory_name_internal): Likewise.
18867 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18868 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18869 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18870 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18871 Likewise, in both definitions.
18872 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18874 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18875 64] (__bswap_64): Likewise.
18876 * time/test_time.c (main): Likewise.
18877 * time/tzfile.c (__tzfile_read): Likewise.
18878 (__tzfile_compute): Likewise.
18879 * time/tzset.c (__tzset_parse_tz): Likewise.
18880 (tzset_internal): Likewise.
18881 (compute_change): Likewise.
18882 * wcsmbs/wcscat.c (__wcscat): Likewise.
18883 * wcsmbs/wcschr.c (wcschr): Likewise.
18884 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18885 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18886 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18887 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18888 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18889 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18890 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18891 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18892 * wcsmbs/wmemset.c (wmemset): Likewise.
18894 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18896 * scripts/config.guess: Update to version 2013-05-16.
18897 * scripts/config.sub: Update to version 2013-04-24.
18898 * scripts/install-sh: Update to version 2011-11-20.07.
18899 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18900 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18902 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18904 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18905 * elf/sln.c: Likewise.
18906 * hurd/hurd/ioctl.h: Likewise.
18907 * hurd/hurdmalloc.c: Likewise.
18908 * hurd/xattr.c: Likewise.
18909 * include/shlib-compat.h: Likewise.
18910 * inet/ruserpass.c: Likewise.
18911 * libio/iofgets_u.c: Likewise.
18912 * libio/iofgetws_u.c: Likewise.
18913 * locale/programs/ld-identification.c: Likewise.
18914 * locale/programs/ld-time.c: Likewise.
18915 * mach/msg-destroy.c: Likewise.
18916 * nss/nss_files/files-netgrp.c: Likewise.
18917 * resolv/res_data.c: Likewise.
18918 * soft-fp/op-1.h: Likewise.
18919 * soft-fp/op-2.h: Likewise.
18920 * soft-fp/op-4.h: Likewise.
18921 * soft-fp/op-common.h: Likewise.
18922 * stdio-common/printf_fphex.c: Likewise.
18923 * stdlib/strtod_l.c: Likewise.
18924 * sunrpc/rpc/clnt.h: Likewise.
18925 * sysdeps/generic/framestate.c: Likewise.
18926 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18927 * sysdeps/i386/bsd-setjmp.S: Likewise.
18928 * sysdeps/i386/__longjmp.S: Likewise.
18929 * sysdeps/i386/setjmp.S: Likewise.
18930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18948 * sysdeps/ieee754/support.c: Likewise.
18949 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18950 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18951 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18952 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18953 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18954 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18955 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18956 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18957 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18958 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18959 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18960 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18961 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18962 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18963 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18964 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18965 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18968 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18970 * posix/transbug.c: Remove executable mode.
18972 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18974 * crypt/speeds.c: Remove trailing whitespace.
18975 * dlfcn/default.c: Likewise.
18976 * elf/ifuncdep2.c: Likewise.
18977 * elf/ifuncmain1.c: Likewise.
18978 * elf/ifuncmain1vis.c: Likewise.
18979 * elf/testobj.h: Likewise.
18980 * elf/tst-stackguard1.c: Likewise.
18981 * gmon/sys/gmon.h: Likewise.
18982 * hurd/hurdmsg.c: Likewise.
18983 * hurd/new-fd.c: Likewise.
18984 * hurd/ports-get.c: Likewise.
18985 * iconvdata/ibm1008_420.c: Likewise.
18986 * inet/tst-getni1.c: Likewise.
18987 * inet/tst-getni2.c: Likewise.
18988 * libio/ioungetc.c: Likewise.
18989 * libio/wfiledoalloc.c: Likewise.
18990 * manual/libm-err-tab.pl: Likewise.
18991 * math/w_dremf.c: Likewise.
18992 * misc/ftruncate.c: Likewise.
18993 * posix/bug-glob2.c: Likewise.
18994 * posix/tst-pcre.c: Likewise.
18995 * posix/wait4.c: Likewise.
18996 * resolv/README: Likewise.
18997 * resolv/res_debug.h: Likewise.
18998 * resolv/tst-inet_ntop.c: Likewise.
18999 * setjmp/bug269-setjmp.c: Likewise.
19000 * soft-fp/extended.h: Likewise.
19001 * soft-fp/op-1.h: Likewise.
19002 * soft-fp/op-2.h: Likewise.
19003 * soft-fp/op-4.h: Likewise.
19004 * soft-fp/op-8.h: Likewise.
19005 * soft-fp/testit.c: Likewise.
19006 * stdio-common/bug16.c: Likewise.
19007 * stdlib/random.c: Likewise.
19008 * sunrpc/rpcsvc/rquota.x: Likewise.
19009 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19010 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19016 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19017 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19018 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19019 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19038 * sysdeps/ieee754/s_lib_version.c: Likewise.
19039 * sysdeps/mach/hurd/check_fds.c: Likewise.
19040 * sysdeps/mach/hurd/getsockname.c: Likewise.
19041 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19042 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19043 * sysdeps/powerpc/bits/link.h: Likewise.
19044 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19045 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19046 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19047 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19048 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19049 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19050 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19051 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19052 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19053 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19054 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19055 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19056 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19057 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19058 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19059 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19067 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19068 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19071 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19072 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19077 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19078 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19082 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19083 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19085 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19086 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19087 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19088 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19089 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19090 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19091 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19092 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19093 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19096 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19097 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19098 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19099 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19100 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19101 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19102 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19103 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19104 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19105 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19106 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19108 * sysdeps/powerpc/sysdep.h: Likewise.
19109 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19110 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19111 * sysdeps/sh/dl-trampoline.S: Likewise.
19112 * sysdeps/sh/memset.S: Likewise.
19113 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19114 * sysdeps/sh/strlen.S: Likewise.
19115 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19116 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19117 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19118 * sysdeps/sparc/sparc32/rem.S: Likewise.
19119 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19120 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19121 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19122 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19123 * sysdeps/sparc/sparc32/urem.S: Likewise.
19124 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19125 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19126 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19127 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19128 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19129 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19130 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19131 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19132 * sysdeps/unix/bsd/times.c: Likewise.
19133 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19134 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19138 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19139 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19140 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19142 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19144 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19145 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19146 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19147 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19148 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19149 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19150 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19151 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19152 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19153 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19154 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19155 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19156 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19157 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19158 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19159 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19160 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19161 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19162 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19163 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19164 * sysdeps/x86_64/strcspn.S: Likewise.
19166 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19168 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19169 generated file. Regenerate properly from gen-translit.pl.
19170 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19171 locale/C-translit.h.
19173 2013-06-05 Andreas Schwab <schwab@suse.de>
19176 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19177 week as 6 instead of -1.
19178 * time/tst-strptime.c (day_tests): Add test case.
19180 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19182 * sysdeps/generic/math_private.h
19183 (libc_feholdexcept_setround_53bit): Replace with
19184 libc_feholdsetround_53bit.
19185 (libc_feupdateenv_53bit): Replace with
19186 libc_feresetround_53bit.
19187 (SET_RESTORE_ROUND_53BIT): Adjust.
19189 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19191 * string/test-strchrnul.c: Add copyright header.
19193 * posix/tst-getaddrinfo4.c: Increase test timeout.
19195 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19198 * math/libm-test.inc (MAX_EXP): Remove
19200 (ulp): Use MIN_EXP - MANT_DIG.
19201 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19203 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19205 * po/be.po: Revert last change.
19206 * po/zh_CN.po: Likewise.
19207 * po/header.pot: Likewise.
19209 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19211 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19212 link-libc-deps to empty as target-specific variable.
19213 * Makerules (link-libc-args): New variable.
19214 (libc-for-link): Likewise.
19215 (link-libc-deps): Likewise.
19216 (lib%.so): Depend on $(link-libc-deps). Link with
19218 (build-module): Link with $(link-libc-args).
19219 (build-module-asneeded): Likewise.
19220 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19222 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19223 target-specific variable.
19224 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19225 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19226 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19228 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19230 ($(objpfx)libpcprofile.so): Likewise.
19231 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19233 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19234 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19235 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19237 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19238 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19239 * login/Makefile ($(objpfx)libutil.so): Likewise.
19240 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19241 * math/Makefile ($(objpfx)libm.so): Likewise.
19242 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19243 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19244 variable instead of depending directly on libc.
19245 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19246 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19248 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19250 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19251 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19252 ($(objpfx)libanl.so): Likewise.
19253 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19255 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19257 * sysdeps/i386/fpu/Makefile: Remove file.
19258 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19259 ($(objpfx)libm.so): Remove dependency on ld.so.
19261 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19264 * nis/yp_xdr.c (XDRMAXNAME): Define.
19265 (XDRMAXRECORD): Define.
19266 (xdr_domainname): Use XDRMAXNAME.
19267 (xdr_mapname): Likewise.
19268 (xdr_peername): Likewise.
19269 (xdr_keydat): Use XDRMAXRECORD.
19270 (xdr_valdat): Likewise.
19272 2013-05-30 Jeff Law <law@redhat.com>
19275 * manual/errno.texi (ESTALE): Update to account for more than
19276 just NFS file systems.
19277 * sysdeps/gnu/errlist.c: Regenerated.
19279 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19282 * elf/Makefile (tests): Add tst-null-argv.
19283 (modules-names): Add tst-null-argv-lib.
19284 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19285 (tst-null-argv-ENV): Set environment for tst-null-argv.
19286 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19287 (RTLD_PROGNAME): New macro.
19288 * elf/tst-null-argv.c: New test case.
19289 * elf/tst-null-argv-lib.c: Library for test case.
19290 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19291 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19292 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19293 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19294 * elf/dl-init.c (call_init): Likewise.
19295 (_dl_init): Likewise.
19296 * elf/dl-load.c (print_search_path): Likewise.
19297 (_dl_map_object): Likewise.
19298 * elf/dl-lookup.c (do_lookup_x): Likewise.
19299 (add_dependency): Likewise.
19300 (_dl_lookup_symbol_x): Likewise.
19301 (_dl_debug_bindings): Likewise.
19302 * elf/dl-open.c (_dl_show_scope): Likewise.
19303 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19304 * elf/dl-version.c (match_symbol): Likewise.
19305 (_dl_check_map_versions): Likewise.
19306 * elf/rtld.c (dl_main): Likewise.
19307 (print_unresolved): Use RTLD_PROGNAME.
19308 (print_missing_version): Likewise.
19309 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19310 (elf_machine_rela): Likewise.
19311 * sysdeps/powerpc/powerpc32/dl-machine.c
19312 (__process_machine_rela): Likewise.
19313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19317 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19319 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19320 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19326 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19328 * po/be.po: Add descriptive title.
19329 * po/zh_CN.po: Likewise.
19330 * po/header.pot: Likewise.
19332 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19334 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19336 (enlarge_archive): Likewise.
19338 2013-05-28 Ben North <ben@redfrontdoor.org>
19340 * manual/arith.texi (frexp): It is the magnitude of the return
19341 value which lies in [0.5, 1), not the return value itself.
19343 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19347 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19349 * stdio-common/bug26.c (main): Correct fscanf template.
19351 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19352 declare _dl_skip_args.
19354 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19357 * manual/platform.texi: Add missing @end deftypefun.
19359 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19362 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19363 bit of mantissa of 2^16382.
19364 * math/libm-test.inc (hypot_test_data): Add more tests.
19366 * math/libm-test.inc: Add drem and pow10 to list of tested
19368 (pow10_test): New function.
19369 (drem_test): Likewise.
19370 (drem_test_tonearest): Likewise.
19371 (drem_test_towardzero): Likewise.
19372 (drem_test_downward): Likewise.
19373 (drem_test_upward): Likewise.
19374 (main): Call the new functions.
19376 * math/libm-test.inc (finite_test_data): Remove.
19377 (finite_test): Run tests from isfinite_test_data.
19378 (gamma_test_data): Remove.
19379 (gamma_test): Run tests from lgamma_test_data.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19383 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19385 * manual/platform.texi: Add PowerPC PPR function set documentation.
19386 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19389 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19391 * math/libm-test.inc (MAX_EXP): Define.
19393 (ulp): New function.
19394 (check_float_internal): Use ULPDIFF.
19395 (cpow_test): Disable failing test.
19396 (check_ulp): Test ulp() implemetnation.
19397 (main): Call check_ulp before starting tests.
19399 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19401 * math/gen-libm-test.pl (generate_testfile): Do not handle
19402 START_DATA and END_DATA.
19403 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19405 (acos_tonearest_test_data): Likewise.
19406 (acos_towardzero_test_data): Likewise.
19407 (acos_downward_test_data): Likewise.
19408 (acos_upward_test_data): Likewise.
19409 (acosh_test_data): Likewise.
19410 (asin_test_data): Likewise.
19411 (asin_tonearest_test_data): Likewise.
19412 (asin_towardzero_test_data): Likewise.
19413 (asin_downward_test_data): Likewise.
19414 (asin_upward_test_data): Likewise.
19415 (asinh_test_data): Likewise.
19416 (atan_test_data): Likewise.
19417 (atanh_test_data): Likewise.
19418 (atan2_test_data): Likewise.
19419 (cabs_test_data): Likewise.
19420 (cacos_test_data): Likewise.
19421 (cacosh_test_data): Likewise.
19422 (carg_test_data): Likewise.
19423 (casin_test_data): Likewise.
19424 (casinh_test_data): Likewise.
19425 (catan_test_data): Likewise.
19426 (catanh_test_data): Likewise.
19427 (cbrt_test_data): Likewise.
19428 (ccos_test_data): Likewise.
19429 (ccosh_test_data): Likewise.
19430 (ceil_test_data): Likewise.
19431 (cexp_test_data): Likewise.
19432 (cimag_test_data): Likewise.
19433 (clog_test_data): Likewise.
19434 (clog10_test_data): Likewise.
19435 (conj_test_data): Likewise.
19436 (copysign_test_data): Likewise.
19437 (cos_test_data): Likewise.
19438 (cos_tonearest_test_data): Likewise.
19439 (cos_towardzero_test_data): Likewise.
19440 (cos_downward_test_data): Likewise.
19441 (cos_upward_test_data): Likewise.
19442 (cosh_test_data): Likewise.
19443 (cosh_tonearest_test_data): Likewise.
19444 (cosh_towardzero_test_data): Likewise.
19445 (cosh_downward_test_data): Likewise.
19446 (cosh_upward_test_data): Likewise.
19447 (cpow_test_data): Likewise.
19448 (cproj_test_data): Likewise.
19449 (creal_test_data): Likewise.
19450 (csin_test_data): Likewise.
19451 (csinh_test_data): Likewise.
19452 (csqrt_test_data): Likewise.
19453 (ctan_test_data): Likewise.
19454 (ctan_tonearest_test_data): Likewise.
19455 (ctan_towardzero_test_data): Likewise.
19456 (ctan_downward_test_data): Likewise.
19457 (ctan_upward_test_data): Likewise.
19458 (ctanh_test_data): Likewise.
19459 (ctanh_tonearest_test_data): Likewise.
19460 (ctanh_towardzero_test_data): Likewise.
19461 (ctanh_downward_test_data): Likewise.
19462 (ctanh_upward_test_data): Likewise.
19463 (erf_test_data): Likewise.
19464 (erfc_test_data): Likewise.
19465 (exp_test_data): Likewise.
19466 (exp_tonearest_test_data): Likewise.
19467 (exp_towardzero_test_data): Likewise.
19468 (exp_downward_test_data): Likewise.
19469 (exp_upward_test_data): Likewise.
19470 (exp10_test_data): Likewise.
19471 (exp2_test_data): Likewise.
19472 (expm1_test_data): Likewise.
19473 (fabs_test_data): Likewise.
19474 (fdim_test_data): Likewise.
19475 (finite_test_data): Likewise.
19476 (floor_test_data): Likewise.
19477 (fma_test_data): Likewise.
19478 (fma_towardzero_test_data): Likewise.
19479 (fma_downward_test_data): Likewise.
19480 (fma_upward_test_data): Likewise.
19481 (fmax_test_data): Likewise.
19482 (fmin_test_data): Likewise.
19483 (fmod_test_data): Likewise.
19484 (fpclassify_test_data): Likewise.
19485 (frexp_test_data): Likewise.
19486 (gamma_test_data): Likewise.
19487 (hypot_test_data): Likewise.
19488 (ilogb_test_data): Likewise.
19489 (isfinite_test_data): Likewise.
19490 (isgreater_test_data): Likewise.
19491 (isgreaterequal_test_data): Likewise.
19492 (isinf_test_data): Likewise.
19493 (isless_test_data): Likewise.
19494 (islessequal_test_data): Likewise.
19495 (islessgreater_test_data): Likewise.
19496 (isnan_test_data): Likewise.
19497 (isnormal_test_data): Likewise.
19498 (issignaling_test_data): Likewise.
19499 (isunordered_test_data): Likewise.
19500 (j0_test_data): Likewise.
19501 (j1_test_data): Likewise.
19502 (jn_test_data): Likewise.
19503 (ldexp_test_data): Likewise.
19504 (lgamma_test_data): Likewise.
19505 (lrint_test_data): Likewise.
19506 (lrint_tonearest_test_data): Likewise.
19507 (lrint_towardzero_test_data): Likewise.
19508 (lrint_downward_test_data): Likewise.
19509 (lrint_upward_test_data): Likewise.
19510 (llrint_test_data): Likewise.
19511 (llrint_tonearest_test_data): Likewise.
19512 (llrint_towardzero_test_data): Likewise.
19513 (llrint_downward_test_data): Likewise.
19514 (llrint_upward_test_data): Likewise.
19515 (log_test_data): Likewise.
19516 (log10_test_data): Likewise.
19517 (log1p_test_data): Likewise.
19518 (log2_test_data): Likewise.
19519 (logb_test_data): Likewise.
19520 (logb_downward_test_data): Likewise.
19521 (lround_test_data): Likewise.
19522 (llround_test_data): Likewise.
19523 (modf_test_data): Likewise.
19524 (nearbyint_test_data): Likewise.
19525 (nextafter_test_data): Likewise.
19526 (nexttoward_test_data): Likewise.
19527 (pow_test_data): Likewise.
19528 (pow_tonearest_test_data): Likewise.
19529 (pow_towardzero_test_data): Likewise.
19530 (pow_downward_test_data): Likewise.
19531 (pow_upward_test_data): Likewise.
19532 (remainder_test_data): Likewise.
19533 (remainder_tonearest_test_data): Likewise.
19534 (remainder_towardzero_test_data): Likewise.
19535 (remainder_downward_test_data): Likewise.
19536 (remainder_upward_test_data): Likewise.
19537 (remquo_test_data): Likewise.
19538 (rint_test_data): Likewise.
19539 (rint_tonearest_test_data): Likewise.
19540 (rint_towardzero_test_data): Likewise.
19541 (rint_downward_test_data): Likewise.
19542 (rint_upward_test_data): Likewise.
19543 (round_test_data): Likewise.
19544 (scalb_test_data): Likewise.
19545 (scalbn_test_data): Likewise.
19546 (scalbln_test_data): Likewise.
19547 (signbit_test_data): Likewise.
19548 (sin_test_data): Likewise.
19549 (sin_tonearest_test_data): Likewise.
19550 (sin_towardzero_test_data): Likewise.
19551 (sin_downward_test_data): Likewise.
19552 (sin_upward_test_data): Likewise.
19553 (sincos_test_data): Likewise.
19554 (sinh_test_data): Likewise.
19555 (sinh_tonearest_test_data): Likewise.
19556 (sinh_towardzero_test_data): Likewise.
19557 (sinh_downward_test_data): Likewise.
19558 (sinh_upward_test_data): Likewise.
19559 (sqrt_test_data): Likewise.
19560 (tan_test_data): Likewise.
19561 (tan_tonearest_test_data): Likewise.
19562 (tan_towardzero_test_data): Likewise.
19563 (tan_downward_test_data): Likewise.
19564 (tan_upward_test_data): Likewise.
19565 (tanh_test_data): Likewise.
19566 (tgamma_test_data): Likewise.
19567 (trunc_test_data): Likewise.
19568 (y0_test_data): Likewise.
19569 (y1_test_data): Likewise.
19570 (yn_test_data): Likewise.
19571 (significand_test_data): Likewise.
19573 * math/gen-libm-test.pl (@functions): Remove variable.
19574 (generate_testfile): Don't handle START and END lines.
19575 * math/libm-test.inc (START): New macro.
19577 (END_COMPLEX): Likewise.
19578 (acos_test): Use END macro without arguments.
19579 (acos_test_tonearest): Likewise.
19580 (acos_test_towardzero): Likewise.
19581 (acos_test_downward): Likewise.
19582 (acos_test_upward): Likewise.
19583 (acosh_test): Likewise.
19584 (asin_test): Likewise.
19585 (asin_test_tonearest): Likewise.
19586 (asin_test_towardzero): Likewise.
19587 (asin_test_downward): Likewise.
19588 (asin_test_upward): Likewise.
19589 (asinh_test): Likewise.
19590 (atan_test): Likewise.
19591 (atanh_test): Likewise.
19592 (atan2_test): Likewise.
19593 (cabs_test): Likewise.
19594 (cacos_test): Use END_COMPLEX macro without arguments.
19595 (cacosh_test): Likewise.
19596 (carg_test): Use END macro without arguments.
19597 (casin_test): Use END_COMPLEX macro without arguments.
19598 (casinh_test): Likewise.
19599 (catan_test): Likewise.
19600 (catanh_test): Likewise.
19601 (cbrt_test): Use END macro without arguments.
19602 (ccos_test): Use END_COMPLEX macro without arguments.
19603 (ccosh_test): Likewise.
19604 (ceil_test): Use END macro without arguments.
19605 (cexp_test): Use END_COMPLEX macro without arguments.
19606 (cimag_test): Use END macro without arguments.
19607 (clog_test): Use END_COMPLEX macro without arguments.
19608 (clog10_test): Likewise.
19609 (conj_test): Likewise.
19610 (copysign_test): Use END macro without arguments.
19611 (cos_test): Likewise.
19612 (cos_test_tonearest): Likewise.
19613 (cos_test_towardzero): Likewise.
19614 (cos_test_downward): Likewise.
19615 (cos_test_upward): Likewise.
19616 (cosh_test): Likewise.
19617 (cosh_test_tonearest): Likewise.
19618 (cosh_test_towardzero): Likewise.
19619 (cosh_test_downward): Likewise.
19620 (cosh_test_upward): Likewise.
19621 (cpow_test): Use END_COMPLEX macro without arguments.
19622 (cproj_test): Likewise.
19623 (creal_test): Use END macro without arguments.
19624 (csin_test): Use END_COMPLEX macro without arguments.
19625 (csinh_test): Likewise.
19626 (csqrt_test): Likewise.
19627 (ctan_test): Likewise.
19628 (ctan_test_tonearest): Likewise.
19629 (ctan_test_towardzero): Likewise.
19630 (ctan_test_downward): Likewise.
19631 (ctan_test_upward): Likewise.
19632 (ctanh_test): Likewise.
19633 (ctanh_test_tonearest): Likewise.
19634 (ctanh_test_towardzero): Likewise.
19635 (ctanh_test_downward): Likewise.
19636 (ctanh_test_upward): Likewise.
19637 (erf_test): Use END macro without arguments.
19638 (erfc_test): Likewise.
19639 (exp_test): Likewise.
19640 (exp_test_tonearest): Likewise.
19641 (exp_test_towardzero): Likewise.
19642 (exp_test_downward): Likewise.
19643 (exp_test_upward): Likewise.
19644 (exp10_test): Likewise.
19645 (exp2_test): Likewise.
19646 (expm1_test): Likewise.
19647 (fabs_test): Likewise.
19648 (fdim_test): Likewise.
19649 (finite_test): Likewise.
19650 (floor_test): Likewise.
19651 (fma_test): Likewise.
19652 (fma_test_towardzero): Likewise.
19653 (fma_test_downward): Likewise.
19654 (fma_test_upward): Likewise.
19655 (fmax_test): Likewise.
19656 (fmin_test): Likewise.
19657 (fmod_test): Likewise.
19658 (fpclassify_test): Likewise.
19659 (frexp_test): Likewise.
19660 (gamma_test): Likewise.
19661 (hypot_test): Likewise.
19662 (ilogb_test): Likewise.
19663 (isfinite_test): Likewise.
19664 (isgreater_test): Likewise.
19665 (isgreaterequal_test): Likewise.
19666 (isinf_test): Likewise.
19667 (isless_test): Likewise.
19668 (islessequal_test): Likewise.
19669 (islessgreater_test): Likewise.
19670 (isnan_test): Likewise.
19671 (isnormal_test): Likewise.
19672 (issignaling_test): Likewise.
19673 (isunordered_test): Likewise.
19674 (j0_test): Likewise.
19675 (j1_test): Likewise.
19676 (jn_test): Likewise.
19677 (ldexp_test): Likewise.
19678 (lgamma_test): Likewise.
19679 (lrint_test): Likewise.
19680 (lrint_test_tonearest): Likewise.
19681 (lrint_test_towardzero): Likewise.
19682 (lrint_test_downward): Likewise.
19683 (lrint_test_upward): Likewise.
19684 (llrint_test): Likewise.
19685 (llrint_test_tonearest): Likewise.
19686 (llrint_test_towardzero): Likewise.
19687 (llrint_test_downward): Likewise.
19688 (llrint_test_upward): Likewise.
19689 (log_test): Likewise.
19690 (log10_test): Likewise.
19691 (log1p_test): Likewise.
19692 (log2_test): Likewise.
19693 (logb_test): Likewise.
19694 (logb_test_downward): Likewise.
19695 (lround_test): Likewise.
19696 (llround_test): Likewise.
19697 (modf_test): Likewise.
19698 (nearbyint_test): Likewise.
19699 (nextafter_test): Likewise.
19700 (nexttoward_test): Likewise.
19701 (pow_test): Likewise.
19702 (pow_test_tonearest): Likewise.
19703 (pow_test_towardzero): Likewise.
19704 (pow_test_downward): Likewise.
19705 (pow_test_upward): Likewise.
19706 (remainder_test): Likewise.
19707 (remainder_test_tonearest): Likewise.
19708 (remainder_test_towardzero): Likewise.
19709 (remainder_test_downward): Likewise.
19710 (remainder_test_upward): Likewise.
19711 (remquo_test): Likewise.
19712 (rint_test): Likewise.
19713 (rint_test_tonearest): Likewise.
19714 (rint_test_towardzero): Likewise.
19715 (rint_test_downward): Likewise.
19716 (rint_test_upward): Likewise.
19717 (round_test): Likewise.
19718 (scalb_test): Likewise.
19719 (scalbn_test): Likewise.
19720 (scalbln_test): Likewise.
19721 (signbit_test): Likewise.
19722 (sin_test): Likewise.
19723 (sin_test_tonearest): Likewise.
19724 (sin_test_towardzero): Likewise.
19725 (sin_test_downward): Likewise.
19726 (sin_test_upward): Likewise.
19727 (sincos_test): Likewise.
19728 (sinh_test): Likewise.
19729 (sinh_test_tonearest): Likewise.
19730 (sinh_test_towardzero): Likewise.
19731 (sinh_test_downward): Likewise.
19732 (sinh_test_upward): Likewise.
19733 (sqrt_test): Likewise.
19734 (tan_test): Likewise.
19735 (tan_test_tonearest): Likewise.
19736 (tan_test_towardzero): Likewise.
19737 (tan_test_downward): Likewise.
19738 (tan_test_upward): Likewise.
19739 (tanh_test): Likewise.
19740 (tgamma_test): Likewise.
19741 (trunc_test): Likewise.
19742 (y0_test): Likewise.
19743 (y1_test): Likewise.
19744 (yn_test): Likewise.
19745 (significand_test): Likewise.
19747 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19750 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19752 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19755 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19756 __ppc_mdoio and __ppc_mdoom.
19757 * manual/platform.texi: Document new functions __ppc_yield,
19758 __ppc_mdoio and __ppc_mdoom.
19760 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19762 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19763 (main): Mention "tls" pseudo-hwcap is legacy.
19764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19766 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19768 * math/gen-libm-test.pl (parse_args): Output only string of
19769 arguments as text for test name, not full call or descriptions of
19770 tests for extra outputs.
19771 (generate_testfile): Do not pass function name to parse_args.
19772 Generate this_func variable from START.
19773 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19775 (struct test_ff_f_data): Likewise.
19776 (test_ff_f_data_nexttoward): Likewise.
19777 (struct test_fi_f_data): Likewise.
19778 (struct test_fl_f_data): Likewise.
19779 (struct test_if_f_data): Likewise.
19780 (struct test_fff_f_data): Likewise.
19781 (struct test_c_f_data): Likewise.
19782 (struct test_f_f1_data): Likewise. Remove field extra_name.
19783 (struct test_fF_f1_data): Likewise.
19784 (struct test_ffI_f1_data): Likewise.
19785 (struct test_c_c_data): Rename test_name field to arg_str.
19786 (struct test_cc_c_data): Likewise.
19787 (struct test_f_i_data): Likewise.
19788 (struct test_ff_i_data): Likewise.
19789 (struct test_f_l_data): Likewise.
19790 (struct test_f_L_data): Likewise.
19791 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19793 (COMMON_TEST_SETUP): New macro.
19794 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19795 (COMMON_TEST_CLEANUP): Likewise.
19796 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19797 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19799 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19800 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19802 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19803 (RUN_TEST_fff_f): Take argument string. Call new setup and
19805 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19806 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19808 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19809 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19811 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19812 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19814 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19815 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19817 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19818 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19820 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19821 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19823 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19824 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19826 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19827 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19829 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19830 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19832 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19833 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19835 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19836 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19838 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19839 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19841 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19842 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19844 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19845 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19847 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19848 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19850 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19852 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19854 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19855 to _sifields.sigfault.
19856 (si_addr_lsb): Define new macro.
19857 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19859 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19861 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19864 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19866 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19868 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19869 loading the domain.
19871 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19873 * math/gen-libm-test.pl (parse_args): Do not include expected
19874 result in test name.
19875 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19877 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19878 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19879 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19882 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19884 * benchtests/Makefile: Sort function entries.
19886 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19887 tanh, asinh, acosh, atanh.
19888 * benchtests/acos-inputs: New file.
19889 * benchtests/acosh-inputs: New file.
19890 * benchtests/asin-inputs: New file.
19891 * benchtests/asinh-inputs: New file.
19892 * benchtests/atanh-inputs: New file.
19893 * benchtests/cosh-inputs: New file.
19894 * benchtests/log-inputs: New file.
19895 * benchtests/sinh-inputs: New file.
19896 * benchtests/tanh-inputs: New file.
19898 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19901 * posix/tst-getaddrinfo4.c: New test.
19902 * posix/Makefile (tests): Add it.
19904 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19907 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19908 when no services were used.
19909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19910 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19912 2013-05-21 Andreas Schwab <schwab@suse.de>
19915 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19916 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19918 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19919 redundant variable declarations and reallocation of buffer when
19920 parsing as IPv6 address. Always set NSS status when called from
19921 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19922 buffer too small. Correct computation of needed size.
19923 * nss/Makefile (tests): Add test-digits-dots.
19924 * nss/test-digits-dots.c: New test.
19926 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19928 * benchtests/Makefile: Remove instructions for adding
19930 * benchtests/README: New file to explain how to execute and
19931 enhance the benchmark tests.
19933 2013-05-21 Andreas Schwab <schwab@suse.de>
19936 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19937 * setjmp/tst-sigsetjmp.c: New test.
19939 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19941 * sysdeps/x86_64/memset.S (memset): New implementation.
19942 (__bzero): Likewise.
19943 (__memset_tail): New function.
19945 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19947 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19948 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19949 __memcpy_sse2_unaligned ifunc selection.
19950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19951 Add memcpy-sse2-unaligned.S.
19952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19953 Add: __memcpy_sse2_unaligned.
19955 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19958 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19959 math_force_eval before restoring floating-point envrionment.
19960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19961 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19963 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19965 (__nearbyintl): Use math_force_eval before restoring
19966 floating-point environment.
19967 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19969 * math/gen-libm-test.pl (special_functions): Remove.
19970 (parse_args): Don't handle TEST_extra. Handle functions with no
19972 * math/libm-test.inc (struct test_sincos_data): Replace with
19973 struct test_fFF_11_data.
19974 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19975 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19976 (sincos_test_data): Change element type to struct
19977 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19978 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19979 RUN_TEST_LOOP_sincos.
19980 * math/README.libm-test: Don't mention special handling of
19981 individual functions.
19982 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19986 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989 * math/gen-libm-test.pl (get_variable): Remove function.
19990 (parse_args): Don't show pointer parameters to call in test
19991 names. Use "extra output N" in test names for extra outputs
19992 rather than naming variables.
19994 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19997 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19998 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19999 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20001 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20003 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20006 * math/gen-libm-test.pl (@tests): Remove variable.
20007 ($count): Likewise.
20008 (new_test): Remove function.
20009 (show_exceptions): New function.
20010 (special_functions): Use show_exceptions instead of new_test.
20011 (parse_args): Likewise.
20012 (generate_testfile): Pass only function name in generated call to
20013 print_max_error or print_complex_max_error.
20014 (get_ulps): Do not handle complex tests specially.
20015 (output_test): Rename to ...
20016 (get_all_ulps_for_test): ... this. Return a string rather than
20017 printing to a file. Require ulps to be present.
20018 (output_ulps): Generate arrays rather than #defines.
20019 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20020 (struct ulp_data): New type.
20021 (BUILD_COMPLEX_ULP): Remove macro.
20022 (compare_ulp_data): New function.
20023 (find_ulps): Likewise.
20024 (find_test_ulps): Likewise.
20025 (find_function_ulps): Likewise.
20026 (find_complex_function_ulps): Likewise.
20027 (print_max_error): Determine allowed ulps using
20028 find_function_ulps.
20029 (print_complex_max_error): Determine allowed ulps using
20030 find_complex_function_ulps.
20031 (check_float_internal): Determine max ulps using find_test_ulps.
20032 (check_float): Do not take max_ulp parameter. Update call to
20033 check_float_internal.
20034 (check_complex): Likewise.
20035 (check_int): Do not take max_ulp parameter.
20036 (check_long): Likewise.
20037 (check_bool): Likewise.
20038 (check_longlong): Likewise.
20039 (struct test_f_f_data): Remove max_ulp field.
20040 (struct test_ff_f_data): Likewise.
20041 (struct test_ff_f_data_nexttoward): Likewise.
20042 (struct test_fi_f_data): Likewise.
20043 (struct test_fl_f_data): Likewise.
20044 (struct test_if_f_data): Likewise.
20045 (struct test_fff_f_data): Likewise.
20046 (struct test_c_f_data): Likewise.
20047 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20048 (struct test_fF_f1_data): Likewise.
20049 (struct test_ffI_f1_data): Likewise.
20050 (struct test_c_c_data): Remove max_ulp field.
20051 (struct test_cc_c_data): Likewise.
20052 (struct test_f_i_data): Likewise.
20053 (struct test_ff_i_data): Likewise.
20054 (struct test_f_l_data): Likewise.
20055 (struct test_f_L_data): Likewise.
20056 (struct test_sincos_data): Likewise.
20057 (RUN_TEST_f_f): Do not handle ulps.
20058 (RUN_TEST_LOOP_f_f): Likewise.
20059 (RUN_TEST_2_f): Likewise.
20060 (RUN_TEST_LOOP_2_f): Likewise.
20061 (RUN_TEST_fff_f): Likewise.
20062 (RUN_TEST_LOOP_fff_f): Likewise.
20063 (RUN_TEST_c_f): Likewise.
20064 (RUN_TEST_LOOP_c_f): Likewise.
20065 (RUN_TEST_f_f1): Likewise.
20066 (RUN_TEST_LOOP_f_f1): Likewise.
20067 (RUN_TEST_fF_f1): Likewise.
20068 (RUN_TEST_LOOP_fF_f1): Likewise.
20069 (RUN_TEST_fI_f1): Likewise.
20070 (RUN_TEST_LOOP_fI_f1): Likewise.
20071 (RUN_TEST_ffI_f1): Likewise.
20072 (RUN_TEST_LOOP_ffI_f1): Likewise.
20073 (RUN_TEST_c_c): Likewise.
20074 (RUN_TEST_LOOP_c_c): Likewise.
20075 (RUN_TEST_cc_c): Likewise.
20076 (RUN_TEST_LOOP_cc_c): Likewise.
20077 (RUN_TEST_f_i): Likewise.
20078 (RUN_TEST_LOOP_f_i): Likewise.
20079 (RUN_TEST_f_i_tg): Likewise.
20080 (RUN_TEST_LOOP_f_i_tg): Likewise.
20081 (RUN_TEST_ff_i_tg): Likewise.
20082 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20083 (RUN_TEST_f_b): Likewise.
20084 (RUN_TEST_LOOP_f_b): Likewise.
20085 (RUN_TEST_f_b_tg): Likewise.
20086 (RUN_TEST_LOOP_f_b_tg): Likewise.
20087 (RUN_TEST_f_l): Likewise.
20088 (RUN_TEST_LOOP_f_l): Likewise.
20089 (RUN_TEST_f_L): Likewise.
20090 (RUN_TEST_LOOP_f_L): Likewise.
20091 (RUN_TEST_sincos): Likewise.
20092 (RUN_TEST_LOOP_sincos): Likewise.
20094 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20098 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20099 main case of finite arguments, set rounding mode to FE_TONEAREST
20100 and discard exceptions.
20101 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20103 (remainder_tonearest_test_data): New variable.
20104 (remainder_test_tonearest): New function.
20105 (remainder_towardzero_test_data): New variable.
20106 (remainder_test_towardzero): New function.
20107 (remainder_downward_test_data): New variable.
20108 (remainder_test_downward): New function.
20109 (remainder_upward_test_data): New variable.
20110 (remainder_test_upward): New function.
20111 (main): Call the new test functions.
20113 * math/libm-test.inc (struct test_f_f1_data): Remove field
20115 (struct test_fF_f1_data): Likewise.
20116 (struct test_ffI_f1_data): Likewise.
20117 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20118 based on value of EXTRA_EXPECTED.
20119 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20120 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20121 EXTRA_VAR based on value of EXTRA_EXPECTED.
20122 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20123 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20124 EXTRA_VAR based on value of EXTRA_EXPECTED.
20125 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20126 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20127 EXTRA_VAR based on value of EXTRA_EXPECTED.
20128 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20129 * math/gen-libm-test.pl (parse_args): Don't output initializers
20130 for extra output values.
20132 * math/libm-test.inc (check_int): Expect result to be exactly
20133 equal to expected value and do not handle ulps.
20134 (check_long): Likewise.
20135 (check_longlong): Likewise.
20137 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20139 (cimag_test_data): Likewise.
20140 (conj_test_data): Likewise.
20141 (copysign_test_data): Likewise.
20142 (cproj_test_data): Likewise.
20143 (creal_test_data): Likewise.
20144 (fabs_test_data): Likewise.
20145 (fdim_test_data): Likewise.
20146 (finite_test_data): Likewise.
20147 (floor_test_data): Likewise.
20148 (fmax_test_data): Likewise.
20149 (fmin_test_data): Likewise.
20150 (fmod_test_data): Likewise.
20151 (fpclassify_test_data): Likewise.
20152 (frexp_test_data): Likewise.
20153 (ilogb_test_data): Likewise.
20154 (isfinite_test_data): Likewise.
20155 (isgreater_test_data): Likewise.
20156 (isgreaterequal_test_data): Likewise.
20157 (isinf_test_data): Likewise.
20158 (isless_test_data): Likewise.
20159 (islessequal_test_data): Likewise.
20160 (islessgreater_test_data): Likewise.
20161 (isnan_test_data): Likewise.
20162 (isnormal_test_data): Likewise.
20163 (issignaling_test_data): Likewise.
20164 (isunordered_test_data): Likewise.
20165 (ldexp_test_data): Likewise.
20166 (lrint_test_data): Likewise.
20167 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20168 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20169 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20170 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20171 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20172 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20174 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20175 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20176 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20177 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20179 (lrint_downward_test_data): Test for "inexact" exceptions.
20180 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20181 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20182 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20184 (lrint_upward_test_data): Test for "inexact" exceptions.
20185 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20187 (llrint_test_data): Test for "inexact" exceptions.
20188 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20189 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20190 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20191 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20192 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20193 (llrint_downward_test_data): Test for "inexact" exceptions.
20194 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20195 (llrint_upward_test_data): Test for "inexact" exceptions.
20196 (logb_test_data): Likewise.
20197 (logb_downward_test_data): Likewise.
20198 (nextafter_test_data): Likewise.
20199 (nexttoward_test_data): Likewise.
20200 (remainder_test_data): Likewise.
20201 (remquo_test_data): Likewise.
20202 (scalbn_test_data): Likewise.
20203 (scalbln_test_data): Likewise.
20204 (signbit_test_data): Likewise.
20205 (sqrt_test_data): Likewise.
20206 (significand_test_data): Likewise.
20208 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20211 * benchtests/bench-modf.c (struct args): Mark arg0 as
20213 * scripts/bench.pl: Mark members of struct args as volatile.
20215 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20218 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20219 negative infinity on POWER6 or lower.
20220 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20222 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20225 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20226 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20227 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20228 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20229 (_FP_SETQNAN): New macro.
20230 (_FP_SETQNAN_SEMIRAW): Likewise.
20231 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20232 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20233 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20234 (FP_EXTEND): Use _FP_FRAC_SNANP.
20235 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20236 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20238 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20240 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20243 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20245 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20246 with DIVIDE_BY_ZERO_EXCEPTION.
20247 (gamma_test_data): Likewise.
20248 (lgamma_test_data): Likewise.
20249 (log_test_data): Likewise.
20250 (log10_test_data): Likewise.
20251 (log2_test_data): Likewise.
20252 (tgamma_test_data): Likewise.
20254 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20255 (acos_test_tonearest): Likewise.
20256 (acos_test_towardzero): Likewise.
20257 (acos_test_downward): Likewise.
20258 (acos_test_upward): Likewise.
20259 (acosh_test): Likewise.
20260 (asin_test): Likewise.
20261 (asin_test_tonearest): Likewise.
20262 (asin_test_towardzero): Likewise.
20263 (asin_test_downward): Likewise.
20264 (asin_test_upward): Likewise.
20265 (asinh_test): Likewise.
20266 (atan_test): Likewise.
20267 (atanh_test): Likewise.
20268 (atan2_test): Likewise.
20269 (cabs_test): Likewise.
20270 (cacos_test): Likewise.
20271 (cacosh_test): Likewise.
20272 (casin_test): Likewise.
20273 (casinh_test): Likewise.
20274 (catan_test): Likewise.
20275 (catanh_test): Likewise.
20276 (cbrt_test): Likewise.
20277 (ccos_test): Likewise.
20278 (ccosh_test): Likewise.
20279 (cexp_test): Likewise.
20280 (clog_test): Likewise.
20281 (clog10_test): Likewise.
20282 (cos_test): Likewise.
20283 (cos_test_tonearest): Likewise.
20284 (cos_test_towardzero): Likewise.
20285 (cos_test_downward): Likewise.
20286 (cos_test_upward): Likewise.
20287 (cosh_test): Likewise.
20288 (cosh_test_tonearest): Likewise.
20289 (cosh_test_towardzero): Likewise.
20290 (cosh_test_downward): Likewise.
20291 (cosh_test_upward): Likewise.
20292 (cpow_test): Likewise.
20293 (csin_test): Likewise.
20294 (csinh_test): Likewise.
20295 (csqrt_test): Likewise.
20296 (ctan_test): Likewise.
20297 (ctan_test_tonearest): Likewise.
20298 (ctan_test_towardzero): Likewise.
20299 (ctan_test_downward): Likewise.
20300 (ctan_test_upward): Likewise.
20301 (ctanh_test): Likewise.
20302 (ctanh_test_tonearest): Likewise.
20303 (ctanh_test_towardzero): Likewise.
20304 (ctanh_test_downward): Likewise.
20305 (ctanh_test_upward): Likewise.
20306 (erf_test): Likewise.
20307 (erfc_test): Likewise.
20308 (exp_test): Likewise.
20309 (exp_test_tonearest): Likewise.
20310 (exp_test_towardzero): Likewise.
20311 (exp_test_downward): Likewise.
20312 (exp_test_upward): Likewise.
20313 (exp10_test): Likewise.
20314 (exp2_test): Likewise.
20315 (expm1_test): Likewise.
20316 (fmod_test): Likewise.
20317 (gamma_test): Likewise.
20318 (hypot_test): Likewise.
20319 (j0_test): Likewise.
20320 (j1_test): Likewise.
20321 (jn_test): Likewise.
20322 (lgamma_test): Likewise.
20323 (log_test): Likewise.
20324 (log10_test): Likewise.
20325 (log1p_test): Likewise.
20326 (log2_test): Likewise.
20327 (logb_test_downward): Likewise.
20328 (pow_test): Likewise.
20329 (pow_test_tonearest): Likewise.
20330 (pow_test_towardzero): Likewise.
20331 (pow_test_downward): Likewise.
20332 (pow_test_upward): Likewise.
20333 (remainder_test): Likewise.
20334 (remquo_test): Likewise.
20335 (sin_test): Likewise.
20336 (sin_test_tonearest): Likewise.
20337 (sin_test_towardzero): Likewise.
20338 (sin_test_downward): Likewise.
20339 (sin_test_upward): Likewise.
20340 (sincos_test): Likewise.
20341 (sinh_test): Likewise.
20342 (sinh_test_tonearest): Likewise.
20343 (sinh_test_towardzero): Likewise.
20344 (sinh_test_downward): Likewise.
20345 (sinh_test_upward): Likewise.
20346 (sqrt_test): Likewise.
20347 (tan_test): Likewise.
20348 (tan_test_tonearest): Likewise.
20349 (tan_test_towardzero): Likewise.
20350 (tan_test_downward): Likewise.
20351 (tan_test_upward): Likewise.
20352 (tanh_test): Likewise.
20353 (tgamma_test): Likewise.
20354 (y0_test): Likewise.
20355 (y1_test): Likewise.
20356 (yn_test): Likewise.
20358 * math/gen-libm-test.pl (adjust_arg): Remove function.
20359 (special_function): Remove argument $in_func. Only handle
20360 generating output for tables of tests, not inside functions.
20361 (parse_args): Likewise.
20362 (generate_testfile): Remove variable $in_func. Update call to
20364 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20365 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20366 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20367 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20368 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20369 (MAX_VALUE_INIT): Rename macro to max_value.
20370 (MIN_VALUE_INIT): Rename macro to min_value.
20371 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20372 (plus_zero): Remove variable.
20373 (minus_zero): Likewise.
20374 (plus_infty): Likewise.
20375 (minus_infty): Likewise.
20376 (qnan_value): Likewise.
20377 (max_value): Likewise.
20378 (min_value): Likewise.
20379 (min_subnorm_value): Likewise.
20381 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20383 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20384 uint64_t or uint32_t usage.
20385 * crypt/sha256-block.c: Likewise.
20386 * crypt/sha256-crypt.c: Likewise.
20387 * crypt/sha256.c: Likewise.
20388 * crypt/sha512-block.c: Likewise.
20389 * crypt/sha512-crypt.c: Likewise.
20390 * crypt/sha512.c: Likewise.
20391 * debug/backtrace-tst.c: Likewise.
20392 * debug/pcprofiledump.c: Likewise.
20393 * elf/cache.c: Likewise.
20394 * elf/dl-cache.c: Likewise.
20395 * elf/dl-misc.c: Likewise.
20396 * elf/dl-profile.c: Likewise.
20397 * elf/dl-support.c: Likewise.
20398 * elf/ldconfig.c: Likewise.
20399 * elf/sprof.c: Likewise.
20400 * iconv/dummy-repertoire.c: Likewise.
20401 * iconv/iconv_charmap.c: Likewise.
20402 * iconv/skeleton.c: Likewise.
20403 * iconvdata/8bit-generic.c: Likewise.
20404 * iconvdata/cp737.h: Likewise.
20405 * iconvdata/cp775.h: Likewise.
20406 * iconvdata/ibm1008.h: Likewise.
20407 * iconvdata/ibm1025.h: Likewise.
20408 * iconvdata/ibm1046.h: Likewise.
20409 * iconvdata/ibm1097.h: Likewise.
20410 * iconvdata/ibm1112.h: Likewise.
20411 * iconvdata/ibm1122.h: Likewise.
20412 * iconvdata/ibm1123.h: Likewise.
20413 * iconvdata/ibm1124.h: Likewise.
20414 * iconvdata/ibm1129.h: Likewise.
20415 * iconvdata/ibm1130.h: Likewise.
20416 * iconvdata/ibm1132.h: Likewise.
20417 * iconvdata/ibm1133.h: Likewise.
20418 * iconvdata/ibm1137.h: Likewise.
20419 * iconvdata/ibm1140.h: Likewise.
20420 * iconvdata/ibm1141.h: Likewise.
20421 * iconvdata/ibm1142.h: Likewise.
20422 * iconvdata/ibm1143.h: Likewise.
20423 * iconvdata/ibm1144.h: Likewise.
20424 * iconvdata/ibm1145.h: Likewise.
20425 * iconvdata/ibm1146.h: Likewise.
20426 * iconvdata/ibm1147.h: Likewise.
20427 * iconvdata/ibm1148.h: Likewise.
20428 * iconvdata/ibm1149.h: Likewise.
20429 * iconvdata/ibm1153.h: Likewise.
20430 * iconvdata/ibm1154.h: Likewise.
20431 * iconvdata/ibm1155.h: Likewise.
20432 * iconvdata/ibm1156.h: Likewise.
20433 * iconvdata/ibm1157.h: Likewise.
20434 * iconvdata/ibm1158.h: Likewise.
20435 * iconvdata/ibm1160.h: Likewise.
20436 * iconvdata/ibm1161.h: Likewise.
20437 * iconvdata/ibm1162.h: Likewise.
20438 * iconvdata/ibm1163.h: Likewise.
20439 * iconvdata/ibm1164.h: Likewise.
20440 * iconvdata/ibm1166.h: Likewise.
20441 * iconvdata/ibm1167.h: Likewise.
20442 * iconvdata/ibm12712.h: Likewise.
20443 * iconvdata/ibm1390.h: Likewise.
20444 * iconvdata/ibm1399.h: Likewise.
20445 * iconvdata/ibm16804.h: Likewise.
20446 * iconvdata/ibm4517.h: Likewise.
20447 * iconvdata/ibm4899.h: Likewise.
20448 * iconvdata/ibm4909.h: Likewise.
20449 * iconvdata/ibm4971.h: Likewise.
20450 * iconvdata/ibm5347.h: Likewise.
20451 * iconvdata/ibm803.h: Likewise.
20452 * iconvdata/ibm856.h: Likewise.
20453 * iconvdata/ibm901.h: Likewise.
20454 * iconvdata/ibm902.h: Likewise.
20455 * iconvdata/ibm9030.h: Likewise.
20456 * iconvdata/ibm9066.h: Likewise.
20457 * iconvdata/ibm921.h: Likewise.
20458 * iconvdata/ibm922.h: Likewise.
20459 * iconvdata/ibm9448.h: Likewise.
20460 * iconvdata/isiri-3342.h: Likewise.
20461 * iconvdata/jis0201.h: Likewise.
20462 * include/link.h: Likewise.
20463 * include/netdb.h: Likewise.
20464 * inet/check_native.c: Likewise.
20465 * inet/check_pf.c: Likewise.
20466 * inet/getipv4sourcefilter.c: Likewise.
20467 * inet/getnameinfo.c: Likewise.
20468 * inet/getsourcefilter.c: Likewise.
20469 * inet/htonl.c: Likewise.
20470 * inet/setipv4sourcefilter.c: Likewise.
20471 * inet/setsourcefilter.c: Likewise.
20472 * inet/test-inet6_opt.c: Likewise.
20473 * inet/tst-network.c: Likewise.
20474 * locale/C-collate.c: Likewise.
20475 * locale/C-ctype.c: Likewise.
20476 * locale/C-time.c: Likewise.
20477 * locale/C-translit.h: Likewise.
20478 * locale/loadarchive.c: Likewise.
20479 * locale/programs/3level.h: Likewise.
20480 * locale/programs/charmap.c: Likewise.
20481 * locale/programs/charmap.h: Likewise.
20482 * locale/programs/ld-address.c: Likewise.
20483 * locale/programs/ld-collate.c: Likewise.
20484 * locale/programs/ld-ctype.c: Likewise.
20485 * locale/programs/ld-identification.c: Likewise.
20486 * locale/programs/ld-measurement.c: Likewise.
20487 * locale/programs/ld-messages.c: Likewise.
20488 * locale/programs/ld-monetary.c: Likewise.
20489 * locale/programs/ld-name.c: Likewise.
20490 * locale/programs/ld-numeric.c: Likewise.
20491 * locale/programs/ld-paper.c: Likewise.
20492 * locale/programs/ld-telephone.c: Likewise.
20493 * locale/programs/ld-time.c: Likewise.
20494 * locale/programs/linereader.c: Likewise.
20495 * locale/programs/locale.c: Likewise.
20496 * locale/programs/locarchive.c: Likewise.
20497 * locale/programs/locfile.h: Likewise.
20498 * locale/programs/repertoire.c: Likewise.
20499 * locale/programs/simple-hash.c: Likewise.
20500 * locale/programs/simple-hash.h: Likewise.
20501 * malloc/memusage.c: Likewise.
20502 * malloc/memusagestat.c: Likewise.
20503 * nis/nis_defaults.c: Likewise.
20504 * nis/nis_hash.c: Likewise.
20505 * nis/nis_print.c: Likewise.
20506 * nis/nis_xdr.c: Likewise.
20507 * nscd/connections.c: Likewise.
20508 * nscd/hstcache.c: Likewise.
20509 * nscd/nscd_gethst_r.c: Likewise.
20510 * nscd/nscd_getserv_r.c: Likewise.
20511 * nscd/nscd_helper.c: Likewise.
20512 * nscd/servicescache.c: Likewise.
20513 * nss/makedb.c: Likewise.
20514 * nss/nss_db/db-XXX.c: Likewise.
20515 * nss/nss_db/db-initgroups.c: Likewise.
20516 * nss/nss_db/db-netgrp.c: Likewise.
20517 * nss/nss_files/files-network.c: Likewise.
20518 * nss/nss_files/files-parse.c: Likewise.
20519 * posix/bug-regex5.c: Likewise.
20520 * posix/fnmatch_loop.c: Likewise.
20521 * posix/regcomp.c: Likewise.
20522 * posix/regexec.c: Likewise.
20523 * posix/tst-rfc3484-2.c: Likewise.
20524 * posix/tst-rfc3484-3.c: Likewise.
20525 * posix/tst-rfc3484.c: Likewise.
20526 * resolv/nss_dns/dns-canon.c: Likewise.
20527 * resolv/nss_dns/dns-network.c: Likewise.
20528 * resolv/res_init.c: Likewise.
20529 * resolv/res_mkquery.c: Likewise.
20530 * resolv/tst-aton.c: Likewise.
20531 * stdlib/cxa_atexit.c: Likewise.
20532 * stdlib/cxa_finalize.c: Likewise.
20533 * stdlib/gen-fpioconst.c: Likewise.
20534 * stdlib/strtol_l.c: Likewise.
20535 * string/tst-endian.c: Likewise.
20536 * sunrpc/auth_des.c: Likewise.
20537 * sunrpc/clnt_udp.c: Likewise.
20538 * sunrpc/rtime.c: Likewise.
20539 * sunrpc/svcauth_des.c: Likewise.
20540 * sunrpc/xdr.c: Likewise.
20541 * sunrpc/xdr_intXX_t.c: Likewise.
20542 * sunrpc/xdr_rec.c: Likewise.
20543 * sysdeps/generic/ldconfig.h: Likewise.
20544 * sysdeps/generic/ldsodefs.h: Likewise.
20545 * sysdeps/generic/memusage.h: Likewise.
20546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20547 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20548 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20552 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20553 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20554 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20555 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20556 * sysdeps/posix/getaddrinfo.c: Likewise.
20557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20561 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20562 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20563 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20564 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20565 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20566 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20567 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20568 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20569 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20570 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20572 * sysdeps/x86_64/dl-tls.h: Likewise.
20573 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20574 * time/alt_digit.c: Likewise.
20575 * time/era.c: Likewise.
20576 * wcsmbs/tst-c16c32-1.c: Likewise.
20578 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20580 * math/libm-test.inc (struct test_sincos_data): New type.
20581 (RUN_TEST_LOOP_sincos): New macro.
20582 (sincos_test_data): New variable.
20583 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20585 2013-05-16 Richard Henderson <rth@redhat.com>
20587 * math/atest-exp2.c (LIMB64): New macro.
20588 (CONSTSZ): New macro.
20589 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20591 (print_mpn_fp): ... to function scope.
20592 (read_mpn_hex): Remove.
20593 (get_log2): Remove.
20594 (exp2_mpn): Use mp_log2.
20595 (main): Use mp_exp1.
20597 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20599 * math/libm-test.inc: Remove comment about not testing "inexact"
20601 (INEXACT_EXCEPTION): New macro.
20602 (NO_INEXACT_EXCEPTION): Likewise.
20603 (INVALID_EXCEPTION_OK): Update value.
20604 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20605 (OVERFLOW_EXCEPTION_OK): Likewise.
20606 (UNDERFLOW_EXCEPTION_OK): Likewise.
20607 (IGNORE_ZERO_INF_SIGN): Likewise.
20608 (ERRNO_UNCHANGED): Likewise.
20609 (ERRNO_EDOM): Likewise.
20610 (ERRNO_ERANGE): Likewise.
20611 (test_exceptions): Handle testing "inexact" exceptions.
20612 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20613 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20614 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20615 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20617 (rint_towardzero_test_data): Likewise.
20618 (rint_downward_test_data): Likewise.
20619 (rint_upward_test_data): Likewise.
20621 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20622 with OVERFLOW_EXCEPTION.
20623 (exp10_test_data): Likewise.
20624 (exp2_test_data): Likewise.
20625 (expm1_test_data): Likewise.
20626 (lgamma_test_data): Likewise.
20627 (pow_test_data): Likewise.
20628 (tgamma_test_data): Likewise.
20629 (yn_test_data): Remove duplicate test of overflow.
20631 * math/libm-test.inc (struct test_cc_c_data): New type.
20632 (RUN_TEST_LOOP_cc_c): New macro.
20633 (cpow_test_data): New variable.
20634 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20636 * math/libm-test.inc (struct test_f_L_data): New type.
20637 (RUN_TEST_LOOP_f_L): New macro.
20638 (llrint_test_data): New variable.
20639 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20640 (llrint_tonearest_test_data): New variable.
20641 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20642 (llrint_towardzero_test_data): New variable.
20643 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20644 (llrint_downward_test_data): New variable.
20645 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20646 (llrint_upward_test_data): New variable.
20647 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20648 (llround_test_data): New variable.
20649 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20651 2013-05-13 Peter Collingbourne <pcc@google.com>
20653 * math/atest-exp2.c (get_log2): Remove const attribute.
20655 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20657 * math/libm-test.inc (struct test_f_l_data): New type.
20658 (RUN_TEST_LOOP_f_l): New macro.
20659 (lrint_test_data): New variable.
20660 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20661 (lrint_tonearest_test_data): New variable.
20662 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20663 (lrint_towardzero_test_data): New variable.
20664 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20665 (lrint_downward_test_data): New variable.
20666 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20667 (lrint_upward_test_data): New variable.
20668 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20669 (lround_test_data): New variable.
20670 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20672 2013-05-15 Peter Collingbourne <pcc@google.com>
20674 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20675 (EXTRACT_WORDS64) Use where appropriate.
20676 (INSERT_WORDS64) Likewise.
20678 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20679 constraints with x constraints.
20680 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20682 * malloc/obstack.c (_obstack_compat): Add initializer.
20684 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20687 si_trapno and add si_addr_lsb to _sifields.sigfault.
20688 (si_trapno): Remove macro.
20689 (si_addr_lsb): Define new macro.
20690 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20692 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20694 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20695 instead of TEST_f_l.
20696 (llrint_test_tonearest): Likewise.
20697 (llrint_test_towardzero): Likewise.
20698 (llrint_test_downward): Likewise.
20699 (llrint_test_upward): Likewise.
20700 (llround_test): Likewise.
20702 * math/libm-test.inc (struct test_f_i_data): Add comment.
20703 (RUN_TEST_LOOP_f_b): New macro.
20704 (RUN_TEST_LOOP_f_b_tg): Likewise.
20705 (finite_test_data): New variable.
20706 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20707 (isfinite_test_data): New variable.
20708 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20709 (isinf_test_data): New variable.
20710 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20711 (isnan_test_data): New variable.
20712 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20713 (isnormal_test_data): New variable.
20714 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20715 (issignaling_test_data): New variable.
20716 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20717 (signbit_test_data): New variable.
20718 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20720 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20721 with INVALID_EXCEPTION.
20722 (acosh_test_data): Likewise.
20723 (asin_test_data): Likewise.
20724 (atanh_test_data): Likewise.
20725 (fmod_test_data): Likewise.
20726 (log_test_data): Likewise.
20727 (log10_test_data): Likewise.
20728 (log2_test_data): Likewise.
20729 (pow_test_data): Likewise.
20730 (sqrt_test_data): Likewise.
20731 (y0_test_data): Likewise.
20732 (y1_test_data): Likewise.
20733 (yn_test_data): Likewise.
20735 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20738 * math/libm-test.inc (struct test_ff_i_data): New type.
20739 (RUN_TEST_LOOP_ff_i_tg): New macro.
20740 (isgreater_test_data): New variable.
20741 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20742 (isgreaterequal_test_data): New variable.
20743 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20744 (isless_test_data): New variable.
20745 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20746 (islessequal_test_data): New variable.
20747 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20748 (islessgreater_test_data): New variable.
20749 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20750 (isunordered_test_data): New variable.
20751 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20753 2013-05-14 David S. Miller <davem@davemloft.net>
20755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20757 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20759 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20761 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20763 (struct test_f_i_data): Change type of max_ulp to int.
20765 * math/libm-test.inc (test_ffI_f1_data): New type.
20766 (RUN_TEST_LOOP_ffI_f1): New macro.
20767 (remquo_test_data): New variable.
20768 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20770 * setjmp/tst-setjmp-fp.c: New file.
20771 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20772 (link-libm): New variable.
20773 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20775 * math/libm-test.inc (struct test_f_i_data): New type.
20776 (RUN_TEST_LOOP_f_i): New macro.
20777 (RUN_TEST_LOOP_f_i_tg): Likewise.
20778 (fpclassify_test_data): New variable.
20779 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20780 (ilogb_test_data): New variable.
20781 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20783 * math/libm-test.inc (scalbln_test): Correct function name in END
20786 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20787 (RUN_TEST_LOOP_fI_f1): New macro.
20788 (frexp_test_data): New variable.
20789 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20791 * math/libm-test.inc (struct test_fF_f1_data): New type.
20792 (RUN_TEST_LOOP_fF_f1): New macro.
20793 (modf_test_data): New variable.
20794 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20796 * math/libm-test.inc (struct test_f_f1_data): New type.
20797 (RUN_TEST_LOOP_f_f1): New macro.
20798 (gamma_test_data): New variable.
20799 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20800 (lgamma_test_data): New variable.
20801 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20803 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20805 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20806 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20807 (main): Comment "tls" pseudo-hwcap.
20809 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20811 * math/libm-test.inc (struct test_fl_f_data): New type.
20812 (RUN_TEST_LOOP_fl_f): New variable.
20813 (scalbln_test_data): New variable.
20814 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20816 * math/libm-test.inc (struct test_fi_f_data): New type.
20817 (RUN_TEST_LOOP_fi_f): New macro.
20818 (ldexp_test_data): New variable.
20819 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20820 (scalbn_test_data): New variable.
20821 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20823 * math/libm-test.inc (struct test_c_f_data): New type.
20824 (RUN_TEST_LOOP_c_f): New macro.
20825 (cabs_test_data): New variable.
20826 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20827 (carg_test_data): New variable.
20828 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20829 (cimag_test_data): New variable.
20830 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20831 (creal_test_data): New variable.
20832 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20834 * math/libm-test.inc (struct test_if_f_data): New type.
20835 (RUN_TEST_LOOP_if_f): New macro.
20836 (jn_test_data): New variable.
20837 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20838 (yn_test_data): New variable.
20839 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20841 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20843 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20845 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20846 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20848 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20850 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20851 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20852 (bench-deps): Add bench-timing.h.
20853 * benchtests-bench-skeleton.c: Include bench-timing.h.
20854 (main): Use TIMING_* macros instead of clock_gettime.
20855 * benchtests/bench-timing.h: New file.
20858 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20859 Renamed from _LIB_VERSION.
20860 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20862 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20864 * math/libm-test.inc (struct test_fff_f_data): New type.
20865 (RUN_TEST_LOOP_fff_f): New macro.
20866 (fma_test_data): New variable.
20867 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20868 (fma_towardzero_test_data): New variable.
20869 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20870 (fma_downward_test_data): New variable.
20871 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20872 (fma_upward_test_data): New variable.
20873 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20875 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20876 (struct test_c_c_data): New type.
20877 (RUN_TEST_LOOP_c_c): New macro.
20878 (cacos_test_data): New variable.
20879 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20880 (cacosh_test_data): New variable.
20881 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20882 (casin_test_data): New variable.
20883 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20884 (casinh_test_data): New variable.
20885 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20886 (catan_test_data): New variable.
20887 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20888 (catanh_test_data): New variable.
20889 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20890 (ccos_test_data): New variable.
20891 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20892 (ccosh_test_data): New variable.
20893 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20894 (cexp_test_data): New variable.
20895 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20896 (clog_test_data): New variable.
20897 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20898 (clog10_test_data): New variable.
20899 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20900 (conj_test_data): New variable.
20901 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20902 (cproj_test_data): New variable.
20903 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20904 (csin_test_data): New variable.
20905 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20906 (csinh_test_data): New variable.
20907 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20908 (csqrt_test_data): New variable.
20909 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20910 (ctan_test_data): New variable.
20911 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20912 (ctan_tonearest_test_data): New variable.
20913 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20914 (ctan_towardzero_test_data): New variable.
20915 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20916 (ctan_downward_test_data): New variable.
20917 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20918 (ctan_upward_test_data): New variable.
20919 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20920 (ctanh_test_data): New variable.
20921 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20922 (ctanh_tonearest_test_data): New variable.
20923 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20924 (ctanh_towardzero_test_data): New variable.
20925 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20926 (ctanh_downward_test_data): New variable.
20927 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20928 (ctanh_upward_test_data): New variable.
20929 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20930 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20933 * math/libm-test.inc (struct test_ff_f_data): New type.
20934 (struct test_ff_f_data_nexttoward): Likewise.
20935 (RUN_TEST_LOOP_2_f): New macro.
20936 (RUN_TEST_LOOP_ff_f): Likewise.
20937 (atan2_test_data): New variable.
20938 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20939 (copysign_test_data): New variable.
20940 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20941 (fdim_test_data): New variable.
20942 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20943 (fmax_test_data): New variable.
20944 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20945 (fmin_test_data): New variable.
20946 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20947 (fmod_test_data): New variable.
20948 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20949 (hypot_test_data): New variable.
20950 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20951 (nextafter_test_data): New variable.
20952 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20953 (nexttoward_test_data): New variable.
20954 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20955 (pow_test_data): New variable.
20956 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20957 (pow_tonearest_test_data): New variable.
20958 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20959 (pow_towardzero_test_data): New variable.
20960 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20961 (pow_downward_test_data): New variable.
20962 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20963 (pow_upward_test_data): New variable.
20964 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20965 (remainder_test_data): New variable.
20966 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20967 (scalb_test_data): New variable.
20968 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20969 * sysdeps/i386/fpu/libm-test-ulps: Update.
20971 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20973 * math/libm-test.inc (fma_test): Use max_value instead of local
20975 (nextafter_test): Likewise.
20977 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20978 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20979 (acos_downward_test_data): New variable.
20980 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20981 (acos_upward_test_data): New variable.
20982 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20983 (acosh_test_data): New variable.
20984 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20985 (asin_test_data): New variable.
20986 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20987 (asin_tonearest_test_data): New variable.
20988 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20989 (asin_towardzero_test_data): New variable.
20990 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20991 (asin_downward_test_data): New variable.
20992 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20993 (asin_upward_test_data): New variable.
20994 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20995 (asinh_test_data): New variable.
20996 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20997 (atan_test_data): New variable.
20998 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20999 (atanh_test_data): New variable.
21000 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21001 (cbrt_test_data): New variable.
21002 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21003 (ceil_test_data): New variable.
21004 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (cos_test_data): New variable.
21006 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21007 (cos_tonearest_test_data): New variable.
21008 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21009 (cos_towardzero_test_data): New variable.
21010 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21011 (cos_downward_test_data): New variable.
21012 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21013 (cos_upward_test_data): New variable.
21014 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21015 (cosh_test_data): New variable.
21016 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21017 (cosh_tonearest_test_data): New variable.
21018 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21019 (cosh_towardzero_test_data): New variable.
21020 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21021 (cosh_downward_test_data): New variable.
21022 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21023 (cosh_upward_test_data): New variable.
21024 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21025 (erf_test_data): New variable.
21026 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21027 (erfc_test_data): New variable.
21028 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21029 (exp_test_data): New variable.
21030 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21031 (exp_tonearest_test_data): New variable.
21032 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21033 (exp_towardzero_test_data): New variable.
21034 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21035 (exp_downward_test_data): New variable.
21036 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21037 (exp_upward_test_data): New variable.
21038 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21039 (exp10_test_data): New variable.
21040 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21041 (exp2_test_data): New variable.
21042 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21043 (expm1_test_data): New variable.
21044 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21045 (fabs_test_data): New variable.
21046 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21047 (floor_test_data): New variable.
21048 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21049 (j0_test_data): New variable.
21050 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21051 (j1_test_data): New variable.
21052 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21053 (log_test_data): New variable.
21054 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21055 (log10_test_data): New variable.
21056 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21057 (log1p_test_data): New variable.
21058 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21059 (log2_test_data): New variable.
21060 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21061 (logb_test_data): New variable.
21062 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21063 (logb_downward_test_data): New variable.
21064 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21065 (nearbyint_test_data): New variable.
21066 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21067 (rint_test_data): New variable.
21068 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21069 (rint_tonearest_test_data): New variable.
21070 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21071 (rint_towardzero_test_data): New variable.
21072 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21073 (rint_downward_test_data): New variable.
21074 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21075 (rint_upward_test_data): New variable.
21076 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21077 (round_test_data): New variable.
21078 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21079 (sin_test_data): New variable.
21080 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21081 (sin_tonearest_test_data): New variable.
21082 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21083 (sin_towardzero_test_data): New variable.
21084 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21085 (sin_downward_test_data): New variable.
21086 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21087 (sin_upward_test_data): New variable.
21088 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21089 (sinh_test_data): New variable.
21090 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21091 (sinh_tonearest_test_data): New variable.
21092 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21093 (sinh_towardzero_test_data): New variable.
21094 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21095 (sinh_downward_test_data): New variable.
21096 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21097 (sinh_upward_test_data): New variable.
21098 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21099 (sqrt_test_data): New variable.
21100 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21101 (tan_test_data): New variable.
21102 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21103 (tan_tonearest_test_data): New variable.
21104 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21105 (tan_towardzero_test_data): New variable.
21106 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21107 (tan_downward_test_data): New variable.
21108 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21109 (tan_upward_test_data): New variable.
21110 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21111 (tanh_test_data): New variable.
21112 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21113 (tgamma_test_data): New variable.
21114 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21115 (trunc_test_data): New variable.
21116 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21117 (y0_test_data): New variable.
21118 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21119 (y1_test_data): New variable.
21120 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21121 (significand_test_data): New variable.
21122 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21124 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21127 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21129 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21131 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21133 2013-05-10 Andreas Jaeger <aj@suse.de>
21136 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21137 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21139 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21141 * math/gen-libm-test.pl (adjust_arg): New function.
21142 (special_functions): Handle generating output in both functions
21144 (parse_args): Likewise.
21145 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21146 $in_func argument to parse_args.
21147 * math/libm-test.inc (struct test_f_f_data): New type.
21148 (IF_ROUND_INIT_): New macro.
21149 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21150 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21151 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21152 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21153 (ROUND_RESTORE_): Likewise.
21154 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21155 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21156 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21157 (ROUND_RESTORE_FE_UPWARD): Likewise.
21158 (RUN_TEST_LOOP_f_f): New macro.
21159 (acos_test_data): New variable.
21160 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21161 (acos_tonearest_test_data): New variable.
21162 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21164 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21166 * benchtests/bench-skeleton.c (startup): Fix coding style.
21168 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21171 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21172 negative infinity argument.
21173 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21174 negative infinity argument.
21175 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21176 negative infinity argument.
21177 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21180 2013-05-10 Florian Weimer <fweimer@redhat.com>
21182 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21183 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21184 * iconv/iconv_prog.c (main): Likewise.
21185 * locale/programs/charmap-dir.c (charmap_readdir)
21186 (fopen_uncompressed): Likewise.
21187 * locale/programs/locfile.c (siblings_uncached)
21188 (write_locale_data): Use lstat64 instead of lstat.
21189 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21192 2013-05-10 Andreas Jaeger <aj@suse.de>
21195 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21197 Include <locale.h>.
21199 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21201 * elf/dl-close.c (_dl_close_worker): Add comments.
21203 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21206 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21208 (__ieee754_rem_pio2l): Update comments.
21211 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21213 (__ieee754_rem_pio2l): Update comments.
21215 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21216 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21218 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21221 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21222 (M_PI_34_LOG10El): Likewise.
21223 (M_PI2_LOG10El): Likewise.
21224 (M_PI4_LOG10El): Likewise.
21225 (M_PI_LOG10El): Likewise.
21227 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21231 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21233 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21234 (MINUS_ZERO_INIT): Likewise.
21235 (PLUS_INFTY_INIT): Likewise.
21236 (MINUS_INFTY_INIT): Likewise.
21237 (QNAN_VALUE_INIT): Likewise.
21238 (MAX_VALUE_INIT): Likewise.
21239 (MIN_VALUE_INIT): Likewise.
21240 (MIN_SUBNORM_VALUE_INIT): Likewise.
21241 (plus_zero): Initialize with PLUS_ZERO_INIT.
21242 (minus_zero): Initialize with MINUS_ZERO_INIT.
21243 (plus_infty): Initialize with PLUS_INFTY_INIT.
21244 (minus_infty): Initialize with MINUS_INFTY_INIT.
21245 (qnan_value): Initialize with QNAN_VALUE_INIT.
21246 (max_value): Initialize with MAX_VALUE_INIT.
21247 (min_value): Initialize with MIN_VALUE_INIT.
21248 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21250 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21251 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21252 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21253 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21255 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21256 (RUN_TEST_2_f): Likewise.
21257 (RUN_TEST_ff_f): Likewise.
21258 (RUN_TEST_fi_f): Likewise.
21259 (RUN_TEST_fl_f): Likewise.
21260 (RUN_TEST_fff_f): Likewise.
21261 (RUN_TEST_c_f): Likewise.
21262 (RUN_TEST_f_f1): Likewise.
21263 (RUN_TEST_fF_f1): Likewise.
21264 (RUN_TEST_fI_f1): Likewise.
21265 (RUN_TEST_ffI_f1): Likewise.
21266 (RUN_TEST_c_c): Likewise.
21267 (RUN_TEST_cc_c): Likewise.
21268 (RUN_TEST_f_i): Likewise.
21269 (RUN_TEST_f_i_tg): Likewise.
21270 (RUN_TEST_ff_i_tg): Likewise.
21271 (RUN_TEST_f_b): Likewise.
21272 (RUN_TEST_f_b_tg): Likewise.
21273 (RUN_TEST_f_l): Likewise.
21274 (RUN_TEST_f_L): Likewise.
21275 (RUN_TEST_sincos): Likewise.
21276 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21277 whether to show exceptions. Do not include ");\n" in return
21279 (special_functions): Output call to RUN_TEST_sincos instead of
21280 check_float calls. Update calls to new_test.
21281 (parse_args): Output call to single RUN_TEST_* macro instead of
21282 check_* calls and other assignments. Update calls to new_test.
21288 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21289 input to result for tgamma overflow.
21290 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21291 (gamma_coeff): New variable.
21292 (NCOEFF): New macro.
21293 (gamma_positive): New function.
21294 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21295 underflow here. Use gamma_positive instead of exp (lgamma) for
21297 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21298 (gamma_coeff): New variable.
21299 (NCOEFF): New macro.
21300 (gammaf_positive): New function.
21301 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21302 underflow here. Use gamma_positive instead of exp (lgamma) for
21304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21305 (gamma_coeff): New variable.
21306 (NCOEFF): New macro.
21307 (gammal_positive): New function.
21308 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21309 underflow here. Use gamma_positive instead of exp (lgamma) for
21311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21312 (gamma_coeff): New variable.
21313 (NCOEFF): New macro.
21314 (gammal_positive): New function.
21315 (__ieee754_gammal_r): Handle positive infinity, overflow and
21316 underflow here. Handle NaN the same as positive infinity. Remove
21317 check x < 0xffffffff for negative integers. Use gamma_positive
21318 instead of exp (lgamma) for other arguments.
21319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21320 (gamma_coeff): New variable.
21321 (NCOEFF): New macro.
21322 (gammal_positive): New function.
21323 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21324 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21325 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21326 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21327 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21328 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21329 * sysdeps/generic/math_private.h (__gamma_productf): New
21331 (__gamma_product): Likewise.
21332 (__gamma_productl): Likewise.
21333 * math/Makefile (libm-calls): Add gamma_product.
21334 * math/libm-test.inc (tgamma_test): Add more tests.
21335 * sysdeps/i386/fpu/libm-test-ulps: Update.
21336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21338 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21340 * benchtests/bench-skeleton.c (main): Preheat CPU.
21342 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21344 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21346 2013-05-07 Roland McGrath <roland@hack.frob.com>
21348 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21349 and _dl_skip_args_internal.
21351 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21353 * manual/message.texi (Message Translation): Talk about users.
21354 Message to key mapping impacts design.
21356 2013-05-06 Roland McGrath <roland@hack.frob.com>
21358 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21360 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21362 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21363 * sysdeps/wordsize-64/glob64.c: ... here.
21365 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21366 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21369 * debug/getlogin_r_chk.c: Moved to ...
21370 * login/getlogin_r_chk.c: ... here.
21371 * debug/Makefile (routines): Move getlogin_r_chk to ...
21372 * login/Makefile (routines): ... here.
21373 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21374 * login/Versions (libc: GLIBC_2.4): ... here.
21376 * io/poll.c (__poll): Renamed from poll.
21377 Add libc_hidden_def.
21378 (poll): Define as weak alias.
21380 * debug/ptsname_r_chk.c: Moved to ...
21381 * login/ptsname_r_chk.c: ... here.
21382 * debug/Makefile (routines): Move ptsname_r_chk to ...
21383 * login/Makefile (routines): ... here.
21384 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21385 * login/Versions (libc: GLIBC_2.4): ... here.
21387 * posix/getlogin.c: Moved to ...
21388 * login/getlogin.c: ... here.
21389 * posix/getlogin_r.c: Moved to ...
21390 * login/getlogin_r.c: ... here.
21391 * posix/getlogin_r.c: Moved to ...
21392 * login/getlogin_r.c: ... here.
21393 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21394 * login/Makefile (routines): ... here.
21395 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21396 * login/Versions (libc: GLIBC_2.0): ... here.
21398 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21399 (setrlimit): Define as weak alias.
21401 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21402 Call __ names for open, ftruncate, and close.
21403 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21404 (truncate): Define as weak alias.
21406 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21408 * math/gen-libm-test.pl (parse_args): Initialize x before each
21409 test of frexp, modf and remquo.
21411 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21412 test signgam value.
21414 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21418 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21422 2013-05-06 Roland McGrath <roland@hack.frob.com>
21424 * elf/dl-writev.h: New file.
21425 * elf/dl-misc.c: Include it.
21426 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21427 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21429 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21431 * math/libm-test.inc (noXFails): Remove variable.
21432 (noXPasses): Likewise.
21433 (BUILD_COMPLEX_INT): Remove macro.
21434 (print_screen): Remove xfail argument.
21435 (print_screen_max_error): Likewise.
21436 (update_stats): Likewise.
21437 (print_max_error): Likewise. Update calls to other affected
21439 (print_complex_max_error): Likewise.
21440 (test_single_exception): Update calls to print_screen.
21441 (test_single_errno): Likewise.
21442 (check_float_internal): Remove xfail argument. Update calls to
21443 other affected functions.
21444 (check_float): Likewise.
21445 (check_complex): Likewise.
21446 (check_int): Likewise.
21447 (check_long): Likewise.
21448 (check_bool): Likewise.
21449 (check_longlong): Likewise.
21450 (main): Don't print noXFails and noXPasses.
21451 * math/gen-libm-test.pl (top level): Don't mention expected
21452 failure handling in comment.
21453 (new_test): Don't handle expected failures.
21454 (parse_args): Don't mention expected failure handling in comment.
21455 (generate_testfile): Don't handle expected failures.
21456 (parse_ulps): Likewise.
21457 (print_ulps_file): Likewise.
21458 (get_failure): Remove function.
21459 (output_test): Don't handle expected failures.
21460 * make/README.libm-test: Don't mention expected failure handling.
21462 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21463 (minus_zero): Likewise.
21464 (plus_infty): Likewise.
21465 (minus_infty): Likewise.
21466 (qnan_value): Likewise.
21467 (max_value): Likewise.
21468 (min_value): Likewise.
21469 (min_subnorm_value): Likewise.
21470 (initialize): Do not initialize those variables dynamically.
21472 2013-05-03 Roland McGrath <roland@hack.frob.com>
21474 * io/open.c (__open_2): Moved to ...
21475 * io/open_2.c: ... this new file.
21476 * io/open64.c (__open64_2): Moved to ...
21477 * io/open64_2.c: ... this new file.
21478 * io/openat.c (__openat_2): Moved to ...
21479 * io/openat_2.c: ... this new file.
21480 * io/openat64.c (__openat64_2): Moved to ...
21481 * io/openat64_2.c: ... this new file.
21482 * io/Makefile (routines): Add them.
21483 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21484 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21485 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21486 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21487 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21488 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21489 (__openat64): Add hidden_ver.
21490 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21491 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21493 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21494 Separately conditionalize setting of GLRO(dl_sysinfo) so
21495 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21496 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21498 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21500 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21503 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21504 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21505 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21506 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21507 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21509 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21511 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21512 test signgam value.
21514 * math/libm-test.inc (hypot_test): Do not use
21515 IGNORE_ZERO_INF_SIGN.
21517 2013-05-03 Andreas Jaeger <aj@suse.de>
21519 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21521 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21522 (PF_MAX): Adjust for VSOCK change.
21524 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21528 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21531 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21532 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21533 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21535 2013-05-02 David S. Miller <davem@davemloft.net>
21537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21539 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21541 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21543 2013-05-01 Roland McGrath <roland@hack.frob.com>
21545 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21547 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21550 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21551 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21552 Use __attribute__ ((__gnu_inline__)).
21553 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21554 Don't use __attribute__ ((__gnu_inline__)).
21556 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21559 * math/s_catan.c (__catan): Handle small real or imaginary part of
21560 input specially to avoid spurious underflow.
21561 * math/s_catanf.c (__catanf): Likewise.
21562 * math/s_catanh.c (__catanh): Likewise.
21563 * math/s_catanhf.c (__catanhf): Likewise.
21564 * math/s_catanhl.c (__catanhl): Likewise.
21565 * math/s_catanl.c (__catanl): Likewise.
21566 * math/libm-test.inc (catan_test): Add more tests.
21567 (catanh_test): Likewise.
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21575 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21578 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21579 accurately for denominator in atan2.
21580 * math/s_catanf.c (__catanf): Likewise.
21581 * math/s_catanh.c (__catanh): Likewise.
21582 * math/s_catanhf.c (__catanhf): Likewise.
21583 * math/s_catanhl.c (__catanhl): Likewise.
21584 * math/s_catanl.c (__catanl): Likewise.
21585 * math/libm-test.inc (catan_test): Add more tests.
21586 (catanh_test): Likewise.
21587 * sysdeps/i386/fpu/libm-test-ulps: Update.
21588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21592 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21594 * benchtests/Makefile (bench): Remove slow benchmarks.
21595 * benchtests/atan-inputs: Add slow benchmark inputs.
21596 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21597 (BENCH_FUNC): Accept variant offset.
21599 * benchtests/bench-skeleton.c (main): Run benchmark for each
21601 * benchtests/cos-inputs: Add slow benchmark inputs.
21602 * benchtests/exp-inputs: Likewise.
21603 * benchtests/pow-inputs: Likewise.
21604 * benchtests/sin-inputs: Likewise.
21605 * benchtests/slowatan-inputs: Remove.
21606 * benchtests/slowatan.c: Remove.
21607 * benchtests/slowcos-inputs: Remove.
21608 * benchtests/slowcos.c: Remove.
21609 * benchtests/slowexp-inputs: Remove.
21610 * benchtests/slowexp.c: Remove.
21611 * benchtests/slowpow-inputs: Remove.
21612 * benchtests/slowpow.c: Remove.
21613 * benchtests/slowsin-inputs: Remove.
21614 * benchtests/slowsin.c: Remove.
21615 * benchtests/slowtan-inputs: Remove.
21616 * benchtests/slowtan.c: Remove.
21617 * benchtests/tan-inputs: Add slow benchmark inputs.
21618 * scripts/bench.pl: Parse comments and directives.
21620 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21622 ($(objpfx)bench-%.c): Remove *-ITER.
21623 * benchtests/bench-modf.c: Remove definition of ITER.
21624 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21625 (main): Loop for DURATION seconds instead of fixed number of
21627 * scripts/bench.pl: Don't expect iterations in parameters.
21629 2013-04-29 Roland McGrath <roland@hack.frob.com>
21631 * io/fchdir.c (__fchdir): Renamed from fchdir.
21632 (fchdir): Define as weak alias.
21634 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21636 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21637 (ERRNO_EDOM): Likewise.
21638 (ERRNO_ERANGE): Likewise.
21639 (noErrnoTests): New variable.
21640 (init_max_error): Set errno to 0.
21641 (test_single_errno): New function.
21642 (test_errno): Likewise.
21643 (check_float_internal): Call test_errno. Set errno to 0.
21644 (check_complex): Refer to errno tests in comment.
21645 (check_int): Call test_errno. Set errno to 0.
21646 (check_long): Likewise.
21647 (check_bool): Likewise.
21648 (check_longlong): Likewise.
21649 (cos_test): Use ERRNO_* flags for errno tests instead of
21651 (expm1_test): Likewise.
21652 (fmod_test): Likewise.
21653 (ilogb_test): Likewise.
21654 (lgamma_test): Likewise.
21655 (pow_test): Likewise.
21656 (remainder_test): Likewise.
21657 (sin_test): Likewise.
21658 (tan_test): Likewise.
21659 (yn_test): Likewise.
21660 (initialize): Set errno to 0.
21661 (main): Print number of errno tests.
21662 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21664 2013-04-29 Andreas Jaeger <aj@suse.de>
21667 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21671 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21672 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21676 * stdlib/random.c (__initstate): Return NULL if
21680 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21681 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21684 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21688 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21690 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21691 of individual tests.
21692 (casin_test): Likewise.
21693 (casinh_test): Likewise.
21695 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21698 * math/s_catan.c (__catan): Handle arguments with large real or
21699 imaginary part separately without squaring.
21700 * math/s_catanf.c (__catanf): Likewise.
21701 * math/s_catanh.c (__catanh): Likewise.
21702 * math/s_catanhf.c (__catanhf): Likewise.
21703 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21705 (__catanhl): Handle arguments with large real or imaginary part
21706 separately without squaring.
21707 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21709 (__catanl): Handle arguments with large real or imaginary part
21710 separately without squaring.
21711 * math/libm-test.inc (catan_test): Add more tests.
21712 (catanh_test): Likewise.
21713 * sysdeps/i386/fpu/libm-test-ulps: Update.
21714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21716 2013-04-27 Andreas Jaeger <aj@suse.de>
21719 * stdlib/stdlib.h: Update guards for qecvt.
21720 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21723 2013-04-27 Allan McRae <allan@archlinux.org>
21725 * sysdeps/i386/fpu/libm-test-ulps: Update.
21727 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21730 * math/s_catan.c: Include <float.h>.
21731 (__catan): Ensure underflow exception occurs for underflowed
21733 * math/s_catanf.c: Include <float.h>.
21734 (__catanf): Ensure underflow exception occurs for underflowed
21736 * math/s_catanh.c: Include <float.h>.
21737 (__catanh): Ensure underflow exception occurs for underflowed
21739 * math/s_catanhf.c: Include <float.h>.
21740 (__catanhf): Ensure underflow exception occurs for underflowed
21742 * math/s_catanhl.c: Include <float.h>.
21743 (__catanhl): Ensure underflow exception occurs for underflowed
21745 * math/s_catanl.c: Include <float.h>.
21746 (__catanl): Ensure underflow exception occurs for underflowed
21748 * math/libm-test.inc (catan_test): Add more tests.
21749 (catanh_test): Likewise.
21752 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21753 underflowed result.
21754 * math/s_ccoshf.c (__ccoshf): Likewise.
21755 * math/s_ccoshl.c (__ccoshl): Likewise.
21756 * math/s_csin.c (__csin): Likewise.
21757 * math/s_csinf.c (__csinf): Likewise.
21758 * math/s_csinh.c (__csinh): Likewise.
21759 * math/s_csinhf.c (__csinhf): Likewise.
21760 * math/s_csinhl.c (__csinhl): Likewise.
21761 * math/s_csinl.c (__csinl): Likewise.
21762 * math/libm-test.inc (ccos_test): Add more tests.
21763 (ccosh_test): Likewise.
21764 (csin_test): Likewise.
21765 (csinh_test): Likewise.
21767 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21769 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21770 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21771 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21772 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21773 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21774 powerpc/power5+/fpu folders.
21775 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21778 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21782 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21784 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21785 additions to variable.
21786 [$(config-machine) = x86_64] (modules-names): Likewise.
21787 ($(objpfx)tst-audit3): Remove dependency.
21788 ($(objpfx)tst-audit3.out): Likewise.
21789 ($(objpfx)tst-audit4): Likewise.
21790 ($(objpfx)tst-audit4.out): Likewise.
21791 ($(objpfx)tst-audit5): Likewise.
21792 ($(objpfx)tst-audit5.out): Likewise.
21793 ($(objpfx)tst-audit6): Likewise.
21794 ($(objpfx)tst-audit6.out): Likewise.
21795 ($(objpfx)tst-audit7): Likewise.
21796 ($(objpfx)tst-audit7.out): Likewise.
21797 (tst-audit3-ENV): Remove variable.
21798 (tst-audit4-ENV): Likewise.
21799 (tst-audit5-ENV): Likewise.
21800 (tst-audit6-ENV): Likewise.
21801 (tst-audit7-ENV): Likewise.
21802 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21803 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21804 addition to variable.
21805 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21806 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21810 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21811 tst-audit3, tst-audit4 and tst-audit5.
21812 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21813 tst-audit6 and tst-audit7.
21814 [$(subdir) = elf] (modules-names): Add audit modules for those
21816 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21817 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21818 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21819 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21820 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21821 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21822 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21823 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21824 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21825 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21826 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21827 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21828 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21829 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21830 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21831 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21833 [$(subdir) = elf && $(config-cflags-avx) = yes]
21834 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21835 [$(subdir) = elf && $(config-cflags-avx) = yes]
21836 (CFLAGS-tst-auditmod4a.c): Likewise.
21837 [$(subdir) = elf && $(config-cflags-avx) = yes]
21838 (CFLAGS-tst-auditmod4b.c): Likewise.
21839 [$(subdir) = elf && $(config-cflags-avx) = yes]
21840 (CFLAGS-tst-auditmod6b.c): Likewise.
21841 [$(subdir) = elf && $(config-cflags-avx) = yes]
21842 (CFLAGS-tst-auditmod6c.c): Likewise.
21843 [$(subdir) = elf && $(config-cflags-avx) = yes]
21844 (CFLAGS-tst-auditmod7b.c): Likewise.
21845 * elf/tst-audit3.c: Move to ...
21846 * sysdeps/x86_64/tst-audit3.c: ... here.
21847 * elf/tst-audit4.c: Move to ...
21848 * sysdeps/x86_64/tst-audit4.c: ... here.
21849 * elf/tst-audit5.c: Move to ...
21850 * sysdeps/x86_64/tst-audit5.c: ... here.
21851 * elf/tst-audit6.c: Move to ...
21852 * sysdeps/x86_64/tst-audit6.c: ... here.
21853 * elf/tst-audit7.c: Move to ...
21854 * sysdeps/x86_64/tst-audit7.c: ... here.
21855 * elf/tst-auditmod3a.c: Move to ...
21856 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21857 * elf/tst-auditmod3b.c: Move to ...
21858 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21859 * elf/tst-auditmod4a.c: Move to ...
21860 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21861 * elf/tst-auditmod4b.c: Move to ...
21862 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21863 * elf/tst-auditmod5a.c: Move to ...
21864 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21865 * elf/tst-auditmod5b.c: Move to ...
21866 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21867 * elf/tst-auditmod6a.c: Move to ...
21868 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21869 * elf/tst-auditmod6b.c: Move to ...
21870 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21871 * elf/tst-auditmod6c.c: Move to ...
21872 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21873 * elf/tst-auditmod7a.c: Move to ...
21874 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21875 * elf/tst-auditmod7b.c: Move to ...
21876 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21878 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21881 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21882 define unconditionally.
21883 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21884 define unconditionally.
21885 (INT8_C, INT16_C, etc.): Likewise.
21887 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21889 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21890 __ehdr_start with hidden visibility.
21892 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21894 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21896 * math/libm-test.inc (cos_test): Use accurate hex constants.
21897 (sincost_test): Likewise.
21899 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21901 * math/libm-test.inc (catan_test): Add more tests.
21902 (catanh_test): Likewise.
21904 * math/s_catanf.c (__catanf): Use suffixed floating-point
21906 * math/s_catanhf.c (__catanhf): Likewise.
21907 * math/s_catanhl.c (__catanhl): Likewise.
21908 * math/s_catanl.c (__catanl): Likewise.
21911 * math/s_catan.c (__catan): Calculate imaginary part of result
21912 with log1p not log unless computing log of number close to 0.
21913 * math/s_catanf.c (__catanf): Likewise.
21914 * math/s_catanl.c (__catanl): Likewise.
21915 * math/s_catanh.c (__catanh): Calculate real part of result with
21916 log1p not log unless computing log of number close to 0.
21917 * math/s_catanhf.c (__catanhf): Likewise.
21918 * math/s_catanhl.c (__catanhl): Likewise.
21919 * math/libm-test.inc (catan_test): Add more tests.
21920 (catanh_test): Likewise.
21921 * sysdeps/i386/fpu/libm-test-ulps: Update.
21922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21926 * benchtests/Makefile: Mention files in which fast and slow
21927 paths of math functions are implemented.
21929 2013-04-23 Roland McGrath <roland@hack.frob.com>
21931 * sysdeps/posix/timespec_get.c: New file.
21933 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21935 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21937 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21939 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21940 powerpc/power5/fpu folders.
21941 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21942 * benchtests/Makefile: Add modf testcase.
21943 * benchtests/bench-modf.c: New file: Benchmark test for mo
21945 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21948 * time/Makefile (tests): Add tst-strptime-whitespace.
21949 * time/strptime_l.c (get_number): Use ISSPACE.
21950 (__strptime_internal): Likewise.
21951 * time/tst-strptime-whitespace.c: New test case.
21953 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21955 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21957 (_nss_files_init): Set it here.
21959 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21961 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21962 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21965 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21967 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21969 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21974 2013-04-21 David S. Miller <davem@davemloft.net>
21976 * po/ru.po: Update Russion translation from translation project.
21978 2013-04-17 Adam Conrad <adconrad@0c3.net>
21980 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21983 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21985 * configure.in: Remove i386 configure warning. Remove i386 case.
21986 * configure: Regenerate.
21987 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21988 Add example to error message.
21989 * sysdeps/i386/configure: Regenerate.
21991 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21993 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21995 * benchtests/cos-inputs: New file.
21996 * benchtests/slowcos-inputs: New file.
21997 * benchtests/slowcos.c: New file.
21998 * benchtests/slowtan-inputs: New file.
21999 * benchtests/slowtan.c: New file.
22000 * benchtests/tan-inputs: New file.
22002 2013-04-16 Roland McGrath <roland@hack.frob.com>
22004 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22007 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22009 * benchtests/Makefile: Include cppflags-iterator.mk to add
22010 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22012 * Makefile.in (bench-clean): New target.
22013 * benchtests/Makefile (bench-clean): Likewise.
22015 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22017 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22019 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22021 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22023 2013-04-15 Andreas Schwab <schwab@suse.de>
22025 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22027 * nscd/pwdcache.c (cache_addpw): Likewise.
22028 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22031 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22033 * benchtests/Makefile (bench): Write all output to
22034 bench-out.tmp together.
22036 2013-04-15 Andreas Schwab <schwab@suse.de>
22038 * nscd/nscd.c (main): Don't fork again after closing files.
22040 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22042 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22044 * benchtests/Rules (bench-deps): Collect dependencies into a
22045 single variable. Add Makefile to dependencies.
22046 ($(objpfx)bench-%.c): Depend on bench-deps.
22048 2013-04-12 Roland McGrath <roland@hack.frob.com>
22049 Xavier Roche <roche+kml2@exalead.com>
22052 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22053 just that it's a file descriptor.
22054 * manual/llio.texi (Synchronizing AIO Operations): Update description
22055 for EBADF error from aio_fsync.
22057 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22059 * Rules (bench): Move target definition...
22060 * benchtests/Makefile: ... here.
22062 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22064 * math/libm-test.inc (cos_test): Fix PI/2 test.
22065 (sincos_test): Likewise.
22066 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22067 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22069 2013-04-11 Andreas Schwab <schwab@suse.de>
22072 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22073 accept exponent character only when digits were seen.
22074 * stdio-common/Makefile (tests): Add bug26.
22075 * stdio-common/bug26.c: New file.
22078 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22081 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22083 * Makeconfig (rtld-prefix): Define built linker prefix.
22084 * Rules (run-bench): Use it.
22085 * math/Makefile (run-regen-ulps): Likewise.
22087 * Rules (bench): Remove eval.
22089 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22090 Roland McGrath <roland@hack.frob.com>
22091 Ondrej Bilka <neleai@seznam.cz>
22094 * time/getdate.c: Include ctype.h and alloca.h.
22095 (__getdate_r): Trim leading and trailing spaces of input.
22096 * time/tst-getdate.c (tests): Add tests with leading and
22099 2013-04-08 Roland McGrath <roland@hack.frob.com>
22102 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22103 when computing value.
22105 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22107 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22108 Use testrun.sh to run libm tests.
22111 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22113 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22116 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22118 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22120 * Makefile.in (regen-ulps): New target.
22121 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22122 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22123 [ifneq (no,$(PERL)] (regen-ulps): New target.
22124 [ifeq (no,$(PERL)] (regen-ulps): New target.
22125 * math/libm-test.inc (ulps_file_name): Define.
22126 (output_dir): New variable.
22127 (options): Add "output-dir" option.
22128 (parse_opt): Handle 'o' case.
22129 (main): If output_dir is non-NULL use it as a prefix
22131 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22133 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22135 [BZ #10060, #10062]
22136 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22137 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22138 fail configure if __sync_val_compare_and_swap is not inlined.
22139 * sysdeps/i386/configure: Regenerate.
22140 * configure.in: Build for i686 when configured for i386.
22141 * configure: Regenerate.
22142 * README: Remove i386 reference.
22144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22146 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22149 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22151 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22152 (lmsnanval): New variables.
22153 (F): Add conversion tests.
22154 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22155 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22157 * stdio-common/tstdiomisc.c (F): Properly collect individual
22160 [BZ #14686, #15336]
22161 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22162 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22163 Instead, use input NaN values or generate a qNaN by arithmetic
22164 operation. Also fix bugs to comply with the standard.
22165 * math/libm-test.inc (remainder_test): Add more tests.
22167 [BZ #15335, #15342]
22168 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22170 input NaN values or generate a qNaN by arithmetic operation.
22172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22175 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22178 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22181 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22182 underflowed result.
22183 * math/s_cexpf.c (__cexpf): Likewise.
22184 * math/s_cexpl.c (__cexpl): Likewise.
22185 * math/libm-test.inc (cexp_test): Add more tests.
22187 2013-04-03 Andreas Schwab <schwab@suse.de>
22190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22191 order arrays from heap if bigger than alloca cutoff.
22193 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22195 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22196 (SNAN_TESTS_double): Refer to GCC PR56831.
22197 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22200 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22202 * Rules (bench): Move bench.out after the run is complete.
22204 * Rules (bench): Echo currently running benchmark.
22206 * benchtests/Makefile (bench): Add atan and slowatan.
22207 * benchtests/atan-inputs: New file.
22208 * benchtests/slowatan-inputs: New file.
22209 * benchtests/slowatan.c: New file.
22211 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22216 * sysdeps/unix/sysv/linux/kernel-features.h
22217 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22218 __ASSUME_XFS_RESTRICTED_CHOWN.
22219 * sysdeps/unix/sysv/linux/pathconf.c
22220 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22221 Save and restore errno.
22223 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22226 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22227 arguments using __kernel_casinh.
22228 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22229 arguments using __kernel_casinhf.
22230 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22231 arguments using __kernel_casinhl.
22232 * math/libm-test.inc (cacosh_test): Add more tests.
22233 * sysdeps/i386/fpu/libm-test-ulps: Update.
22234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22236 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22238 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22241 * bench/Makefile (bench): Add sin and slowsin.
22242 * benchtests/sin-inputs: New file.
22243 * benchtests/slowsin-inputs: New file.
22244 * benchtests/slowsin.c: New file.
22246 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22247 (bench): Add slowexp and slowpow.
22248 (exp-ITER): Increase iterations.
22249 (pow-ITER): Likewise.
22250 * benchtests/exp-inputs: Change input.
22251 * benchtests/pow-inputs: Likewise.
22252 * benchtests/slowexp-inputs: New file.
22253 * benchtests/slowexp.c: New file.
22254 * benchtests/slowpow-inputs: New file.
22255 * benchtests/slowpow.c: New file.
22257 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22259 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22261 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22262 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22263 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22264 * benchtests/Makefile: Add rint benchtest.
22265 * benchtests/rint-inputs: Input for rint benchtest.
22267 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22269 * Versions.def (libm): Add GLIBC_2.18.
22270 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22271 hidden libm prototypes.
22272 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22273 * math/Makefile (libm-calls): Add s_issignaling.
22274 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22275 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22276 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22278 * math/math.h [__USE_GNU] (issignaling): New macro.
22279 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22280 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22285 * manual/arith.texi (issignaling): New section.
22286 * manual/libm-err-tab.pl (@all_functions): Update comment.
22287 * math/gen-libm-test.pl (parse_args): Apply special handling for
22289 * math/libm-test.inc (print_float, issignaling_test): New
22291 (check_float_internal): Add issignaling checks.
22292 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22293 default definition.
22294 * sysdeps/powerpc/math-tests.h: New file.
22295 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22297 * math/test-snan.c (TEST_FUNC): Likewise.
22299 2013-03-30 David S. Miller <davem@davemloft.net>
22301 * po/de.po: Update from translation team.
22303 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22306 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22307 imaginary part less than 1.0 and real part less than 0.5
22309 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22310 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22311 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22312 (cacos_test): Add more tests.
22313 (casin_test): Likewise.
22314 (casinh_test): Likewise.
22315 * sysdeps/i386/fpu/libm-test-ulps: Update.
22316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22320 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22321 ONE with its value.
22323 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22324 (__pow_mp): Replace ONE and MONE with their values.
22325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22326 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22327 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22328 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22329 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22330 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22332 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22334 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22335 (__pow_mp): Replace ZERO and MZERO with their values.
22336 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22337 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22340 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22341 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22344 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22346 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22348 2013-03-28 Roland McGrath <roland@hack.frob.com>
22350 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22351 Declare with __attribute__ ((weak)).
22352 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22353 Call __call_tls_dtors only if it's not NULL.
22355 2013-03-28 Roland McGrath <roland@hack.frob.com>
22357 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22358 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22359 magic __ehdr_start linker symbol if it's defined.
22360 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22361 them up here if it was already done.
22363 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22364 (_dl_aux_init): Use const in cast when setting it.
22365 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22366 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22367 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22369 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22371 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22372 * csu/libc-tls.c: Nor here.
22373 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22375 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22376 (__libc_message): Never call vsyslog.
22378 2013-03-28 Alan Modra <amodra@gmail.com>
22380 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22382 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22385 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22392 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22395 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22396 Don't add gid passed as argument.
22398 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22400 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22403 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22404 imaginary part between 1.0 and 1.5 and real part less than 0.5
22406 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22407 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22408 * math/libm-test.inc (cacos_test): Add more tests.
22409 (casin_test): Likewise.
22410 (casinh_test): Likewise.
22411 * sysdeps/i386/fpu/libm-test-ulps: Update.
22412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22414 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22416 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22419 (denorm): Likewise.
22420 (__dbl_mp): Likewise.
22421 (add_magnitudes): Likewise.
22422 (sub_magnitudes): Likewise.
22430 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22432 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22433 (__dubcos): Likewise.
22434 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22435 (__ieee754_acos): Likewise.
22436 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22438 (__exp1): Likewise.
22439 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22442 (my_log2): Likewise.
22443 (checkint): Likewise.
22444 * sysdeps/ieee754/dbl-64/e_remainder.c
22445 (__ieee754_remainder): Likewise.
22446 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22448 (bsloww): Likewise.
22449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22451 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22452 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22453 MANTISSA_STORE_T to store computations on mantissa. Use
22454 macros for rounding and division.
22455 (denorm): Likewise.
22456 (__dbl_mp): Likewise.
22457 (add_magnitudes): Likewise.
22458 (sub_magnitudes): Likewise.
22461 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22462 powers of two in terms of TWOPOW macro.
22463 (mp_no): Make type of mantissa as MANTISSA_T.
22464 [!RADIXI]: Define RADIXI.
22465 [!TWO52]: Define TWO52.
22466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22468 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22470 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22471 llroundl symbol when building for PPC32.
22473 2013-03-24 Mark H Weaver <mhw@netris.org>
22475 * manual/arith.texi (Normalization Functions): Fix prototypes for
22476 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22478 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22481 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22482 high value to check if expl overflow.
22483 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22484 to check for underflow and overflow.
22485 * math/libm-test.inc: Add exp test.
22487 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22490 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22493 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22495 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22498 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22500 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22501 wrap blocks consisting of several statements.
22503 * sysdeps/generic/math-tests.h: New file.
22504 * sysdeps/i386/fpu/math-tests.h: Likewise.
22505 * math/test-snan.c: Include it.
22506 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22508 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22511 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22512 (__ieee754_j0l): Do not improve calculations using cos of twice
22513 input for inputs above LDBL_MAX / 2.0L.
22514 (__ieee754_y0l): Likewise.
22515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22516 (__ieee754_j1l): Do not improve calculations using cos of twice
22517 input for inputs above LDBL_MAX / 2.0L.
22518 (__ieee754_y1l): Likewise.
22519 * math/libm-test.inc (j0_test): Add another test.
22520 (j1_test): Likewise.
22521 (y0_test): Likewise.
22522 (y1_test): Likewise.
22523 * sysdeps/i386/fpu/libm-test-ulps: Update.
22525 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22527 * Rules ($(objpfx)bench-%.c): Include code from a C source
22530 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22533 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22534 imaginary part 1.0 and real part less than 0.5 specially.
22535 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22536 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22537 * math/libm-test.inc (cacos_test): Add more tests.
22538 (casin_test): Likewise.
22539 (casinh_test): Likewise.
22540 * sysdeps/i386/fpu/libm-test-ulps: Update.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22543 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22546 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22548 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22550 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22551 * config.make.in (config-cflags-sse4): Remove variable.
22552 (config-cflags-avx): Likewise.
22553 (config-cflags-sse2avx): Likewise.
22554 (config-cflags-novzeroupper): Likewise.
22555 (config-asflags-i686): Likewise.
22556 (have-mfma4): Likewise.
22557 (have-as-vis3): Likewise.
22559 * configure.in (MIG): Do not AC_SUBST.
22560 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22561 (libc_cv_cc_sse4): Do not AC_SUBST.
22562 (libc_cv_cc_avx): Likewise.
22563 (libc_cv_cc_sse2avx): Likewise.
22564 (libc_cv_cc_novzeroupper): Likewise.
22565 (libc_cv_cc_fma4): Likewise.
22566 (libc_cv_as_i686): Likewise.
22567 (libc_cv_sparc_as_vis3): Likewise.
22568 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22570 (config-asflags-i686): Likewise.
22571 (config-cflags-avx): Likewise.
22572 (config-cflags-sse2avx): Likewise.
22573 (have-mfma4): Likewise.
22574 (config-cflags-novzeroupper): Likewise.
22575 * sysdeps/mach/configure.in (MIG): Likewise.
22576 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22577 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22579 (config-cflags-avx): Likewise.
22580 (config-cflags-sse2avx): Likewise.
22581 (have-mfma4): Likewise.
22582 (config-cflags-novzeroupper): Likewise.
22583 * configure: Regenerated.
22584 * sysdeps/i386/configure: Likewise.
22585 * sysdeps/mach/configure: Likewise.
22586 * sysdeps/sparc/configure: Likewise.
22587 * sysdeps/x86_64/configure: Likewise.
22589 2013-03-20 Roland McGrath <roland@hack.frob.com>
22592 * locale/programs/localedef.c (options): Put N_ translation marker
22593 on argument names, not just descriptions.
22595 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22597 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22599 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22602 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22604 2013-03-19 Roland McGrath <roland@hack.frob.com>
22606 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22607 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22608 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22609 [!BEFORE_ABORT] (before_abort): New function.
22610 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22611 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22612 (writev_for_fatal): New function.
22613 (WRITEV_FOR_FATAL): New macro; call that.
22614 (backtrace_and_maps): New function.
22615 (BEFORE_ABORT): New macro; call that.
22616 (struct str_list): Type removed.
22617 (__libc_message, __libc_fatal): Functions removed.
22618 Include <sysdeps/posix/libc_fatal.c> instead.
22620 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22622 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22624 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22627 2013-03-19 Andreas Schwab <schwab@suse.de>
22629 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22630 * sysdeps/gnu/configure: Regenerate.
22632 * configure.in: Substitute libc_cv_rtlddir.
22633 * configure: Regenerate.
22634 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22635 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22636 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22637 * elf/Makefile (install-others, CFLAGS-interp.c)
22638 (ldso_install, common-ldd-rewrite): Likewise.
22639 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22640 $(inst_slibdir)/$(rtld-installed-name).
22641 * scripts/rellns-sh: Add -p option.
22642 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22645 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22647 * manual/nptl.texi: Renamed to ...
22648 * manual/threads.texi: ... this.
22649 * manual/Makefile (chapters): Update.
22651 2013-03-18 Roland McGrath <roland@hack.frob.com>
22654 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22655 on argument names, not just descriptions.
22656 * malloc/memusagestat.c (options): Likewise.
22657 * nss/getent.c (options): Likewise.
22659 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22662 * iconv/iconv_prog.c (options): Put N_ translation marker
22663 on argument names, not just descriptions.
22664 * iconv/iconvconfig.c (options): Likewise.
22666 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22668 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22669 implementation which is faster on all x86_64 architectures.
22670 Tested on AMD, Intel Nehalem, SNB, IVB.
22671 * sysdeps/x86_64/strnlen.S: Likewise.
22673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22674 Remove all multiarch strlen and strnlen versions.
22675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22676 Remove strlen and strnlen related parts.
22678 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22679 Inline strlen part.
22680 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22682 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22683 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22684 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22685 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22686 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22687 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22689 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22691 * manual/memory.texi (Malloc Tunable Parameters):
22692 Sort parameters alphabetically. Add comments for missing entries.
22694 2013-03-17 David S. Miller <davem@davemloft.net>
22696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22698 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22701 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22702 for arguments at most half maximum finite value.
22703 * math/libm-test.inc (j0_test): Add more tests.
22704 (j1_test): Likewise.
22705 (y0_test): Likewise.
22706 (y1_test): Likewise.
22707 * sysdeps/i386/fpu/libm-test-ulps: Update.
22708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22712 1 / x and functions P and Q for arguments above 0x1p256L.
22713 (__ieee754_y0l): Likewise.
22714 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22715 (__ieee754_y1l): Likewise.
22716 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22717 (j1_test): Likewise.
22718 (y0_test): Likewise.
22719 (y1_test): Likewise.
22721 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22723 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22726 2013-03-15 Roland McGrath <roland@hack.frob.com>
22728 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22729 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22730 zero since it's initialized to EXEC_PAGESIZE.
22732 * sysdeps/unix/sysv/linux/ldsodefs.h
22733 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22734 * sysdeps/generic/ldsodefs.h: ... here.
22736 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22738 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22740 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22742 * math/test-snan.c: Renamed from
22743 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22744 * math/Makefile (tests): Add test-snan.
22745 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22748 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22749 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22751 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22752 __builtin_nan family of functions.
22753 * math/libm-test.inc (initialize): Initialize qnan_value with
22754 __builtin_nan family of functions.
22755 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22757 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22759 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22760 storage class. Initialize qNaN_var and sNaN_var with
22761 __builtin_nan and __builtin_nans families of functions,
22764 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22765 (sqrt_test): Remove duplicate test with qNaN input.
22766 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22767 (round_test, signbit_test, significand_test): Note missing +/-Inf
22768 as well as qNaN tests.
22770 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22771 qNaN_var. Fix a few strings, too.
22772 * math/libm-test.inc (nan_value): Rename to qnan_value.
22773 * math/gen-libm-test.pl (%beautify): Adjust to that.
22774 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22775 * math/test-misc.c (main): Likewise.
22776 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22777 to __qnan_bytes, and __qnan_union, respectively.
22778 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22780 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22781 and lqnanval, respectively.
22782 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22783 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22784 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22785 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22787 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22788 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22791 * math/test-misc.c (main): Fix copy'n'pastos.
22792 * misc/tst-efgcvt.c (special): Likewise.
22794 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22795 Remove declarations.
22797 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22799 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22800 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22801 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22804 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22806 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22807 macro to return vdso values correctly in IFUNC implementations.
22808 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22809 Optimization by using IFUNC.
22811 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22812 Richard Henderson <rth@redhat.com>
22813 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22815 * Makefile.in (bench): New target.
22816 * NEWS: Mention the benchmark framework.
22817 * Rules (bench): Likewise.
22818 (binaries-bench): Generate binaries for functions to
22820 * benchtests/Makefile: New makefile for benchmark tests.
22821 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22823 * benchtests/exp-inputs: New input file for EXP function.
22824 * benchtests/pow-inputs: New input file for POW function.
22825 * scripts/bench.pl: New script to generate source files for
22826 benchmark programs.
22828 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22830 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22831 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22832 computations on mantissa. Use macros for rounding and
22834 (denorm): Likewise.
22835 (__dbl_mp): Likewise.
22836 (add_magnitudes): Likewise.
22837 (sub_magnitudes): Likewise.
22840 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22841 powers of two in terms of TWOPOW macro.
22842 (mp_no): Make type of mantissa as MANTISSA_T.
22843 [!RADIXI]: Define RADIXI.
22844 [!TWO52]: Define TWO52.
22845 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22847 * manual/nptl.texi (cindex): Modify threads to pthreads.
22849 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22851 * sysdeps/x86_64/preconfigure: Regenerated.
22853 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22856 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22858 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22859 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22861 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22862 * math/libm-test.inc (j0_test): Do not allow one spurious
22863 underflow exception.
22864 (y1_test): Likewise.
22866 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22868 * manual/Makefile (chapters): Add nptl.
22869 * manual/debug.texi (Debugging Support): Add link to Threads
22871 * manual/nptl.texi: New file.
22873 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22875 2013-03-14 Petr Baudis <pasky@ucw.cz>
22877 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22878 for non-NULL pointer before the memory validity test. Pointed
22879 out by Holger Brunck <holger.brunck@keymile.com>.
22881 2013-03-13 Andreas Schwab <schwab@suse.de>
22883 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22886 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22888 * timezone/zic.c: Update from tzcode 2013b.
22890 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22892 * manual/install.texi (Configuring and compiling):
22893 Mention i686 and i586.
22894 * INSTALL: Regenerate.
22896 2013-03-12 Roland McGrath <roland@hack.frob.com>
22898 * sysdeps/init_array/elf-init.c: New file.
22900 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22901 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22903 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22904 __gmon_start__ as global, but as static with a .preinit_array pointer.
22905 * sysdeps/init_array/gmon-start.c: New file. Use that.
22906 * sysdeps/init_array/crti.S: New file, empty except for comments.
22907 * sysdeps/init_array/crtn.S: Likewise.
22909 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22911 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22914 Remove Prefer_SSE_for_memop.
22915 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22916 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22917 HAS_PREFER_SSE_FOR_MEMOP.
22918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22921 Remove bzero, memset ifunc support.
22922 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22923 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22924 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22925 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22927 2013-03-11 Andreas Schwab <schwab@suse.de>
22930 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22933 (GLIBC_2.16): Remove pthread_atfork.
22935 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22937 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22938 (ptestcases.h): Likewise.
22940 2013-03-08 Roland McGrath <roland@hack.frob.com>
22942 * Makeconfig ($(common-objpfx)config.status): Depend on
22943 sysdeps/*/preconfigure{,.in} too.
22945 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22947 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22948 (__free_hook): Use void * instead of __malloc_ptr_t.
22949 (__malloc_hook): Likewise.
22950 (__realloc_hook): Likewise.
22951 (__memalign_hook): Likewise.
22952 (__after_morecore_hook): Likewise.
22953 * malloc/arena.c (save_malloc_hook): Likewise.
22954 (save_free_hook): Likewise.
22955 * malloc/hooks.c (malloc_hook_ini): Likewise.
22956 (realloc_hook_ini): Likewise.
22957 (memalign_hook_ini): Likewise.
22958 * malloc/malloc.c (malloc_hook_ini): Likewise.
22959 (realloc_hook_ini): Likewise.
22960 (memalign_hook_ini): Likewise.
22961 (__free_hook): Likewise.
22962 (__malloc_hook): Likewise.
22963 (__realloc_hook): Likewise.
22964 (__memalign_hook): Likewise.
22965 (__libc_malloc): Likewise.
22966 (__libc_free): Likewise.
22967 (__libc_realloc): Likewise.
22968 (__libc_memalign): Likewise.
22969 (__libc_valloc): Likewise.
22970 (__libc_pvalloc): Likewise.
22971 (__libc_calloc): Likewise.
22972 (__posix_memalign): Likewise.
22973 * malloc/morecore.c (__sbrk): Likewise.
22974 (__default_morecore): Likewise.
22976 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22978 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22979 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22980 __malloc_ptrdiff_t.
22982 * malloc/malloc.h (__malloc_size_t): Remove macro.
22983 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22985 (old_memalign_hook): Likewise.
22986 (old_realloc_hook): Likewise.
22987 (struct hdr): Likewise.
22989 (mallochook): Likewise.
22990 (memalignhook): Likewise.
22991 (reallochook): Likewise.
22992 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22993 (tr_old_realloc_hook): Likewise.
22994 (tr_old_memalign_hook): Likewise.
22995 (tr_mallochook): Likewise.
22996 (tr_reallochook): Likewise.
22997 (tr_memalignhook): Likewise.
22999 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23002 default_ldbl_pack and using as default implementation.
23003 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23005 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23006 redundant definition.
23007 (ldbl_insert_mantissa): Likewise.
23008 (ldbl_canonicalize): Likewise.
23009 (ldbl_nearbyint): Likewise.
23010 (ldbl_pack): Rename to ldbl_pack_ppc.
23011 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23012 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23013 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23015 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23018 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23020 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23023 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23024 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23026 2013-03-07 Andreas Jaeger <aj@suse.de>
23028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23031 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23033 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23034 Include mpa.h and declare __MPEXP.
23035 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23036 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23037 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23039 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23040 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23041 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23043 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23044 (__slowpow): Use long double EXPL and LOGL functions to
23046 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23047 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23048 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23049 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23050 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23051 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23054 intermediate variable to calculate exponent.
23056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23060 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23061 [!NO__SQR]: Define __sqr.
23062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23063 and NO__SQR. Remove all code except __mul and __sqr. Include
23064 sysdeps/ieee754/dbl-64/mpa.c.
23065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23068 * posix/Makefile (tests): Add tst-pathconf.
23069 * posix/tst-pathconf.c: New test case.
23070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23072 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23074 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23076 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23078 2013-03-06 Andreas Jaeger <aj@suse.de>
23080 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23081 definition via __MAP_ANONYMOUS.
23083 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23084 it's not part of Linux headers.
23086 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23087 (MAP_HUGE_MASK): Define.
23089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23091 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23094 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23095 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23097 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23100 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23102 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23103 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23104 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23105 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23106 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23107 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23109 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23112 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23113 Handle f2fs and efivarfs.
23115 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23118 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23119 (EFIVARFS_MAGIC): Add.
23120 (F2FS_LINK_MAX): Add.
23122 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23124 * stdio-common/vfprintf.c: Replace __builtin_expect with
23127 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23130 * sysdeps/generic/bp-sym.h: Remove file.
23131 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23132 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23133 <bp-sym.h> and <bp-asm.h>.
23134 (__longjmp): Don't use BP_SYM.
23135 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23137 (memcpy): Don't use BP_SYM.
23138 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23139 <bp-sym.h> and <bp-asm.h>.
23140 (memcpy): Don't use BP_SYM.
23141 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23143 (memcpy): Don't use BP_SYM.
23144 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23146 (memset): Don't use BP_SYM.
23147 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23148 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23149 (__bzero): Don't use BP_SYM.
23150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23152 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23153 <bp-sym.h> and <bp-asm.h>.
23154 (memcmp): Don't use BP_SYM. Remove comment about bounded
23156 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23157 <bp-sym.h> and <bp-asm.h>.
23158 (memcpy): Don't use BP_SYM.
23159 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23160 <bp-sym.h> and <bp-asm.h>.
23161 (memset): Don't use BP_SYM.
23162 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23163 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23164 (__bzero): Don't use BP_SYM.
23165 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23166 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23167 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23168 <bp-sym.h> and <bp-asm.h>.
23169 (strncmp): Don't use BP_SYM. Remove comment about bounded
23171 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23172 <bp-sym.h> and <bp-asm.h>.
23173 (memcpy): Don't use BP_SYM.
23174 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23175 <bp-sym.h> and <bp-asm.h>.
23176 (memset): Don't use BP_SYM.
23177 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23178 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23179 (__bzero): Don't use BP_SYM.
23180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23182 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23183 <bp-sym.h> and <bp-asm.h>.
23184 (__memchr): Don't use BP_SYM.
23185 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23186 <bp-sym.h> and <bp-asm.h>.
23187 (memcmp): Don't use BP_SYM. Remove comment about bounded
23189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23190 <bp-sym.h> and <bp-asm.h>.
23191 (memcpy): Don't use BP_SYM.
23192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23193 <bp-sym.h> and <bp-asm.h>.
23194 (__mempcpy): Don't use BP_SYM.
23195 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23196 <bp-sym.h> and <bp-asm.h>.
23197 (__memrchr): Don't use BP_SYM.
23198 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23199 <bp-sym.h> and <bp-asm.h>.
23200 (memset): Don't use BP_SYM.
23201 (__bzero): Likewise.
23202 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23203 <bp-sym.h> and <bp-asm.h>.
23204 (__rawmemchr): Don't use BP_SYM.
23205 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23206 <bp-sym.h> and <bp-asm.h>.
23207 (__STRCMP): Don't use BP_SYM.
23208 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23209 <bp-sym.h> and <bp-asm.h>.
23210 (strchr): Don't use BP_SYM.
23211 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23212 <bp-sym.h> and <bp-asm.h>.
23213 (__strchrnul): Don't use BP_SYM.
23214 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23215 <bp-sym.h> and <bp-asm.h>.
23216 (strlen): Don't use BP_SYM.
23217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23218 <bp-sym.h> and <bp-asm.h>.
23219 (strncmp): Don't use BP_SYM. Remove comment about bounded
23221 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23222 <bp-sym.h> and <bp-asm.h>.
23223 (__strnlen): Don't use BP_SYM.
23224 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (__GI__setjmp): Don't use BP_SYM.
23227 (_setjmp): Likewise.
23228 (__sigsetjmp): Likewise.
23229 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23230 (L(start_addresses)): Don't use BP_SYM.
23231 (_start): Likewise.
23232 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23234 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23235 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23236 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23237 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23238 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23240 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23241 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23242 about bounded pointers.
23243 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23244 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23245 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23247 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23248 about bounded pointers. Remove GKM FIXME comments.
23249 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23250 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23252 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23253 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23254 Remove GKM FIXME comments.
23255 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23256 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23257 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23259 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23260 about bounded pointers. Remove GKM FIXME comment.
23261 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23263 (strncmp): Don't use BP_SYM. Remove comment about bounded
23265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23266 <bp-sym.h> and <bp-asm.h>.
23267 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23269 <bp-sym.h> and <bp-asm.h>.
23270 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23273 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23275 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23278 2013-03-05 David S. Miller <davem@davemloft.net>
23280 * po/es.po: Update from translation team.
23282 2013-03-05 Andreas Jaeger <aj@suse.de>
23284 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23285 <bits/mman-linux.h>.
23286 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23288 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23289 <bits/mman-linux.h> to end of file.
23290 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23293 <bits/mman-linux.h> to end of file.
23294 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23297 <bits/mman-linux.h> to end of file.
23299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23300 (MCL_CURRENT, MCL_FUTURE): Define here.
23302 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23305 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23307 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23309 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23311 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23312 fourth parameter needed for rt_sigprocmask syscall.
23313 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23314 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23315 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23316 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23317 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23320 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23323 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23324 comment about bounded pointers.
23325 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23326 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23328 2013-03-04 Andreas Jaeger <aj@suse.de>
23330 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23331 common definitions.
23333 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23334 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23340 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23344 __ieee754_sqrl instead of __sqrl.
23346 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23348 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23349 * sysdeps/powerpc/fpu_control.h: ... here.
23350 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23351 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23352 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23353 * sysdeps/powerpc/bits/mathinline.h: ... here.
23355 2013-03-01 Roland McGrath <roland@hack.frob.com>
23357 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23358 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23359 to just [NEED_DL_SYSINFO_DSO].
23360 * elf/dl-support.c: Likewise.
23361 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23362 * elf/rtld.c (dl_main): Likewise.
23363 * elf/setup-vdso.h (setup_vdso): Likewise.
23364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23365 * sysdeps/unix/sysv/linux/dl-sysdep.c
23366 (_dl_discover_osversion): Likewise.
23368 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23370 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23371 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23373 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23375 * NEWS: Mention libm performance improvements and non-x86 PI
23378 * csu/libc-start.c (__pthread_initialize_minimal): Change
23379 function arguments.
23380 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23382 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23385 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23386 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23387 <bp-sym.h> and <bp-asm.h>.
23388 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23389 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23391 (memcpy): Don't use BP_SYM.
23392 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23394 (__mpn_add_n): Don't use BP_SYM.
23395 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23396 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23398 (__mpn_addmul_1): Don't use BP_SYM.
23399 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23400 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23402 (_setjmp): Don't use BP_SYM.
23403 (__novmx_setjmp): Likewise.
23404 (__GI__setjmp): Likewise.
23405 (__vmx_setjmp): Likewise.
23406 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23408 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23409 (__bzero): Don't use BP_SYM.
23410 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23411 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23412 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23413 <bp-sym.h> and <bp-asm.h>.
23414 (memcpy): Don't use BP_SYM.
23415 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23416 <bp-sym.h> and <bp-asm.h>.
23417 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23418 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23419 <bp-sym.h> and <bp-asm.h>.
23420 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23421 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23423 (__mpn_lshift): Don't use BP_SYM.
23424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23427 (memset): Don't use BP_SYM.
23428 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23429 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23430 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23432 (__mpn_mul_1): Don't use BP_SYM.
23433 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23435 <bp-sym.h> and <bp-asm.h>.
23436 (memcmp): Don't use BP_SYM.
23437 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23438 <bp-sym.h> and <bp-asm.h>.
23439 (memcpy): Don't use BP_SYM.
23440 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23441 <bp-sym.h> and <bp-asm.h>.
23442 (memset): Don't use BP_SYM.
23443 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23444 <bp-sym.h> and <bp-asm.h>.
23445 (strncmp): Don't use BP_SYM.
23446 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23447 <bp-sym.h> and <bp-asm.h>.
23448 (memcpy): Don't use BP_SYM.
23449 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23450 <bp-sym.h> and <bp-asm.h>.
23451 (memset): Don't use BP_SYM.
23452 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23453 <bp-sym.h> and <bp-asm.h>.
23454 (__memchr): Don't use BP_SYM.
23455 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23456 <bp-sym.h> and <bp-asm.h>.
23457 (memcmp): Don't use BP_SYM.
23458 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23459 <bp-sym.h> and <bp-asm.h>.
23460 (memcpy): Don't use BP_SYM.
23461 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23462 <bp-sym.h> and <bp-asm.h>.
23463 (__mempcpy): Don't use BP_SYM.
23464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23465 <bp-sym.h> and <bp-asm.h>.
23466 (__memrchr): Don't use BP_SYM.
23467 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23468 <bp-sym.h> and <bp-asm.h>.
23469 (memset): Don't use BP_SYM.
23470 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23471 <bp-sym.h> and <bp-asm.h>.
23472 (__rawmemchr): Don't use BP_SYM.
23473 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23474 <bp-sym.h> and <bp-asm.h>.
23475 (__STRCMP): Don't use BP_SYM.
23476 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23477 <bp-sym.h> and <bp-asm.h>.
23478 (strchr): Don't use BP_SYM.
23479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23480 <bp-sym.h> and <bp-asm.h>.
23481 (__strchrnul): Don't use BP_SYM.
23482 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23483 <bp-sym.h> and <bp-asm.h>.
23484 (strlen): Don't use BP_SYM.
23485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23486 <bp-sym.h> and <bp-asm.h>.
23487 (strncmp): Don't use BP_SYM.
23488 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23489 <bp-sym.h> and <bp-asm.h>.
23490 (__strnlen): Don't use BP_SYM.
23491 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23493 (__mpn_rshift): Don't use BP_SYM.
23494 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23495 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23496 <bp-sym.h> and <bp-asm.h>.
23497 (__sigsetjmp): Don't use BP_SYM.
23498 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23499 (L(start_addresses)): Don't use BP_SYM.
23500 (_start): Likewise.
23501 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23503 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23504 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23505 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23506 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23508 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23509 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23510 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23511 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23513 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23515 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23516 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23518 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23520 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23521 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23522 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23524 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23526 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23528 (strncmp): Don't use BP_SYM,
23529 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23531 (__mpn_sub_n): Don't use BP_SYM.
23532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23533 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23535 (__mpn_submul_1): Don't use BP_SYM.
23536 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23538 <bp-sym.h> and <bp-asm.h>.
23539 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23541 <bp-sym.h> and <bp-asm.h>.
23542 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23545 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23548 Use ZK to minimize writes to Z.
23549 (sub_magnitudes): Simplify code a bit.
23550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23551 Use ZK to minimize writes to Z.
23552 (sub_magnitudes): Simplify code a bit.
23554 2013-02-27 Roland McGrath <roland@hack.frob.com>
23556 * csu/gmon-start.c: Add special exception to license text.
23558 2013-02-27 Richard Henderson <rth@redhat.com>
23560 * scripts/config.guess: Update from config.git.
23561 * scripts/config.sub: Likewise.
23563 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23565 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23567 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23569 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23571 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23573 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23575 2013-02-26 Roland McGrath <roland@hack.frob.com>
23577 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23578 [$(build-shared = yes].
23580 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23582 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23583 (__mul): Reduce iterations for calculating mantissa.
23585 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23587 (__mpranred): Likewise.
23590 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23591 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23593 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23595 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23596 Define __attribute__.
23598 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23600 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23602 * posix/regex_internal.h (__attribute): Remove.
23603 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23604 (re_string_context_at): Likewise.
23605 (bitset_not): Use __attribute__ and mark function as possibly
23607 (bitset_merge): Likewise.
23608 (bitset_mask): Likewise.
23609 (re_string_char_size_at): Likewise.
23610 (re_string_wchar_at): Likewise.
23611 (re_string_elem_size_at): Likewise.
23613 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23615 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23619 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23623 (denorm): Likewise.
23624 (__dbl_mp): Likewise.
23625 (add_magnitudes): Likewise.
23626 (sub_magnitudes): Likewise.
23630 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23633 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23636 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23640 up changes with default code.
23641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23644 2013-02-24 Allan McRae <allan@archlinux.org>
23646 * manual/socket.texi (The Internet Namespace): Order menu items
23647 to match that in the file.
23649 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23650 node listing of the info page menu.
23652 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23655 * sysdeps/i386/bp-asm.h: Remove file.
23656 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23657 (PARMS): Do not use macros from bp-asm.h.
23661 (__mpn_add_n): Do not use BP_SYM
23662 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23664 (PARMS): Do not use macros from bp-asm.h.
23667 (__mpn_addmul_1): Do not use BP_SYM
23668 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23670 (PARMS): Do not use macros from bp-asm.h.
23671 (SIGMSK): Likewise.
23672 (_setjmp): Likewise. Do not use BP_SYM.
23673 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23675 (PARMS): Do not use macros from bp-asm.h.
23676 (SIGMSK): Likewise.
23677 (setjmp): Likewise. Do not use BP_SYM.
23678 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23680 (PARMS): Do not use macros from bp-asm.h.
23681 (__frexp): Do not use BP_SYM.
23683 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23685 (PARMS): Do not use macros from bp-asm.h.
23686 (__frexpf): Do not use BP_SYM.
23687 (frexpf): Likewise.
23688 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23690 (PARMS): Do not use macros from bp-asm.h.
23691 (__frexpl): Do not use BP_SYM.
23692 (frexpl): Likewise.
23693 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23695 (PARMS): Do not use macros from bp-asm.h.
23696 (__remquo): Do not use BP_SYM.
23697 (remquo): Likewise.
23698 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23700 (PARMS): Do not use macros from bp-asm.h.
23701 (__remquof): Do not use BP_SYM.
23702 (remquof): Likewise.
23703 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23705 (PARMS): Do not use macros from bp-asm.h.
23706 (__remquol): Do not use BP_SYM.
23707 (remquol): Likewise.
23708 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23710 (PARMS): Do not use macros from bp-asm.h.
23713 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23714 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23716 (PARMS): Do not use macros from bp-asm.h.
23717 (strlen): Do not use BP_SYM.
23718 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23720 (PARMS): Do not use macros from bp-asm.h.
23724 (__mpn_add_n): Do not use BP_SYM.
23725 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23727 (PARMS): Do not use macros from bp-asm.h.
23730 (__mpn_addmul_1): Do not use BP_SYM.
23731 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23734 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23736 (PARMS): Do not use macros from bp-asm.h.
23739 (__mpn_lshift): Do not use BP_SYM.
23740 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23742 (PARMS): Do not use macros from bp-asm.h.
23746 (memcpy): Likewise. Do not use BP_SYM.
23747 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23748 libc_hidden_def and weak_alias.
23749 (mempcpy): Do not use BP_SYM in weak_alias.
23750 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23752 (PARMS): Do not use macros from bp-asm.h.
23755 [!BZERO_P] (CHR): Likewise.
23756 (memset): Likewise. Do not use BP_SYM.
23757 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23759 (PARMS): Do not use macros from bp-asm.h.
23762 (__mpn_mul_1): Do not use BP_SYM.
23763 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23765 (PARMS): Do not use macros from bp-asm.h.
23768 (__mpn_rshift): Do not use BP_SYM.
23769 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23771 (PARMS): Do not use macros from bp-asm.h.
23774 (strchr): Likewise. Do not use BP_SYM.
23775 (index): Do not use BP_SYM in weak_alias.
23776 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23778 (PARMS): Do not use macros from bp-asm.h.
23781 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23782 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23784 (PARMS): Do not use macros from bp-asm.h.
23785 (strlen): Do not use BP_SYM.
23786 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23788 (PARMS): Do not use macros from bp-asm.h.
23792 (__mpn_sub_n): Do not use BP_SYM.
23793 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23795 (PARMS): Do not use macros from bp-asm.h.
23798 (__mpn_submul_1): Do not use BP_SYM.
23799 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23801 (PARMS): Do not use macros from bp-asm.h.
23805 (__mpn_add_n): Do not use BP_SYM.
23806 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23809 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23811 (PARMS): Do not use macros from bp-asm.h.
23814 (memcmp): Do not use BP_SYM.
23815 (bcmp): Do not use BP_SYM in weak_alias.
23816 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23818 (PARMS): Do not use macros from bp-asm.h.
23822 (memcpy): Likewise. Do not use BP_SYM.
23823 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23825 (PARMS): Do not use macros from bp-asm.h.
23829 (memmove): Likewise. Do not use BP_SYM.
23830 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23832 (PARMS): Do not use macros from bp-asm.h.
23836 (__mempcpy): Likewise. Do not use BP_SYM.
23837 (mempcpy): Do not use BP_SYM in weak_alias.
23838 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23840 (PARMS): Do not use macros from bp-asm.h.
23843 [!BZERO_P] (CHR): Likewise.
23844 (memset): Likewise. Do not use BP_SYM.
23845 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23847 (PARMS): Do not use macros from bp-asm.h.
23849 (strcmp): Do not use BP_SYM.
23850 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23852 (PARMS): Do not use macros from bp-asm.h.
23855 [USE_AS_STRTOK_R] (SAVE): Likewise.
23856 (FUNCTION): Likewise. Do not use BP_SYM.
23857 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23859 (strtok_r): Likewise.
23860 (__GI___strtok_r): Likewise.
23861 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23862 (PARMS): Do not use macros from bp-asm.h.
23865 (__mpn_lshift): Do not use BP_SYM.
23866 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23867 (PARMS): Do not use macros from bp-asm.h.
23870 (__memchr): Do not use BP_SYM.
23871 (memchr): Do not use BP_SYM in weak_alias.
23872 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23873 (PARMS): Do not use macros from bp-asm.h.
23876 (memcmp): Do not use BP_SYM.
23877 (bcmp): Do not use BP_SYM in weak_alias.
23878 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23879 (PARMS): Do not use macros from bp-asm.h.
23882 (__mpn_mul_1): Do not use BP_SYM.
23883 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23885 (PARMS): Do not use macros from bp-asm.h.
23888 (__rawmemchr): Do not use BP_SYM.
23889 (rawmemchr): Do not use BP_SYM in weak_alias.
23890 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23891 (PARMS): Do not use macros from bp-asm.h.
23894 (__mpn_rshift): Do not use BP_SYM.
23895 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23896 (PARMS): Do not use macros from bp-asm.h.
23897 (SIGMSK): Likewise.
23898 (__sigsetjmp): Likewise. Do not use BP_SYM.
23899 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23900 (_start): Do not use BP_SYM.
23901 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23902 (PARMS): Do not use macros from bp-asm.h.
23905 (__stpcpy): Likewise. Do not use BP_SYM.
23906 (stpcpy): Do not use BP_SYM in weak_alias.
23907 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23909 (PARMS): Do not use macros from bp-asm.h.
23913 (__stpncpy): Likewise. Do not use BP_SYM.
23914 (stpncpy): Do not use BP_SYM in weak_alias.
23915 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23916 (PARMS): Do not use macros from bp-asm.h.
23919 (strchr): Likewise. Do not use BP_SYM.
23920 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23922 (PARMS): Do not use macros from bp-asm.h.
23925 (__strchrnul): Likewise. Do not use BP_SYM.
23926 (strchrnul): Do not use BP_SYM in weak_alias.
23927 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23929 (PARMS): Do not use macros from bp-asm.h.
23931 (strcspn): Do not use BP_SYM.
23932 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23934 (PARMS): Do not use macros from bp-asm.h.
23937 (strpbrk): Likewise. Do not use BP_SYM.
23938 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23940 (PARMS): Do not use macros from bp-asm.h.
23943 (strrchr): Likewise. Do not use BP_SYM.
23944 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23945 (PARMS): Do not use macros from bp-asm.h.
23947 (strspn): Do not use BP_SYM.
23948 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23949 (PARMS): Do not use macros from bp-asm.h.
23953 (FUNCTION): Likewise. Do not use BP_SYM.
23954 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23956 (strtok_r): Likewise.
23957 (__GI___strtok_r): Likewise.
23958 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23959 (PARMS): Do not use macros from bp-asm.h.
23963 (__mpn_sub_n): Do not use BP_SYM.
23964 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23966 (PARMS): Do not use macros from bp-asm.h.
23969 (__mpn_submul_1): Do not use BP_SYM.
23970 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23972 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23974 (PARMS): Do not use macros from bp-asm.h.
23979 (__clone): Do not use BP_SYM.
23980 (clone): Do not use BP_SYM in weak_alias.
23981 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23983 (PARMS): Do not use macros from bp-asm.h.
23985 (__mmap64): Do not use BP_SYM.
23986 (mmap64): Do not use BP_SYM in weak_alias.
23987 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23988 <bp-sym.h> and <bp-asm.h>.
23989 (PARMS): Do not use macros from bp-asm.h.
23990 (__posix_fadvise64_l64): Do not use BP_SYM.
23991 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23992 (PARMS): Do not use macros from bp-asm.h.
23994 (semtimedop): Do not use BP_SYM.
23995 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23998 2013-02-21 Allan McRae <allan@archlinux.org>
24000 * manual/message.texi (Charset conversion in gettext):
24001 Move @end statement to beginning of line.
24003 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24010 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24011 (denorm): Likewise.
24012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24015 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24017 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24018 tail-call to the resolved function if pltexit isn't needed.
24020 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24023 or Y being zero as being unlikely.
24024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24027 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24029 * manual/nss.texi (System Databases and Name Service Switch):
24030 Remove frobnicate @pxref.
24032 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24034 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24035 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24037 2013-02-20 Petr Machata <pmachata@redhat.com>
24039 * elf/elf.h (R_ARM_TARGET1): New macro.
24040 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24041 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24042 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24043 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24044 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24045 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24046 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24047 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24048 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24049 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24050 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24051 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24052 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24053 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24054 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24055 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24056 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24057 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24058 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24059 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24060 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24061 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24062 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24063 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24064 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24065 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24066 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24067 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24068 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24069 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24070 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24071 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24072 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24073 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24074 (R_ARM_THM_GOT_BREL12): Likewise.
24075 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24076 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24077 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24078 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24079 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24080 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24081 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24082 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24083 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24085 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24087 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24088 __attribute_used__ to __attribute__ ((unused)).
24090 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24092 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24095 comment formatting.
24096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24098 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24101 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24103 (ENTER): Remove both macro definitions.
24105 (CHECK_BOUNDS_LOW): Likewise.
24106 (CHECK_BOUNDS_HIGH): Likewise.
24107 (CHECK_BOUNDS_BOTH): Likewise.
24108 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24109 (RETURN_BOUNDED_POINTER): Likewise.
24110 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24111 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24112 (POP_ERRNO_LOCATION_RETURN): Likewise.
24113 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24114 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24115 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24117 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24118 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24119 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24120 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24121 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24122 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24123 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24124 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24125 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24126 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24127 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24128 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24129 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24130 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24132 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24133 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24136 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24137 * sysdeps/i386/i586/memset.S (memset): Likewise.
24138 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24139 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24140 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24142 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24143 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24144 Change uses of L(2) to L(out).
24145 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24146 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24147 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24148 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24149 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24151 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24154 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24155 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24156 (RETURN): Do not use macro LEAVE.
24157 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24158 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24159 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24160 * sysdeps/i386/i686/memset.S (memset): Likewise.
24161 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24162 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24163 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24164 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24167 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24168 L(1_2) and L(1_3) into L(1).
24169 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24170 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24171 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24172 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24173 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24174 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24175 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24176 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24177 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24179 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24180 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24181 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24182 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24183 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24184 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24185 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24186 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24187 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24188 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24189 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24190 * sysdeps/i386/strspn.S (strspn): Likewise.
24191 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24193 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24194 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24195 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24196 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24197 L(1_3) into L(1_1).
24198 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24199 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24200 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24202 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24204 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24206 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24209 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24211 * math/atest-exp.c (exp_mpn): Remove ROUND.
24212 * math/atest-exp2.c (exp_mpn): Likewise.
24213 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24215 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24216 * stdlib/tst-tls-atexit-lib.c: Likewise.
24217 * stdlib/tst-tls-atexit.c: Likewise.
24219 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24221 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24222 and __attribute_alloc_size__.
24224 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24226 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24227 __attribute_alloc_size__.
24228 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24229 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24231 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24233 * include/programs/xmalloc.h: New file.
24234 * catgets/gencat.c: Include it.
24235 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24236 * elf/pldd.c: Likewise.
24237 * iconv/iconv_charmap.c: Likewise.
24238 * iconv/iconvconfig.c: Likewise.
24239 * iconv/strtab.c: Likewise.
24240 * locale/programs/locale.c: Likewise.
24241 * locale/programs/localedef.h: Likewise.
24242 * locale/programs/simple-hash.c: Likewise.
24243 * nscd/nscd.h: Likewise.
24244 * nss/makedb.c: Likewise.
24245 * sysdeps/generic/ldconfig.h: Likewise.
24247 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24249 * Versions.def: Add GLIBC_2.18.
24250 * include/link.h (struct link_map): New member l_tls_dtor_count.
24251 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24252 (__call_tls_dtors): Likewise.
24253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24254 __cxa_thread_atexit_impl.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24271 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24272 (tests): Add test case tst-tls-atexit.
24273 (modules-names): Add shared library for tst-tls-atexit.
24274 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24275 (GLIBC_PRIVATE): Add __call_tls_dtors.
24276 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24278 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24279 * stdlib/tst-tls-atexit.c: New test case.
24280 * stdlib/tst-tls-atexit-lib.c: New test case.
24282 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24284 * elf/Versions (ld): Add _dl_find_dso_for_object.
24285 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24286 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24287 (dl_open_worker): Use _dl_find_dso_for_object.
24288 * elf/dl-sym.c (do_sym): Likewise.
24289 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24291 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24293 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24294 Syntactic changes only.
24295 (_dl_runtime_profile): Do a tail-call to the resolved function.
24297 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24300 * sysdeps/x86_64/bp-asm.h: Remove file.
24301 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24302 <bp-sym.h> and <bp-asm.h>.
24303 (__clone): Do not use BP_SYM.
24304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24305 <bp-sym.h> and <bp-asm.h>.
24306 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24307 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24309 (_setjmp): Do not use BP_SYM.
24310 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24312 (setjmp): Do not use BP_SYM.
24313 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24315 (mempcpy): Do not use BP_SYM in weak_alias.
24316 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24318 (strchr): Do not use BP_SYM.
24319 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24321 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24322 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24323 (_start): Do not use BP_SYM.
24324 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24326 (strcat): Do not use BP_SYM.
24327 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24329 (STRCMP): Do not use BP_SYM.
24330 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24332 (STRCPY): Do not use BP_SYM.
24333 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24335 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24337 (FUNCTION): Do not use BP_SYM.
24338 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24340 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24342 2013-02-17 Andreas Jaeger <aj@suse.de>
24344 * time/Versions: Sort entries.
24345 * string/Versions: Likewise.
24346 * resolv/Versions: Likewise.
24347 * posix/Versions: Likewise.
24348 * iconv/Versions: Likewise.
24349 * elf/Versions: Likewise.
24350 * wcsmbs/Versions: Likewise.
24352 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24354 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24355 loop termination condition.
24357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24358 variable to calculate EZ.
24361 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24362 the lower precision input.
24364 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24367 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24368 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24369 (run-via-rtld-prefix): Do not handle %-bp tests.
24370 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24371 (all-object-suffixes): Remove .ob.
24372 (bppfx): Remove variable.
24373 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24374 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24375 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24376 [$(build-bounded) = yes] (libtype.ob): Likewise.
24377 * Makerules (elide-routines.ob): Remove variable.
24378 (do-tests-clean): Do not handle *-bp.out.
24379 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24380 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24381 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24382 (tests): Do not include $(tests-bp.out).
24383 (xtests): Do not include $(xtests-bp.out).
24384 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24385 [$(build-bounded) = yes] ($(addprefix
24386 $(objpfx),$(binaries-bounded))): Remove rule.
24387 ($(objpfx)%-bp.out): Remove rule.
24388 * config.make.in (build-bounded): Remove variable.
24389 * crypt/Makefile [$(build-bounded) = yes]
24390 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24391 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24392 append to variable.
24393 [$(build-bounded) = yes] (install-lib): Likewise.
24394 [$(build-bounded) = yes] (generated): Likewise.
24395 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24397 * intl/Makefile [$(build-bounded) = yes]
24398 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24399 * math/Makefile [$(build-bounded) = yes]
24400 ($(tests:%=$(objpfx)%-bp): Likewise.
24401 * misc/Makefile [$(build-bounded) = yes]
24402 ($(objpfx)tst-tsearch-bp): Likewise.
24403 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24404 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24406 * string/Makefile (o-objects.ob): Remove variable.
24407 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24408 (CFLAGS-.ob): Remove variable.
24409 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24410 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24411 both definitions of variable.
24412 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24413 (ASFLAGS-.ob): Remove variable.
24415 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24418 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24419 Remove __BOUNDED_POINTERS__ from condition.
24420 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24421 * string/bits/string2.h [!__NO_STRING_INLINES &&
24422 !__BOUNDED_POINTERS__]: Likewise.
24423 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24425 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24426 Remove conditional code.
24427 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24428 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24429 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24433 * csu/libc-start.c: Do not include <bp-sym.h>.
24434 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24435 * elf/dl-open.c: Do not include <bp-sym.h>.
24436 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24437 * math/fegetenv.c: Do not include <bp-sym.h>.
24438 (fegetenv): Do not use BP_SYM in versioned symbols.
24439 * nptl/sysdeps/pthread/bits/libc-lockP.h
24440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24443 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24445 (__pthread_mutex_destroy): Likewise.
24446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24447 (__pthread_mutex_lock): Likewise.
24448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24449 (__pthread_mutex_trylock): Likewise.
24450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24451 (__pthread_mutex_unlock): Likewise.
24452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24453 (__pthread_mutexattr_init): Likewise.
24454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24455 (__pthread_mutexattr_destroy): Likewise.
24456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24457 (__pthread_mutexattr_settype): Likewise.
24458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24459 (__pthread_rwlock_init): Likewise.
24460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24461 (__pthread_rwlock_destroy): Likewise.
24462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24463 (__pthread_rwlock_rdlock): Likewise.
24464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24465 (__pthread_rwlock_tryrdlock): Likewise.
24466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24467 (__pthread_rwlock_wrlock): Likewise.
24468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24469 (__pthread_rwlock_trywrlock): Likewise.
24470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24471 (__pthread_rwlock_unlock): Likewise.
24472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24473 (__pthread_key_create): Likewise.
24474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24475 (__pthread_setspecific): Likewise.
24476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24477 (__pthread_getspecific): Likewise.
24478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24481 (_pthread_cleanup_push_defer): Likewise.
24482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24483 (_pthread_cleanup_pop_restore): Likewise.
24484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24485 (pthread_setcancelstate): Likewise.
24486 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24488 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24489 (memchr): Do not use BP_SYM in weak_alias.
24490 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24491 (fegetenv): Do not use BP_SYM in versioned symbols.
24492 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24493 (fesetenv): Do not use BP_SYM in versioned symbols.
24494 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24495 (feupdateenv): Do not use BP_SYM in versioned symbols.
24496 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24497 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24498 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24499 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24500 (open64): Do not use BP_SYM in weak_alias.
24501 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24502 (fegetenv): Do not use BP_SYM in versioned symbols.
24503 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24504 (fesetenv): Do not use BP_SYM in versioned symbols.
24505 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24506 (feupdateenv): Do not use BP_SYM in versioned symbols.
24507 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24508 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24509 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24510 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24511 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24512 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24513 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24515 (__libc_start_main): Do not use BP_SYM.
24517 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24520 redundant return line.
24522 (denorm): Likewise.
24523 (dbl_mp): Likewise.
24524 (sub_magnitudes): Likewise.
24530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24532 (denorm): Likewise.
24533 (dbl_mp): Likewise.
24534 (sub_magnitudes): Likewise.
24541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24544 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24547 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24548 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24549 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24550 of __mul for squares.
24551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24555 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24556 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24558 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24561 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24563 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24564 prototype or function definition. Rename ubp_* variables and
24565 parameters. Remove argv definitions conditional on
24566 [__BOUNDED_POINTERS__].
24567 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24568 * elf/dl-runtime.c (_dl_fixup): Likewise.
24569 * include/set-hooks.h (RUN_HOOK): Likewise.
24570 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24572 * string/strcpy.c (strcpy): Do not use __unbounded.
24573 * sysdeps/generic/frame.h (struct layout): Likewise.
24574 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24575 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24576 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24577 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24578 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24579 (__backtrace): Likewise.
24580 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24582 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24583 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24584 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24586 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24587 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24588 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24589 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24590 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24591 Do not use __unbounded.
24592 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24593 Rename __unboundedrlimits parameter to rlimits in prototype.
24594 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24595 Do not use __unbounded.
24596 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24597 not use __ptrvalue.
24598 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24599 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24600 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24601 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24602 __ptrvalue or __unbounded.
24603 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24606 (__new_msgctl): Do not use __ptrvalue.
24607 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24609 (__libc_msgrcv): Do not use __ptrvalue.
24610 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24611 startup_info): Do not use __unbounded.
24612 (__libc_start_main): Likewise. Rename ubp_* variables and
24613 parameters. Remove argv definitions conditional on
24614 [__BOUNDED_POINTERS__].
24615 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24617 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24621 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24623 (__new_shmctl): Do not use __ptrvalue.
24624 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24625 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24627 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24629 (__libc_sigaction): Likewise.
24630 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24631 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24633 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24635 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24637 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24639 * string/mempcpy.c: Implement by calling memcpy.
24641 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24649 values in the mantissa.
24651 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24652 minimize writes to Z.
24653 (sub_magnitudes): Simplify code a bit.
24655 2013-02-12 Roland McGrath <roland@hack.frob.com>
24657 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24658 from the message. The linker prefixes all warnings with that already.
24660 2013-02-12 Andreas Schwab <schwab@suse.de>
24663 * posix/regexec.c (extend_buffers): Add parameter min_len.
24664 (check_matching): Pass minimum needed length.
24665 (clean_state_log_if_needed): Likewise.
24666 (get_subexp): Likewise.
24667 * posix/Makefile (tests): Add bug-regex34.
24668 (bug-regex34-ENV): Define.
24669 * posix/bug-regex34.c: New file.
24672 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24673 elements compare against the byte sequence of it, not its name.
24674 * posix/Makefile (tests): Add bug-regex35.
24675 (bug-regex35-ENV): Define.
24676 * posix/bug-regex35.c: New file.
24678 2013-02-11 Tom de Vries <tom@codesourcery.com>
24680 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24682 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24683 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24684 (CHECK_EOL): Add undef.
24686 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24688 * bits/stdlib-bsearch.h: New file.
24689 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24690 * stdlib/stdlib.h: Likewise.
24692 2013-02-11 Roland McGrath <roland@hack.frob.com>
24694 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24695 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24697 * manual/search.texi (Array Search Function): Add missing const in
24699 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24700 declaration to use rlim_t.
24701 (Basic Scheduling Functions): Remove erroneous const from
24702 sched_getparam prototype. Remove erroneous * from
24703 sched_get_priority_max and sched_get_priority_min prototypes.
24704 (Resource Usage): Fix summary @comment on vtimes to refer to
24705 sys/vtimes.h rather than vtimes.h.
24706 Add missing *s in vtimes prototype.
24707 (Limits on Resources): Fix ulimit prototype to return long int.
24708 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24709 prototypes to use long int rather than double.
24710 (BSD Random): Fix initstate and setstate to use char *, not void *.
24711 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24712 prototype to make second argument 'struct aiocb64 *const[]'.
24713 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24714 (Status of AIO Operations): Remove erroneous const in aio_return and
24715 aio_return64 prototypes.
24716 (Synchronizing I/O): Fix sync prototype to return void.
24717 * manual/startup.texi (Suboptions): Remove an erroneous const in
24718 getsubopt prototype.
24719 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24720 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24721 use size_t rather than int.
24722 (Scanning All Users): Likewise for getpwent_r.
24723 (Setting Groups): Add missing const to setgroups prototype.
24724 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24725 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24726 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24727 'const void *' rather than 'const char *'.
24728 (Host Address Functions): Likewise for inet_ntop.
24729 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24730 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24731 ssize_t for return value.
24732 (Sending Data): Likewise for send, sendto, sendmsg.
24733 (Socket Option Functions): Add a missing const in setsockopt prototype.
24734 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24735 use wchar_t for the argument.
24736 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24737 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24739 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24740 double/float/long double for second argument.
24741 Fix return types of significand, significandf, significandl.
24742 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24743 argument in fchmod prototype.
24744 (File Owner): Use uid_t and gid_t in fchown prototype.
24745 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24746 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24747 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24748 use 'const struct dirent **' as argument types to CMP function pointer
24750 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24751 (File Times): Fix summary magic @comment for struct utimbuf and utime
24752 to refer to utime.h, not time.h.
24753 * manual/string.texi (Argz Functions): Add missing const in
24754 argz_extract and argz_next prototypes.
24755 (Finding Tokens in a String): Likewise for basename.
24756 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24757 (Copying and Concatenation): Fix typo in wmemmove prototype.
24758 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24759 (Signal Stack): Remove erroneous const in sigstack prototype.
24760 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24762 (Simple Calendar Time): Likewise for stime.
24763 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24765 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24766 say sys/sysctl.h instead.
24767 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24768 and vsyslog prototypes.
24770 2013-02-11 Tom de Vries <tom@codesourcery.com>
24772 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24775 2013-02-11 Roland McGrath <roland@hack.frob.com>
24777 * misc/sys/mman.h: Fix typo in mremap comment.
24779 2013-02-08 Roland McGrath <roland@hack.frob.com>
24781 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24782 the '\0' terminator.
24784 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24787 * debug/segfault.c: Don't include <bp-checks.h>.
24788 * sysdeps/generic/bp-checks.h: Remove file.
24789 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24790 (__GETDENTS): Don't use CHECK_N.
24791 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24792 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24793 (__getgroups): Don't use CHECK_N.
24794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24795 (setgroups): Don't use CHECK_N.
24796 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24797 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24798 (__libc_msgrcv): Don't use CHECK_N.
24799 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24800 (__libc_msgsnd): Don't use CHECK_N.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24803 (__libc_pread): Don't use CHECK_N.
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24805 include <bp-checks.h>.
24806 (__libc_pread64): Don't use CHECK_N.
24807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24808 include <bp-checks.h>.
24809 (__libc_pwrite): Don't use CHECK_N.
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24811 include <bp-checks.h>.
24812 (__libc_pwrite64): Don't use CHECK_N.
24813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24815 (__libc_pread): Don't use CHECK_N.
24816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24817 include <bp-checks.h>.
24818 (__libc_pread64): Don't use CHECK_N.
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24820 include <bp-checks.h>.
24821 (__libc_pwrite): Don't use CHECK_N.
24822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24823 include <bp-checks.h>.
24824 (__libc_pwrite64): Don't use CHECK_N.
24825 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24826 (do_pread): Don't use CHECK_N.
24827 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24828 (do_pread64): Don't use CHECK_N.
24829 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24830 (do_pwrite): Don't use CHECK_N.
24831 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24832 (do_pwrite64): Don't use CHECK_N.
24833 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24834 (__libc_readv): Don't use CHECK_N.
24835 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24836 (semop): Don't use CHECK_N.
24837 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24839 (semtimedop): Don't use CHECK_N.
24840 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24841 (__libc_pread): Don't use CHECK_N.
24842 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24844 (__libc_pread64): Don't use CHECK_N.
24845 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24847 (__libc_pwrite): Don't use CHECK_N.
24848 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24850 (__libc_pwrite64): Don't use CHECK_N.
24851 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24853 (__libc_msgrcv): Don't use CHECK_N.
24854 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24855 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24856 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24857 (__libc_writev): Don't use CHECK_N.
24859 2013-02-08 Roland McGrath <roland@hack.frob.com>
24861 * string/strcpy.c: Removed unused variable.
24863 * Makeconfig (+sysdep-includes): Define with := rather than =.
24864 Use an existing include/ subdir of each sysdeps dir before it.
24866 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24868 * nscd/connection.c (register_traced_file): Comment function.
24869 [HAVE_INOTIFY] (union __inev): Define.
24870 [HAVE_INOTIFY] (inotify_check_files): New function.
24871 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24872 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24874 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24876 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24878 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24879 loaded if not already and that a failure is permanent.
24881 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24884 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24885 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24887 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24890 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24891 (CHECK_1_NULL_OK): Likewise.
24892 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24893 (__fxstat): Do not use CHECK_1.
24894 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24896 (___fxstat64): Do not use CHECK_1.
24897 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24899 (__fxstatat): Do not use CHECK_1.
24900 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24902 (__fxstatat64): Do not use CHECK_1.
24903 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24905 (__fxstat): Do not use CHECK_1.
24906 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24908 (__fxstatat): Do not use CHECK_1.
24909 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24911 (__getresgid): Do not use CHECK_1.
24912 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24914 (__getresuid): Do not use CHECK_1.
24915 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24917 (__lxstat): Do not use CHECK_1.
24918 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24920 (__old_msgctl): Do not use CHECK_1.
24921 (__new_msgctl): Likewise.
24922 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24924 (__new_setrlimit): Do not use CHECK_1.
24925 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24927 (__old_shmctl): Do not use CHECK_1.
24928 (__new_shmctl): Likewise.
24929 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24931 (__xstat): Do not use CHECK_1.
24932 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24933 (__lxstat): Do not use CHECK_1.
24934 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24936 (___lxstat64): Do not use CHECK_1.
24937 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24938 (__old_msgctl): Do not use CHECK_1.
24939 (__new_msgctl): Likewise.
24940 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24942 (__gettimeofday): Do not use CHECK_1.
24943 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24944 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24945 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24947 (__gettimeofday): Do not use CHECK_1.
24948 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24949 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24950 (__new_shmctl): Do not use CHECK_1.
24951 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24953 (do_sigtimedwait): Do not use CHECK_1.
24954 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24956 (do_sigwaitinfo): Do not use CHECK_1.
24957 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24959 (msgctl): Do not use CHECK_1.
24960 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24962 (shmctl): Do not use CHECK_1.
24963 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24964 (ustat): Do not use CHECK_1.
24965 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24967 (__fxstat): Do not use CHECK_1.
24968 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24970 (__fxstatat): Do not use CHECK_1.
24971 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24973 (__lxstat): Do not use CHECK_1.
24974 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24976 (__xstat): Do not use CHECK_1.
24977 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24978 (__xstat): Do not use CHECK_1.
24979 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24980 (___xstat64): Do not use CHECK_1.
24983 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24985 (CHECK_BOUNDS_HIGH): Likewise.
24986 * string/strcpy.c: Do not include <bp-checks.h>.
24987 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24989 2013-02-07 Roland McGrath <roland@hack.frob.com>
24991 * nscd/nscd-client.h (__nscd_drop_map_ref):
24992 Add __attribute__ ((unused)).
24993 * nis/nss-nisplus.h (niserr2nss): Likewise.
24995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24996 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24998 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24999 Remove inline keyword.
25000 * include/rounding-mode.h (round_away): Likewise.
25001 * libio/wfileops.c (adjust_wide_data): Likewise.
25002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25003 (__m128i_strloadu_tolower): Likewise.
25004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25005 (__m128i_strloadu_tolower): Likewise.
25006 * time/mktime.c (ydhms_diff): Likewise.
25007 * locale/elem-hash.h (elem_hash): Likewise.
25008 * locale/setlocale.c (setdata): Likewise.
25009 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25010 (re_string_wchar_at): Likewise.
25011 (bitset_not, bitset_merge, bitset_mask): Likewise.
25012 [!(__GNUC__ > 3)] (inline): Remove macro.
25013 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25014 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25015 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25016 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25017 * string/memcmp.c (memcmp_bytes): Likewise.
25018 * locale/programs/locarchive.c (compute_hashval): Likewise.
25019 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25020 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25021 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25022 * nss/getent.c (print_rpc, print_protocols): Likewise.
25023 (print_passwd, print_group, print_aliases): Likewise.
25024 * nis/nss-nisplus.h (niserr2nss): Likewise.
25025 * nscd/connections.c (restart_p): Likewise.
25026 Change return type to bool.
25028 2013-02-05 Roland McGrath <roland@hack.frob.com>
25030 * Makeconfig (all-Depend-files): Add existing
25031 $(sorted-subdirs:=/Depend) files.
25032 (all-subdirs): Remove nss.
25033 * sysdeps/unix/inet/Subdirs: Add it here instead.
25034 * hesiod/Depend: New file.
25036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25037 instead of calling alloca.
25039 * io/lseek.c (__lseek): Rename to __libc_lseek.
25040 Define __lseek as an alias.
25042 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25044 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25046 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25047 else clause and remove check for non-standard endianness.
25049 2013-02-04 David S. Miller <davem@davemloft.net>
25051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25053 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25056 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25057 (__ubp_memchr): Remove prototype.
25058 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25059 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25060 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25061 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25062 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25064 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25065 (__ubp_memchr): Likewise.
25066 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25067 (__ubp_memchr): Likewise.
25068 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25069 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25070 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25071 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25073 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25074 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25075 (__getcwd): Do not use CHECK_STRING.
25076 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25078 (__real_chown): Do not use CHECK_STRING.
25079 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25081 (fchownat): Do not use CHECK_STRING.
25082 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25084 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25086 (__lchown): Do not use CHECK_STRING.
25087 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25088 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25089 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25090 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25092 include <bp-checks.h>.
25093 (truncate64): Do not use CHECK_STRING.
25094 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25096 (__real_chown): Do not use CHECK_STRING.
25097 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25099 (__lchown): Do not use CHECK_STRING.
25100 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25102 (__chown): Do not use CHECK_STRING.
25103 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25105 (truncate64): Do not use CHECK_STRING.
25106 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25108 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25109 (__xmknod): Do not use CHECK_STRING.
25110 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25112 (__xmknodat): Do not use CHECK_STRING.
25113 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25114 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25116 2013-02-04 Andreas Schwab <schwab@suse.de>
25119 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25120 * include/netdb.h: Likewise for h_errno.
25121 * elf/tst-stackguard1.c: Include <tls.h>.
25123 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25125 * elf/link.h (struct link_map): Extend the l_addr comment.
25126 * include/link.h (struct link_map): Likewise.
25128 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25131 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25132 (BOUNDED_1): Remove macro.
25133 * debug/backtrace.c: Don't include <bp-checks.h>.
25134 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25135 (__backtrace): Likewise.
25136 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25138 (__backtrace): Don't use BOUNDED_1.
25139 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25141 (__backtrace): Don't use BOUNDED_1.
25142 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25143 (__backtrace): Don't use BOUNDED_1.
25144 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25145 (shmat): Don't use BOUNDED_N.
25147 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/generic/bp-start.h: Remove file.
25151 * csu/libc-start.c: Don't include <bp-start.h>.
25152 (LIBC_START_MAIN): Set up __environ directly instead of using
25153 INIT_ARGV_and_ENVIRON.
25154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25158 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25160 (CHECK_FCNTL): Likewise.
25161 (CHECK_N_PAGES): Likewise.
25164 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25166 (CHECK_SIGSET_NULL_OK): Likewise.
25167 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25169 (sigpending): Don't use CHECK_SIGSET.
25170 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25172 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25173 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25175 (do_sigsuspend): Don't use CHECK_SIGSET.
25176 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25178 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25179 (do_sigwait): Don't use CHECK_SIGSET.
25180 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25182 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25183 include <bp-checks.h>.
25184 (sigpending): Don't use CHECK_SIGSET.
25185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25186 include <bp-checks.h>.
25187 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25188 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25190 (sigpending): Don't use CHECK_SIGSET.
25191 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25193 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25196 * sysdeps/generic/bp-semctl.h: Remove file.
25197 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25198 <bp-checks.h> and <bp-semctl.h>.
25199 (__old_semctl): Don't use CHECK_SEMCTL.
25200 (__new_semctl): Likewise.
25201 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25203 (__old_semctl): Don't use CHECK_SEMCTL.
25204 (__new_semctl): Likewise.
25205 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25206 <bp-checks.h> and <bp-semctl.h>.
25207 (__old_semctl): Don't use CHECK_SEMCTL.
25208 (__new_semctl): Likewise.
25209 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25210 <bp-checks.h> and <bp-semctl.h>.
25211 (semctl): Don't use CHECK_SEMCTL.
25214 * Makerules (elide-bp-thunks): Remove variable.
25215 (elide-routines.oS): Don't use $(elide-bp-thunks).
25216 (elide-routines.os): Likewise.
25217 (elide-routines.o): Likewise.
25218 (elide-routines.op): Likewise.
25219 (elide-routines.og): Likewise.
25220 (objects): Don't use $(bp-thunks).
25221 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25223 (common-generated): Do not add s-proto-bp.d.
25224 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25227 Do not generate makefile rules for bounded-pointer thunks.
25228 * sysdeps/generic/bp-thunks.h: Remove file.
25229 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25230 * sysdeps/unix/s-proto-bp.S: Likewise.
25233 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25234 parts of result separately when argument is not close to line from
25235 -i to i and one part of argument is small.
25236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25238 * math/libm-test.inc (cacos_test): Add more tests.
25239 (casin_test): Likewise.
25240 (casinh_test): Likewise.
25241 * sysdeps/i386/fpu/libm-test-ulps: Update.
25242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25244 2013-01-31 David S. Miller <davem@davemloft.net>
25246 * po/de.po: Update from translation team.
25248 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25250 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25252 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25254 * configure.in (_AC_PROG_CC_C89): New definition.
25255 * configure: Regenerate.
25257 * configure.in (AC_PROG_CPP): New definition.
25258 * configure: Regenerate.
25260 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25262 * debug/tst-backtrace.h: New file.
25263 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25264 (ret): Remove variable.
25266 (FAIL): Remove macro.
25267 (NO_INLINE): Likewise.
25268 (fn1): Use match function instead of strstr.
25269 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25270 (ret): Remove variable.
25272 (FAIL): Remove macro.
25273 (NO_INLINE): Likewise.
25274 (fn): Use match function instead of strstr.
25275 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25276 (ret): Remove variable.
25278 (FAIL): Remove macro.
25279 (NO_INLINE): Likewise.
25280 (handle_signal): Use match function instead of strstr.
25281 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25282 (ret): Remove variable.
25284 (FAIL): Remove macro.
25285 (NO_INLINE): Likewise.
25286 (handle_signal): Use match function instead of strstr.
25288 2013-01-23 Roland McGrath <roland@hack.frob.com>
25290 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25292 2013-01-23 David S. Miller <davem@davemloft.net>
25294 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25295 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25296 argument of CAS if possible.
25297 * sysdeps/sparc/sparc64/bits/atomic.h
25298 (__arch_compare_and_exchange_val_32_acq): Likewise.
25299 (__arch_compare_and_exchange_val_64_acq): Likewise.
25301 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25303 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25304 * sysdeps/posix/ulimit.c: ... this.
25305 Include <limits.h>.
25306 * sysdeps/unix/bsd/ulimit.c: Remove file.
25308 2013-01-23 Adam Conrad <adconrad@0c3.net>
25310 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25311 (LDFLAGS-tst-array5): Likewise.
25313 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25316 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25317 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25318 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25319 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25321 2013-01-21 David S. Miller <davem@davemloft.net>
25323 * sysdeps/sparc/backtrace.c: New file.
25324 * sysdeps/sparc/sparc32/backtrace.h: New file.
25325 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25326 * sysdeps/sparc/sparc64/backtrace.h: New file.
25327 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25328 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25331 2013-01-21 Andreas Schwab <schwab@suse.de>
25334 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25337 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25343 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25344 Mark Mitchell <mark@codesourcery.com>
25345 Tom de Vries <tom@codesourcery.com>
25346 Paul Pluzhnikov <ppluzhnikov@google.com>
25348 * debug/tst-backtrace2.c: New file.
25349 * debug/tst-backtrace3.c: Likewise.
25350 * debug/tst-backtrace4.c: Likewise.
25351 * debug/tst-backtrace5.c: Likewise.
25352 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25353 (CFLAGS-tst-backtrace3.c): Likewise.
25354 (CFLAGS-tst-backtrace4.c): Likewise.
25355 (CFLAGS-tst-backtrace5.c): Likewise.
25356 (LDFLAGS-tst-backtrace2): Likewise.
25357 (LDFLAGS-tst-backtrace3): Likewise.
25358 (LDFLAGS-tst-backtrace4): Likewise.
25359 (LDFLAGS-tst-backtrace5): Likewise.
25360 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25361 tst-backtrace4 and tst-backtrace5.
25363 2013-01-18 Anton Blanchard <anton@samba.org>
25364 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25366 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25367 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25368 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25369 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25371 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25372 "+r" and remove output regs list as redundant. Add explicit inline
25373 asm to specify register of return val to work around compiler codegen
25374 bug. Remove (int) cast on return value. Add return type parameter to
25375 use in macro so that this macro does not truncate return value for
25377 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25378 pass to INTERNAL_VSYSCALL_NCS.
25379 (INLINE_VSYSCALL): Add 'long int' as return type to
25380 INTERNAL_VSYSCALL_NCS macro invocation.
25381 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25382 INTERNAL_VSYSCALL_NCS macro invocation.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25385 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25388 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25389 Fix application of SIMD FP exception mask.
25391 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25392 mp_no from a power of two.
25393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25394 __mpexp_twomm1. Use __pow_mp.
25396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25399 2013-01-17 David S. Miller <davem@davemloft.net>
25401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25403 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25406 * include/complex.h: Condition contents on [!_COMPLEX_H].
25407 (__kernel_casinhf): New prototype.
25408 (__kernel_casinh): Likewise.
25409 (__kernel_casinhl): Likewise.
25410 * math/Makefile (libm_calls): Add k_casinh.
25411 * math/k_casinh.c: New file.
25412 * math/k_casinhf.c: Likewise.
25413 * math/k_casinhl.c: Likewise.
25414 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25415 finite nonzero arguments.
25416 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25417 finite nonzero arguments.
25418 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25419 finite nonzero arguments.
25420 * math/s_casinh.c: Do not include <float.h>.
25421 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25422 * math/s_casinhf.c: Do not include <float.h>.
25423 (__casinhf): Move code for finite nonzero arguments to
25425 * math/s_casinhl.c: Do not include <float.h>.
25426 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25428 (__casinhl): Move code for finite nonzero arguments to
25430 * math/libm-test.inc (cacos_test): Add more tests.
25431 * sysdeps/i386/fpu/libm-test-ulps: Update.
25432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25434 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25436 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25437 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25438 [!HAVE_MREMAP]: Remove [defined linux] case.
25439 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25441 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25443 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25445 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25447 * elf/elf.h (R_386_SIZE32): New relocation.
25448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25450 (elf_machine_rela): Likewise.
25451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25452 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25454 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25456 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25457 (FP_FAST_FMA): Do not define.
25458 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25459 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25460 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25461 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25462 !_SOFT_FLOAT]: Likewise.
25463 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25464 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25466 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25467 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25469 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25470 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25471 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25474 2013-01-16 Andreas Schwab <schwab@suse.de>
25477 * include/stdlib.h (__mktemp): Add declaration.
25478 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25479 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25481 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25483 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25485 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25486 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25487 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25489 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25490 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25494 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25495 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25496 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25498 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25499 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25501 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25503 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25505 2013-01-15 David S. Miller <davem@davemloft.net>
25507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25508 trunc{,f} to libm-sysdep_routes.
25509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25519 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25520 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25521 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25522 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25523 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25524 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25527 nearbyint{,f} to libm-sysdep_routes.
25528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25539 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25542 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25545 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25546 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25548 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25549 libc_feholdexcept and libc_fesetenv.
25551 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25553 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25555 2013-01-14 David S. Miller <davem@davemloft.net>
25557 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25558 (SPARC_ASM_VIS2_IFUNC): Likewise.
25559 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25561 use of 'siam' instruction.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25595 routines to libm-sysdep_routines.
25596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25599 fdim/fdimf to libm-sysdep_routines.
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25608 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25609 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25610 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25611 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25613 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25616 to optimize copies.
25618 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25623 local variable MPTWO.
25624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25627 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25629 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25632 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25634 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25636 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25638 * manual/pattern.texi (glob_t): Document gl_flags.
25639 (glob64_t): Likewise.
25641 2013-01-11 David S. Miller <davem@davemloft.net>
25643 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25644 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25645 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25646 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25647 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25648 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25649 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25650 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25651 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25652 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25653 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25654 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25655 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25658 sparc V9 rather than using V8 code.
25659 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25660 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25662 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25664 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25667 2013-01-11 Roland McGrath <roland@hack.frob.com>
25669 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25670 not in the main loop.
25671 * configure: Regenerated.
25673 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25675 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25676 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25678 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25679 [!__GLIBC_HAVE_LONG_LONG] case.
25680 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25681 condition to just #else.
25682 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25683 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25684 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25685 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25687 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25688 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25689 #elif condition to just #else.
25690 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25691 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25692 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25693 #elif condition to just #else.
25695 2013-01-11 Steve Ellcey <sellcey@mips.com>
25697 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25698 (EF_MIPS_ARCH_64): Fix value.
25699 (EF_MIPS_ARCH_32R2): New.
25700 (EF_MIPS_ARCH_64R2): New.
25702 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25704 * Makeconfig (+link-pie-before-libc): New.
25705 (+link-pie-after-libc): Likewise.
25706 (+link-pie-tests): Likewise.
25707 (+link-pie): Rewritten.
25708 (link-before-libc): Remove $(config-LDFLAGS).
25709 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25710 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25711 (config-LDFLAGS): Renamed to ...
25712 (rtld-LDFLAGS): This.
25713 (rtld-tests-LDFLAGS): New macro.
25714 (link-libc-rpath-link): Likewise.
25715 (link-libc-tests-rpath-link): Likewise.
25716 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25717 (link-libc): Prepand $(link-libc-rpath-link).
25718 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25719 (test-program-prefix): New macro.
25720 (test-via-rtld-prefix): Likewise.
25721 (test-program-cmd): Likewise.
25722 (host-test-program-cmd): Likewise.
25723 * Makefile ($(common-objpfx)testrun.sh): Replace
25724 $(run-program-prefix) with $(test-program-prefix).
25725 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25727 ($(common-objpfx)shlib.lds): Likewise.
25728 (build-module-helper): Likewise.
25729 ($(common-objpfx)format.lds): Likewise.
25730 * Rules (binaries-pie-tests): New.
25731 (binaries-pie-notests): Likewise.
25732 (binaries-pie): Rewritten.
25733 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25734 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25735 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25736 (make-test-out): Replace $(host-built-program-cmd) with
25737 $(host-test-program-cmd).
25738 * config.make.in (build-hardcoded-path-in-tests): New variable.
25739 * configure.in (--enable-hardcoded-path-in-tests): New configure
25741 (hardcoded_path_in_tests): New AC_SUBST.
25742 * configure: Regenerated.
25743 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25744 $(built-program-cmd) with $(test-program-cmd).
25745 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25746 (test_program_cmd): This.
25747 * elf/Makefile ($(objpfx)order.out): Run test with
25748 $(test-program-prefix).
25749 ($(objpfx)order2.out): Likewise.
25750 ($(objpfx)tst-initorder.out): Likewise.
25751 ($(objpfx)tst-initorder2.out): Likewise.
25752 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25753 $(test-program-cmd).
25754 ($(objpfx)tst-array1-static.out): Likewise.
25755 ($(objpfx)tst-array2.out): Likewise.
25756 ($(objpfx)tst-array3.out): Likewise.
25757 ($(objpfx)tst-array4.out): Likewise.
25758 ($(objpfx)tst-array5.out): Likewise.
25759 ($(objpfx)tst-array5-static.out): Likewise.
25760 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25761 $(test-program-cmd).
25762 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25763 $(run-program-prefix) with $(test-program-prefix).
25764 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25765 (test_program_prefix): This.
25766 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25767 $(run-program-prefix) with $(test-program-prefix).
25768 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25769 (test_program_prefix): This.
25770 * iconvdata/tst-tables.sh: Likewise.
25771 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25772 $(run-program-prefix) with $(test-program-prefix).
25773 ($(objpfx)tst-translit.out): Likewise.
25774 ($(objpfx)tst-gettext2.out): Likewise.
25775 ($(objpfx)tst-gettext4.out): Likewise.
25776 ($(objpfx)tst-gettext6.out): Likewise.
25777 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25778 (test_program_prefix): This.
25779 * intl/tst-gettext2.sh: Likewise.
25780 * intl/tst-gettext4.sh Likewise.
25781 * intl/tst-gettext6.sh: Likewise.
25782 * intl/tst-translit.sh: Likewise.
25783 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25784 with $(test-program-cmd).
25785 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25786 $(run-program-prefix) with $(test-program-prefix).
25787 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25788 (test_program_prefix): This.
25789 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25790 $(run-program-prefix) with $(test-program-prefix).
25791 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25792 (test_program_prefix): This.
25793 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25794 * posix/Makefile ($(objpfx)globtest.out): Replace
25795 $(run-via-rtld-prefix) and $(test-wrapper) with
25796 $(test-program-prefix) and $(test-via-rtld-prefix).
25797 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25798 $(test-program-prefix).
25799 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25800 $(host-test-program-cmd).
25801 (tst-spawn-ARGS): Likewise.
25802 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25803 $(test-program-prefix).
25804 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25805 (test_via_rtld_prefix): This.
25806 (test_wrapper): Renamed to ...
25807 (test_program_prefix): This.
25808 (run_program_prefix): Replaced by test_program_prefix.
25809 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25810 (test_program_prefix): This.
25811 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25812 with $(host-test-program-cmd).
25813 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25814 $(run-program-prefix) with $(test-program-prefix).
25815 ($(objpfx)tst-printf.out): Likewise.
25816 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25817 $(test-program-cmd).
25818 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25819 (test_program_prefix): This.
25820 * stdio-common/tst-unbputc.sh: Likewise.
25821 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25822 $(run-program-prefix) with $(test-program-prefix).
25823 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25824 (test_program_prefix): This.
25825 * string/Makefile ($(objpfx)tst-svc.out): Replace
25826 $(built-program-cmd) with $(test-program-cmd).
25828 2013-01-11 Andreas Jaeger <aj@suse.de>
25831 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25832 value. Sync with Linux 3.7.
25834 2013-01-10 David S. Miller <davem@davemloft.net>
25836 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25837 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25838 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25840 2013-01-10 Roland McGrath <roland@hack.frob.com>
25842 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25844 * configure: Regenerated.
25846 2013-01-10 David S. Miller <davem@davemloft.net>
25848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25849 sparc V9 rather than using V8 code.
25850 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25851 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25853 2013-01-10 Roland McGrath <roland@hack.frob.com>
25855 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25856 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25857 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25858 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25859 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25860 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25861 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25862 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25863 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25864 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25865 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25866 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25867 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25868 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25869 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25870 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25871 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25872 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25873 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25874 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25875 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25876 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25877 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25878 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25879 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25880 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25881 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25883 2013-01-10 David S. Miller <davem@davemloft.net>
25885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25887 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25889 * posix/Makefile (tests-static): New variable.
25890 (tests): Add $(tests-static).
25891 (tst-exec-static-ARGS): New variable.
25892 (tst-spawn-static-ARGS): Likewise.
25893 * posix/tst-exec-static.c: New file.
25894 * posix/tst-spawn-static.c: Likewise.
25895 * posix/tst-exec.c: Support run directly.
25896 * posix/tst-spawn.c: Likewise.
25898 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25900 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25902 * math/bits/mathcalls.h (llrint): Likewise.
25903 (llround): Likewise.
25904 * stdlib/stdlib.h (struct drand48_data): Likewise.
25905 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25906 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25907 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25909 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25911 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25912 (elf_greg_t): Likewise.
25913 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25914 (__jmp_buf): Likewise.
25915 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25917 (llrint): Likewise, for all definitions.
25918 (llrintl): Likewise.
25920 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25921 Remove [__GNUC__] condition.
25922 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25923 condition to just [__USE_ISOC99].
25924 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25926 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25929 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25930 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25932 (_POSIX_V6_ILP32_OFF32): Likewise.
25933 (_XBS5_ILP32_OFF32): Likewise.
25934 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25935 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25937 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25939 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25942 doubles __mpexp_twomm1. Adjust usage.
25943 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25946 2013-01-10 Andreas Schwab <schwab@suse.de>
25949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25950 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25952 2013-01-09 David S. Miller <davem@davemloft.net>
25955 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25956 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25957 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25958 (TCP_FASTOPEN): Define.
25959 (tcp_repair_opt): New structure.
25960 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25962 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25963 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25964 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25965 (tcp_cookie_transactions): New structure.
25967 2013-01-09 Anton Blanchard <anton@samba.org>
25969 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25970 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25972 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25974 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25976 * include/features.h (__USE_ANSI): Remove.
25978 2013-01-09 Roland McGrath <roland@hack.frob.com>
25980 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25982 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25984 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25986 * sysdeps/s390/fpu/libm-test-ulps: Update.
25988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25990 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25994 (denorm): Likewise.
25995 (__mp_dbl): Likewise.
25996 (__dbl_mp): Likewise.
25997 (add_magnitudes): Likewise.
25998 (sub_magnitudes): Likewise.
26004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26008 (denorm): Likewise.
26009 (__mp_dbl): Likewise.
26010 (__dbl_mp): Likewise.
26011 (add_magnitudes): Likewise.
26012 (sub_magnitudes): Likewise.
26018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26022 (denorm): Likewise.
26023 (__mp_dbl): Likewise.
26024 (__dbl_mp): Likewise.
26025 (add_magnitudes): Likewise.
26026 (sub_magnitudes): Likewise.
26033 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26035 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26036 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26037 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26038 2 && __USE_EXTERN_INLINES]: Likewise.
26040 2013-01-08 Andreas Jaeger <aj@suse.de>
26043 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26045 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26046 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26048 2013-01-07 Anton Blanchard <anton@samba.org>
26050 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26051 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26052 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26053 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26054 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26055 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26056 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26057 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26059 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26061 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26065 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26066 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26068 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26070 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26073 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26075 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26077 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26080 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26082 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26083 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26085 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26094 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26096 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26097 (__MALLOC_PMT): Likewise.
26098 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26099 [__GNUC__], only on [_LIBC].
26100 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26101 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26102 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26103 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26104 forward declaration.
26105 (realloc_hook_ini): Likewise.
26106 (memalign_hook_ini): Likewise.
26107 (__libc_memalign): Do not use __MALLOC_PMT in variable
26109 (__libc_valloc): Likewise.
26110 (__libc_pvalloc): Likewise.
26111 (__libc_calloc): Likewise.
26112 (__posix_memalign): Likewise.
26115 * math/s_casinh.c: Include <float.h>.
26116 (__casinh): Do not do computation with squaring and square root
26117 for large arguments.
26118 * math/s_casinhf.c: Include <float.h>.
26119 (__casinhf): Do not do computation with squaring and square root
26120 for large arguments.
26121 * math/s_casinhl.c: Include <float.h>.
26122 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26123 (__casinhl): Do not do computation with squaring and square root
26124 for large arguments.
26125 * math/libm-test.inc (casin_test): Add more tests.
26126 (casinh_test): Likewise.
26127 * sysdeps/i386/fpu/libm-test-ulps: Update.
26128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26130 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26132 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26133 (__x86_64_raw_data_cache_size): Likewise.
26134 (__x86_64_data_cache_size_half): Likewise.
26135 (__x86_64_raw_data_cache_size_half): Likewise.
26136 (__x86_64_shared_cache_size): Likewise.
26137 (__x86_64_raw_shared_cache_size): Likewise.
26138 (__x86_64_shared_cache_size_half): Likewise.
26139 (__x86_64_raw_shared_cache_size_half): Likewise.
26140 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26142 (__x86_data_cache_size): This.
26143 (__x86_64_raw_data_cache_size): Renamed to ...
26144 (__x86_raw_data_cache_size): This.
26145 (__x86_64_data_cache_size_half): Renamed to ...
26146 (__x86_data_cache_size_half): This.
26147 (__x86_64_raw_data_cache_size_half): Renamed to ...
26148 (__x86_raw_data_cache_size_half): This.
26149 (__x86_64_shared_cache_size): Renamed to ...
26150 (__x86_shared_cache_size): This.
26151 (__x86_64_raw_shared_cache_size): Renamed to ...
26152 (__x86_raw_shared_cache_size): This.
26153 (__x86_64_shared_cache_size_half): Renamed to ...
26154 (__x86_shared_cache_size_half): This.
26155 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26156 (__x86_raw_shared_cache_size_half): This.
26157 * sysdeps/x86_64/memcpy.S: Updated.
26158 * sysdeps/x86_64/memset.S: Likewise.
26159 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26163 2013-01-04 David S. Miller <davem@davemloft.net>
26165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26167 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26169 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26170 1 to avoid redefinition warning.
26171 (__USE_GNU): Don't define.
26172 (init_signaling_nan): Protoize.
26174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26176 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26178 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26180 (__cpymn): Likewise.
26181 (norm): Remove commented code.
26182 (denorm): Likewise.
26183 (__mp_dbl): Likewise.
26185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26186 (__cpymn): Likewise.
26187 (norm): Remove commented code.
26188 (denorm): Likewise.
26189 (__mp_dbl): Likewise.
26192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26193 mp_no value for 1.0 and 2.0.
26194 (norm): Use RADIXI instead of radixi.d.
26195 (denorm): Likewise.
26196 (__mul): Use 0.0 instead of zero.d.
26197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26198 mp_no value for 1.0 and 2.0.
26199 (norm): Use RADIXI instead of radixi.d.
26200 (denorm): Likewise.
26201 (__mul): Use 0.0 instead of zero.d.
26203 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26206 * math/s_casinh.c (__casinh): Reduce finite argument to first
26207 quadrant then set signs of results at the end.
26208 * math/s_casinhf.c (__casinhf): Likewise.
26209 * math/s_casinhl.c (__casinhl): Likewise.
26210 * math/libm-test.inc (casin_test): Add more tests.
26211 (casinh_test): Likewise.
26212 * sysdeps/i386/fpu/libm-test-ulps: Update.
26213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26215 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26217 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26219 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26221 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26223 (denorm): Likewise.
26224 (__mp_dbl): Likewise.
26227 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26228 and adjust the header comment.
26230 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26231 variable name from declaration.
26233 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26236 Initialize COMMON_CPUID_INDEX_7 element.
26237 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26238 (CPUID_RTM): Likewise.
26239 (HAS_RTM): Likewise.
26240 (COMMON_CPUID_INDEX_7): New enum.
26242 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26245 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26246 size is zero, record memory as freed.
26248 2013-01-03 Andreas Jaeger <aj@suse.de>
26250 * po/ia.po: Add new Interlingua translation.
26252 2012-01-03 Allan McRae <allan@archlinux.org>
26254 * locale/programs/localedef.c: Fix description of '--posix' flag.
26256 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26258 * NEWS: Update dates in second copyright notice.
26259 * README: Update copyright dates in example.
26260 * manual/libc.texinfo: Update copyright dates.
26261 * scripts/test-installation.pl: Update copyright date in --version
26264 * hurd/ctty-input.c: Fix copyright notice formatting.
26265 * hurd/ctty-output.c: Likewise.
26266 * hurd/dtable.c: Likewise.
26267 * hurd/hurd-raise.c: Likewise.
26268 * hurd/hurdprio.c: Likewise.
26269 * hurd/msgportdemux.c: Likewise.
26270 * misc/sys/file.h: Likewise.
26271 * misc/sys/ioctl.h: Likewise.
26272 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26273 * sysdeps/mach/hurd/chdir.c: Likewise.
26274 * sysdeps/mach/hurd/fchdir.c: Likewise.
26275 * sysdeps/mach/hurd/rename.c: Likewise.
26276 * sysdeps/mach/hurd/rmdir.c: Likewise.
26277 * sysdeps/mach/hurd/seekdir.c: Likewise.
26278 * sysdeps/mach/hurd/setsid.c: Likewise.
26279 * sysdeps/posix/wait3.c: Likewise.
26281 * All files with FSF copyright notices: Update copyright dates
26282 using scripts/update-copyrights.
26283 * intl/plural.c: Regenerated.
26284 * locale/programs/charmap-kw.h: Likewise.
26285 * locale/programs/locfile-kw.h: Likewise.
26287 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26289 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26293 calculation loop and add branch prediction.
26295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26296 check access beyond bounds of m1np.
26298 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26300 (__inv): Remove local variable MPTWO to use the global
26302 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26305 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26306 MP3HALFS static const.
26308 2013-01-01 David S. Miller <davem@davemloft.net>
26310 * po/ca.po: Update from translation team.
26312 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26314 * scripts/update-copyrights: New file.
26315 * Makeconfig: Reformat copyright notice.
26316 * ctype/ctype.h: Likewise.
26317 * debug/swprintf_chk.c: Likewise.
26318 * elf/dl-cache.c: Likewise.
26319 * elf/dl-debug.c: Likewise.
26320 * elf/dl-object.c: Likewise.
26321 * grp/initgroups.c: Likewise.
26322 * hurd/Makefile: Likewise.
26323 * hurd/hurd/signal.h: Likewise.
26324 * hurd/hurdfault.c: Likewise.
26325 * hurd/hurdioctl.c: Likewise.
26326 * hurd/hurdlookup.c: Likewise.
26327 * hurd/intr-msg.c: Likewise.
26328 * iconv/gconv_open.c: Likewise.
26329 * libio/swprintf.c: Likewise.
26330 * locale/lc-ctype.c: Likewise.
26331 * locale/nl_langinfo.c: Likewise.
26332 * mach/Machrules: Likewise.
26333 * mach/Makefile: Likewise.
26334 * malloc/obstack.h: Likewise.
26335 * manual/Makefile: Likewise.
26336 * manual/tsort.awk: Likewise.
26337 * misc/bits/stab.def: Likewise.
26338 * nis/nis_print_group_entry.c: Likewise.
26339 * nis/nis_table.c: Likewise.
26340 * nis/nss_compat/compat-pwd.c: Likewise.
26341 * nis/nss_compat/compat-spwd.c: Likewise.
26342 * po/Makefile: Likewise.
26343 * posix/fnmatch.c: Likewise.
26344 * posix/regex.h: Likewise.
26345 * resolv/Makefile: Likewise.
26346 * resolv/nss_dns/dns-network.c: Likewise.
26347 * resolv/res_hconf.c: Likewise.
26348 * scripts/gen-sorted.awk: Likewise.
26349 * soft-fp/soft-fp.h: Likewise.
26350 * stdio-common/printf.h: Likewise.
26351 * stdlib/monetary.h: Likewise.
26352 * stdlib/random.c: Likewise.
26353 * stdlib/random_r.c: Likewise.
26354 * sysdeps/generic/Makefile: Likewise.
26355 * sysdeps/gnu/Makefile: Likewise.
26356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26366 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26367 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26368 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26369 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26370 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26372 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26384 * sysdeps/mach/hurd/errnos.awk: Likewise.
26385 * sysdeps/mach/hurd/fork.c: Likewise.
26386 * sysdeps/mach/hurd/getcwd.c: Likewise.
26387 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26388 * sysdeps/mach/hurd/mmap.c: Likewise.
26389 * sysdeps/mach/hurd/utimes.c: Likewise.
26390 * sysdeps/mach/hurd/xmknod.c: Likewise.
26391 * sysdeps/posix/profil.c: Likewise.
26392 * sysdeps/posix/readdir_r.c: Likewise.
26393 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26394 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26395 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26396 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26398 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26400 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26402 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26403 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26404 * sysdeps/pthread/lio_listio.c: Likewise.
26405 * sysdeps/sparc/dl-procinfo.h: Likewise.
26406 * sysdeps/unix/i386/sysdep.S: Likewise.
26407 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26408 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26409 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26410 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26412 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26413 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26414 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26415 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26416 * sysdeps/wordsize-32/divdi3.c: Likewise.
26417 * time/sys/time.h: Likewise.
26418 * wcsmbs/Makefile: Likewise.
26420 2013-01-01 David S. Miller <davem@davemloft.net>
26422 * po/fr.po: Update from translation team.
26424 * catgets/gencat.c: Update copyright year.
26425 * csu/version.c: Likewise.
26426 * debug/catchsegv.sh: Likewise.
26427 * debug/pcprofiledump.c: Likewise.
26428 * debug/xtrace.sh: Likewise.
26429 * elf/ldconfig.c: Likewise.
26430 * elf/ldd.bash.in: Likewise.
26431 * elf/pldd.c: Likewise.
26432 * elf/sotruss.ksh: Likewise.
26433 * elf/sprof.c: Likewise.
26434 * iconv/iconv_prog.c: Likewise.
26435 * iconv/iconvconfig.c: Likewise.
26436 * locale/programs/locale.c: Likewise.
26437 * locale/programs/localedef.c: Likewise.
26438 * login/programs/pt_chown.c: Likewise.
26439 * malloc/memusage.sh: Likewise.
26440 * malloc/memusagestat.c: Likewise.
26441 * malloc/mtrace.pl: Likewise.
26442 * nscd/nscd.c: Likewise.
26443 * nss/getent.c: Likewise.
26444 * nss/makedb.c: Likewise.
26445 * posix/getconf.c: Likewise.
26447 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26449 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26452 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26454 * math/bits/mathcalls.h (modf): Use __nonnull.
26456 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26458 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26459 (split): Use macro CN instead of the bare value.
26460 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26462 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26463 instead of the bare value.
26464 (power1): Likewise.
26466 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26470 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26472 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26474 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26475 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26476 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26477 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26479 2012-12-28 Andreas Jaeger <aj@suse.de>
26481 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26482 values are from Linux 3.7.
26484 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26485 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26487 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26489 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26492 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26494 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26495 variables with preprocessor constants.
26496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26497 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26500 2012-12-27 Bruno Haible <bruno@clisp.org>
26503 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26506 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26509 and use variable directly.
26510 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26512 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26514 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26517 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26519 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26520 include directive. Remove local variable MPONE.
26521 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26525 2012-12-25 David S. Miller <davem@davemloft.net>
26527 * version.h (RELEASE): Set to "development".
26528 (VERSION): Set to "2.17.90".
26529 * NEWS: Add 2.18 section.
26531 2012-12-21 David S. Miller <davem@davemloft.net>
26533 * po/hr.po: Update from translation team.
26535 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26537 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26539 2012-12-19 Steve Ellcey <sellcey@mips.com>
26541 * NEWS: Mention new memcpy for MIPS.
26543 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26545 * manual/contrib.texi (Contributors): Spelling correction.
26547 2012-12-15 David S. Miller <davem@davemloft.net>
26549 * po/ru.po: Update from translation team.
26551 2012-12-13 David S. Miller <davem@davemloft.net>
26553 * NEWS: Mention IFUNC testsuite enhancements.
26555 * po/pl.po: Update from translation team.
26556 * po/bg.po: Likewise.
26558 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26559 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26561 2012-12-11 David S. Miller <davem@davemloft.net>
26563 * po/sv.po: Update from translation team.
26565 * po/vi.po: Update from translation team.
26567 * po/cs.po: Update from translation team.
26569 * po/de.po: Update from translation team.
26570 * po/eo.po: Likewise.
26571 * po/nl.po: Likewise.
26573 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26576 * manual/argp.texi (Argp Helper Functions): Move node to follow
26577 Argp Parsing State.
26580 * manual/conf.texi (Limits on File System Capacity): Mention if
26581 terminating null is included in the max size.
26583 2012-12-10 Andreas Jaeger <aj@suse.de>
26585 * po/cs.po: Update from translation team.
26587 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26589 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26590 void pointer and cast to uintptr_t.
26591 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26593 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26594 * sysdeps/s390/s390-64/memset.S: Likewise.
26596 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26599 * menual/message.texi (Message Translation): Fix typos.
26600 (Helper programs for gettext): Likewise.
26602 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26605 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26608 2012-12-07 David S. Miller <davem@davemloft.net>
26610 * po/libc.pot: Update.
26612 2012-12-07 Richard Henderson <rth@redhat.com>
26615 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26616 normal/normal case to before the switch.
26617 (_FP_DIV): Likewise.
26619 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26620 Mike Frysinger <vapier@gentoo.org>
26622 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26623 check for __NR_fadvise64_64.
26625 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26627 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26628 0, not just to plain "0" as a statement.
26629 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26632 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26634 * NEWS: Use sourceware.org in Bugzilla URL.
26636 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26639 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26641 * stdio-common/tst-put-error.c (do_test): Add newline to the
26642 padded test to ensure flush.
26644 2012-12-05 Jeff Law <law@redhat.com>
26646 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26648 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26650 * README: Don't refer to ports add-on as distributed separately.
26651 Mention AArch64 in list of systems supported in the ports add-on.
26653 * LICENSES: Add more non-FSF copyright and license notices.
26655 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26658 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26660 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26661 10000 as width of padded output.
26663 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26665 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26667 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26668 variable LX with __attribute__ ((unused)).
26669 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26671 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26674 with __attribute__ ((unused)).
26676 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26678 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26680 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26682 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26683 (CFLAGS-nldbl-acos.c): New variable.
26684 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26685 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26686 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26687 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26688 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26689 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26690 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26691 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26692 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26693 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26694 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26695 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26696 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26697 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26698 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26699 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26700 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26701 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26702 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26703 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26704 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26705 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26706 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26707 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26708 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26709 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26710 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26711 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26712 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26713 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26714 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26715 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26716 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26717 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26754 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26755 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26756 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26783 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26787 whole low double instead of just low 47 bits when splitting values
26790 2012-12-03 Allan McRae <allan@archlinux.org>
26792 * manual/stdio.texi (Predefined Printf Handlers): Remove
26793 @hsep and @vsep usage.
26795 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26797 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26798 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26800 2012-12-03 Jeff Law <law@redhat.com>
26802 * time/sys/time.h (settimeofday): Do not mark TV argument
26805 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26807 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26808 when currently writing and seek to current position when not.
26809 * libio/Makefile (tests): Remove bug-fclose1.
26810 * libio/bug-fclose1.c: Delete.
26812 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26814 * manual/arith.texi (feenableexcept): Fix typo.
26815 (fedisableexcept): Likewise.
26817 2012-11-30 Roland McGrath <roland@hack.frob.com>
26819 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26820 second, differently-typed declaration, rather than a cast.
26822 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26824 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26825 * include/rpc/svc.h: ... here.
26827 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26830 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26831 depending n and resplen2 to catch cases where answer
26834 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26836 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26837 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26839 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26843 2012-11-29 Roland McGrath <roland@hack.frob.com>
26845 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26847 2012-11-28 Jeff Law <law@redhat.com>
26850 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26851 dataset_temporary. Track alloca usage into alloca_used.
26852 If dataset is large allocate and release it via malloc/free.
26854 2012-06-04 Florian Weimer <fweimer@redhat.com>
26857 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26859 2012-11-28 David S. Miller <davem@davemloft.net>
26861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26866 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26867 of pi/2 rounded to nearest to 64 bits.
26868 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26869 nearest to 64 bits.
26870 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26873 2012-11-28 Jeff Law <law@redhat.com>
26874 Martin Osvald <mosvald@redhat.com>
26877 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26878 * sunrpc/svc.c: Include time.h.
26879 (__svc_accept_failed): New function.
26880 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26881 any reason other than EINTR, call __svc_accept_failed.
26882 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26883 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26885 2012-11-28 Andreas Schwab <schwab@suse.de>
26887 * scripts/abilist.awk: Also handle indirect functions in .opd
26890 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26893 * sysdeps/x86/fpu/powl_helper.c: New file.
26894 * sysdeps/x86/fpu/Makefile: Likewise.
26895 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26897 (__ieee754_powl): Use __powl_helper for finite arguments except
26898 integer exponents below 8.
26899 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26901 (__ieee754_powl): Use __powl_helper for finite arguments except
26902 integer exponents below 8.
26903 * math/libm-test.inc (pow_test): Add more tests and enable some
26904 previously disabled tests.
26905 * sysdeps/i386/fpu/libm-test-ulps: Update.
26906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26908 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26909 Carlos O'Donell <carlos_odonell@mentor.com>
26911 * nss/makedb.c (is_prime): Assert that input is odd and greater
26912 than 4. Note that fact in a comment too.
26913 (next_prime): Add 4 to input.
26915 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26918 * libio/Makefile (tests): Add test case tst-fwrite-error.
26919 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26920 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26921 * libio/tst-fwrite-error.c: New test case.
26923 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26925 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26926 before casting to void *.
26927 * include/libc-internal.h (__pointer_type): New macro.
26928 (__integer_if_pointer_type_sub): Likewise.
26929 (__integer_if_pointer_type): Likewise.
26930 (cast_to_integer): Likewise.
26931 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26932 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26933 before casting to atomic64_t.
26934 (atomic_exchange_acq): Likewise.
26935 (__arch_exchange_and_add_body): Likewise.
26936 (__arch_add_body): Likewise.
26937 (atomic_add_negative): Likewise.
26938 (atomic_add_zero): Likewise.
26940 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26942 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26943 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26944 (add_fdes): Likewise.
26945 (linear_search_fdes): Likewise.
26946 (binary_search_unencoded_fdes): Likewise.
26948 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26950 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26952 2012-11-24 Adam Conrad <adconrad@0c3.net>
26954 * configure.in: Autodetect C++ header directories.
26955 * configure: Regenerated.
26957 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26959 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26961 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26965 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26967 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26968 LDBL_MANT_DIG == 106]: Disable some tests.
26969 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26971 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26975 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26976 input for small inputs. Return +/- pi/2 for large inputs.
26977 * math/libm-test.inc (atan_test): Add more tests.
26979 * sysdeps/generic/unwind-dw2-fde-glibc.c
26980 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26981 __attribute__ ((unused)).
26984 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26985 x * y if x and y are nonzero and z is zero.
26988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26989 nonzero exponents with absolute value below 0x1p-117 to +/-
26993 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26994 up arguments below 2**-450, not just those below 2**-500.
26995 * math/libm-test.inc (hypot_test): Add another test.
26998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26999 Return a+b for ratio over 2**120, not 2**60.
27000 * math/libm-test.inc (hypot_test): Add another test.
27002 * math/libm-test.inc (clog_test): Use
27003 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27004 (clog10_test): Likewise.
27007 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27009 2012-11-22 Andreas Schwab <schwab@suse.de>
27011 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27015 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27016 printf output with newline.
27018 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27021 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27022 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27023 -z nodlopen, -z initfirst and -z execstack support.
27024 * configure: Regenerated.
27026 * elf/elf.h (DF_1_NODIRECT): New macro.
27027 (DF_1_IGNMULDEF): Likewise.
27028 (DF_1_NOKSYMS): Likewise.
27029 (DF_1_NOHDR): Likewise.
27030 (DF_1_EDITED): Likewise.
27031 (DF_1_NORELOC): Likewise.
27032 (DF_1_SYMINTPOSE): Likewise.
27033 (DF_1_GLOBAUDIT): Likewise.
27034 (DF_1_SINGLETON): Likewise.
27035 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27036 DT_1_SUPPORTED_MASK bits.
27037 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27039 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27041 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27043 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27045 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27048 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27049 (sendmmsg): Move declarations...
27050 * socket/sys/socket.h: ... here.
27051 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27052 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27054 * socket/recvmmsg.c: ... this new file.
27055 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27056 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27057 definition of __sendmmsg hidden.
27058 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27059 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27060 Move ENOSYS stub into and include it from...
27061 * socket/sendmmsg.c: ... this new file.
27062 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27063 (sysdep_routines): Move recvmmsg and sendmmsg...
27064 * socket/Makefile (routines): ... here.
27065 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27066 (GLIBC_PRIVATE): Add __sendmmsg.
27067 * include/sys/socket.h (__sendmmsg): Add declarations.
27068 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27071 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27074 variable I1 with __attribute__ ((unused)).
27075 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27077 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27079 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27080 DUMMY variables with __attribute__ ((unused)).
27082 * bits/byteswap.h: Include <bits/types.h>.
27083 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27085 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27087 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27088 string_t. Do not manually set errno.
27089 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27090 length with __strnlen. Make sure to both set errno and return it on
27093 2012-11-19 David S. Miller <davem@davemloft.net>
27095 With help from Joseph Myers.
27096 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27097 very large arguments properly.
27098 * math/libm-test.inc (atan_test): New tests.
27099 (atan2_test): New tests.
27100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27103 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27106 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27109 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27110 [POSIX] (EADDRNOTAVAIL): Likewise.
27111 [POSIX] (EAFNOSUPPORT): Likewise.
27112 [POSIX] (EALREADY): Likewise.
27113 [POSIX] (ECONNABORTED): Likewise.
27114 [POSIX] (ECONNREFUSED): Likewise.
27115 [POSIX] (ECONNRESET): Likewise.
27116 [POSIX] (EDESTADDRREQ): Likewise.
27117 [POSIX] (EDQUOT): Likewise.
27118 [POSIX] (EHOSTUNREACH): Likewise.
27119 [POSIX] (EIDRM): Likewise.
27120 [POSIX] (EISCONN): Likewise.
27121 [POSIX] (ELOOP): Likewise.
27122 [POSIX] (EMULTIHOP): Likewise.
27123 [POSIX] (ENETDOWN): Likewise.
27124 [POSIX] (ENETUNREACH): Likewise.
27125 [POSIX] (ENOBUFS): Likewise.
27126 [POSIX] (ENODATA): Likewise.
27127 [POSIX] (ENOLINK): Likewise.
27128 [POSIX] (ENOMSG): Likewise.
27129 [POSIX] (ENOPROTOOPT): Likewise.
27130 [POSIX] (ENOSR): Likewise.
27131 [POSIX] (ENOSTR): Likewise.
27132 [POSIX] (ENOTCONN): Likewise.
27133 [POSIX] (ENOTSOCK): Likewise.
27134 [POSIX] (EOPNOTSUPP): Likewise.
27135 [POSIX] (EOVERFLOW): Likewise.
27136 [POSIX] (EPROTO): Likewise.
27137 [POSIX] (EPROTONOSUPPORT): Likewise.
27138 [POSIX] (EPROTOTYPE): Likewise.
27139 [POSIX] (ESTALE): Likewise.
27140 [POSIX] (ETIME): Likewise.
27141 [POSIX] (ETXTBSY): Likewise.
27142 [POSIX] (EWOULDBLOCK): Likewise.
27143 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27144 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27145 [POSIX] (SEEK_CUR): Likewise.
27146 [POSIX] (SEEK_END): Likewise.
27147 [POSIX || UNIX98] (mode_t): Do not require.
27148 [POSIX] (off_t): Likewise.
27149 [POSIX] (pid_t): Likewise.
27150 [POSIX] (sys/stat.h): Do not allow header.
27151 [POSIX] (unistd.h): Likewise.
27152 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27153 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27154 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27155 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27157 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27158 sigevent): Specify elements.
27159 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27161 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27162 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27164 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27165 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27166 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27167 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27168 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27169 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27170 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27171 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27172 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27173 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27174 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27175 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27176 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27181 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27183 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27185 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27186 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27187 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27188 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27189 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27190 Specify lower bound on value.
27191 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27192 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27193 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27194 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27195 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27196 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27197 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27198 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27200 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27202 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27206 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27207 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27208 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27209 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27216 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27219 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27221 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27223 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27228 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27233 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27234 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27236 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27240 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27241 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27242 specify as optional.
27243 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27246 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27247 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27248 [XPG3] (NL_LANGMAX): Likewise.
27249 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27250 [POSIX || XPG3] (NL_NMAX): Likewise.
27251 [POSIX || XPG3] (NL_SETMAX): Likewise.
27252 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27253 [XPG3] (NZERO): Likewise.
27254 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27255 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27256 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27257 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27258 (REG_ERANGE): Expect.
27259 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27261 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27262 Use (void) in prototype.
27263 [POSIX] (*_t): Allow.
27264 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27265 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27266 (WRDE_BADVAL): Expect.
27268 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27270 [XPG3 || XPG4] (O_RSYNC): Likewise.
27271 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27273 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27274 [XPG3 || XPG4] (sigqueue): Likewise.
27275 [XPG3 || XPG4] (sigtimedwait): Likewise.
27276 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27277 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27278 [XPG3 || XPG4] (vsnprintf): Likewise.
27279 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27281 [XPG3 || XPG4] (blksize_t): Likewise.
27282 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27284 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27285 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27286 [XPG3 || XPG4] (struct itimerspec): Likewise.
27287 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27288 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27289 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27290 [XPG3 || XPG4] (clockid_t): Likewise.
27291 [XPG3 || XPG4] (timer_t): Likewise.
27292 [XPG3 || XPG4] (clock_getres): Likewise.
27293 [XPG3 || XPG4] (clock_gettime): Likewise.
27294 [XPG3 || XPG4] (clock_settime): Likewise.
27295 [XPG3 || XPG4] (nanosleep): Likewise.
27296 [XPG3 || XPG4] (timer_create): Likewise.
27297 [XPG3 || XPG4] (timer_delete): Likewise.
27298 [XPG3 || XPG4] (timer_gettime): Likewise.
27299 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27300 [XPG3 || XPG4] (timer_settime): Likewise.
27301 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27302 [XPG3 || XPG4] (getlogin_r): Likewise.
27303 [XPG3 || XPG4] (pread): Likewise.
27304 [XPG3 || XPG4] (pthread_atfork): Likewise.
27305 [XPG3 || XPG4] (pwrite): Likewise.
27308 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27311 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27313 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27314 finalizing MALLSTREAM.
27316 * sysdeps/mach/hurd/syncfs.c: New file.
27318 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27321 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27322 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27323 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27324 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27325 (_nss_dns_gethostbyname4_r): Likewise.
27326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27327 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27329 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27332 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27334 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27336 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27337 * elf/cache.c (print_entry): Print ",AArch64" for
27340 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27341 * elf/cache.c (print_entry): Print ",hard-float" for
27344 2012-11-18 David S. Miller <davem@davemloft.net>
27346 With help from Joseph Myers.
27347 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27349 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27351 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27352 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27354 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27355 * math/libm-test.inc (y0_test): New tests.
27356 (y1_test): New tests.
27357 * sysdeps/i386/fpu/libm-test-ulps: Update.
27358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27361 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27363 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27365 * configure: Regenerated.
27367 2012-11-17 David S. Miller <davem@davemloft.net>
27370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27371 nonzero exponents with absolute value below 0x1p-128 to +/-
27374 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27376 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27378 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27380 * posix/getconf-speclist.c: New file.
27381 * posix/posix-envs.def: Likewise.
27382 * posix/confstr.c (START_ENV_GROUP): New macro.
27383 (END_ENV_GROUP): Likewise.
27384 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27385 (KNOWN_PRESENT_ENV_STRING): Likewise.
27386 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27387 (UNKNOWN_ENVIRONMENT): Likewise.
27388 (confstr): Include posix-envs.def instead of handling
27389 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27390 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27391 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27392 (END_ENV_GROUP): Likewise.
27393 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27394 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27395 (UNKNOWN_ENVIRONMENT): Likewise.
27396 (__sysconf): Include posix-envs.def instead of handling associated
27397 cases directly here.
27398 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27399 preprocessing getconf-speclist.c rather than running getconf or
27400 generating empty file.
27402 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27404 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27406 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27409 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27411 2012-11-16 David S. Miller <davem@davemloft.net>
27413 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27414 smaller than LDBL_EPSILON/2.0L, just return xm1.
27416 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27418 * elf/tst-array1.c (init): Set constructor priority to 1000.
27419 (fini): Set destructor priority to 1000.
27420 * elf/tst-array2dep.c: Likewise.
27422 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27425 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27426 (_IO_new_file_xsputn): Also return EOF if none of the input
27427 data was written when overflow failed.
27428 * libio/iopadn.c (_IO_padn): Likewise.
27429 * libio/iowpadn.c (_IO_wpadn): Likewise.
27430 * stdio-common/tst-put-error.c: Add copyright notice.
27431 (do_test): Add case for printing padded string.
27432 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27433 _IO_padn returned error.
27434 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27435 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27438 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27440 * libio/libioP.h: Add comment note that the references to C++
27441 bits are now obsolete.
27443 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27445 * math/libm-test.inc (check_complex): Use asprintf.
27447 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27449 * debug/pcprofiledump.c (print_version): Update copyright year.
27450 * malloc/memusagestat.c (print_version): Likewise.
27452 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27455 * elf/Makefile (tests): Add tst-audit8.
27456 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27457 ($(objpfx)tst-audit8.out): New target.
27458 (tst-audit8-ENV): New variable.
27459 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27460 audit if l_reloc_result is NULL.
27461 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27462 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27463 * elf/tst-audit8.c: New file.
27465 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27467 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27468 * misc/Makefile (CFLAGS-select.c): Define.
27469 * posix/Makefile (CFLAGS-pause.c): Define.
27471 2012-11-13 David S. Miller <davem@davemloft.net>
27473 * crypt/Makefile: Move test targets after toplevel Rules
27474 inclusion. Grab any necessary sysdep routines when linking.
27475 * crypt/md5.c (md5_process_block): Remove define, we will always
27476 name it __md5_process_block.
27477 (md5_finish_ctx): Update md5_process_block call.
27478 (md5_stream): Likewise.
27479 (md5_process_bytes): Likewise.
27480 (md5_process_block): Rename to __md5_process_block and move to ...
27481 * crypt/md5-block.c: ... here.
27482 * crypt/sha256.c (sha256_process_block): Move to ...
27483 * crypt/sha256-block.c: ... here.
27484 * crypt/sha512.c (sha512_process_block): Move to ...
27485 * crypt/sha512-block.c: ... here.
27486 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27488 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27489 * sysdeps/sparc/sparc64/multiarch/Makefile
27490 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27492 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27493 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27495 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27496 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27497 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27498 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27499 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27500 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27501 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27502 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27503 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27505 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27506 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27510 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27512 * timezone/tzselect.ksh: Update from tzcode git revision
27513 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27514 * timezone/zdump.c: Likewise.
27515 * timezone/zic.c: Likewise.
27516 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27517 in TZVERSION setting, not $(PKGVERSION).
27518 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27519 REPORT_BUGS_TO settings.
27522 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27525 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27527 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27528 detection to immediately after _FP_ROUND().
27529 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27532 2012-11-11 David S. Miller <davem@davemloft.net>
27534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27536 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27537 __close rather than their public counterparts.
27539 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27541 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27543 [UNIX98] (sem_timedwait): Do not expect.
27544 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27545 [XPG4 || UNIX98] (sockatmark): Do not expect.
27546 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27547 (clock_getcpuclockid): Do not expect.
27548 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27549 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27551 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27552 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27553 [UNIX98] (vwscanf): Likewise.
27554 [UNIX98] (vswscanf): Likewise.
27556 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27558 * timezone/version.h: Remove file.
27559 * timezone/README: Do not refer to version.h.
27560 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27561 $(objpfx)version.h.
27562 ($(objpfx)zdump.o): Likewise.
27563 ($(objpfx)version.h): New target.
27565 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27567 * timezone/README: Don't mention modification to tzselect.ksh.
27568 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27569 work on unmodified tzselect.ksh. Substitute version numbers in
27572 * Makefile (format-me): Remove.
27573 (INSTALL): Adjust indentation. Use commands directly instead of
27574 using $(format-me).
27576 * aclocal.m4 (ACX_PKGVERSION): New macro.
27577 (ACX_BUGURL): Likewise.
27578 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27579 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27580 (REPORT_BUGS_TO): Likewise.
27581 * configure: Regenerated.
27582 * config.h.in (PKGVERSION): New macro.
27583 (REPORT_BUGS_TO): Likewise.
27584 * config.make.in (PKGVERSION): New variable.
27585 (PKGVERSION_TEXI): Likewise.
27586 (REPORT_BUGS_TO): Likewise.
27587 (REPORT_BUGS_TEXI): Likewise.
27588 * Makefile (format-me): Use -I$(common-objpfx)manual.
27589 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27590 ($(common-objpfx)manual/%): New target.
27591 (manual/%): Remove target.
27592 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27593 (print_version): Use PKGVERSION.
27594 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27595 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27596 and REPORT_BUGS_TO.
27597 ($(objpfx)xtrace): Likewise.
27598 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27599 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27600 (print_version): Use PKGVERSION.
27601 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27602 (do_version): Use PKGVERSION.
27603 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27605 (common-ldd-rewrite): Likewise.
27606 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27607 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27608 (print_version): Use PKGVERSION.
27609 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27610 * elf/pldd.c (argp_program_bug_address): Remove variable.
27611 (more_help): New function.
27612 (argp): Use more_help.
27613 (print_version): Use PKGVERSION.
27614 * elf/sln.c (main): Use PKGVERSION.
27615 (usage): Use REPORT_BUGS_TO.
27616 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27617 (top level): Use PKGVERSION.
27618 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27619 (print_version): Use PKGVERSION.
27620 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27621 (print_version): Use PKGVERSION.
27622 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27623 (print_version): Use PKGVERSION.
27624 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27625 (print_version): Use PKGVERSION.
27626 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27627 (print_version): Use PKGVERSION.
27628 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27629 (print_version): Use PKGVERSION.
27630 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27632 ($(objpfx)memusage): Likewise.
27633 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27634 (do_version): Use PKGVERSION.
27635 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27636 (print_version): Use PKGVERSION.
27637 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27638 ($PKGVERSION): New variable.
27639 ($REPORT_BUGS_TO): Likewise.
27640 (usage): Use $REPORT_BUGS_TO.
27641 (top level): Use $PKGVERSION.
27642 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27643 ($(objpfx)pkgvers.texi): New rule.
27644 ($(objpfx)stamp-pkgvers): Likewise.
27645 * manual/install.texi: Include pkgvers.texi.
27646 (--with-pkgversion): Document new configure option.
27647 (--with-bugurl): Likewise.
27648 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27649 than necessarily for this particular distribution. Use
27650 REPORT_BUGS_TO for where to report bugs.
27651 * INSTALL: Regenerated.
27652 * manual/libc.texinfo: Include pkgvers.texi.
27653 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27654 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27655 (print_version): Use PKGVERSION.
27656 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27657 (print_version): Use PKGVERSION.
27658 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27659 (print_version): Use PKGVERSION.
27660 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27661 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27663 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27664 (print_version): Use PKGVERSION.
27665 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27666 (print_version): Use PKGVERSION.
27667 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27670 * timezone/checktab.awk: Update from tzcode 2012i.
27671 * timezone/ialloc.c: Likewise.
27672 * timezone/private.h: Likewise.
27673 * timezone/scheck.c: Likewise.
27674 * timezone/tzfile.h: Likewise.
27675 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27676 (TZVERSION): Hardcode tzcode version number.
27677 * timezone/zdump.c: Update from tzcode 2012i.
27678 * timezone/zic.c: Likewise.
27679 * timezone/version.h: New file.
27680 * timezone/README: Describe version.h. Update upstream location.
27683 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27684 (mktemp): Enable declaration.
27685 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27702 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27703 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27704 for copies of such integer values.
27705 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27706 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27708 2012-11-09 Andreas Jaeger <aj@suse.de>
27710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27711 definitions and declarations that are provided by
27712 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27714 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27716 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27717 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27718 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27721 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27723 * elf/elf.h: Update comment before AArch64 relocations.
27725 2012-11-07 David S. Miller <davem@davemloft.net>
27727 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27728 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27729 (__start_context): Declare.
27730 (__makecontext_ret): Delete.
27731 (__makecontext): Hook up __start_context instead of
27733 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27734 (sysdep_routines): Add __start_context when in stdlib.
27736 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27738 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27739 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27740 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27742 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27743 (READELF): New variable. Use it instead of hardcoded "readelf".
27745 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27747 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27748 * sysdeps/x86/Makefile: Here.
27749 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27750 * sysdeps/x86/tst-xmmymm.sh: This.
27752 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27754 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27756 [UNIX98] (pthread_barrier_t): Do not expect.
27757 [UNIX98] (pthread_barrierattr_t): Likewise.
27758 [UNIX98] (pthread_spinlock_t): Likewise.
27759 [UNIX98] (pthread_barrier_destroy): Likewise.
27760 [UNIX98] (pthread_barrier_init): Likewise.
27761 [UNIX98] (pthread_barrier_wait): Likewise.
27762 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27763 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27764 [UNIX98] (pthread_barrierattr_init): Likewise.
27765 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27766 [UNIX98] (pthread_getcpuclockid): Likewise.
27767 [UNIX98] (pthread_mutex_timedlock): Likewise.
27768 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27769 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27770 [UNIX98] (pthread_sigmask): Likewise.
27771 [UNIX98] (pthread_spin_destroy): Likewise.
27772 [UNIX98] (pthread_spin_init): Likewise.
27773 [UNIX98] (pthread_spin_lock): Likewise.
27774 [UNIX98] (pthread_spin_trylock): Likewise.
27775 [UNIX98] (pthread_spin_unlock): Likewise.
27776 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27778 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27779 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27780 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27781 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27782 [XPG3 || XPG4] (pthread_key_t): Likewise.
27783 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27784 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27785 [XPG3 || XPG4] (pthread_once_t): Likewise.
27786 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27787 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27789 [XPG3 || XPG4] (pthread_t): Likewise.
27791 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27793 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27795 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27796 Change function return type to int.
27798 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27799 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27800 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27801 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27802 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27803 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27804 [!POSIX] (posix_madvise): Likewise.
27805 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27807 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27808 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27809 (mode_t): Likewise.
27810 (posix_mem_offset): Likewise.
27811 (posix_typed_mem_get_info): Likewise.
27812 (posix_typed_mem_open): Likewise.
27814 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27815 Change condition to [XOPEN2K8].
27817 * conform/conformtest.pl: Preprocess allow-header data with -x c
27818 instead of from stdin.
27819 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27820 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27821 [C99-based standards] (cerfc): Likewise.
27822 [C99-based standards] (cexp2): Likewise.
27823 [C99-based standards] (cexpm1): Likewise.
27824 [C99-based standards] (clog10): Likewise.
27825 [C99-based standards] (clog1p): Likewise.
27826 [C99-based standards] (clog2): Likewise.
27827 [C99-based standards] (clgamma): Likewise.
27828 [C99-based standards] (ctgamma): Likewise.
27829 [C99-based standards] (cerff): Likewise.
27830 [C99-based standards] (cerfcf): Likewise.
27831 [C99-based standards] (cexp2f): Likewise.
27832 [C99-based standards] (cexpm1f): Likewise.
27833 [C99-based standards] (clog10f): Likewise.
27834 [C99-based standards] (clog1pf): Likewise.
27835 [C99-based standards] (clog2f): Likewise.
27836 [C99-based standards] (clgammaf): Likewise.
27837 [C99-based standards] (ctgammaf): Likewise.
27838 [C99-based standards] (cerfl): Likewise.
27839 [C99-based standards] (cerfcl): Likewise.
27840 [C99-based standards] (cexp2l): Likewise.
27841 [C99-based standards] (cexpm1l): Likewise.
27842 [C99-based standards] (clog10l): Likewise.
27843 [C99-based standards] (clog1pl): Likewise.
27844 [C99-based standards] (clog2l): Likewise.
27845 [C99-based standards] (clgammal): Likewise.
27846 [C99-based standards] (ctgammal): Likewise.
27847 * conform/data/inttypes.h-data [C99-based standards]: Include
27848 stdint.h-data. Remove all expectations for stdint.h contents.
27849 [C99-based standards] (PRI*): Do not allow.
27850 [C99-based standards] (SCN*): Likewise.
27851 [C99-based standards] (*_t): Likewise.
27852 [C99-based-standards] (PRId8): Expect macro.
27853 [C99-based-standards] (PRIi8): Likewise.
27854 [C99-based-standards] (PRIo8): Likewise.
27855 [C99-based-standards] (PRIu8): Likewise.
27856 [C99-based-standards] (PRIx8): Likewise.
27857 [C99-based-standards] (PRIX8): Likewise.
27858 [C99-based-standards] (SCNd8): Likewise.
27859 [C99-based-standards] (SCNi8): Likewise.
27860 [C99-based-standards] (SCNo8): Likewise.
27861 [C99-based-standards] (SCNu8): Likewise.
27862 [C99-based-standards] (SCNx8): Likewise.
27863 [C99-based-standards] (PRIdLEAST8): Likewise.
27864 [C99-based-standards] (PRIiLEAST8): Likewise.
27865 [C99-based-standards] (PRIoLEAST8): Likewise.
27866 [C99-based-standards] (PRIuLEAST8): Likewise.
27867 [C99-based-standards] (PRIxLEAST8): Likewise.
27868 [C99-based-standards] (PRIXLEAST8): Likewise.
27869 [C99-based-standards] (SCNdLEAST8): Likewise.
27870 [C99-based-standards] (SCNiLEAST8): Likewise.
27871 [C99-based-standards] (SCNoLEAST8): Likewise.
27872 [C99-based-standards] (SCNuLEAST8): Likewise.
27873 [C99-based-standards] (SCNxLEAST8): Likewise.
27874 [C99-based-standards] (PRIdFAST8): Likewise.
27875 [C99-based-standards] (PRIiFAST8): Likewise.
27876 [C99-based-standards] (PRIoFAST8): Likewise.
27877 [C99-based-standards] (PRIuFAST8): Likewise.
27878 [C99-based-standards] (PRIxFAST8): Likewise.
27879 [C99-based-standards] (PRIXFAST8): Likewise.
27880 [C99-based-standards] (SCNdFAST8): Likewise.
27881 [C99-based-standards] (SCNiFAST8): Likewise.
27882 [C99-based-standards] (SCNoFAST8): Likewise.
27883 [C99-based-standards] (SCNuFAST8): Likewise.
27884 [C99-based-standards] (SCNxFAST8): Likewise.
27885 [C99-based-standards] (PRId16): Likewise.
27886 [C99-based-standards] (PRIi16): Likewise.
27887 [C99-based-standards] (PRIo16): Likewise.
27888 [C99-based-standards] (PRIu16): Likewise.
27889 [C99-based-standards] (PRIx16): Likewise.
27890 [C99-based-standards] (PRIX16): Likewise.
27891 [C99-based-standards] (SCNd16): Likewise.
27892 [C99-based-standards] (SCNi16): Likewise.
27893 [C99-based-standards] (SCNo16): Likewise.
27894 [C99-based-standards] (SCNu16): Likewise.
27895 [C99-based-standards] (SCNx16): Likewise.
27896 [C99-based-standards] (PRIdLEAST16): Likewise.
27897 [C99-based-standards] (PRIiLEAST16): Likewise.
27898 [C99-based-standards] (PRIoLEAST16): Likewise.
27899 [C99-based-standards] (PRIuLEAST16): Likewise.
27900 [C99-based-standards] (PRIxLEAST16): Likewise.
27901 [C99-based-standards] (PRIXLEAST16): Likewise.
27902 [C99-based-standards] (SCNdLEAST16): Likewise.
27903 [C99-based-standards] (SCNiLEAST16): Likewise.
27904 [C99-based-standards] (SCNoLEAST16): Likewise.
27905 [C99-based-standards] (SCNuLEAST16): Likewise.
27906 [C99-based-standards] (SCNxLEAST16): Likewise.
27907 [C99-based-standards] (PRIdFAST16): Likewise.
27908 [C99-based-standards] (PRIiFAST16): Likewise.
27909 [C99-based-standards] (PRIoFAST16): Likewise.
27910 [C99-based-standards] (PRIuFAST16): Likewise.
27911 [C99-based-standards] (PRIxFAST16): Likewise.
27912 [C99-based-standards] (PRIXFAST16): Likewise.
27913 [C99-based-standards] (SCNdFAST16): Likewise.
27914 [C99-based-standards] (SCNiFAST16): Likewise.
27915 [C99-based-standards] (SCNoFAST16): Likewise.
27916 [C99-based-standards] (SCNuFAST16): Likewise.
27917 [C99-based-standards] (SCNxFAST16): Likewise.
27918 [C99-based-standards] (PRId32): Likewise.
27919 [C99-based-standards] (PRIi32): Likewise.
27920 [C99-based-standards] (PRIo32): Likewise.
27921 [C99-based-standards] (PRIu32): Likewise.
27922 [C99-based-standards] (PRIx32): Likewise.
27923 [C99-based-standards] (PRIX32): Likewise.
27924 [C99-based-standards] (SCNd32): Likewise.
27925 [C99-based-standards] (SCNi32): Likewise.
27926 [C99-based-standards] (SCNo32): Likewise.
27927 [C99-based-standards] (SCNu32): Likewise.
27928 [C99-based-standards] (SCNx32): Likewise.
27929 [C99-based-standards] (PRIdLEAST32): Likewise.
27930 [C99-based-standards] (PRIiLEAST32): Likewise.
27931 [C99-based-standards] (PRIoLEAST32): Likewise.
27932 [C99-based-standards] (PRIuLEAST32): Likewise.
27933 [C99-based-standards] (PRIxLEAST32): Likewise.
27934 [C99-based-standards] (PRIXLEAST32): Likewise.
27935 [C99-based-standards] (SCNdLEAST32): Likewise.
27936 [C99-based-standards] (SCNiLEAST32): Likewise.
27937 [C99-based-standards] (SCNoLEAST32): Likewise.
27938 [C99-based-standards] (SCNuLEAST32): Likewise.
27939 [C99-based-standards] (SCNxLEAST32): Likewise.
27940 [C99-based-standards] (PRIdFAST32): Likewise.
27941 [C99-based-standards] (PRIiFAST32): Likewise.
27942 [C99-based-standards] (PRIoFAST32): Likewise.
27943 [C99-based-standards] (PRIuFAST32): Likewise.
27944 [C99-based-standards] (PRIxFAST32): Likewise.
27945 [C99-based-standards] (PRIXFAST32): Likewise.
27946 [C99-based-standards] (SCNdFAST32): Likewise.
27947 [C99-based-standards] (SCNiFAST32): Likewise.
27948 [C99-based-standards] (SCNoFAST32): Likewise.
27949 [C99-based-standards] (SCNuFAST32): Likewise.
27950 [C99-based-standards] (SCNxFAST32): Likewise.
27951 [C99-based-standards] (PRId64): Likewise.
27952 [C99-based-standards] (PRIi64): Likewise.
27953 [C99-based-standards] (PRIo64): Likewise.
27954 [C99-based-standards] (PRIu64): Likewise.
27955 [C99-based-standards] (PRIx64): Likewise.
27956 [C99-based-standards] (PRIX64): Likewise.
27957 [C99-based-standards] (SCNd64): Likewise.
27958 [C99-based-standards] (SCNi64): Likewise.
27959 [C99-based-standards] (SCNo64): Likewise.
27960 [C99-based-standards] (SCNu64): Likewise.
27961 [C99-based-standards] (SCNx64): Likewise.
27962 [C99-based-standards] (PRIdLEAST64): Likewise.
27963 [C99-based-standards] (PRIiLEAST64): Likewise.
27964 [C99-based-standards] (PRIoLEAST64): Likewise.
27965 [C99-based-standards] (PRIuLEAST64): Likewise.
27966 [C99-based-standards] (PRIxLEAST64): Likewise.
27967 [C99-based-standards] (PRIXLEAST64): Likewise.
27968 [C99-based-standards] (SCNdLEAST64): Likewise.
27969 [C99-based-standards] (SCNiLEAST64): Likewise.
27970 [C99-based-standards] (SCNoLEAST64): Likewise.
27971 [C99-based-standards] (SCNuLEAST64): Likewise.
27972 [C99-based-standards] (SCNxLEAST64): Likewise.
27973 [C99-based-standards] (PRIdFAST64): Likewise.
27974 [C99-based-standards] (PRIiFAST64): Likewise.
27975 [C99-based-standards] (PRIoFAST64): Likewise.
27976 [C99-based-standards] (PRIuFAST64): Likewise.
27977 [C99-based-standards] (PRIxFAST64): Likewise.
27978 [C99-based-standards] (PRIXFAST64): Likewise.
27979 [C99-based-standards] (SCNdFAST64): Likewise.
27980 [C99-based-standards] (SCNiFAST64): Likewise.
27981 [C99-based-standards] (SCNoFAST64): Likewise.
27982 [C99-based-standards] (SCNuFAST64): Likewise.
27983 [C99-based-standards] (SCNxFAST64): Likewise.
27984 [C99-based-standards] (PRIdMAX): Likewise.
27985 [C99-based-standards] (PRIiMAX): Likewise.
27986 [C99-based-standards] (PRIoMAX): Likewise.
27987 [C99-based-standards] (PRIuMAX): Likewise.
27988 [C99-based-standards] (PRIxMAX): Likewise.
27989 [C99-based-standards] (PRIXMAX): Likewise.
27990 [C99-based-standards] (SCNdMAX): Likewise.
27991 [C99-based-standards] (SCNiMAX): Likewise.
27992 [C99-based-standards] (SCNoMAX): Likewise.
27993 [C99-based-standards] (SCNuMAX): Likewise.
27994 [C99-based-standards] (SCNxMAX): Likewise.
27995 [C99-based-standards] (PRIdPTR): Likewise.
27996 [C99-based-standards] (PRIiPTR): Likewise.
27997 [C99-based-standards] (PRIoPTR): Likewise.
27998 [C99-based-standards] (PRIuPTR): Likewise.
27999 [C99-based-standards] (PRIxPTR): Likewise.
28000 [C99-based-standards] (PRIXPTR): Likewise.
28001 [C99-based-standards] (SCNdPTR): Likewise.
28002 [C99-based-standards] (SCNiPTR): Likewise.
28003 [C99-based-standards] (SCNoPTR): Likewise.
28004 [C99-based-standards] (SCNuPTR): Likewise.
28005 [C99-based-standards] (SCNxPTR): Likewise.
28006 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28008 * conform/data/stdint.h-data: Update comments to clarify
28010 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28012 [C99-based standards] (INT8_MAX): Likewise.
28013 [C99-based standards] (INT16_MIN): Likewise.
28014 [C99-based standards] (INT16_MAX): Likewise.
28015 [C99-based standards] (INT32_MIN): Likewise.
28016 [C99-based standards] (INT32_MAX): Likewise.
28017 [C99-based standards] (INT64_MIN): Likewise.
28018 [C99-based standards] (INT64_MAX): Likewise.
28019 [C99-based standards] (UINT8_MAX): Likewise.
28020 [C99-based standards] (UINT16_MAX): Likewise.
28021 [C99-based standards] (UINT32_MAX): Likewise.
28022 [C99-based standards] (UINT64_MAX): Likewise.
28023 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28024 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28025 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28026 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28027 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28028 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28029 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28030 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28031 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28032 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28033 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28034 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28035 [C99-based standards] (INT_FAST8_MIN): Likewise.
28036 [C99-based standards] (INT_FAST8_MAX): Likewise.
28037 [C99-based standards] (INT_FAST16_MIN): Likewise.
28038 [C99-based standards] (INT_FAST16_MAX): Likewise.
28039 [C99-based standards] (INT_FAST32_MIN): Likewise.
28040 [C99-based standards] (INT_FAST32_MAX): Likewise.
28041 [C99-based standards] (INT_FAST64_MIN): Likewise.
28042 [C99-based standards] (INT_FAST64_MAX): Likewise.
28043 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28044 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28045 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28046 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28047 [C99-based standards] (INTPTR_MIN): Likewise.
28048 [C99-based standards] (INTPTR_MAX): Likewise.
28049 [C99-based standards] (UINTPTR_MAX): Likewise.
28050 [C99-based standards] (INTMAX_MIN): Likewise.
28051 [C99-based standards] (INTMAX_MAX): Likewise.
28052 [C99-based standards] (UINTMAX_MAX): Likewise.
28053 [C99-based standards] (PTRDIFF_MIN): Likewise.
28054 [C99-based standards] (PTRDIFF_MAX): Likewise.
28055 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28056 [C99-based standards] (SIZE_MAX): Likewise.
28057 [C99-based standards] (WCHAR_MAX): Likewise.
28058 [C99-based standards] (WINT_MAX): Likewise.
28059 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28060 constraint on value.
28061 [C99-based standards] (WCHAR_MIN): Likewise.
28062 [C99-based standards] (WINT_MIN): Likewise.
28063 [C99-based standards] (*_t): Allow.
28064 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28065 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28066 Include math.h-data and complex.h-data. Remove all expectations
28067 of math.h and complex.h contents.
28068 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28070 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28071 (struct tm): Expect tag.
28072 [C99-based-standards] (wcstof): Expect function.
28073 [C99-based-standards] (wcstold): Likewise.
28074 [C99-based-standards] (wcstoll): Likewise.
28075 [C99-based-standards] (wcstoull): Likewise.
28076 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28077 macro-int-constant. Specify type.
28078 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28079 constraint on value.
28080 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28082 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28084 [ISO C standards]: Do not allow headers.
28085 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28086 wcs[abcdefghijklmnopqrstuvwxyz]*.
28087 [ISO C standards] (*_t): Do not allow.
28088 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28090 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28091 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28093 [ISO C standards]: Do not allow headers.
28094 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28095 is[abcdefghijklmnopqrstuvwxyz]*.
28096 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28097 to[abcdefghijklmnopqrstuvwxyz]*.
28098 [ISO C standards] (*_t): Do not allow.
28099 * conform/data/stdalign.h-data: New file.
28100 * conform/data/stdbool.h-data: Likewise.
28101 * conform/data/stdnoreturn.h-data: Likewise.
28103 2012-11-07 Roland McGrath <roland@hack.frob.com>
28106 * manual/filesys.texi (Directory Entries): Typo fix.
28107 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28109 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28111 * elf/elf.h (EM_AARCH64): New macro.
28112 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28113 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28114 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28115 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28116 (R_AARCH64_TLSDESC): Likewise.
28117 (NT_ARM_TLS): Likewise.
28118 (NT_ARM_HW_BREAK): Likewise.
28119 (NT_ARM_HW_WATCH): Likewise.
28121 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28124 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28125 (__ieee754_powl): Saturate nonzero exponents with absolute value
28126 below 0x1p-79 to +/- 0x1p-79.
28127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28128 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28129 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28130 nonzero exponents with absolute value below 0x1p-32 to +/-
28132 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28133 (__ieee754_powl): Saturate nonzero exponents with absolute value
28134 below 0x1p-79 to +/- 0x1p-79.
28135 * math/libm-test.inc (pow_test): Add more tests.
28137 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28139 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28140 _dl_s390_cap_flags with kernel. Increase string length.
28141 (_dl_s390_platforms): Add z196 and zEC12.
28143 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28145 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28146 Change XOPEN21K to XOPEN2K.
28148 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28150 * string/memmove.c: Use memcpy when possible.
28152 2012-11-06 Andreas Jaeger <aj@suse.de>
28154 * po/eo.po: Update from translation team.
28156 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28160 exponent and small x and y exponents, scale x or y up. Increase
28161 by 2 the exponent used in scaling up.
28162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28164 * math/libm-test.inc (fma_test): Add more tests.
28165 (fma_test_towardzero): Likewise.
28166 (fma_test_downward): Likewise.
28167 (fma_test_upward): Likewise.
28169 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28172 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28176 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28177 namespace for names of struct fields.
28178 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28180 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28181 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28183 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28186 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28188 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28190 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28194 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28197 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28201 definitely overflow as x * y not x * y + z.
28202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28204 * math/libm-test.inc (fma_test): Add more tests.
28205 (fma_test_towardzero): Likewise.
28206 (fma_test_downward): Likewise.
28207 (fma_test_upward): Likewise.
28209 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28213 * include/stub-tag.h: Remove file.
28214 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28216 * manual/maint.texi (Porting): Don't reference it.
28217 * Makerules ($(objpfx)stubs): Likewise.
28218 * dirent/closedir.c: Don't include <stub-tag.h>.
28219 * dirent/dirfd.c: Likewise.
28220 * dirent/fdopendir.c: Likewise.
28221 * dirent/getdents.c: Likewise.
28222 * dirent/getdents64.c: Likewise.
28223 * dirent/opendir.c: Likewise.
28224 * dirent/readdir.c: Likewise.
28225 * dirent/readdir64.c: Likewise.
28226 * dirent/readdir64_r.c: Likewise.
28227 * dirent/readdir_r.c: Likewise.
28228 * dirent/rewinddir.c: Likewise.
28229 * dirent/seekdir.c: Likewise.
28230 * dirent/telldir.c: Likewise.
28231 * gmon/profil.c: Likewise.
28232 * grp/setgroups.c: Likewise.
28233 * inet/if_index.c: Likewise.
28234 * io/access.c: Likewise.
28235 * io/chdir.c: Likewise.
28236 * io/chmod.c: Likewise.
28237 * io/chown.c: Likewise.
28238 * io/close.c: Likewise.
28239 * io/dup.c: Likewise.
28240 * io/dup2.c: Likewise.
28241 * io/dup3.c: Likewise.
28242 * io/euidaccess.c: Likewise.
28243 * io/faccessat.c: Likewise.
28244 * io/fchdir.c: Likewise.
28245 * io/fchmod.c: Likewise.
28246 * io/fchmodat.c: Likewise.
28247 * io/fchown.c: Likewise.
28248 * io/fchownat.c: Likewise.
28249 * io/fcntl.c: Likewise.
28250 * io/flock.c: Likewise.
28251 * io/fstatfs.c: Likewise.
28252 * io/fstatfs64.c: Likewise.
28253 * io/fstatvfs.c: Likewise.
28254 * io/fstatvfs64.c: Likewise.
28255 * io/futimens.c: Likewise.
28256 * io/fxstat.c: Likewise.
28257 * io/fxstat64.c: Likewise.
28258 * io/fxstatat.c: Likewise.
28259 * io/fxstatat64.c: Likewise.
28260 * io/getcwd.c: Likewise.
28261 * io/isatty.c: Likewise.
28262 * io/lchmod.c: Likewise.
28263 * io/lchown.c: Likewise.
28264 * io/link.c: Likewise.
28265 * io/linkat.c: Likewise.
28266 * io/lseek.c: Likewise.
28267 * io/lseek64.c: Likewise.
28268 * io/lxstat64.c: Likewise.
28269 * io/mkdir.c: Likewise.
28270 * io/mkdirat.c: Likewise.
28271 * io/mkfifo.c: Likewise.
28272 * io/mkfifoat.c: Likewise.
28273 * io/open.c: Likewise.
28274 * io/open64.c: Likewise.
28275 * io/openat.c: Likewise.
28276 * io/openat64.c: Likewise.
28277 * io/pipe.c: Likewise.
28278 * io/pipe2.c: Likewise.
28279 * io/poll.c: Likewise.
28280 * io/posix_fadvise.c: Likewise.
28281 * io/posix_fadvise64.c: Likewise.
28282 * io/posix_fallocate.c: Likewise.
28283 * io/posix_fallocate64.c: Likewise.
28284 * io/read.c: Likewise.
28285 * io/readlink.c: Likewise.
28286 * io/readlinkat.c: Likewise.
28287 * io/rmdir.c: Likewise.
28288 * io/sendfile.c: Likewise.
28289 * io/sendfile64.c: Likewise.
28290 * io/statfs.c: Likewise.
28291 * io/statfs64.c: Likewise.
28292 * io/statvfs.c: Likewise.
28293 * io/statvfs64.c: Likewise.
28294 * io/symlink.c: Likewise.
28295 * io/symlinkat.c: Likewise.
28296 * io/ttyname.c: Likewise.
28297 * io/ttyname_r.c: Likewise.
28298 * io/umask.c: Likewise.
28299 * io/unlink.c: Likewise.
28300 * io/unlinkat.c: Likewise.
28301 * io/utime.c: Likewise.
28302 * io/utimensat.c: Likewise.
28303 * io/write.c: Likewise.
28304 * io/xmknod.c: Likewise.
28305 * io/xmknodat.c: Likewise.
28306 * io/xstat.c: Likewise.
28307 * io/xstat64.c: Likewise.
28308 * login/getpt.c: Likewise.
28309 * login/grantpt.c: Likewise.
28310 * login/unlockpt.c: Likewise.
28311 * math/e_acoshl.c: Likewise.
28312 * math/e_acosl.c: Likewise.
28313 * math/e_asinl.c: Likewise.
28314 * math/e_atan2l.c: Likewise.
28315 * math/e_atanhl.c: Likewise.
28316 * math/e_coshl.c: Likewise.
28317 * math/e_expl.c: Likewise.
28318 * math/e_fmodl.c: Likewise.
28319 * math/e_gammal_r.c: Likewise.
28320 * math/e_hypotl.c: Likewise.
28321 * math/e_j0l.c: Likewise.
28322 * math/e_j1l.c: Likewise.
28323 * math/e_jnl.c: Likewise.
28324 * math/e_lgammal_r.c: Likewise.
28325 * math/e_log10l.c: Likewise.
28326 * math/e_log2l.c: Likewise.
28327 * math/e_logl.c: Likewise.
28328 * math/e_powl.c: Likewise.
28329 * math/e_rem_pio2l.c: Likewise.
28330 * math/e_sinhl.c: Likewise.
28331 * math/e_sqrtl.c: Likewise.
28332 * math/fclrexcpt.c: Likewise.
28333 * math/fedisblxcpt.c: Likewise.
28334 * math/feenablxcpt.c: Likewise.
28335 * math/fegetenv.c: Likewise.
28336 * math/fegetexcept.c: Likewise.
28337 * math/fegetround.c: Likewise.
28338 * math/feholdexcpt.c: Likewise.
28339 * math/fesetenv.c: Likewise.
28340 * math/fesetround.c: Likewise.
28341 * math/feupdateenv.c: Likewise.
28342 * math/fgetexcptflg.c: Likewise.
28343 * math/fraiseexcpt.c: Likewise.
28344 * math/fsetexcptflg.c: Likewise.
28345 * math/ftestexcept.c: Likewise.
28346 * math/k_cosl.c: Likewise.
28347 * math/k_rem_pio2l.c: Likewise.
28348 * math/k_sinl.c: Likewise.
28349 * math/k_tanl.c: Likewise.
28350 * math/s_asinhl.c: Likewise.
28351 * math/s_atanl.c: Likewise.
28352 * math/s_cbrtl.c: Likewise.
28353 * math/s_erfl.c: Likewise.
28354 * math/s_expm1l.c: Likewise.
28355 * math/s_log1pl.c: Likewise.
28356 * math/s_tanhl.c: Likewise.
28357 * misc/acct.c: Likewise.
28358 * misc/brk.c: Likewise.
28359 * misc/chflags.c: Likewise.
28360 * misc/chroot.c: Likewise.
28361 * misc/fchflags.c: Likewise.
28362 * misc/fgetxattr.c: Likewise.
28363 * misc/flistxattr.c: Likewise.
28364 * misc/fremovexattr.c: Likewise.
28365 * misc/fsetxattr.c: Likewise.
28366 * misc/fsync.c: Likewise.
28367 * misc/ftruncate.c: Likewise.
28368 * misc/futimes.c: Likewise.
28369 * misc/futimesat.c: Likewise.
28370 * misc/getdomain.c: Likewise.
28371 * misc/getdtsz.c: Likewise.
28372 * misc/gethostid.c: Likewise.
28373 * misc/gethostname.c: Likewise.
28374 * misc/getloadavg.c: Likewise.
28375 * misc/getpagesize.c: Likewise.
28376 * misc/getsysstats.c: Likewise.
28377 * misc/getxattr.c: Likewise.
28378 * misc/gtty.c: Likewise.
28379 * misc/ioctl.c: Likewise.
28380 * misc/lgetxattr.c: Likewise.
28381 * misc/listxattr.c: Likewise.
28382 * misc/llistxattr.c: Likewise.
28383 * misc/lremovexattr.c: Likewise.
28384 * misc/lsetxattr.c: Likewise.
28385 * misc/lutimes.c: Likewise.
28386 * misc/madvise.c: Likewise.
28387 * misc/mincore.c: Likewise.
28388 * misc/mlock.c: Likewise.
28389 * misc/mlockall.c: Likewise.
28390 * misc/mmap.c: Likewise.
28391 * misc/mprotect.c: Likewise.
28392 * misc/msync.c: Likewise.
28393 * misc/munlock.c: Likewise.
28394 * misc/munlockall.c: Likewise.
28395 * misc/munmap.c: Likewise.
28396 * misc/preadv.c: Likewise.
28397 * misc/preadv64.c: Likewise.
28398 * misc/ptrace.c: Likewise.
28399 * misc/pwritev.c: Likewise.
28400 * misc/pwritev64.c: Likewise.
28401 * misc/readv.c: Likewise.
28402 * misc/reboot.c: Likewise.
28403 * misc/remap_file_pages.c: Likewise.
28404 * misc/removexattr.c: Likewise.
28405 * misc/revoke.c: Likewise.
28406 * misc/select.c: Likewise.
28407 * misc/setdomain.c: Likewise.
28408 * misc/setegid.c: Likewise.
28409 * misc/seteuid.c: Likewise.
28410 * misc/sethostid.c: Likewise.
28411 * misc/sethostname.c: Likewise.
28412 * misc/setregid.c: Likewise.
28413 * misc/setreuid.c: Likewise.
28414 * misc/setxattr.c: Likewise.
28415 * misc/sstk.c: Likewise.
28416 * misc/stty.c: Likewise.
28417 * misc/swapoff.c: Likewise.
28418 * misc/swapon.c: Likewise.
28419 * misc/sync.c: Likewise.
28420 * misc/syncfs.c: Likewise.
28421 * misc/syscall.c: Likewise.
28422 * misc/truncate.c: Likewise.
28423 * misc/ualarm.c: Likewise.
28424 * misc/usleep.c: Likewise.
28425 * misc/ustat.c: Likewise.
28426 * misc/utimes.c: Likewise.
28427 * misc/vhangup.c: Likewise.
28428 * misc/writev.c: Likewise.
28429 * posix/_exit.c: Likewise.
28430 * posix/alarm.c: Likewise.
28431 * posix/execve.c: Likewise.
28432 * posix/fexecve.c: Likewise.
28433 * posix/fork.c: Likewise.
28434 * posix/fpathconf.c: Likewise.
28435 * posix/getaddrinfo.c: Likewise.
28436 * posix/getegid.c: Likewise.
28437 * posix/geteuid.c: Likewise.
28438 * posix/getgid.c: Likewise.
28439 * posix/getgroups.c: Likewise.
28440 * posix/getlogin.c: Likewise.
28441 * posix/getlogin_r.c: Likewise.
28442 * posix/getpgid.c: Likewise.
28443 * posix/getpid.c: Likewise.
28444 * posix/getppid.c: Likewise.
28445 * posix/getresgid.c: Likewise.
28446 * posix/getresuid.c: Likewise.
28447 * posix/getsid.c: Likewise.
28448 * posix/getuid.c: Likewise.
28449 * posix/glob64.c: Likewise.
28450 * posix/nanosleep.c: Likewise.
28451 * posix/pathconf.c: Likewise.
28452 * posix/pause.c: Likewise.
28453 * posix/posix_madvise.c: Likewise.
28454 * posix/pread.c: Likewise.
28455 * posix/pread64.c: Likewise.
28456 * posix/pwrite.c: Likewise.
28457 * posix/pwrite64.c: Likewise.
28458 * posix/sched_getaffinity.c: Likewise.
28459 * posix/sched_getp.c: Likewise.
28460 * posix/sched_gets.c: Likewise.
28461 * posix/sched_primax.c: Likewise.
28462 * posix/sched_primin.c: Likewise.
28463 * posix/sched_rr_gi.c: Likewise.
28464 * posix/sched_setaffinity.c: Likewise.
28465 * posix/sched_setp.c: Likewise.
28466 * posix/sched_sets.c: Likewise.
28467 * posix/sched_yield.c: Likewise.
28468 * posix/setgid.c: Likewise.
28469 * posix/setlogin.c: Likewise.
28470 * posix/setpgid.c: Likewise.
28471 * posix/setresgid.c: Likewise.
28472 * posix/setresuid.c: Likewise.
28473 * posix/setsid.c: Likewise.
28474 * posix/setuid.c: Likewise.
28475 * posix/sleep.c: Likewise.
28476 * posix/spawni.c: Likewise.
28477 * posix/sysconf.c: Likewise.
28478 * posix/times.c: Likewise.
28479 * posix/wait.c: Likewise.
28480 * posix/wait3.c: Likewise.
28481 * posix/wait4.c: Likewise.
28482 * posix/waitpid.c: Likewise.
28483 * resolv/gai_sigqueue.c: Likewise.
28484 * resource/getpriority.c: Likewise.
28485 * resource/getrlimit.c: Likewise.
28486 * resource/getrusage.c: Likewise.
28487 * resource/nice.c: Likewise.
28488 * resource/setpriority.c: Likewise.
28489 * resource/setrlimit.c: Likewise.
28490 * resource/ulimit.c: Likewise.
28491 * rt/aio_cancel.c: Likewise.
28492 * rt/aio_fsync.c: Likewise.
28493 * rt/aio_read.c: Likewise.
28494 * rt/aio_sigqueue.c: Likewise.
28495 * rt/aio_suspend.c: Likewise.
28496 * rt/aio_write.c: Likewise.
28497 * rt/clock_getres.c: Likewise.
28498 * rt/clock_gettime.c: Likewise.
28499 * rt/clock_nanosleep.c: Likewise.
28500 * rt/clock_settime.c: Likewise.
28501 * rt/lio_listio.c: Likewise.
28502 * rt/mq_close.c: Likewise.
28503 * rt/mq_getattr.c: Likewise.
28504 * rt/mq_notify.c: Likewise.
28505 * rt/mq_open.c: Likewise.
28506 * rt/mq_receive.c: Likewise.
28507 * rt/mq_send.c: Likewise.
28508 * rt/mq_setattr.c: Likewise.
28509 * rt/mq_timedreceive.c: Likewise.
28510 * rt/mq_timedsend.c: Likewise.
28511 * rt/mq_unlink.c: Likewise.
28512 * rt/shm_open.c: Likewise.
28513 * rt/shm_unlink.c: Likewise.
28514 * rt/timer_create.c: Likewise.
28515 * rt/timer_delete.c: Likewise.
28516 * rt/timer_getoverr.c: Likewise.
28517 * rt/timer_gettime.c: Likewise.
28518 * rt/timer_settime.c: Likewise.
28519 * setjmp/__longjmp.c: Likewise.
28520 * setjmp/setjmp.c: Likewise.
28521 * signal/kill.c: Likewise.
28522 * signal/killpg.c: Likewise.
28523 * signal/raise.c: Likewise.
28524 * signal/sigaction.c: Likewise.
28525 * signal/sigaltstack.c: Likewise.
28526 * signal/sigblock.c: Likewise.
28527 * signal/sigignore.c: Likewise.
28528 * signal/sigintr.c: Likewise.
28529 * signal/signal.c: Likewise.
28530 * signal/sigpause.c: Likewise.
28531 * signal/sigpending.c: Likewise.
28532 * signal/sigqueue.c: Likewise.
28533 * signal/sigreturn.c: Likewise.
28534 * signal/sigset.c: Likewise.
28535 * signal/sigsetmask.c: Likewise.
28536 * signal/sigstack.c: Likewise.
28537 * signal/sigsuspend.c: Likewise.
28538 * signal/sigtimedwait.c: Likewise.
28539 * signal/sigvec.c: Likewise.
28540 * signal/sigwait.c: Likewise.
28541 * signal/sigwaitinfo.c: Likewise.
28542 * signal/sysv_signal.c: Likewise.
28543 * socket/accept.c: Likewise.
28544 * socket/accept4.c: Likewise.
28545 * socket/bind.c: Likewise.
28546 * socket/connect.c: Likewise.
28547 * socket/getpeername.c: Likewise.
28548 * socket/getsockname.c: Likewise.
28549 * socket/getsockopt.c: Likewise.
28550 * socket/isfdtype.c: Likewise.
28551 * socket/listen.c: Likewise.
28552 * socket/recv.c: Likewise.
28553 * socket/recvfrom.c: Likewise.
28554 * socket/recvmsg.c: Likewise.
28555 * socket/send.c: Likewise.
28556 * socket/sendmsg.c: Likewise.
28557 * socket/sendto.c: Likewise.
28558 * socket/setsockopt.c: Likewise.
28559 * socket/shutdown.c: Likewise.
28560 * socket/sockatmark.c: Likewise.
28561 * socket/socket.c: Likewise.
28562 * socket/socketpair.c: Likewise.
28563 * stdio-common/ctermid.c: Likewise.
28564 * stdio-common/cuserid.c: Likewise.
28565 * stdio-common/remove.c: Likewise.
28566 * stdio-common/rename.c: Likewise.
28567 * stdio-common/renameat.c: Likewise.
28568 * stdio-common/tempname.c: Likewise.
28569 * stdlib/getcontext.c: Likewise.
28570 * stdlib/makecontext.c: Likewise.
28571 * stdlib/setcontext.c: Likewise.
28572 * stdlib/swapcontext.c: Likewise.
28573 * stdlib/system.c: Likewise.
28574 * streams/fattach.c: Likewise.
28575 * streams/fdetach.c: Likewise.
28576 * streams/getmsg.c: Likewise.
28577 * streams/getpmsg.c: Likewise.
28578 * streams/putmsg.c: Likewise.
28579 * streams/putpmsg.c: Likewise.
28580 * sysdeps/unix/bsd/getpt.c: Likewise.
28581 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28582 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28583 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28586 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28587 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28588 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28589 * sysvipc/msgctl.c: Likewise.
28590 * sysvipc/msgget.c: Likewise.
28591 * sysvipc/msgrcv.c: Likewise.
28592 * sysvipc/msgsnd.c: Likewise.
28593 * sysvipc/semctl.c: Likewise.
28594 * sysvipc/semget.c: Likewise.
28595 * sysvipc/semop.c: Likewise.
28596 * sysvipc/semtimedop.c: Likewise.
28597 * sysvipc/shmat.c: Likewise.
28598 * sysvipc/shmctl.c: Likewise.
28599 * sysvipc/shmdt.c: Likewise.
28600 * sysvipc/shmget.c: Likewise.
28601 * termios/tcdrain.c: Likewise.
28602 * termios/tcflow.c: Likewise.
28603 * termios/tcflush.c: Likewise.
28604 * termios/tcgetattr.c: Likewise.
28605 * termios/tcgetpgrp.c: Likewise.
28606 * termios/tcsendbrk.c: Likewise.
28607 * termios/tcsetattr.c: Likewise.
28608 * termios/tcsetpgrp.c: Likewise.
28609 * time/adjtime.c: Likewise.
28610 * time/clock.c: Likewise.
28611 * time/getitimer.c: Likewise.
28612 * time/gettimeofday.c: Likewise.
28613 * time/setitimer.c: Likewise.
28614 * time/settimeofday.c: Likewise.
28615 * time/stime.c: Likewise.
28616 * time/time.c: Likewise.
28618 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28620 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28623 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28625 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28627 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28631 FE_TONEAREST before applying Dekker multiplication and Knuth
28632 addition. Clear inexact exceptions and check for exact zero
28633 results afterwards.
28634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28637 * math/libm-test.inc (fma_test): Add more tests.
28638 (fma_test_towardzero): Likewise.
28639 (fma_test_downward): Likewise.
28640 (fma_test_upward): Likewise.
28641 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28643 (libc_fesetround): New macro.
28644 (libc_fesetroundf): Likewise.
28645 (libc_fesetroundl): Likewise.
28646 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28648 (libc_fesetround_387): Likewise.
28649 (libc_fesetroundf): New macro.
28650 (libc_fesetround): Likewise.
28651 (libc_fesetroundl): Likewise.
28652 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28654 (libc_fesetroundf): New macro.
28655 (libc_fesetround): Likewise.
28656 (libc_fesetroundl): Likewise.
28657 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28658 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28659 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28661 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28662 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28664 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28665 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28667 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28671 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28672 integer constant usable in #if and use that to give value to enum
28674 (FE_DIVBYZERO): Likewise.
28675 (FE_UNDERFLOW): Likewise.
28676 (FE_OVERFLOW): Likewise.
28677 (FE_INVALID): Likewise.
28678 (FE_INVALID_SNAN): Likewise.
28679 (FE_INVALID_ISI): Likewise.
28680 (FE_INVALID_IDI): Likewise.
28681 (FE_INVALID_ZDZ): Likewise.
28682 (FE_INVALID_IMZ): Likewise.
28683 (FE_INVALID_COMPARE): Likewise.
28684 (FE_INVALID_SOFTWARE): Likewise.
28685 (FE_INVALID_SQRT): Likewise.
28686 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28687 (FE_TONEAREST): Likewise.
28688 (FE_TOWARDZERO): Likewise.
28689 (FE_UPWARD): Likewise.
28690 (FE_DOWNWARD): Likewise.
28691 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28692 (FE_DIVBYZERO): Likewise.
28693 (FE_OVERFLOW): Likewise.
28694 (FE_UNDERFLOW): Likewise.
28695 (FE_INEXACT): Likewise.
28696 (FE_TONEAREST): Likewise.
28697 (FE_DOWNWARD): Likewise.
28698 (FE_UPWARD): Likewise.
28699 (FE_TOWARDZERO): Likewise.
28700 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28701 (FE_UNDERFLOW): Likewise.
28702 (FE_OVERFLOW): Likewise.
28703 (FE_DIVBYZERO): Likewise.
28704 (FE_INVALID): Likewise.
28705 (FE_TONEAREST): Likewise.
28706 (FE_TOWARDZERO): Likewise.
28707 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28708 (FE_OVERFLOW): Likewise.
28709 (FE_UNDERFLOW): Likewise.
28710 (FE_DIVBYZERO): Likewise.
28711 (FE_INEXACT): Likewise.
28712 (FE_TONEAREST): Likewise.
28713 (FE_TOWARDZERO): Likewise.
28714 (FE_UPWARD): Likewise.
28715 (FE_DOWNWARD): Likewise.
28716 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28717 (FE_DIVBYZERO): Likewise.
28718 (FE_OVERFLOW): Likewise.
28719 (FE_UNDERFLOW): Likewise.
28720 (FE_INEXACT): Likewise.
28721 (FE_TONEAREST): Likewise.
28722 (FE_DOWNWARD): Likewise.
28723 (FE_UPWARD): Likewise.
28724 (FE_TOWARDZERO): Likewise.
28726 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28728 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28730 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28732 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28733 commands. Quote $PWD.
28734 (blacklist_exports): Don't use remove_newlines. Replace "declare
28736 (remove_newlines): Remove.
28738 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28740 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28741 * stdlib/stdlib.h (atof): Moved to ...
28742 * include/bits/stdlib-float.h: Here. New file.
28743 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28744 * stdlib/bits/stdlib-float.h: New file.
28745 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28747 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28750 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28752 * conform/conformtest.pl (@headers): Add fenv.h.
28753 * conform/data/fenv.h-data: New file.
28754 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28755 include of <math/fenv.h>.
28757 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28758 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28759 && !UNIX98]. Enables tests for XOPEN2K8.
28760 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28761 POSIX2008]: Likewise.
28763 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28764 (struct rusage): Do not expect type or its members.
28767 * math/math.h (FP_NAN): Define macro to integer constant usable in
28768 #if and use that to give value to enum constant.
28769 (FP_INFINITE): Likewise.
28770 (FP_ZERO): Likewise.
28771 (FP_SUBNORMAL): Likewise.
28772 (FP_NORMAL): Likewise.
28774 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28776 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28777 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28780 2012-11-02 Roland McGrath <roland@hack.frob.com>
28782 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28783 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28784 autoconf-time if not.
28785 * configure.in: Remove AC_PREREQ.
28787 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28789 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28790 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28791 of the internal implementation.
28793 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28795 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28796 except include of <misc/sys/syslog.h>.
28798 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28801 function returns with a NULL context exit with zero.
28803 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28805 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28807 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28809 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28810 (run_program_cmd): This.
28811 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28812 (tst_langinfo): New variable. Use it.
28814 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28816 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28817 floating point opcodes.
28819 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28821 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28824 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28826 * sysdeps/mach/hurd/powerpc: Remove directory.
28827 * sysdeps/mach/powerpc: Likewise.
28829 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28831 * scripts/check-local-headers.sh: Ignore c++ headers.
28833 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28835 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28836 __libc_cleanup_region_start argument.
28838 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28843 x * y using scaling, not as x * y + z.
28844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28846 * math/libm-test.inc (fma_test): Add more tests.
28847 (fma_test_towardzero): Likewise.
28848 (fma_test_downward): Likewise.
28849 (fma_test_upward): Likewise.
28851 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28853 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28857 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28860 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28862 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28864 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28871 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28874 Fix the order of the list for glibc 2.17.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28878 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28882 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28886 for low part of x being zero before using __atanl (y).
28887 * math/libm-test.inc (atan2_test): Add another test.
28889 * manual/install.texi (Configuring and compiling): Document
28890 general use of test-wrapper and test-wrapper-env.
28891 * INSTALL: Regenerated.
28893 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28894 (__fma): Do not extract and scale down low bits on after-rounding
28895 systems when result rounded to normal precision would have normal
28897 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28898 (__fmal): Do not extract and scale down low bits on after-rounding
28899 systems when result rounded to normal precision would have normal
28901 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28902 (__fmal): Do not extract and scale down low bits on after-rounding
28903 systems when result rounded to normal precision would have normal
28905 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28907 (fma_test): Add more tests.
28908 (fma_test_towardzero): Likewise.
28909 (fma_test_downward): Likewise.
28910 (fma_test_upward): Likewise.
28912 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28914 * sysdeps/i386/tininess.h: Renamed to ...
28915 * sysdeps/x86/tininess.h: This.
28916 * sysdeps/x86_64/tininess.h: Removed.
28918 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28920 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28921 input. Use $(build-program-cmd).
28922 ($(objpfx)tst-array1-static.out): Likewise.
28923 ($(objpfx)tst-array2.out): Likewise.
28924 ($(objpfx)tst-array3.out): Likewise.
28925 ($(objpfx)tst-array4.out): Likewise.
28926 ($(objpfx)tst-array5.out): Likewise.
28927 ($(objpfx)tst-array5-static.out): Likewise.
28929 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28931 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28934 * nss/nsswitch.h (nss_interface_function): Provide new
28935 macro for use with NSS functions.
28936 * grp/initgroups.c: Use new macro.
28937 * nss/getXXbyYY.c: Likewise.
28938 * nss/getXXbyYY_r.c: Likewise.
28939 * nss/getXXent.c: Likewise.
28940 * nss/getXXent_r.c: Likewise.
28941 * sysdeps/posix/getaddrinfo.c: Likewise.
28943 2012-10-30 Andreas Jaeger <aj@suse.de>
28945 * po/ru.po: Update Russion translation from translation project.
28947 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28952 result and shift together with sticky bit instead of replicating
28953 round-to-nearest rounding.
28954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28956 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28957 missing underflow exceptions.
28958 (fma_test_towardzero): Add more tests.
28959 (fma_test_downward): Likewise.
28960 (fma_test_upward): Likewise.
28963 * sysdeps/generic/tininess.h: New file.
28964 * sysdeps/i386/tininess.h: Likewise.
28965 * sysdeps/sh/tininess.h: Likewise.
28966 * sysdeps/x86_64/tininess.h: Likewise.
28967 * stdlib/tst-strtod-underflow.c: Likewise.
28968 * stdlib/tst-tininess.c: Likewise.
28969 * stdlib/strtod_l.c: Include <tininess.h>.
28970 (round_and_return): Do not set errno for exact underflow cases.
28971 Force an underflow exception when setting errno for underflow.
28972 Determine underflow based on rounding to normal precision if
28973 TININESS_AFTER_ROUNDING.
28974 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28975 ERANGE for exact underflow cases.
28976 * stdlib/Makefile (tests): Add tst-tininess and
28977 tst-strtod-underflow.
28978 ($(objpfx)tst-tininess): Use $(link-libm).
28979 ($(objpfx)tst-strtod-underflow): Likewise.
28981 2012-10-30 Andreas Jaeger <aj@suse.de>
28984 * elf/Makefile (tests): Remove conditional for have-initfini-array
28985 since this is now always required and the variable does not exist
28987 (tests-static): Likewise.
28988 (modules-names): Likewise.
28990 * po/eo.po: Add Esperanto translation from translation project.
28992 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28993 merged with constructor/destructor.
28994 (init_array): Likewise.
28995 * elf/tst-array2dep.c (fini_array): Likewise.
28996 (init_array): Likewise.
28998 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29000 * manual/message.texi: Delete @cartouche tags.
29002 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29004 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29006 * sysdeps/mach/hurd/fsync.c: Likewise.
29008 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29009 [_POSIX_REALTIME_SIGNALS]: Change condition to
29010 [_POSIX_REALTIME_SIGNALS > 0].
29012 2012-10-27 Andreas Jaeger <aj@suse.de>
29014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29015 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29017 [__WORDSIZE != 64]: Likewise.
29019 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29021 * iconvdata/tst-table.sh: Remove ${SHELL}.
29022 * iconvdata/tst-tables.sh: Likewise.
29024 2012-10-25 David S. Miller <davem@davemloft.net>
29026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29027 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29032 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29033 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29034 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29037 2012-10-25 Roland McGrath <roland@hack.frob.com>
29039 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29040 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29043 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29044 Jim Blandy <jimb@codesourcery.com>
29046 * scripts/cross-test-ssh.sh: New file.
29047 * manual/install.texi (Configuring and compiling): Document use of
29049 * INSTALL: Regenerated.
29051 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29053 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29056 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29058 * Makeconfig (run-program-prefix): Fix comment.
29060 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29061 Jim Blandy <jimb@codesourcery.com>
29063 * Makeconfig (test-wrapper): New variable,
29064 (test-wrapper-env): Likewise.
29065 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29066 (run-built-tests): Define to yes.
29067 (run-program-prefix): Use $(test-wrapper).
29068 (built-program-cmd): Likewise.
29069 * Rules (make-test-out): Use $(test-wrapper-env) and
29070 $(host-built-program-cmd).
29071 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29072 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29074 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29075 $(test-wrapper-env) to tst-rtld-load-self.sh.
29076 ($(objpfx)order2.out): Use $(test-wrapper).
29077 ($(objpfx)tst-initorder.out): Likewise.
29078 ($(objpfx)tst-initorder2.out): Likewise.
29079 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29080 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29081 (test_wrapper_env): New variable. Use it to run ld.so.
29082 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29083 Use it to run ld.so.
29084 (test_wrapper_env): Likewise.
29085 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29086 $(test-wrapper) to run-iconv-test.sh.
29087 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29088 (ICONV): Use $test_wrapper.
29089 * posix/Makefile ($(objpfx)globtest.out): Pass
29090 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29091 globtest.sh, not $(run-program-prefix).
29092 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29093 (test_wrapper): Likewise.
29094 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29095 set together with run_via_rtld_prefix.
29096 (run_program_prefix): Define in terms of test_wrapper and
29097 run_via_rtld_prefix.
29099 2012-10-24 Roland McGrath <roland@hack.frob.com>
29101 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29102 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29106 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29107 Declare __clock_getres, __clock_gettime, __clock_settime,
29108 __clock_nanosleep, and __clock_getcpuclockid.
29109 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29110 Remove librt_hidden_def (clock_gettime).
29111 * sysdeps/unix/clock_gettime.c: Likewise.
29112 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29113 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29114 * rt/clock_getres.c: Define __clock_getres as an alias.
29115 * sysdeps/posix/clock_getres.c: Likewise.
29116 * rt/clock_settime.c: Define __clock_settime as an alias.
29117 * sysdeps/unix/clock_settime.c: Likewise.
29118 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29119 * sysdeps/unix/clock_nanosleep.c: Likewise.
29120 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29121 * rt/clock-compat.c: New file.
29122 * rt/Makefile (librt-routines): Add clock-compat and move
29123 $(clock-routines) to ...
29124 (routines): ... here, new variable.
29125 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29126 Don't add get_clockfreq here.
29127 * rt/Versions (libc: GLIBC_2.17): New version set.
29128 Add clock_* symbols here.
29129 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29131 (GLIBC_2.17): Add clock_* symbols.
29132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29143 * NEWS: Mention the move.
29145 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29146 Use __open, __read, __close rather than their public counterparts.
29147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29148 (__get_clockfreq_via_cpuinfo): Likewise.
29149 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29150 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29152 * config.h.in (HAVE_IFUNC): New #undef.
29153 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29155 * configure: Regenerated.
29157 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29159 * configure.in: Move READELF check to start of file.
29160 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29161 libc_cv_asm_gnu_indirect_function in the process.
29162 * configure: Regenerated.
29164 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29166 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29167 send the output to /dev/null.
29168 (libc_cv_cc_with_libunwind): Likewise.
29169 (libc_cv_as_noexecstack): Likewise.
29170 * configure: Regenerate.
29172 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29174 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29176 * posix/globtest.sh (TMPDIR): Do not set.
29177 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29178 (testout): Likewise.
29180 2012-10-24 Andreas Jaeger <aj@suse.de>
29182 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29183 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29184 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29185 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29186 posix_fadvise64, posix_fallocate64.
29188 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29189 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29190 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29192 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29194 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29197 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29198 <bits/fcntl-linux.h>.
29199 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29202 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29203 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29204 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29205 [__WORDSIZE != 64]: Likewise.
29207 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29209 * Makeconfig (run-built-tests): New variable.
29210 * Rules [$(cross-compiling) = yes]: Change condition to
29211 [$(run-built-tests) = no].
29212 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29213 to [$(run-built-tests) = yes].
29214 * elf/Makefile [$(cross-compiling) = no]: Likewise
29215 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29216 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29217 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29218 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29219 * io/Makefile [$(cross-compiling) = no]: Likewise.
29220 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29221 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29222 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29223 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29224 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29225 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29226 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29227 * string/Makefile [$(cross-compiling) = no]: Likewise.
29229 * posix/Makefile ($(objpfx)globtest.out): Pass
29230 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29231 $(rtld-installed-name).
29232 * posix/globtest.sh (elf_objpfx): Remove variable.
29233 (rtld_installed_name): Likewise.
29234 (library_path): Likewise.
29235 (run_program_prefix): New variable. Use for running globtest
29238 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29239 Joseph Myers <joseph@codesourcery.com>
29241 * Makeconfig (host-built-program-cmd): New variable.
29242 * elf/Makefile (tst-stackguard1-ARGS): Use
29243 $(host-built-program-cmd).
29244 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29245 (tst-spawn-ARGS): Likewise.
29246 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29248 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29249 Jim Blandy <jimb@codesourcery.com>
29251 * Makeconfig (run-via-rtld-prefix): New variable.
29252 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29253 (built-program-cmd): Likewise.
29255 2012-10-22 Andreas Jaeger <aj@suse.de>
29257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29258 __O_RSYNC if it exists, otherwise to O_SYNC.
29260 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29261 Joseph Myers <joseph@codesourcery.com>
29263 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29265 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29267 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29270 2012-10-22 Andreas Jaeger <aj@suse.de>
29272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29277 bits/fcntl-linux.h.
29279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29280 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29287 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29288 Joseph Myers <joseph@codesourcery.com>
29290 * config.make.in (NM): New variable.
29292 2012-10-21 Andreas Jaeger <aj@suse.de>
29294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29295 definitions and declarations that are provided by
29296 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29301 * elf/Makefile (tests-static): Add tst-leaks1-static.
29302 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29303 ($(objpfx)tst-leaks1-static): New rule.
29304 ($(objpfx)tst-leaks1-static-mem): Likewise.
29305 (tst-leaks1-static-ENV): New macro.
29306 * elf/dl-open.c (dl_open_worker): Check the main application
29307 only if SHARED is defined.
29308 * elf/tst-leaks1-static.c: New file.
29310 2012-10-20 Andreas Jaeger <aj@suse.de>
29312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29313 generic values for Linux.
29314 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29315 and declarations that are provided by <bits/fcntl-linux.h> and
29316 include <bits/fcntl-linux.h>.
29317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29320 2012-10-20 Roland McGrath <roland@hack.frob.com>
29322 * io/fcntl.h: Move include of <bits/types.h> to the top and
29323 include it unconditionally.
29325 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29327 * wcsmbs/Makefile (tests-ifunc): New variable.
29328 (tests): Add $(tests-ifunc).
29329 * wcsmbs/test-wcschr-ifunc.c: New file.
29330 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29331 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29332 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29333 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29334 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29336 * string/Makefile (tests-ifunc): New variable.
29337 (tests): Add $(tests-ifunc).
29338 * string/test-memccpy.c (TEST_NAME): New macro.
29339 * string/test-memchr.c (TEST_NAME): Likewise.
29340 * string/test-memcmp.c (TEST_NAME): Likewise.
29341 * string/test-memcpy.c (TEST_NAME): Likewise.
29342 * string/test-memmem.c (TEST_NAME): Likewise.
29343 * string/test-memmove.c (TEST_NAME): Likewise.
29344 * string/test-memset.c (TEST_NAME): Likewise.
29345 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29346 * string/test-stpcpy.c (TEST_NAME): Likewise.
29347 * string/test-stpncpy.c (TEST_NAME): Likewise.
29348 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29349 * string/test-strcasestr.c (TEST_NAME): Likewise.
29350 * string/test-strcat.c (TEST_NAME): Likewise.
29351 * string/test-strchr.c (TEST_NAME): Likewise.
29352 * string/test-strcmp.c(TEST_NAME): Likewise.
29353 * string/test-strcpy.c (TEST_NAME): Likewise.
29354 * string/test-strcspn.c (TEST_NAME): Likewise.
29355 * string/test-strlen.c (TEST_NAME): Likewise.
29356 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29357 * string/test-strncmp.c (TEST_NAME): Likewise.
29358 * string/test-strncpy.c (TEST_NAME): Likewise.
29359 * string/test-strnlen.c (TEST_NAME): Likewise.
29360 * string/test-strpbrk.c (TEST_NAME): Likewise.
29361 * string/test-strrchr.c (TEST_NAME): Likewise.
29362 * string/test-strspn.c (TEST_NAME): Likewise.
29363 * string/test-strstr.c (TEST_NAME): Likewise.
29364 * string/test-bcopy-ifunc.c: New file.
29365 * string/test-bzero-ifunc.c: Likewise.
29366 * string/test-memccpy-ifunc.c: Likewise.
29367 * string/test-memchr-ifunc.c: Likewise.
29368 * string/test-memcmp-ifunc.c: Likewise.
29369 * string/test-memcpy-ifunc.c: Likewise.
29370 * string/test-memmem-ifunc.c: Likewise.
29371 * string/test-memmove-ifunc.c: Likewise.
29372 * string/test-mempcpy-ifunc.c: Likewise.
29373 * string/test-memset-ifunc.c: Likewise.
29374 * string/test-rawmemchr-ifunc.c: Likewise.
29375 * string/test-stpcpy-ifunc.c: Likewise.
29376 * string/test-stpncpy-ifunc.c: Likewise.
29377 * string/test-strcasecmp-ifunc.c: Likewise.
29378 * string/test-strcasestr-ifunc.c: Likewise.
29379 * string/test-strcat-ifunc.c: Likewise.
29380 * string/test-strchr-ifunc.c: Likewise.
29381 * string/test-strchrnul-ifunc.c: Likewise.
29382 * string/test-strcmp-ifunc.c: Likewise.
29383 * string/test-strcpy-ifunc.c: Likewise.
29384 * string/test-strcspn-ifunc.c: Likewise.
29385 * string/test-strlen-ifunc.c: Likewise.
29386 * string/test-strncasecmp-ifunc.c: Likewise.
29387 * string/test-strncat-ifunc.c: Likewise.
29388 * string/test-strncmp-ifunc.c: Likewise.
29389 * string/test-strncpy-ifunc.c: Likewise.
29390 * string/test-strnlen-ifunc.c: Likewise.
29391 * string/test-strpbrk-ifunc.c: Likewise.
29392 * string/test-strrchr-ifunc.c: Likewise.
29393 * string/test-strspn-ifunc.c: Likewise.
29394 * string/test-strstr-ifunc.c: Likewise.
29396 * debug/Makefile (tests-ifunc): New variable.
29397 (tests): Add $(tests-ifunc).
29398 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29399 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29400 * debug/test-stpcpy_chk-ifunc.c: New file.
29401 * debug/test-strcpy_chk-ifunc.c: Likewise.
29403 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29406 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29407 header is not read in.
29409 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29411 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29412 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29413 directly. Pass built executable to script as
29414 $(built-program-cmd).
29415 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29416 $testprogram without using LD_LIBRARY_PATH and $ldso.
29418 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29419 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29420 $(rtld-installed-name).
29421 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29422 (rtld_installed_name): Likewise.
29423 (library_path): Likewise.
29424 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29425 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29426 $(run-program-prefix) to tst-tables.sh.
29427 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29428 it to run tst-table-from and tst-table-to.
29429 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29430 Pass it to tst-table.sh.
29431 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29432 $(run-program-prefix) to tst-gettext.sh.
29433 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29435 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29437 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29438 to run tst-gettext.
29439 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29440 to run tst-gettext2.
29441 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29442 to run tst-translit.
29443 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29444 $(run-program-prefix) to tst-mtrace.sh.
29445 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29447 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29448 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29449 $(rtld-installed-name).
29450 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29451 (rtld_installed_name): Likewise.
29452 (run_program_prefix): New variable. Use it to run wordexp-test.
29454 * Makeconfig (ARCH): Remove all definitions.
29455 (machine): Likewise.
29456 [ARCH]: Remove conditional code.
29457 [!objdir]: Give error.
29458 [!objdir] (objpfx): Remove.
29459 [!objdir] (common-objpfx): Likewise.
29460 [!objdir] (common-objdir): Likewise.
29461 * configure.in (config_makefile): Remove. Hardcode Makefile in
29462 AC_CONFIG_FILES call.
29463 * configure: Regenerated.
29466 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29468 (testout): Likewise.
29470 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29471 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29472 $(rtld-installed-name).
29473 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29474 (rtld_installed_name): Likwise.
29475 (runit): Remove function.
29476 (run_getconf): New variable, Use it for running getconf binary.
29478 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29481 * string/test-memmem.c (check_result): New function.
29482 (do_one_test): Use it.
29483 (check1): New function.
29484 (test_main): Use it.
29486 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29488 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29490 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29492 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29493 (_G_LSEEK64): Likewise.
29494 (_G_MMAP64): Likewise.
29495 (_G_FSTAT64): Likewise.
29496 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29497 (_G_LSEEK64): Likewise.
29498 (_G_MMAP64): Likewise.
29499 (_G_FSTAT64): Likewise.
29500 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29501 unconditional. Call __mmap64 directly.
29502 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29503 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29504 __lseek64 directly.
29505 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29506 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29508 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29509 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29510 __lseek64 directly.
29511 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29512 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29513 __lseek64 directly.
29514 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29515 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29516 __lseek64 directly.
29517 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29518 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29519 __fxstat64 directly.
29520 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29521 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29523 (freopen64) [!_G_OPEN64]: Remove conditional code.
29524 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29526 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29527 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29529 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29530 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29532 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29533 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29535 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29536 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29538 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29539 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29541 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29542 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29544 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29546 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29549 * manual/memory.texi (Malloc Tunable Parameters): Add note
29550 about free list pointers overwriting some perturb bytes.
29551 Wording suggested by Roland McGrath.
29553 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29555 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29556 (lgamma_test): Likewise.
29557 (tgamma_test): Likewise.
29559 2012-10-16 Florian Weimer <fweimer@redhat.com>
29562 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29563 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29565 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29567 * NEWS: Mention BZ #14716.
29568 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29569 when removing AVAILABLE1_USES_J macro.
29571 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29573 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29574 (__bswap_64): __uint64_t for unsigned 64-bit int.
29576 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29578 * include/string.h (memmem): Declare libc hidden alias.
29579 * string/memmem.c (memmem): Define libc hidden alias.
29580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29581 __read, __close instead of open, read, close.
29583 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29586 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29588 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29589 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29590 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29592 (__rawmemchr_sse2): Likewise.
29593 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29594 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29595 (__strchr_sse2): Likewise.
29596 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29597 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29598 (__strcasecmp_sse2): Likewise.
29599 (__strncasecmp_sse2): Likewise.
29600 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29601 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29602 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29603 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29604 (__strrchr_sse2): Likewise.
29605 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29607 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29608 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29609 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29610 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29611 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29612 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29613 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29614 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29615 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29616 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29617 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29618 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29619 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29620 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29621 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29622 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29623 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29624 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29625 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29626 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29627 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29628 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29629 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29630 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29631 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29632 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29633 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29634 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29635 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29636 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29638 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29640 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29641 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29642 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29643 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29645 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29647 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29648 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29649 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29650 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29652 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29653 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29654 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29655 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29656 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29657 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29658 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29659 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29660 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29661 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29662 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29663 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29664 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29666 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29669 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29670 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29671 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29673 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29674 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29675 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29676 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29677 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29678 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29679 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29680 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29681 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29682 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29683 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29684 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29685 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29686 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29687 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29688 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29689 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29692 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29694 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29695 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29696 * include/ifunc-impl-list.h: New file.
29697 * misc/ifunc-impl-list.c: Likewise.
29698 * misc/Makefile (routines): Add ifunc-impl-list.
29699 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29700 * string/test-string.h: Include <ifunc-impl-list.h>.
29701 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29702 TEST_NAME]: New variables.
29703 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29705 (test_init): Call __libc_ifunc_impl_list to initialize
29706 func_list if TEST_IFUNC and TEST_NAME are defined.
29708 * string/Makefile (strop-tests): Add bcopy and bzero.
29709 * string/test-bcopy.c: New file.
29710 * string/test-bzero.c: Likewise.
29711 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29713 * string/test-memset.c: Support bzero test if TEST_BZERO is
29715 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29717 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29719 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29722 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29724 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29725 * configure: Regenerated.
29727 * Makeconfig (+link-static-before-libc): Don't include
29728 $(link-static-libc).
29730 * libio/libio.h (_IO_pos_t): Remove.
29732 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29734 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29737 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29739 * crypt/crypt-entry.c: Include fips-private.h.
29740 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29741 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29742 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29743 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29745 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29747 * crypt/crypt-private.h: Include stdbool.h.
29748 (_ufc_setup_salt_r): Return bool.
29749 * crypt/crypt-entry.c: Include errno.h.
29750 (__crypt_r): Return NULL with EINVAL for bad salt.
29751 * crypt/crypt_util.c (bad_for_salt): New.
29752 (_ufc_setup_salt_r): Check that salt is long enough and within
29753 the specified alphabet.
29754 * crypt/badsalttest.c: New file.
29755 * crypt/Makefile (tests): Add it.
29756 ($(objpfx)badsalttest): New.
29758 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29760 * NEWS: Add entry for BZ #14602.
29762 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29764 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29766 * math/libm-test.inc: Update comment listing what functions and
29768 (isgreater_test): New function.
29769 (isgreaterequal_test): Likewise.
29770 (isless_test): Likewise.
29771 (islessequal_test): Likewise.
29772 (islessgreater_test): Likewise.
29773 (isunordered_test): Likewise.
29774 (main): Call the new functions.
29776 2012-10-09 Roland McGrath <roland@hack.frob.com>
29778 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29779 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29780 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29781 * sysdeps/i386/configure: Regenerated.
29782 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29783 * sysdeps/mach/configure: Regenerated.
29784 * sysdeps/mach/hurd/configure: Regenerated.
29785 * sysdeps/powerpc/configure: Regenerated.
29786 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29787 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29788 * sysdeps/s390/s390-32/configure: Regenerated.
29789 * sysdeps/s390/s390-64/configure: Regenerated.
29790 * sysdeps/sh/configure: Regenerated.
29791 * sysdeps/sparc/configure: Regenerated.
29792 * sysdeps/unix/sysv/linux/configure: Regenerated.
29793 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29794 * sysdeps/x86_64/configure: Regenerated.
29796 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29797 defined. Don't check if MAP is NULL.
29799 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29801 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29802 (_G_stat64): Likewise.
29803 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29804 (_G_stat64): Likewise.
29805 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29806 instead of struct _G_stat64.
29807 * libio/fileops.c (mmap_remap_check): Likewise.
29808 (decide_maybe_mmap): Likewise.
29809 (_IO_new_file_seekoff): Likewise.
29810 (_IO_file_stat): Likewise.
29811 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29813 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29814 instead of struct _G_stat64.
29815 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29817 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29820 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29822 (CHECK_EOL): New macro.
29823 (two_way_short_needle): Check beginning of haystack for EOL. Use
29825 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29826 Replace with CHECK_EOL.
29827 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29828 Replace with CHECK_EOL.
29830 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29832 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29834 * math/libm-test.inc: Update comment listing what functions and
29836 (finite_test): New function.
29837 (isinf_test): Likewise.
29838 (isnan_test): Likewise.
29839 (fpclassify_test): Test subnormal input.
29840 (isfinite_test): Likewise.
29841 (isnormal_test): Likewise.
29842 (main): Call the new functions.
29844 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29847 * Makerules (%.dynsym): Force C locale when running
29848 $(OBJDUMP) --dynamic-syms.
29850 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29852 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29855 2012-10-06 David S. Miller <davem@davemloft.net>
29857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29858 upper 32-bits of the length value in %o2 since we use branch-on-register
29859 tests which consider the entire 64-bit register.
29861 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29863 * string/test-strstr.c (check2): Add a test for page boundary.
29865 2012-10-05 David S. Miller <davem@davemloft.net>
29867 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29868 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29870 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29872 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29873 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29874 and bzero when HWCAP_SPARC_CRYPTO is present.
29876 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29879 * string/test-strstr.c (check2): New function.
29880 (test_main): Call check2.
29882 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29884 * string/bug-strcasestr1.c (do_test): Moved to ...
29885 * string/test-strcasestr.c (check1): Here. New function.
29886 (do_one_test): Break out result checking code into ...
29887 (check_result): This. New function.
29888 (do_one_test): Call check_result.
29889 (test_main): Call check1.
29890 * string/bug-strchr1.c (do_test): Moved to ...
29891 * string/test-strchr.c (check1): Here. New function.
29892 (do_one_test): Break out result checking code into ...
29893 (check_result): This. New function.
29894 (do_one_test): Call check_result.
29895 (test_main): Call check1.
29896 * string/bug-strstr1.c (main): Moved to ...
29897 * string/test-strstr.c (check1): Here. New function.
29898 (do_one_test): Break out result checking code into ...
29899 (check_result): This. New function.
29900 (do_one_test): Call check_result.
29901 (test_main): Call check1.
29902 * string/bug-strcasestr1.c: Removed.
29903 * string/bug-strchr1.c: Likewise.
29904 * string/bug-strstr1.c: Likewise.
29906 * elf/Makefile (dl-routines): Add hwcaps.
29907 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29908 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29909 (_dl_important_hwcaps): Moved to ...
29910 * elf/dl-hwcaps.c: Here. New file.
29911 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29914 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29915 if IS_IN_rtld isn't defined.
29917 * elf/dl-support.c (_dl_sysinfo_map): New.
29918 Include "get-dynamic-info.h" and "setup-vdso.h".
29919 (_dl_non_dynamic_init): Call setup_vdso.
29920 * elf/dynamic-link.h: Don't include <assert.h>.
29921 (elf_get_dynamic_info): Moved to ...
29922 * elf/get-dynamic-info.h: Here. New file.
29923 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29924 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29925 * elf/setup-vdso.h: Here. New file.
29926 * elf/rtld.c: Include "setup-vdso.h".
29927 (dl_main): Call setup_vdso.
29929 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29931 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29932 creal in comment listing functions tested. List finite, isinf,
29933 isnan, isless, islessequal, isgreater, isgreaterequal,
29934 islessgreater, isunordered, lgamma_r and pow10 as functions and
29935 macros not tested. Mention which functions not tested are aliases
29936 for other functions. Fix typo. Note that signs of NaNs are not
29939 * scripts/config.guess: Update from config.git.
29940 * scripts/config.sub: Likewise.
29942 2012-10-04 Roland McGrath <roland@hack.frob.com>
29944 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29945 * misc/madvise.c (madvise): Renamed to __madvise.
29946 Make madvise a weak alias.
29947 * include/sys/mman.h: Declare __madvise.
29948 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29949 * sysdeps/unix/syscalls.list
29950 (madvise): Make __madvise the strong name, and madvise a weak alias.
29951 * sysdeps/unix/sysv/linux/syscalls.list
29952 (madvise, mmap): Remove redundant entries.
29953 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29954 * malloc/malloc.c (mtrim): Likewise.
29955 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29957 2012-10-03 Roland McGrath <roland@hack.frob.com>
29959 * sysdeps/mach/hurd/dl-cache.c: File removed.
29960 * config.h.in (USE_LDCONFIG): New #undef.
29961 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29962 * configure: Regenerated.
29963 * elf/Makefile (dl-routines): Add dl-cache only under
29964 [$(use-ldconfig) = yes].
29965 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29966 cache on [USE_LDCONFIG].
29967 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29969 * elf/rtld.c (dl_main): Likewise.
29971 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29973 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29974 _SC_LEVEL4_CACHE_LINESIZE.
29976 2012-10-03 Roland McGrath <roland@hack.frob.com>
29978 * sysdeps/unix/bsd/confstr.h: File removed.
29980 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29982 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29985 2012-10-02 Roland McGrath <roland@hack.frob.com>
29987 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29988 Make 'mapoff' field ElfW(Off) rather than off_t.
29990 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29992 * nscd/Makefile: Remove nscd-cflags and all its users.
29993 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29994 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29997 * malloc.c (malloc_printerr): Clarify error message.
29999 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30003 Set bit_FMA_Usable if FMA is supported.
30004 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30006 (bit_FMA4_Usable): Updated.
30007 (index_FMA_Usable): New macro.
30008 (CPUID_FMA): Likewise
30009 (HAS_FMA): Defined with bit_FMA_Usable.
30011 2012-10-01 Roland McGrath <roland@hack.frob.com>
30013 * bits/types.h (__swblk_t): Type removed.
30014 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30015 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30017 (__SWBLK_T_TYPE): Likewise.
30018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30019 (__SWBLK_T_TYPE): Likewise.
30020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30021 (__SWBLK_T_TYPE): Likewise.
30022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30023 (__SWBLK_T_TYPE): Likewise.
30025 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30026 Honza Horak <hhorak@redhat.com>
30028 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30029 (xdr_mapname): Use YPMAXMAP as maxsize.
30030 (xdr_peername): Use YPMAXPEER as maxsize.
30031 (xdr_keydat): Use YPAXRECORD as maxsize.
30032 (xdr_valdat): Use YPMAXRECORD as maxsize.
30034 2012-10-01 Roland McGrath <roland@hack.frob.com>
30036 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30038 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30039 * csu/init-first.c: ... here.
30040 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30041 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30042 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30044 * sysdeps/i386/init-first.c: File removed.
30045 * sysdeps/sh/init-first.c: File removed.
30047 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30051 if x * y might underflow to zero and z is zero.
30052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30054 * math/libm-test.inc (min_subnorm_value): New variable.
30055 (fma_test): Add more tests.
30056 (fma_test_towardzero): Likewise.
30057 (fma_test_downward): Likewise
30058 (fma_test_upward): Likewise.
30059 (initialize): Set min_subnorm_value.
30061 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30067 mode for addition resulting in exact zero.
30068 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30071 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30072 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30073 * math/libm-test.inc (fma_test): Add more tests.
30074 (fma_test_towardzero): New function.
30075 (fma_test_downward): Likewise.
30076 (fma_test_upward): Likewise.
30077 (main): Call the new functions.
30079 2012-09-28 David S. Miller <davem@davemloft.net>
30081 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30083 2012-09-28 Roland McGrath <roland@hack.frob.com>
30085 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30086 instead of SIGALRM.
30088 * sysdeps/gnu/_G_config.h: Moved to ...
30089 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30090 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30091 * sysdeps/generic/_G_config.h: ... here.
30093 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30095 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30097 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30098 Conditionalize target on [libnss_test1.so-version].
30100 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30102 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30103 (elfobjdir): Move out of conditionals.
30105 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30106 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30107 (__nss_lookup_function): Conditionalize label remove_from_tree on
30108 [!DO_STATIC_NSS || SHARED], matching its only use.
30110 2012-09-28 David S. Miller <davem@davemloft.net>
30112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30113 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30115 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30117 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30119 when HWCAP_SPARC_CRYPTO is present.
30121 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30123 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30125 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30128 * stdio-common/vfprintf.c (process_string_arg): Revert
30131 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30133 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30135 * stdio-common/tst-sprintf.c: Include <locale.h>
30136 (main): Test sprintf's handling of incomplete multibyte
30139 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30141 * elf/dl-runtime.c (VERSYMIDX): Removed.
30142 * elf/dl-version.c (VERSYMIDX): Likewise.
30143 * elf/do-rel.h (VERSYMIDX): Likewise.
30144 (VALIDX): Likewise.
30145 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30146 * elf/rtld.c (VALIDX): Likewise.
30147 (ADDRIDX): Likewise.
30148 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30149 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30150 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30151 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30152 (VALIDX): Likewise.
30153 (ADDRIDX): Likewise.
30155 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30157 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30159 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30162 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30164 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30165 addresses are in the same scope as 192.0.2/24.
30166 * posix/gai.conf: Document new scope table defaults.
30168 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30171 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30172 for ftell. Compute offsets from write pointers instead.
30173 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30175 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30178 * libio/Makefile (tests): New test case tst-fseek.
30179 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30180 combination works in wide mode.
30181 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30182 state when the external buffer state changes.
30184 2012-09-27 David S. Miller <davem@davemloft.net>
30187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30188 pass reloc->r_addend in as the 'high' argument to
30189 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30193 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30195 * rt/tst-aio2.c: Include <pthread.h>.
30196 * rt/tst-aio3.c: Likewise.
30198 2012-09-27 Steve Ellcey <sellcey@mips.com>
30200 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30202 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30204 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30205 contents on [SHARED].
30207 2012-09-26 Marek Polacek <polacek@redhat.com>
30211 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30212 for C++ and GCC <4.3 as well as for non GCC compilers.
30214 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30218 2012-09-25 Roland McGrath <roland@hack.frob.com>
30220 * Makefile.in (all, install): Declare with .PHONY.
30221 Reported by Michael Hope <michael.hope@linaro.org>.
30223 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30225 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30226 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30228 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30230 (sydep_routines): Add the new and the internal functions.
30231 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30232 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30234 (GLIBC_2.17): Add the new function.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30236 (GLIBC_2.17): Likewise.
30237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30238 (GLIBC_2.17): Likewise.
30239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30240 (GLIBC_2.17): Likewise.
30241 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30243 2012-09-25 Alan Modra <amodra@gmail.com>
30245 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30246 Add release barrier before setting once_control to say
30247 initialisation is done. Add hints on lwarx. Use macro in
30249 (clear_once_control): Add release barrier.
30251 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30254 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30256 * math/s_clog10.c (__clog10): Likewise.
30257 * math/s_clog10f.c (__clog10f): Likewise.
30258 * math/s_clog10l.c (__clog10l): Likewise.
30259 * math/s_clogf.c (__clogf): Likewise.
30260 * math/s_clogl.c (__clogl): Likewise.
30261 * math/Makefile (libm-calls): Add x2y2m1.
30262 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30263 (__x2y2m1): Likewise.
30264 (__x2y2m1l): Likewise.
30265 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30266 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30268 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30269 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30270 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30271 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30272 * sysdeps/i386/fpu/libm-test-ulps: Update.
30273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30276 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30277 int as type of variable DEPTH.
30278 (glob): Use size_t instead of int as type of variables NEWCOUNT
30281 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30283 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30284 Add s_sincosf-sse2.
30285 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30286 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30287 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30288 macros for using routine as __sincosf_ia32.
30289 Use macro for function declaration and weak_alias.
30290 * sysdeps/i386/fpu/libm-test-ulps: Update.
30292 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30295 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30296 subnormal argument.
30297 * math/s_cexpf.c (__cexpf): Likewise.
30298 * math/s_csinf.c (__csinf): Likewise.
30299 * math/s_csinhf.c (__csinhf): Likewise.
30300 * math/s_ctanf.c (__ctanf): Likewise.
30301 * math/s_ctanhf.c (__ctanhf): Likewise.
30302 * math/s_ccosh.c (__ccoshf): Likewise.
30303 * math/s_cexp.c (__cexpl): Likewise.
30304 * math/s_csin.c (__csin): Likewise.
30305 * math/s_csinh.c (__csinh): Likewise.
30306 * math/s_ctan.c (__ctan): Likewise.
30307 * math/s_ctanh.c (ctanh): Likewise.
30308 * math/s_ccoshl.c (__ccoshl): Likewise.
30309 * math/s_cexpl.c (__cexpl): Likewise.
30310 * math/s_csinl.c (__csinl): Likewise.
30311 * math/s_csinhl.c (__csinhl): Likewise.
30312 * math/s_ctanl.c (__ctanl): Likewise.
30313 * math/s_ctanhl.c (__ctanhl): Likewise.
30315 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30317 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30318 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30319 (_IO_off_t): Define to __off_t, not _G_off_t.
30320 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30321 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30322 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30323 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30324 type of __dummy and __dummy2 fields.
30325 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30326 (_G_ssize_t): Likewise.
30327 (_G_off_t): Likewise.
30328 (_G_pid_t): Likewise.
30329 (_G_uid_t): Likewise.
30330 (_G_wchar_t): Likewise.
30331 (_G_wint_t): Likewise.
30332 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30333 (_G_ssize_t): Likewise.
30334 (_G_off_t): Likewise.
30335 (_G_pid_t): Likewise.
30336 (_G_uid_t): Likewise.
30337 (_G_wchar_t): Likewise.
30338 (_G_wint_t): Likewise.
30339 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30340 (_G_ssize_t): Likewise.
30341 (_G_off_t): Likewise.
30342 (_G_pid_t): Likewise.
30343 (_G_uid_t): Likewise.
30344 (_G_wchar_t): Likewise.
30345 (_G_wint_t): Likewise.
30347 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30349 * malloc/arena.c: Include malloc-sysdep.h.
30350 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30351 is sufficient to shrink the heap or an unmap is needed.
30352 * sysdeps/generic/malloc-sysdep.h: New file. Define
30353 new function check_may_shrink_heap.
30354 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30355 new function check_may_shrink_heap.
30357 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30359 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30362 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30364 * catgets/test-gencat.sh: Add "set -e".
30365 * elf/tst-pathopt.sh: Likewise.
30366 * grp/tst_fgetgrent.sh: Likewise.
30367 * iconvdata/run-iconv-test.sh: Likewise.
30368 * intl/tst-gettext.sh: Likewise.
30369 * intl/tst-gettext2.sh: Likewise.
30370 * intl/tst-gettext4.sh: Likewise.
30371 * intl/tst-gettext6.sh: Likewise.
30372 * intl/tst-translit.sh: Likewise.
30373 * io/ftwtest-sh: Likewise.
30374 * libio/test-freopen.sh: Likewise.
30375 * malloc/tst-mtrace.sh: Likewise.
30376 * posix/globtest.sh: Likewise.
30377 * posix/tst-getconf.sh: Likewise.
30378 * posix/wordexp-tst.sh: Likewise.
30379 * stdio-common/tst-printf.sh: Likewise.
30380 * stdio-common/tst-unbputc.sh: Likewise.
30381 * stdlib/tst-fmtmsg.sh: Likewise.
30382 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30383 * catgets/Makefile: Do not specify -e option when running
30384 testsuite shell scripts.
30385 * elf/Makefile: Likewise.
30386 * grp/Makefile: Likewise.
30387 * iconvdata/Makefile: Likewise.
30388 * intl/Makefile: Likewise.
30389 * io/Makefile: Likewise.
30390 * libio/Makefile: Likewise.
30391 * malloc/Makefile: Likewise.
30392 * posix/Makefile: Likewise.
30393 * stdio-common/Makefile: Likewise.
30394 * stdlib/Makefile: Likewise.
30395 * sysdeps/x86_64/Makefile: Likewise.
30397 * io/ftwtest-sh: Add copyright header.
30398 * posix/globtest.sh: Likewise.
30399 * posix/tst-getconf.sh: Likewise.
30400 * posix/wordexp-tst.sh: Likewise.
30401 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30403 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30406 * Makeconfig (+link): Defined as $(+link-static) if
30407 $(build-shared) isn't yes.
30408 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30410 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30412 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30415 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30416 new chunk size with MALLOC_ALIGN_MASK.
30418 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30421 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30423 (__printf_fphex): Determine rounding using get_rounding_mode and
30425 * stdio-common/tst-printf-round.c (struct hex_test): New
30427 (hex_tests): New variable.
30428 (test_hex_in_one_mode): New function.
30429 (do_test): Also run tests for hex float output.
30431 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30433 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30434 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30435 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30436 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30437 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30438 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30439 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30440 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30442 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30444 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30445 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30446 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30447 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30449 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30452 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30454 * elf/tst-rtld-load-self.sh: New test.
30455 * elf/Makefile: Run it.
30457 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30459 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30460 (tst-writev-ENV): Remove.
30461 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30463 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30465 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30467 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30469 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30471 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30473 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30474 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30475 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30478 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30481 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30482 * config.make.in (have-cpp-asm-debuginfo): Removed.
30483 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30484 * configure: Regenerated.
30486 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30489 * stdio-common/printf_fp.c: Include <stdbool.h> and
30491 (___printf_fp): Determine rounding using get_rounding_mode and
30493 * stdio-common/tst-printf-round.c: New file.
30494 * stdio-common/Makefile (tests): Add tst-printf-round.
30495 (link-libm): New variable.
30496 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30498 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30501 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30502 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30504 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30507 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30509 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30510 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30511 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30512 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30514 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30517 * include/rounding-mode.h: New file.
30518 * sysdeps/generic/get-rounding-mode.h: Likewise.
30519 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30520 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30521 (MAX_VALUE): New macro.
30522 (MIN_VALUE): Likewise.
30523 (overflow_value): New function.
30524 (underflow_value): Likewise.
30525 (round_and_return): Use overflow_value and underflow_value to
30526 determine return values in overflow and underflow cases. Use
30527 round_away to determine rounding depending on rounding mode.
30528 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30529 determine return values in overflow and underflow cases.
30530 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30531 (struct test_results): New structure.
30532 (struct test): Use struct test_results to store expected results
30533 for all rounding modes.
30534 (TEST): Include expected results for all rounding modes.
30535 (test_in_one_mode): New function.
30536 (do_test): Use test_in_one_mode to compute and check results.
30537 Check results for all rounding modes.
30538 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30541 2012-12-09 Allan McRae <allan@archlinux.org>
30543 * sysdeps/i386/fpu/libm-test-ulps: Update
30545 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30547 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30548 (_G_int32_t): Likewise.
30549 (_G_uint16_t): Likewise.
30550 (_G_uint32_t): Likewise.
30551 (_G_HAVE_BOOL): Likewise.
30552 (_G_HAVE_ATEXIT): Likewise.
30553 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30554 (_G_HAVE_IO_FILE_OPEN): Likewise.
30555 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30556 (_G_int32_t): Likewise.
30557 (_G_uint16_t): Likewise.
30558 (_G_uint32_t): Likewise.
30559 (_G_HAVE_BOOL): Likewise.
30560 (_G_HAVE_ATEXIT): Likewise.
30561 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30562 (_G_HAVE_IO_FILE_OPEN): Likewise.
30563 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30564 (_G_int32_t): Likewise.
30565 (_G_uint16_t): Likewise.
30566 (_G_uint32_t): Likewise.
30567 (_G_HAVE_BOOL): Likewise.
30568 (_G_HAVE_ATEXIT): Likewise.
30569 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30570 (_G_HAVE_IO_FILE_OPEN): Likewise.
30572 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30574 * csu/libc-tls.c: Update copyright years.
30576 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30578 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30579 [!_G_USING_THUNKS]: Remove conditional code.
30580 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30581 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30583 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30584 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30585 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30586 (_G_VTABLE_LABEL_PREFIX): Likewise.
30587 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30588 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30590 (_G_VTABLE_LABEL_PREFIX): Likewise.
30591 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30592 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30593 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30594 (_G_VTABLE_LABEL_PREFIX): Likewise.
30595 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30597 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30599 * libio/Makefile: Include ../Makeconfig before tests.
30600 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30601 only if $(build-shared) is yes.
30603 * iconv/gconv_db.c: Update copyright years.
30605 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30607 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30608 unwind info if defined PIC. Fix special cases description.
30609 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30611 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30613 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30615 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30617 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30619 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30622 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30623 (LDLIBS-tst-chk4): This.
30624 (LDFLAGS-tst-chk5): Renamed to ...
30625 (LDLIBS-tst-chk5): This.
30626 (LDFLAGS-tst-chk6): Renamed to ...
30627 (LDLIBS-tst-chk6): This.
30628 (LDFLAGS-tst-lfschk4): Renamed to ...
30629 (LDLIBS-tst-lfschk4): This.
30630 (LDFLAGS-tst-lfschk5): Renamed to ...
30631 (LDLIBS-tst-lfschk5): This.
30632 (LDFLAGS-tst-lfschk6): Renamed to ...
30633 (LDLIBS-tst-lfschk6): This.
30635 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30636 on $(common-objpfx)soversions.mk.
30638 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30641 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30644 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30646 * malloc/arena.c (arena_get_retry): New function that gets
30647 another arena for the caller to try its request on.
30648 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30649 current arena cannot fulfill the request.
30650 (__libc_memalign): Likewise.
30651 (__libc_memalign): Likewise.
30652 (__libc_pvalloc): Likewise.
30653 (__libc_calloc): Likewise.
30655 2012-09-05 John Tobey <john.tobey@gmail.com>
30658 * manual/arith.texi (Operations on Complex): Fix description
30659 of carg branch cut.
30661 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30664 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30668 * manual/memory.texi (Memory): Make order of menu items match
30671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30673 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30674 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30675 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30677 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30679 * csu/libc-tls.c (static_dtv): Renamed to ...
30680 (_dl_static_dtv): This. Make it global.
30681 (_dl_initial_dtv): Removed.
30682 (__libc_setup_tls): Updated.
30683 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30684 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30687 2012-09-06 Petr Machata <pmachata@redhat.com>
30689 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30690 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30691 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30692 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30694 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30697 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30698 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30701 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30704 * Makeconfig (link-static-before-libc): Replace $(+prector)
30706 (link-static-after-libc): Replace $(+postctor) with
30708 (link-bounded): Replace $(+prector)/$(+postctor) with
30709 $(+prectorT)/$(+postctorT).
30710 (+prectorT): New macro.
30711 (+postctorT): Likewise.
30713 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30715 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30716 (round_str): Handle values above the maximum for IBM long double
30718 * stdlib/tst-strtod-round.c (tests): Regenerated.
30720 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30722 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30724 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30725 zarch_nohighgprs around the zarch optimized routines.
30726 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30727 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30731 2012-09-05 David S. Miller <davem@davemloft.net>
30733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30735 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30736 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30737 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30738 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30741 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30743 * malloc/arena.c: Fold copyright years.
30744 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30746 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30748 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30750 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30752 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30754 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30756 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30757 change internal state upon failure.
30759 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30761 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30762 * malloc/memusage.c (mmap): Likewise.
30763 (mmap64, mremap): Likewise. Adjust name in comment.
30765 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30767 * libio/fileops.c: Fix typos in comments.
30768 * libio/oldfileops.c: Likewise.
30769 * libio/wfileops.c: Likewise.
30771 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30774 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30775 (tst-malloc-usable-ENV): Set environment for test case.
30776 * malloc/hooks.c (malloc_check_get_size): New function to get
30778 * malloc/malloc.c (musable): Use malloc_check_get_size.
30779 * malloc/tst-malloc-usable.c: New test case.
30781 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30783 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30785 2012-09-05 Allan McRae <allan@archlinux.org>
30788 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30789 determine header location.
30790 * configure: Regenerated.
30792 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30794 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30796 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30797 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30799 (test): Regenerate.
30801 2012-09-04 David S. Miller <davem@davemloft.net>
30803 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30804 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30807 2012-09-04 Florian Weimer <fweimer@redhat.com>
30809 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30812 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30814 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30817 * libio/iogetdelim.c: Include <limits.h>.
30818 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30819 + len + 1 would overflow.
30821 2012-09-03 Andreas Jaeger <aj@suse.de>
30823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30824 * sysdeps/i386/fpu/libm-test-ulps: Update.
30826 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30828 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30829 Add s_sinf-sse2, s_conf-sse2.
30831 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30832 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30833 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30834 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30836 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30837 for using routine as __sinf_ia32.
30838 Use macro for function declaration and weak_alias.
30839 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30840 for using routine as __cosf_ia32.
30841 Use macro for function declaration and weak_alias.
30843 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30844 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30846 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30847 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30850 * math/libm-test.inc (cos_test): Add more test cases.
30851 (sin_test): Likewise.
30852 (sincos_test): Likewise.
30854 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30856 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30857 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30859 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30861 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30864 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30865 first element of the GOT.
30866 (elf_machine_load_address): Return the difference between
30867 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30869 2012-09-01 Allan McRae <allan@archlinux.org>
30872 * configure.in (AWK): Require gawk version 3.0 or later.
30873 * configure: Regenerated.
30875 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30877 * sysdeps/unix/sysv/linux/kernel-features.h
30878 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30880 [__NR_clock_getres]: Make code unconditional.
30881 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30882 (clock_getcpuclockid): Remove code left unreachable by removal of
30884 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30885 code unconditional.
30886 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30888 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30889 Make code unconditional.
30890 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30891 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30892 * sysdeps/unix/sysv/linux/clock_settime.c
30893 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30895 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30896 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30898 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30901 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30902 scripts/test-installation.pl.
30904 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30905 and $ld_so_version if it is set.
30907 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30910 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30911 failure if reading from procfs failed.
30912 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30914 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30916 * sysdeps/unix/sysv/linux/kernel-features.h
30917 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30918 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30919 Remove conditional code.
30920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30921 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30922 Remove conditional code.
30923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30924 * sysdeps/unix/sysv/linux/i386/fxstat.c
30925 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30927 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30928 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30930 * sysdeps/unix/sysv/linux/i386/lxstat.c
30931 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30933 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30934 Remove conditional code.
30935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30936 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30937 Remove conditional code.
30938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30939 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30940 <kernel-features.h>.
30941 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30943 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30944 Remove conditional code.
30945 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30946 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30947 Remove conditional.
30949 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30952 * NEWS: Add fixed bug number.
30954 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30957 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30958 underflowing exponent in case of negative sign.
30959 * stdlib/tst-strtod-round-data: Add more tests.
30960 * stdlib/tst-strtod-round.c (tests): Regenerated.
30963 * stdlib/strtod_l.c (NDIG): Remove.
30964 (HEXNDIG): Likewise.
30965 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30966 smallest representable value.
30967 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30968 lie within an exact representation of 1/2 ulp of the result.
30969 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30971 (TENS_P9_IDX): Define unconditionally.
30972 (TENS_P9_SIZE): Likewise.
30973 (TENS_P10_IDX): Likewise.
30974 (TENS_P10_SIZE): Likewise.
30975 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30976 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30977 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30978 entries for 10^2^13 and 10^2^14.
30979 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30980 (TENS_P13_IDX): Define.
30981 (TENS_P13_SIZE): Likewise.
30982 (TENS_P14_IDX): Likewise.
30983 (TENS_P14_SIZE): Likewise.
30984 (_fpioconst_pow10): Change array size to
30985 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30987 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30988 1024]: Add entries for 10^2^13 and 10^2^14.
30989 [LAST_POW10 > _LAST_POW10]: Remove #error.
30990 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30991 (_fpioconst_pow10): Change array size to
30992 FPIOCONST_POW10_ARRAY_SIZE.
30993 * stdlib/gen-fpioconst.c: New file.
30994 * stdlib/gen-tst-strtod-round.c: Likewise.
30995 * stdlib/tst-strtod-round-data: Likewise.
30996 * stdlib/tst-strtod-round.c: Likewise.
30997 * stdlib/Makefile (tests): Add tst-strtod-round.
31000 * stdlib/strtod_l.c: Include <stdint.h>.
31001 (NDEBUG): Do not define.
31002 (round_and_return): Change EXPONENT parameter to type intmax_t.
31003 Rearrange calculations to avoid internal overflow possibilities.
31004 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31005 Rearrange calculations to avoid internal overflow possibilities.
31006 Assert that number fits inside MPNSIZE limbs.
31007 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31008 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31009 calculations and add assertions to avoid internal overflow
31010 possibilities. Add casts to avoid signed/unsigned operations.
31011 * stdlib/tst-strtod-overflow.c: New file.
31012 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31014 2012-08-25 Marek Polacek <polacek@redhat.com>
31016 * time/time.h: Fix some typos in comments.
31018 2012-08-23 Roland McGrath <roland@hack.frob.com>
31020 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31021 * posix/tst-rfc3484-2.c: Likewise.
31022 * posix/tst-rfc3484-3.c: Likewise.
31024 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31026 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31027 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31029 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31031 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31032 #include of fxstatat64.c.
31034 2012-08-22 Roland McGrath <roland@hack.frob.com>
31036 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31037 * shadow/getspent_r.c: Likewise.
31038 * shadow/getspnam.c: Likewise.
31039 * shadow/getspnam_r.c: Likewise.
31040 * gshadow/getsgent.c: Likewise.
31041 * gshadow/getsgent_r.c: Likewise.
31042 * gshadow/getsgnam.c: Likewise.
31043 * gshadow/getsgnam_r.c: Likewise.
31044 * inet/getnetbyad.c: Likewise.
31045 * inet/getnetbyad_r.c: Likewise.
31046 * inet/getnetbynm.c: Likewise.
31047 * inet/getnetbynm_r.c: Likewise.
31048 * inet/getnetent.c: Likewise.
31049 * inet/getnetent_r.c: Likewise.
31050 * inet/getproto.c: Likewise.
31051 * inet/getproto_r.c: Likewise.
31052 * inet/getprtent.c: Likewise.
31053 * inet/getprtent_r.c: Likewise.
31054 * inet/getprtname.c: Likewise.
31055 * inet/getprtname_r.c: Likewise.
31056 * inet/getrpcbyname.c: Likewise.
31057 * inet/getrpcbyname_r.c: Likewise.
31058 * inet/getrpcbynumber.c: Likewise.
31059 * inet/getrpcbynumber_r.c: Likewise.
31060 * inet/getrpcent.c: Likewise.
31061 * inet/getrpcent_r.c: Likewise.
31062 * inet/getaliasent.c: Likewise.
31063 * inet/getaliasent_r.c: Likewise.
31064 * inet/getaliasname.c: Likewise.
31065 * inet/getaliasname_r.c: Likewise.
31066 * nscd/getgrgid_r.c: Likewise.
31067 * nscd/getgrnam_r.c: Likewise.
31068 * nscd/gethstbyad_r.c: Likewise.
31069 * nscd/gethstbynm3_r.c: Likewise.
31070 * nscd/getpwnam_r.c: Likewise.
31071 * nscd/getpwuid_r.c: Likewise.
31072 * nscd/getsrvbynm_r.c: Likewise.
31073 * nscd/getsrvbypt_r.c: Likewise.
31074 * nscd/gai.c: Likewise.
31076 * configure.in (build_nscd): New substituted variable, set
31077 by --disable-build-nscd and defaults to $use_nscd.
31078 * configure: Regenerated.
31079 * config.make.in (build-nscd): New substituted variable.
31080 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31081 Change conditional to require [$(build-nscd) = yes] as well.
31082 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31085 * configure.in (use_nscd): New substituted variable, set by
31086 --disable-nscd. If enabled, define USE_NSCD.
31087 * configure: Regenerated.
31088 * config.h.in: Add USE_NSCD.
31089 * config.make.in (use-nscd): New substituted variable.
31090 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31091 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31092 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31093 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31094 (CFLAGS-getgrnam_r.c): Likewise.
31095 (CFLAGS-initgroups.c): Likewise.
31096 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31097 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31099 * inet/getnetgrent_r.c
31100 (nscd_setnetgrent): New function, broken out of ...
31101 (setnetgrent): ... here. Call it.
31102 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31103 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31104 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31105 * nscd/Makefile (routines, aux): Move definitions after include of
31106 Makeconfig. Conditionalize on [$(use-nscd) != no].
31107 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31108 Conditionalize on [USE_NSCD].
31109 (is_nscd, nscd_init_cb): Likewise.
31110 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31111 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31112 * nss/nss_db/db-init.c: Likewise.
31113 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31115 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31116 (make_request): Use it.
31117 (cache_valid_p): New function.
31118 (__check_pf): Use it.
31119 * NEWS: Add item for --disable-nscd.
31121 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31123 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31124 to support sed >= 4.2.1-20-ga9bf076.
31125 * configure: Regenerated.
31127 2012-08-22 Roland McGrath <roland@hack.frob.com>
31129 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31130 Conditionalize whole body on [IREL].
31132 2012-08-22 Jeff Law <law@redhat.com>
31135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31136 if the family is PF_UNSPEC.
31138 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31140 * Makerules (lib-version): Rename from V.
31141 (install-lib-nosubdir): Change V to lib-version.
31143 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31146 * powerpc32/power6/wcschr.c: New file.
31147 * powerpc32/power6/wcscpy.c: New file.
31148 * powerpc32/power6/wcsrchr.c: New file.
31149 * powerpc64/power6/wcschr.c: New file.
31150 * powerpc64/power6/wcscpy.c: New file.
31151 * powerpc64/power6/wcsrchr.c: New file.
31153 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31155 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31156 (two_way_short_needle): Use it.
31157 * string/strstr.c (AVAILABLE1_USES_J): Define.
31158 * string/strcasestr.c: Likewise.
31160 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31162 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31165 * NEWS: Add an entry.
31166 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31167 define their defaults.
31168 (two_way_short_needle): Detect end-of-string on-the-fly.
31169 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31170 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31171 * string/bug-strcasestr1.c: New test.
31172 * string/Makefile: Run it.
31174 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31177 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31178 the first character.
31180 2012-08-21 Roland McGrath <roland@hack.frob.com>
31182 * csu/elf-init.c (__libc_csu_irel): Function removed.
31183 * csu/libc-start.c (apply_irel): New function.
31184 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31186 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31188 * sysdeps/unix/sysv/linux/kernel-features.h
31189 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31190 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31191 <kernel-features.h>.
31192 [__NR_fadvise64_64]: Make code unconditional.
31193 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31194 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31195 !__NR_fadvise64_64)]: Likewise.
31196 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31197 !__NR_fadvise64_64))]: Likewise.
31198 [__NR_fadvise64]: Make code unconditional.
31199 [!__NR_fadvise64]: Remove conditional code.
31200 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31201 <kernel-features.h>.
31202 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31204 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31207 not include <kernel-features.h>.
31208 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31210 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31212 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31213 include <kernel-features.h>.
31214 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31216 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31219 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31222 slight instruction rearrangements per scrollpipe analysis.
31223 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31225 2012-08-20 Roland McGrath <roland@hack.frob.com>
31227 * manual/syslog.texi (syslog; vsyslog, closelog):
31228 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31229 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31231 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31232 DSOCAPS to match condition on defining it.
31234 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31236 * sysdeps/unix/sysv/linux/kernel-features.h
31237 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31239 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31240 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31242 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31243 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31245 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31246 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31248 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31249 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31251 * sysdeps/unix/sysv/linux/kernel-features.h
31252 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31253 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31255 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31256 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31257 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31258 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31259 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31260 Make code unconditional.
31261 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31262 (__mmap64) [!__NR_mmap2]: Likewise.
31263 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31264 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31265 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31266 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31267 [__NR_mmap2]: Make code unconditional.
31268 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31269 (__mmap64) [!__NR_mmap2]: Likewise.
31271 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31273 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31275 2012-08-18 Andreas Jaeger <aj@suse.de>
31277 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31279 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31281 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31282 * include/unistd.h (__have_sock_cloexec): Likewise.
31283 (__have_pipe2): Likewise.
31284 (__have_dup3): Likewise.
31286 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31289 * include/unistd.h (__have_pipe2): Change define into an extern int.
31290 (__have_dup3): Likewise.
31291 * socket/have_sock_cloexec.c: Include fcntl.h.
31292 (__have_pipe2): New variable.
31293 (__have_dup3): Likewise.
31295 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31297 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31299 2012-08-17 Marek Polacek <polacek@redhat.com>
31301 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31302 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31304 2012-08-17 Roland McGrath <roland@hack.frob.com>
31306 * configure.in: Add AC_SUBST for sysheaders.
31307 * configure: Regenerated.
31308 * config.make.in (sysheaders): New substituted variable.
31310 * sysdeps/unix/mkfifo.c: Moved ...
31311 * sysdeps/posix/mkfifo.c: ... here.
31312 * sysdeps/unix/mkfifoat.c: Moved ...
31313 * sysdeps/posix/mkfifoat.c: ... here.
31315 * sysdeps/unix/utime.c: Moved ...
31316 * sysdeps/posix/utime.c: ... here.
31318 * sysdeps/unix/time.c: Moved ...
31319 * sysdeps/posix/time.c: ... here.
31320 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31323 * sysdeps/unix/nice.c: Moved ...
31324 * sysdeps/posix/nice.c: ... here.
31326 * sysdeps/unix/alarm.c: Moved ...
31327 * sysdeps/posix/alarm.c: ... here.
31329 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31331 2012-08-17 Jeff Law <law@redhat.com>
31333 * intl/Makefile (codeset_mo): New variable.
31334 ($(codeset_mo)): New target.
31335 (tst-codeset.out): Depend on that. Remove explicit rule.
31336 (tst-gettext3.out, tst-gettext5.out): Likewise.
31337 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31338 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31339 * intl/tst-codeset.sh: Remove.
31340 * intl/tst-gettext3.sh: Likewise.
31341 * intl/tst-gettext5.sh: Likewise.
31343 2012-08-17 Roland McGrath <roland@hack.frob.com>
31345 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31346 * sysdeps/unix/syscalls.list: ... here.
31348 * sysdeps/posix/getaddrinfo.c
31349 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31350 (gaiconf_init, gaiconf_reload): Use them.
31351 [!_STATBUF_ST_NSEC]
31352 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31353 Define using time_t rather than struct timespec.
31355 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31356 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31358 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31360 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31361 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31364 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31365 __libc_cleanup_push argument.
31367 * bits/param.h: New file.
31368 * misc/sys/param.h: New file.
31369 * include/sys/param.h: New file.
31370 * misc/Makefile (headers): Add bits/param.h.
31371 * sysdeps/generic/sys/param.h: File removed.
31372 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31373 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31374 * sysdeps/mach/hurd/bits/param.h: New file.
31375 * sysdeps/mach/hurd/sys/param.h: File removed.
31377 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31380 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31382 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31383 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31386 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31387 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31388 rather than -D_IO_MTSAFE_IO conditionally.
31389 * stdio-common/Makefile (CPPFLAGS): Likewise.
31390 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31391 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31392 Use $(libio-mtsafe).
31393 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31394 of -D_IO_MTSAFE_IO.
31395 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31396 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31397 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31398 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31399 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31400 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31401 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31402 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31403 (CFLAGS-fread_u_chk.c): Likewise.
31404 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31405 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31406 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31407 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31408 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31409 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31410 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31411 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31412 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31414 * libio/Makefile: Test [$(libc-reentrant) = yes]
31415 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31418 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31419 * sysdeps/pthread/configure: File removed.
31420 * sysdeps/pthread/Makeconfig: New file.
31421 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31422 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31424 2012-08-16 Gary Benson <gbenson@redhat.com>
31426 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31427 unmapping the first object in a namespace.
31429 2012-08-16 Roland McGrath <roland@hack.frob.com>
31431 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31432 (__internal_setnetgrent): ... this. Add internal_function to
31433 definition. Add libc_hidden_def.
31434 (setnetgrent): Update caller.
31435 (internal_endnetgrent): Renamed to ...
31436 (__internal_endnetgrent): ... this. Add internal_function to
31437 definition. Add libc_hidden_def.
31438 (endnetgrent): Update caller.
31439 (internal_getnetgrent_r): Renamed to ...
31440 (__internal_getnetgrent_r): ... this. Add internal_function to
31441 definition. Add libc_hidden_def.
31442 (__getnetgrent_r): Update caller.
31443 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31445 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31447 * stdlib/longlong.h: Update from GCC.
31449 2012-08-16 Roland McGrath <roland@hack.frob.com>
31451 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31452 on _QL, which is set by umul_ppmm but never used.
31453 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31454 variables, which are set by GMP macros but never used.
31455 * stdio-common/_itowa.c (_itowa): Likewise.
31456 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31457 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31459 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31461 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31462 struct La_sh_regs is not constant.
31463 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31464 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31465 and struct La_sparc64_regs are not constant.
31467 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31469 * sysdeps/unix/sysv/linux/kernel-features.h
31470 (__ASSUME_POSIX_TIMERS): Remove.
31471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31473 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31474 Make code unconditional.
31475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31476 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31477 Make code unconditional.
31478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31479 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31480 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31481 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31482 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31483 Make code unconditional.
31484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31485 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31486 (__libc_missing_posix_timers): Remove.
31488 2012-08-15 Roland McGrath <roland@hack.frob.com>
31490 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31491 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31493 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31495 * elf/dl-sym.c: Include <stdlib.h>.
31497 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31498 constants, which avoids warnings in 32-bit builds.
31500 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31501 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31503 * misc/lseek.c: File moved to ...
31504 * io/lseek.c: ... here.
31506 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31508 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31509 shifting LEN more than 31 bits at once.
31511 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31514 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31515 segmentation fault for a case of two empty input strings.
31516 * string/test-strncasecmp.c (check1): Renamed to...
31517 (bz12205): ...this.
31518 (bz14195): Add new testcase for two empty input strings and N > 0.
31519 (test_main): Call new testcase, adapt for renamed function.
31521 2012-08-15 Andreas Jaeger <aj@suse.de>
31524 * crypt/md5test2.c: New test, based on test supplied by Serge
31525 Belyshev <belyshev@depni.sinp.msu.ru>.
31526 * crypt/Makefile (xtests): Add md5test-giant..
31527 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31529 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31532 * crypt/md5.c (md5_process_block): Don't assume the buffer
31533 length is less than 2**32.
31534 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31535 length is less than 2**64.
31537 2012-08-15 Roland McGrath <roland@hack.frob.com>
31539 * string/str-two-way.h: Include <sys/param.h>.
31540 (MAX): Macro removed.
31542 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31543 Move #define and #undef of memmove to just before and after
31544 including <string.h>.
31546 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31547 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31548 and after including <string.h>. Move declarations of
31549 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31550 to before #include "string/memmove.c".
31552 * include/dirent.h: Declare __getdirentries.
31554 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31555 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31557 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31559 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31560 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31561 * sysdeps/i386/configure: Regenerated.
31562 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31563 STABS_CURRENT_FILE, and STABS_FUN.
31564 (END): Remove call to STABS_FUN_END.
31565 (STABS_CURRENT_FILE1): Delete.
31566 (STABS_CURRENT_FILE): Likewise.
31567 (STABS_FUN): Likewise.
31568 (STABS_FUN_END): Likewise.
31569 (STABS_FUN2): Likewise.
31570 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31571 * sysdeps/x86_64/configure: Regenerated.
31573 2012-08-14 Roland McGrath <roland@hack.frob.com>
31575 * elf/dl-open.c: Include <atomic.h>.
31576 * elf/dl-lookup.c: Likewise.
31578 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31580 * sysdeps/unix/sysv/linux/kernel-features.h
31581 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31582 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31584 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31586 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31587 condition on __ASSUME_CLONE_THREAD_FLAGS.
31589 2012-08-14 Andreas Jaeger <aj@suse.de>
31591 * sysdeps/i386/fpu/libm-test-ulps: Update.
31593 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31595 * include/atomic.h (atomic_exchange_and_add): Split into ...
31596 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31599 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31603 2012-08-13 Jeff Law <law@redhat.com>
31605 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31606 null byte in the output string.
31608 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31610 * sysdeps/unix/sysv/linux/kernel-features.h
31611 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31612 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31613 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31614 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31615 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31616 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31617 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31619 2012-08-09 Jeff Law <law@redhat.com>
31622 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31623 When avoid_arena is set, don't retry in the that arena. Pick the
31624 next one, whatever it might be.
31625 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31626 (arena_lock): Pass in new parameter to arena_get2.
31627 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31629 (__libc_malloc): Unify retrying after main arena failure with
31630 __libc_memalign version.
31631 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31633 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31636 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31637 to __redirect_strstr.
31638 (__strstr_sse42): Use typeof __redirect_strstr.
31639 (__strstr_ia32): Likewise.
31640 (__libc_strstr): New prototype.
31641 (strstr): Renamed to ...
31642 (__libc_strstr): This.
31643 (strstr): New strong alias of __libc_strstr.
31644 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31645 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31648 (__libc_time): New prototype.
31649 (time_ifunc): Replace time with __libc_time.
31650 (time): New strong alias and hidden definition of __libc_time.
31651 (__GI_time): Remove strong alias.
31652 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31653 Include <stddef.h>.
31654 (memmove): Redefined to __redirect_memmove.
31655 (__memmove_sse2): Use typeof __redirect_memmove.
31656 (__memmove_ssse3): Likewise.
31657 (__memmove_ssse3_back): Likewise.
31658 (__libc_memmove): New prototype.
31659 (memmove): Renamed to ...
31660 (__libc_memmove): This.
31661 (memmove): New strong alias of __libc_memmove.
31663 2012-08-08 Mark Salter <msalter@redhat.com>
31666 (R_MN10300_TLS_GD): Define.
31667 (R_MN10300_TLS_LD): Likewise.
31668 (R_MN10300_TLS_LDO): Likewise.
31669 (R_MN10300_TLS_GOTIE): Likewise.
31670 (R_MN10300_TLS_IE): Likewise.
31671 (R_MN10300_TLS_LE): Likewise.
31672 (R_MN10300_TLS_DTPMOD): Likewise.
31673 (R_MN10300_TLS_DTPOFF): Likewise.
31674 (R_MN10300_TLS_TPOFF): Likewise.
31675 (R_MN10300_SYM_DIFF): Likewise.
31676 (R_MN10300_ALIGN): Likewise.
31677 (R_MN10300_NUM): Update.
31679 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31681 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31684 2012-08-08 Roland McGrath <roland@hack.frob.com>
31686 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31688 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31689 sysdeps/unix -> sysdeps/posix move.
31690 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31692 2012-08-07 Allan McRae <allan@archlinux.org>
31695 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31696 (SUNOS_CPP): Likewise.
31697 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31699 (open_input): Call CPP using execvp.
31701 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31703 * sysdeps/unix/sysv/linux/kernel-features.h
31704 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31705 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31706 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31707 (__ASSUME_WAITID_SYSCALL): Likewise.
31708 * sysdeps/unix/sysv/linux/dl-execstack.c
31709 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31710 code unconditional.
31711 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31713 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31714 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31715 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31717 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31719 [__ASSUME_WAITID_SYSCALL]: Likewise.
31720 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31722 2012-08-07 Roland McGrath <roland@hack.frob.com>
31724 * sysdeps/unix/closedir.c: Renamed to ...
31725 * sysdeps/posix/closedir.c: ... here.
31726 * sysdeps/unix/dirfd.c: Renamed to ...
31727 * sysdeps/posix/dirfd.c: ... here.
31728 * sysdeps/unix/dirstream.h: Renamed to ...
31729 * sysdeps/posix/dirstream.h: ... here.
31730 * sysdeps/unix/fdopendir.c: Renamed to ...
31731 * sysdeps/posix/fdopendir.c: ... here.
31732 * sysdeps/unix/opendir.c: Renamed to ...
31733 * sysdeps/posix/opendir.c: ... here.
31734 * sysdeps/unix/readdir.c: Renamed to ...
31735 * sysdeps/posix/readdir.c: ... here.
31736 * sysdeps/unix/readdir_r.c: Renamed to ...
31737 * sysdeps/posix/readdir_r.c: ... here.
31738 * sysdeps/unix/rewinddir.c: Renamed to ...
31739 * sysdeps/posix/rewinddir.c: ... here.
31740 * sysdeps/unix/seekdir.c: Renamed to ...
31741 * sysdeps/posix/seekdir.c: ... here.
31742 * sysdeps/unix/telldir.c: Renamed to ...
31743 * sysdeps/posix/telldir.c: ... here.
31744 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31745 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31746 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31747 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31749 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31750 * bits/fcntl.h: ... here.
31752 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31754 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31755 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31756 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31757 (struct flock): Move l_start, l_len to the beginning.
31758 Use __pid_t for l_pid.
31759 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31760 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31761 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31762 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31763 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31764 [__USE_LARGEFILE64] (struct flock64): New type.
31765 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31767 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31768 * bits/dirent.h: ... here.
31770 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31771 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31773 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31776 Change from 2.6.0 to 2.6.16.
31777 * sysdeps/unix/sysv/linux/configure: Regenerated.
31778 * sysdeps/unix/sysv/linux/kernel-features.h
31779 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31780 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31782 (__ASSUME_UTIMES): Likewise.
31783 (__ASSUME_CLONE_STOPPED): Remove.
31784 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31785 architectures, not kernel version.
31786 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31787 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31788 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31789 (__ASSUME_WAITID_SYSCALL): Likewise.
31790 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31791 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31792 * README: State 2.6.16 as minimum Linux kernel version. Do not
31793 refer to older versions.
31795 2012-08-06 Roland McGrath <roland@hack.frob.com>
31797 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31798 Define alphasort64 as an alias.
31799 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31800 Define versionsort64 as an alias.
31801 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31802 Define scandir64 as an alias.
31803 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31804 Define scandirat64 as an alias.
31805 * dirent/alphasort64.c (alphasort64):
31806 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31807 * dirent/versionsort64.c: Likewise.
31808 * dirent/scandir64.c: Likewise.
31809 * dirent/scandirat64.c: Likewise.
31810 * sysdeps/wordsize-64/alphasort.c: File removed.
31811 * sysdeps/wordsize-64/alphasort64.c: File removed.
31812 * sysdeps/wordsize-64/scandir.c: File removed.
31813 * sysdeps/wordsize-64/scandir64.c: File removed.
31814 * sysdeps/wordsize-64/scandirat.c: File removed.
31815 * sysdeps/wordsize-64/scandirat64.c: File removed.
31816 * sysdeps/wordsize-64/versionsort.c: File removed.
31817 * sysdeps/wordsize-64/versionsort64.c: File removed.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31827 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31829 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31831 [defined __arch64__ || defined __sparcv9]
31832 (__INO_T_MATCHES_INO64_T): New macro.
31833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31834 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31835 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31836 * sysdeps/unix/sysv/linux/bits/dirent.h
31837 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31838 (_DIRENT_MATCHES_DIRENT64): New macro.
31840 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31841 Define lockf64 as an alias.
31842 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31843 Define fseeko64 as an alias.
31844 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31845 Define ftello64 as an alias.
31846 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31847 Define _IO_fgetpos64 and fgetpos64 as aliases.
31848 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31849 Define _IO_fsetpos64 and fsetpos64 as aliases.
31850 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31851 Conditionalize body on this.
31852 * libio/fseeko64.c: Likewise.
31853 * libio/ftello64.c: Likewise.
31854 * libio/iofgetpos64.c: Likewise.
31855 * libio/iofsetpos64.c: Likewise.
31856 * sysdeps/wordsize-64/lockf.c: File removed.
31857 * sysdeps/wordsize-64/lockf64.c: File removed.
31858 * sysdeps/wordsize-64/fseeko.c: File removed.
31859 * sysdeps/wordsize-64/fseeko64.c: File removed.
31860 * sysdeps/wordsize-64/ftello.c: File removed.
31861 * sysdeps/wordsize-64/ftello64.c: File removed.
31862 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31863 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31864 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31865 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31867 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31868 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31869 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31870 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31871 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31872 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31873 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31877 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31878 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31879 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31880 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31881 [defined __arch64__ || defined __sparcv9]
31882 (__OFF_T_MATCHES_OFF64_T): New macro.
31883 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31884 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31886 (__OFF_T_MATCHES_OFF64_T): New macro.
31888 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31890 * stdlib/secure-getenv.c (__secure_getenv): Replace
31891 GLIBC_2_16 with GLIBC_2_17.
31893 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31896 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31898 2012-08-03 David S. Miller <davem@davemloft.net>
31900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31904 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31906 (__ASSUME_CORRECT_SI_PID): Likewise.
31907 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31908 (__ASSUME_TMPFS_NAME): Likewise.
31909 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31910 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31911 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31912 (HAVE_AUX_SECURE): Make definition unconditional.
31913 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31914 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31916 2012-08-03 Roland McGrath <roland@hack.frob.com>
31918 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31919 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31920 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31921 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31922 __eloop_threshold instead of SYMLOOP_MAX.
31924 * sysdeps/generic/eloop-threshold.h: New file.
31925 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31927 * elf/chroot_canon.c (chroot_canon): Likewise.
31929 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31933 Change to 2.6.0 everywhere.
31934 * sysdeps/unix/sysv/linux/configure: Regenerated.
31935 * sysdeps/unix/sysv/linux/kernel-features.h
31936 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31937 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31939 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31940 (__ASSUME_FUTEX_REQUEUE): Remove.
31941 (__ASSUME_STATFS64): Define unconditionally.
31942 (__ASSUME_AT_SECURE): Likewise.
31943 (__ASSUME_CORRECT_SI_PID): Likewise.
31944 (__ASSUME_TGKILL): Define without depending on kernel version for
31946 (__ASSUME_UTIMES): Likewise.
31947 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31949 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31950 (__ASSUME_TMPFS_NAME): Likewise.
31951 * README: Update reference to Linux kernel versions.
31953 2012-08-02 Marek Polacek <polacek@redhat.com>
31956 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31957 libc_cv_asm_type_prefix with %.
31958 * configure: Regenerated.
31959 * include/libc-symbols.h: Remove comment about
31960 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31961 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31962 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31963 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31964 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31965 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31966 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31967 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31968 * elf/tst-unique2mod1.c: Likewise.
31969 * elf/tst-unique1mod2.c: Likewise.
31970 * elf/tst-unique1mod1.c: Likewise.
31971 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31972 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31973 Replace ASM_TYPE_DIRECTIVE with .type.
31974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31975 * sysdeps/i386/sysdep.h: Likewise.
31976 * sysdeps/x86_64/sysdep.h: Likewise.
31977 * sysdeps/sh/sysdep.h: Likewise.
31978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31979 Do not define ASM_TYPE_DIRECTIVE.
31980 * sysdeps/powerpc/sysdep.h: Likewise.
31981 * sysdeps/powerpc/powerpc32/sysdep.h:
31982 Replace ASM_TYPE_DIRECTIVE with .type.
31983 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31984 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31985 * sysdeps/i386/fpu/e_powf.S: Likewise.
31986 * sysdeps/i386/fpu/e_expl.S: Likewise.
31987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31989 * sysdeps/i386/fpu/e_pow.S: Likewise.
31990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31994 * sysdeps/i386/fpu/e_log2.S: Likewise.
31995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31997 * sysdeps/i386/fpu/e_powl.S: Likewise.
31998 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31999 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32000 * sysdeps/i386/fpu/e_logl.S: Likewise.
32001 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32002 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32003 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32005 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32006 * sysdeps/i386/fpu/e_log.S: Likewise.
32007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32008 * sysdeps/i386/fpu/e_logf.S: Likewise.
32009 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32010 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32012 * sysdeps/i386/fpu/e_log10.S: Likewise.
32013 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32014 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32015 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32016 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32017 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32018 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32020 * sysdeps/i386/i686/strtok.S: Likewise.
32021 * sysdeps/i386/i386-mcount.S: Likewise.
32022 * sysdeps/i386/strtok.S: Likewise.
32023 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32024 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32026 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32027 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32032 * sysdeps/x86_64/_mcount.S: Likewise.
32033 * sysdeps/x86_64/strtok.S: Likewise.
32034 * sysdeps/sh/_mcount.S: Likewise.
32036 2012-08-01 Roland McGrath <roland@hack.frob.com>
32038 * libio/iofopen.c: Include <fcntl.h>.
32039 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32040 (_IO_fopen64, fopen64): Define as aliases.
32041 * libio/iofopen64.c: Include <fcntl.h>.
32042 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32043 Conditionalize body on this.
32044 * sysdeps/wordsize-64/iofopen.c: File removed.
32045 * sysdeps/wordsize-64/iofopen64.c: File removed.
32047 2012-08-01 Marek Polacek <polacek@redhat.com>
32049 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32050 Use dlfcn directly instead of a variable.
32051 (binfmt-subdir): Do not define.
32054 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32057 Remove all definitions.
32058 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32059 <kernel-features.h>.
32060 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32061 (miss_F_GETOWN_EX): Remove all definitions.
32062 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32064 [!__ASSUME_FCNTL64]: Remove conditional code.
32065 [__ASSUME_FCNTL64]: Make code unconditional.
32066 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32067 <kernel-features.h>.
32068 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32069 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32070 (lockf64) [__NR_fcntl64]: Make code unconditional.
32071 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32073 * sysdeps/unix/sysv/linux/kernel-features.h
32074 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32075 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32076 Make code unconditional.
32077 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32078 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32080 [__NR_vfork]: Make code unconditional.
32081 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32082 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32084 [__NR_vfork]: Make code unconditional.
32085 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32086 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32088 2012-08-01 Roland McGrath <roland@hack.frob.com>
32090 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32091 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32093 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32094 Define mkstemp64 as an alias.
32095 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32096 Define mkstemps64 as an alias.
32097 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32098 Define mkostemp64 as an alias.
32099 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32100 Define mkostemps64 as an alias.
32101 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32102 Conditionalize body on this.
32103 * misc/mkostemp64.c: Likewise.
32104 * misc/mkostemps64.c: Likewise.
32105 * misc/mkstemps64.c: Likewise.
32106 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32107 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32108 * sysdeps/wordsize-64/mkostemp.c: File removed.
32109 * sysdeps/wordsize-64/mkstemp.c: File removed.
32110 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32111 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32116 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32117 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32118 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32119 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32121 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32122 compat_symbol macros from <shlib-compat.h> rather than the underlying
32123 default_symbol_version and symbol_version macros, so that DEFAULT
32124 lines in shlib-versions are respected.
32125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32127 2012-08-01 Florian Weimer <fweimer@redhat.com>
32129 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32130 Declare with warn_unused_result.
32131 (setgid, setregid, setegid, setresgid): Likewise.
32132 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32134 * WUR-REPORT: Remove set*id functions.
32136 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32138 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32140 2012-07-31 Roland McGrath <roland@hack.frob.com>
32143 * include/sys/socket.h (__libc_accept, __libc_accept4):
32144 Add attribute_hidden.
32145 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32149 * inet/getnetgrent_r.c (setup): Likewise.
32151 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32153 2012-07-31 David S. Miller <davem@davemloft.net>
32155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32157 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32160 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32161 value between 1.0 and 2.0 and smaller part has absolute value less
32163 * math/s_clog10.c (__clog10): Likewise.
32164 * math/s_clog10f.c (__clog10f): Likewise.
32165 * math/s_clog10l.c (__clog10l): Likewise.
32166 * math/s_clogf.c (__clogf): Likewise.
32167 * math/s_clogl.c (__clogl): Likewise.
32168 * math/libm-test.inc (clog_test): Add more tests.
32169 (clog10_test): Likewise.
32170 * sysdeps/i386/fpu/libm-test-ulps: Update.
32171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32173 2012-07-31 Florian Weimer <fweimer@redhat.com>
32175 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32176 Exit with zero in case no suitable GID is found, and write a
32177 message to standard error.
32179 2012-07-30 Roland McGrath <roland@hack.frob.com>
32181 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32183 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32184 (MAXPATHLEN): Removed.
32185 (NOGROUP, NODEV): New macros.
32186 (setbit, clrbit, isset, isclr): New macros.
32187 (howmany, roundup, powerof2): New macros.
32188 (DEV_BSIZE): New macro.
32190 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32191 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32193 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32194 definition on [!__NO_LONG_DOUBLE_MATH].
32196 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32197 PTR_MANGLE and PTR_DEMANGLE.
32199 * socket/accept4.c (accept4): Rename to __libc_accept4.
32200 Define accept4 as a weak alias.
32202 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32203 on [_DIRENT_HAVE_D_TYPE].
32204 * io/ftw.c (ftw_dir): Likewise.
32206 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32208 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32210 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32211 Use the BSD numbers rather than the arbitrary ones we had.
32212 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32213 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32214 (SIGXCPU, SIGXFSZ): New macros.
32217 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32218 initializer on [_LIBC_REENTRANT].
32220 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32221 definitions inside [_POSIX_MAPPED_FILES].
32223 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32225 * dirent/opendir.c: Include <fcntl.h>.
32227 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32228 (__libc_getspecific): Likewise.
32229 (__libc_key_create): Likewise.
32231 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32232 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32233 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32234 (tmpfile64): Define as alias.
32235 * sysdeps/wordsize-64/tmpfile.c: File removed.
32236 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32240 * stdio-common/vfscanf.c: Include <stdbool.h>.
32241 * nss/makedb.c: Likewise.
32242 * stdio-common/_i18n_number.h: Likewise.
32243 * argp/argp-help.c: Likewise.
32244 * posix/wordexp.c: Likewise.
32245 * sysdeps/posix/spawni.c: Likewise.
32246 * nss/nss_files/files-initgroups.c: Likewise.
32247 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32248 * nss/nss_files/files-initgroups.c: Likewise.
32249 * nss/nss_db/db-netgrp.c: Likewise.
32250 * nss/nss_db/db-initgroups.c: Likewise.
32251 * io/fchmodat.c: Include <sys/stat.h>.
32253 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32254 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32256 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32259 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32260 Add multiple inclusion protection.
32262 2012-07-27 David S. Miller <davem@davemloft.net>
32264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32266 2012-07-27 Gary Benson <gbenson@redhat.com>
32269 * elf/rtld.c: Include <stap-probe.h>.
32270 (dl_main): Added static probes "init_start" and "init_complete".
32271 * elf/dl-load.c: Include <stap-probe.h>.
32272 (lose): Take new parameter "nsid".
32273 Added static probe "map_failed".
32274 (_dl_map_object_from_fd): Pass namespace id to lose.
32275 Added static probe "map_start".
32276 (open_verify): Pass namespace id to lose.
32277 * elf/dl-open.c: Include <stap-probe.h>.
32278 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32279 and "reloc_complete".
32280 * elf/dl-close.c: Include <stap-probe.h>.
32281 (_dl_close_worker): Added static probes "unmap_start" and
32283 * elf/rtld-debugger-interface.txt: New file documenting the above.
32285 2012-07-26 Roland McGrath <roland@hack.frob.com>
32287 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32288 rather than a string variable.
32289 * sunrpc/rpc_main.c (h_output): Likewise.
32290 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32292 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32294 * inet/check_native.c: New file.
32296 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32299 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32300 if larger part has absolute value 1.0.
32301 * math/s_clog10.c (__clog10): Likewise.
32302 * math/s_clog10f.c (__clog10f): Likewise.
32303 * math/s_clog10l.c (__clog10l): Likewise.
32304 * math/s_clogf.c (__clogf): Likewise.
32305 * math/s_clogl.c (__clogl): Likewise.
32306 * math/libm-test.inc (clog_test): Add more tests.
32307 (clog10_test): Likewise.
32308 * sysdeps/i386/fpu/libm-test-ulps: Update.
32309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32312 (pltexit): Likewise.
32313 (La_regs): Likewise.
32314 (La_retval): Likewise.
32315 (int_retval): Likewise.
32316 Update #error for removed macros to refer only to definitions in
32318 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32320 (pltexit): Likewise.
32321 (La_regs): Likewise.
32322 (La_retval): Likewise.
32323 (int_retval): Likewise.
32324 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32326 (pltexit): Likewise.
32327 (La_regs): Likewise.
32328 (La_retval): Likewise.
32329 (int_retval): Likewise.
32330 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32332 (pltexit): Likewise.
32333 (La_regs): Likewise.
32334 (La_retval): Likewise.
32335 (int_retval): Likewise.
32336 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32338 (pltexit): Likewise.
32339 (La_regs): Likewise.
32340 (La_retval): Likewise.
32341 (int_retval): Likewise.
32342 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32344 (pltexit): Likewise.
32345 (La_regs): Likewise.
32346 (La_retval): Likewise.
32347 (int_retval): Likewise.
32348 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32350 (pltexit): Likewise.
32351 (La_regs): Likewise.
32352 (La_retval): Likewise.
32353 (int_retval): Likewise.
32354 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32355 macro definitions in tst-audit.h.
32356 * sysdeps/i386/tst-audit.h: New file.
32357 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32358 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32359 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32360 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32361 * sysdeps/sh/tst-audit.h: Likewise.
32362 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32363 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32364 * sysdeps/x86_64/tst-audit.h: Likewise.
32366 2012-07-26 Andreas Jaeger <aj@suse.de>
32368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32371 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32372 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32373 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32375 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32376 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32377 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32379 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32382 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32384 (si_call_addr, si_syscall, si_arch): Define new macro.
32385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32387 (si_call_addr, si_syscall, si_arch): Define new marcro.
32388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32390 (si_call_addr, si_syscall, si_arch): Define new macro.
32391 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32393 (si_call_addr, si_syscall, si_arch): Define new macro.
32395 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32399 Change to 2.4.21 where previously 2.4.1.
32400 * sysdeps/unix/sysv/linux/configure: Regenerated.
32401 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32402 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32403 Linux kernel version.
32404 (__ASSUME_STD_AUXV): Remove.
32405 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32407 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32408 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32409 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32410 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32411 (__ASSUME_NETLINK_SUPPORT): Likewise.
32412 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32413 (__no_netlink_support): Remove conditional definition.
32414 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32416 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32417 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32418 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32419 (if_nameindex_ioctl): Remove.
32420 (if_nameindex_netlink): Do not handle __no_netlink_support.
32421 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32423 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32424 Remove conditional code.
32425 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32427 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32429 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32430 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32431 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32433 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32434 [!__ASSUME_STD_AUXV]: Remove conditional code.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32436 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32437 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32439 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32440 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32442 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32444 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32445 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32447 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32449 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32452 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32455 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32456 code unconditional.
32457 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32459 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32461 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32464 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32466 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32469 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32470 code unconditional.
32471 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32473 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32475 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32478 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32479 code unconditional.
32480 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32482 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32484 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32487 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32489 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32490 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32491 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32492 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32493 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32494 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32495 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32496 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32497 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32498 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32499 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32500 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32501 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32502 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32503 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32504 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32505 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32506 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32507 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32509 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32510 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32513 2012-07-25 Florian Weimer <fweimer@redhat.com>
32515 * Versions.def: Add GLIBC_2.17.
32516 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32517 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32518 Introduce __libc_secure_getenv.
32519 * stdlib/Versions (2.17): Add secure_getenv
32520 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32521 * stdlib/secure-getenv.c: Rename __secure_getenv to
32522 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32523 symbol __secure_getenv for GLIBC_2.0.
32524 * stdlib/tst-secure-getenv.c: New.
32525 * stdlib/Makefile (tests): Add testcase.
32526 * manual/startup.texi (Environment Access): Document
32528 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32529 __libc_secure_getenv.
32530 * inet/ruserpass.c (ruserpass): Likewise.
32531 * malloc/mtrace.c (mtrace): Likewise.
32532 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32533 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32534 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32535 * sysdeps/posix/tempname.c: Likewise. Evaluate
32536 HAVE_SECURE_GETENV.
32537 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32538 __secure_getenv to __libc_secure_getenv.
32539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32552 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32554 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32555 (struct La_i86_retval): Likewise.
32556 (struct La_x86_64_regs): Likewise.
32557 (struct La_x86_64_retval): Likewise.
32558 (struct La_x32_regs): Likewise.
32559 (struct La_x32_retval): Likewise.
32560 (struct La_ppc32_regs): Likewise.
32561 (struct La_ppc32_retval): Likewise.
32562 (struct La_ppc64_regs): Likewise.
32563 (struct La_ppc64_retval): Likewise.
32564 (struct La_sh_regs): Likewise.
32565 (struct La_sh_retval): Likewise.
32566 (struct La_s390_32_regs): Likewise.
32567 (struct La_s390_32_retval): Likewise.
32568 (struct La_s390_64_regs): Likewise.
32569 (struct La_s390_64_retval): Likewise.
32570 (struct La_sparc32_regs): Likewise.
32571 (struct La_sparc32_retval): Likewise.
32572 (struct La_sparc64_regs): Likewise.
32573 (struct La_sparc64_retval): Likewise.
32574 (struct audit_ifaces): Remove architecture-specific pltenter and
32576 * sysdeps/i386/ldsodefs.h: New file.
32577 * sysdeps/powerpc/ldsodefs.h: Likewise.
32578 * sysdeps/s390/ldsodefs.h: Likewise.
32579 * sysdeps/sh/ldsodefs.h: Likewise.
32580 * sysdeps/sparc/ldsodefs.h: Likewise.
32581 * sysdeps/x86_64/ldsodefs.h: Likewise.
32583 2012-07-25 Marek Polacek <polacek@redhat.com>
32586 * math/libm-test.inc (yn_test): Add another test.
32587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32588 to ERANGE when the result is +-Inf.
32589 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32590 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32591 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32592 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32594 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32596 * conform/data/time.h-data (NULL): Use macro-constant. Require
32598 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32600 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32602 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32604 * configure.in <sysdeps resolving>: Correct printing
32606 * configure: Regenerate.
32608 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32610 * math/w_ilogb.c: Include <limits.h>.
32611 * math/w_ilogbl.c: Likewise.
32613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32615 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32616 va_copy. Document allowing for unavailable va_copy only as
32617 pre-C99 compatibility.
32618 * manual/string.texi (Copying and Concatenation): Use va_copy
32619 instead of __va_copy in concat example.
32621 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32623 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32624 (__sendto): Use create_address_port. Initialize APORT and deallocate
32627 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32628 with O_NOLINK passed to __file_name_lookup.
32630 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32631 with O_NOLINK passed to __file_name_lookup.
32633 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32634 negative N or less than NGIDS.
32636 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32637 type to string_t. Set ERANGE as errno and return it if NAME is not big
32638 enough. Use memcpy instead of strncpy.
32640 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32642 * elf/Makefile (check-data): Remove.
32643 (localplt.data): New vpath directive.
32644 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32645 instead of $(check-data).
32646 * scripts/data/localplt-generic.data: Move to ...
32647 * sysdeps/generic/localplt.data: ... here.
32648 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32649 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32650 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32653 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32656 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32659 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32662 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32665 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32669 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32671 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32672 PPC32 and PPC64 files.
32673 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32674 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32676 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32678 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32679 __makecontext_ret to ...
32680 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32681 ... here and call exit if uc_link is NULL. New file.
32682 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32683 __makecontext_ret.S.
32684 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32685 __makecontext_ret to ...
32686 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32687 ... here and call exit if uc_link is NULL. New file.
32688 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32689 __makecontext_ret.S.
32691 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32693 * elf/elf.h (R_390_IRELATIVE): New definition.
32694 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32695 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32696 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32698 (elf_machine_lazy_rel): Likewise.
32699 * sysdeps/s390/dl-irel.h: New file.
32700 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32701 * sysdeps/s390/s390-64/memset.S: New asm code.
32702 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32703 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32704 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32705 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32706 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32707 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32709 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32710 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32711 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32712 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32713 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32714 * sysdeps/s390/s390-32/memset.S: New asm code.
32715 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32717 2012-07-17 Marek Polacek <polacek@redhat.com>
32720 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32721 * sysdeps/s390/s390-64/configure.in: Likewise.
32722 * sysdeps/sparc/configure.in: Likewise.
32723 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32724 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32725 * sysdeps/i386/configure.in: Likewise.
32726 * sysdeps/x86_64/configure.in: Likewise.
32727 * sysdeps/sh/configure.in: Likewise.
32728 * sysdeps/s390/s390-32/configure: Regenerated.
32729 * sysdeps/s390/s390-64/configure: Likewise.
32730 * sysdeps/x86_64/configure: Likewise.
32731 * sysdeps/sh/configure: Likewise.
32732 * sysdeps/powerpc/powerpc64/configure: Likewise.
32733 * sysdeps/powerpc/powerpc32/configure: Likewise.
32734 * sysdeps/sparc/configure: Likwise.
32735 * sysdeps/i386/configure: Likewise.
32737 * elf/dl-open.c: Comment fixes.
32739 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32741 * Makefile [CXX] (check-data): Remove.
32742 [CXX] (c++-types.data): New vpath directive.
32743 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32744 vpath. Do not allow for C++ type data being missing.
32745 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32746 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32747 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32748 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32749 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32750 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32751 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32754 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32757 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32760 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32763 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32766 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32769 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32772 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32775 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32776 definitions to architecture-specific files.
32777 (TLS_IE): Likewise.
32778 (TLS_LD): Likewise.
32779 (TLS_GD): Likewise.
32780 * sysdeps/i386/tls-macros.h: New file.
32781 * sysdeps/powerpc/tls-macros.h: Likewise.
32782 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32783 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32784 * sysdeps/sh/tls-macros.h: Likewise.
32785 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32786 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32787 * sysdeps/x86_64/tls-macros.h: Likewise.
32789 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32791 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32792 zero value for regular exit case.
32794 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32795 (__start_context): Preserve zero value for regular exit case.
32797 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32798 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32800 * manual/setjmp.texi (setcontext): Clarify normal process
32801 termination when uc_link is the null pointer.
32802 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32805 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32807 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32808 preprocessor. Test for each exception mask separately.
32810 2012-07-16 Andreas Jaeger <aj@suse.de>
32812 * po/ru.po: Update from translation team.
32814 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32816 * conform/data/string.h-data (NULL): Use macro-constant. Require
32818 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32819 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32820 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32821 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32824 2012-07-13 Andreas Jaeger <aj@suse.de>
32826 * po/fr.po: Update from translation team.
32828 2012-07-12 Marek Polacek <polacek@redhat.com>
32831 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32832 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32835 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32838 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32839 Change to 2.4.1 where previously 2.4.0.
32840 * sysdeps/unix/sysv/linux/configure: Regenerated.
32841 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32842 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32844 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32845 (__ASSUME_AT_CLKTCK): Remove.
32846 (__ASSUME_AT_PAGESIZE): Likewise.
32847 (__ASSUME_AT_XID): Likewise.
32848 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32849 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32850 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32852 (HAVE_AUX_PAGESIZE): Likewise.
32853 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32854 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32855 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32857 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32861 the temporary buffer used to invoke __gethostbyname2_r,
32862 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32863 host_data / struct gaih_addrtuple.
32864 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32865 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32866 header file nss/nsswitch.h.
32867 * nss/nsswitch.h (global scope): Add definition of implementation
32868 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32869 resolv/nss_dns/dns-host.c).
32871 2012-07-11 Andreas Jaeger <aj@suse.de>
32873 * po/fr.po: Update from translation team.
32875 * po/sv.po: Update from translation team
32876 * po/fr.po: Another update from translation team.
32878 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32880 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32881 for subnormals or multiply small sinh result by itself.
32882 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32885 2012-07-11 David S. Miller <davem@davemloft.net>
32887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32889 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32892 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32893 (INTERNAL_MARK): Shift it here.
32895 2012-07-10 Marek Polacek <polacek@redhat.com>
32898 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32899 libc_cv_asm_global_directive with .globl.
32900 * configure: Regenerated.
32901 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32903 * sysdeps/i386/configure: Regenerated.
32904 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32906 * sysdeps/x86_64/configure: Regenerated.
32907 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32908 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32909 * elf/tst-unique2mod2.c: Likewise.
32910 * elf/tst-unique2mod1.c: Likewise.
32911 * elf/tst-unique1mod2.c: Likewise.
32912 * elf/tst-unique1mod1.c: Likewise.
32913 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32914 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32915 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32916 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32917 * sysdeps/mach/sysdep.h: Likewise.
32918 * sysdeps/i386/sysdep.h: Likewise.
32919 * sysdeps/i386/i386-mcount.S: Likewise.
32920 * sysdeps/x86_64/_mcount.S: Likewise.
32921 * sysdeps/x86_64/sysdep.h: Likewise.
32922 * sysdeps/sh/_mcount.S: Likewise.
32923 * sysdeps/sh/sysdep.h: Likewise.
32924 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32926 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32928 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32929 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32930 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32931 * locale/localeinfo.h: Likewise.
32932 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32933 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32935 2012-07-09 Roland McGrath <roland@hack.frob.com>
32938 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32940 * manual/message.texi (The Uniforum approach): Likewise.
32941 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32942 (glibc iconv Implementation): Likewise.
32944 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32947 * math/s_clog.c (__clog): Avoid scaling a value down where that
32948 could result in underflow.
32949 * math/s_clog10.c (__clog10): Likewise.
32950 * math/s_clog10f.c (__clog10f): Likewise.
32951 * math/s_clog10l.c (__clog10l): Likewise.
32952 * math/s_clogf.c (__clogf): Likewise.
32953 * math/s_clogl.c (__clogl): Likewise.
32954 * math/libm-test.inc (clog_test): Add more tests.
32955 (clog10_test): Likewise.
32956 * sysdeps/i386/fpu/libm-test-ulps: Update.
32957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32959 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32962 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32963 by 7 not 8 to examine high bit of fractional part.
32966 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32967 for call to __mcount_internal.
32968 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32969 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32970 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32972 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32975 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32976 approximation for values within 0x1p-13f of an odd multiple of
32978 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32979 exception. Add more tests.
32980 * sysdeps/i386/fpu/libm-test-ulps: Update.
32983 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32984 inputs and return -1 for them. Do not check for +Inf in case not
32985 reachable for +Inf.
32986 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32987 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32988 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32989 and return -1 for them. Do not check for +Inf in case not
32990 reachable for +Inf.
32991 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32993 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32994 and return -1 for them. Do not check for +Inf in case not
32995 reachable for +Inf.
32996 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32997 spurious underflow.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33001 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33003 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33005 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33009 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33010 could result in spurious underflow. Scale down values above
33011 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33012 * math/s_csqrtf.c (__csqrtf): Likewise.
33013 * math/s_csqrtl.c (__csqrtl): Likewise.
33014 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33015 spurious underflow.
33016 * sysdeps/i386/fpu/libm-test-ulps: Update.
33017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33019 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33021 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33023 * catgets/xopen-msg.awk: New file.
33024 * catgets/xopen-msg.sed: Removed.
33026 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33028 * intl/po2test.awk: New file.
33029 * intl/po2test.sed: Removed.
33031 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33034 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33035 or multiply small sinh result by itself.
33036 * math/s_ctanf.c (__ctanf): Likewise.
33037 * math/s_ctanh.c (__ctanh): Likewise.
33038 * math/s_ctanhf.c (__ctanhf): Likewise.
33039 * math/s_ctanhl.c (__ctanhl): Likewise.
33040 * math/s_ctanl.c (__ctanl): Likewise.
33041 * math/libm-test.inc (ctan_test_tonearest): New function.
33042 (ctan_test_towardzero): Likewise.
33043 (ctan_test_downward): Likewise.
33044 (ctan_test_upward): Likewise.
33045 (ctanh_test_tonearest): Likewise.
33046 (ctanh_test_towardzero): Likewise.
33047 (ctanh_test_downward): Likewise.
33048 (ctanh_test_upward): Likewise.
33049 (main): Call these new functions.
33050 * sysdeps/i386/fpu/libm-test-ulps: Update.
33051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33053 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33055 * .gitignore: Delete /ports entry.
33057 2012-07-03 Andreas Jaeger <aj@suse.de>
33059 * po/bg.po: Update from translation team.
33060 * po/cs.po: Likewise.
33061 * po/de.po: Likewise.
33062 * po/hr.po: Likewise.
33063 * po/nl.pl: Likewise.
33064 * po/pl.po: Likewise.
33065 * po/vi.po: Likewise.
33067 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33069 * Makeconfig [!+link] (+link-before-libc): New variable.
33070 [!+link] (+link-after-libc): Likewise.
33071 [!+link] (+link-tests): Likewise.
33072 [!+link] (+link): Define in terms of $(+link-before-libc) and
33073 $(+link-after-libc).
33074 [!+link-static] (+link-static-before-libc): New variable.
33075 [!+link-static] (+link-static-after-libc): Likewise.
33076 [!+link-static] (+link-static-tests): Likewise.
33077 [!+link-static] (+link-static): Define in terms of
33078 $(+link-static-before-libc) and $(+link-static-after-libc).
33079 [build-shared] (link-libc-before-gnulib): New variable.
33080 [build-shared] (link-libc-tests): Likewise.
33081 [build-shared] (link-libc): Define in terms of
33082 $(link-libc-before-gnulib).
33083 [!build-shared] (link-libc-tests): New variable.
33084 (link-libc-static-tests): New variable.
33085 [!gnulib] (gnulib-arch): New variable.
33086 [!gnulib] (gnulib-tests): Likewise.
33087 [!gnulib] (static-gnulib-arch): Likewise.
33088 [!gnulib] (static-gnulib-tests): Likewise.
33089 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33090 Define with "=" instead of ":=".
33091 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33092 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33093 * Rules (binaries-all-notests): New variable.
33094 (binaries-all-tests): Likewise.
33095 (binaries-static-notests): Likewise.
33096 (binaries-static-tests): Likewise.
33097 (binaries-all): Define using $(binaries-all-notests) and
33098 $(binaries-all-tests).
33099 (binaries-static): Define using $(binaries-static-notests) and
33100 $(binaries-static-tests).
33101 (binaries-shared-tests): New variable.
33102 (binaries-shared-notests): Likewise.
33103 (binaries-shared): Remove variable.
33104 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33105 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33106 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33107 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33108 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33109 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33110 * elf/Makefile (sln-modules): New variable.
33111 (extra-objs): Add $(sln-modules:=.o).
33112 (ldconfig-modules): Add static-stubs.
33113 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33114 * elf/static-stubs.c: New file.
33117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33118 by 7 not 8 to examine high bit of fractional part. Use volatile
33119 variables when splitting into final array of floats if
33120 __FLT_EVAL_METHOD__ != 0.
33121 * math/libm-test.inc (cos_test): Add another test.
33122 (sin_test): Likewise.
33123 * sysdeps/i386/fpu/libm-test-ulps: Update.
33126 * math/libm-test.inc (cosh_test): Add more tests.
33128 * version.h (RELEASE): Set to "development".
33129 (VERSION): Set to "2.16.90".
33131 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33133 * NEWS: Update copyright. Remove last-updated date.
33134 Mention math library bug fixes and timezone data changes.
33135 * README: Mention GNU/Hurd, x32, and HPPA support status.
33137 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33139 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33141 2012-06-27 Andreas Jaeger <aj@suse.de>
33143 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33145 2012-06-25 Andreas Jaeger <aj@suse.de>
33147 * sysdeps/s390/fpu/libm-test-ulps: Update.
33149 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33150 Thomas Schwinge <thomas@codesourcery.com>
33152 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33153 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33157 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33159 * sysdeps/mach/start.c: Remove file.
33160 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33161 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33162 * sysdeps/sh/init-first.c: Likewise.
33164 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33165 registers for frame unwinding purposes, add CFI directives.
33166 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33168 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33171 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33172 __fortify_fail returning.
33173 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33175 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33176 sysdeps/sh/____longjmp_chk.S.
33177 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33178 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33179 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33180 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33182 * sysdeps/sh/abort-instr.h: New file.
33183 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33184 process in case exit returns.
33186 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33187 initialize the GOT register before use.
33189 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33190 calculation of ARGC > 4.
33192 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33193 meaningful names to some local labels.
33195 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33196 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33198 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33199 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33200 (__arch_compare_and_exchange_val_16_acq): Likewise.
33201 (__arch_compare_and_exchange_val_32_acq): Likewise.
33202 (atomic_exchange_and_add): Fix gUSA sequence.
33203 (atomic_add): Likewise.
33204 (atomic_add_negative): Likewise.
33205 (atomic_add_zero): Likewise.
33206 (atomic_bit_test_set): Likewise.
33208 2012-06-22 Andreas Schwab <schwab@redhat.com>
33211 * include/link.h (struct link_map): Add l_free_initfini.
33212 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33214 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33215 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33216 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33219 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33221 * configure.in: Use AC_LANG_SOURCE.
33222 * configure: Regenerate.
33224 2012-06-22 Roland McGrath <roland@hack.frob.com>
33226 * configure.in (libc_cv_localstatedir): New substituted variable.
33227 * configure: Regenerated.
33228 * config.make.in (localstatedir): New variable, substituted from
33229 libc_cv_localstatedir.
33230 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33231 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33232 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33233 * sysdeps/gnu/configure: Regenerated.
33235 2012-06-21 Jeff Law <law@redhat.com>
33238 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33239 free. Simplify list management for _LIBC case.
33241 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33244 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33245 Clear sign bit of 64-bit integer value before comparing against
33248 * sysdeps/mach/configure: Regenerated.
33250 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33255 2012-06-21 Jeff Law <law@redhat.com>
33258 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33259 uint16_t for elements in the "seen" array to avoid char overflows.
33260 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33261 * elf/dl-open.c (dl_open_worker): Likewise.
33263 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33265 * scripts/list-sources.sh: Scan PORTS for translations.
33266 * po/libc.pot: Regenerated.
33268 2012-06-21 Andreas Jaeger <aj@suse.de>
33271 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33273 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33274 * bits/byteswap-16.h (__bswap_16): Likewise.
33275 * bits/byteswap.h (__bswap_constant_16): Likewise.
33277 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33280 * sysdeps/i386/fpu_control.h: Removed.
33281 * sysdeps/x86_64/fpu_control.h: Moved to ...
33282 * sysdeps/x86/fpu_control.h: Here.
33284 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33285 (_FPU_SETCW): Likewise.
33287 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33290 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33291 * sysdeps/x86/fpu/bits/mathinline.h: This.
33292 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33296 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33297 functions if __x86_64__ is defined.
33299 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33301 * string/endian.h: Add !__ASSEMBLER__ condition for including
33302 conversion interfaces.
33304 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33308 of ABS(x) in calculating zero to negative powers other than odd
33310 * math/libm-test.inc (pow_test): Add more tests.
33312 2012-06-15 Andreas Jaeger <aj@suse.de>
33314 * manual/contrib.texi (Contributors): Update entry of Liubov
33315 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33318 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33320 * string/string.h: Add __wur to GNU version of strerror_r.
33322 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33325 * string/Makefile (tests): Add tst-strtok_r.
33326 * string/tst-strtok_r.c: New file.
33327 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33328 RAX_LP/RDX_LP on SAVE_PTR.
33330 2012-06-14 Roland McGrath <roland@hack.frob.com>
33332 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33334 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33336 * libm_test.inc (csqrt_test): Allow more spurious underflow
33338 (j0_test): Likewise.
33339 (j1_test): Likewise.
33340 (y0_test): Likewise.
33341 (y1_test): Likewise.
33343 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33345 * po/Makefile (libc.pot): Use UTF-8 charset.
33347 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33350 Suppress sign-conversion warning from FD_SET.
33351 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33352 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33353 not unsigned long int.
33354 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33356 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33360 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33361 __extern_always_inline instead of __extern_inline.
33362 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33363 (__signbit): Likewise.
33364 (__signbitl): Support C++ namespace.
33365 (lrintf): New inline function.
33367 (llrintf): Likewise.
33368 (llrint): Likewise.
33378 (floorf): Likewise.
33379 (nearbyint): Likewise.
33380 (nearbyintf): Likewise.
33382 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33385 non-default versions.
33387 2012-06-11 Roland McGrath <roland@hack.frob.com>
33390 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33392 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33394 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33395 (FE_UPWARD, FE_DOWNWARD): Don't define.
33396 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33401 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33402 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33404 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33406 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33408 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33409 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33411 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33414 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33415 * sysdeps/i386/fpu/Implies: New file.
33416 * sysdeps/x86_64/fpu/Implies: Likewise.
33417 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33418 * sysdeps/x86/fpu/bits/fenv.h: This.
33420 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33423 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33426 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33427 character 0xffff that matches the last element of the
33430 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33432 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33435 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33438 values higher than 25.6283.
33440 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33442 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33443 subnormal exponent extraction and add some __builtin_expect.
33444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33445 Fix for subnormal mantissa calculation.
33447 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33449 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33450 cpu2 is -1 and errno is not ENOSYS.
33452 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33455 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33456 * sysdeps/x86/bits/string.h: This.
33457 * sysdeps/x86_64/bits/string.h: Removed.
33459 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33460 if not compiling for x86-64, but compiling for >= i486.
33462 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33463 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33466 New macro from Linux kernel 3.4.0.
33467 (FP_XSTATE_MAGIC2): Likewise.
33468 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33469 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33470 (struct _fpx_sw_bytes): New struct.
33471 (struct _xsave_hdr): Likewise.
33472 (struct _ymmh_state): Likewise.
33473 (struct _xstate): Likewise.
33475 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33476 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33478 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33480 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33482 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33483 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33484 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33485 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33486 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33487 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33489 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33492 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33493 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33494 (sysdep_headers): Include sys/platform/ppc.h.
33495 * sysdeps/powerpc/test-gettimebase.c: Test for
33496 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33497 * manual/Makefile (appendices): Include platform.texi.
33498 * manual/contrib.texi (Contributors): Update @node pointers.
33499 * manual/maint.texi (Maintenance): Likewise.
33500 (Platform): New node.
33501 * manual/platform.texi: New file. Document the new features.
33503 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33504 Jakub Jelinek <jakub@redhat.com>
33507 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33508 where __builtin_expect is unavailable.
33510 2012-06-03 David S. Miller <davem@davemloft.net>
33512 * stdlib/longlong.h: Updated from GCC.
33514 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33517 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33518 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33521 (GLIBC_2.16): Likewise.
33523 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33525 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33527 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33530 (default-abi): New variable.
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33532 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33534 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33536 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33538 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33541 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33542 definition. Document in comment.
33544 2012-06-01 David S. Miller <davem@davemloft.net>
33546 * stdlib/longlong.h: Updated from GCC.
33548 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33551 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33552 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33553 sys/debugreg.h sys/io.h here.
33554 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33555 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33557 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33558 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33559 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33560 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33561 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33562 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33564 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33565 Define only if __x86_64__ is defined.
33567 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33571 Use int64_t for variable i.
33572 * math/libm-test.inc (fmod_test): Add more tests.
33574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33575 z computation is not scheduled after fetestexcept.
33576 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33577 Use math_force_eval instead of asm to ensure calculation scheduled
33578 before exception test.
33579 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33580 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33582 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33585 computation is not scheduled after fetestexcept.
33587 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33590 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33591 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33593 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33595 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33596 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33598 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33601 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33603 (__WCHAR_MIN): Support __WORDSIZE == 64.
33604 (__WCHAR_MAX): Likewise.
33606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33610 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33611 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33614 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33615 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33617 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33618 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33620 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33621 Defined to 1 if __x86_64__ isn't defined.
33622 (_STAT_VER_LINUX_OLD): New.
33623 (st_atime): Remove duplicate.
33624 (st_mtime): Likewise.
33625 (st_ctime): Likewise.
33627 2012-05-31 David S. Miller <davem@davemloft.net>
33629 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33632 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33634 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33638 * elf/dl-reloc.c: Include <_itoa.h>.
33639 (_dl_reloc_bad_type): Remove use of INTUSE.
33640 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33641 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33642 * stdio-common/psiginfo.c (psiginfo): Likewise.
33643 * stdio-common/psignal.c (psignal): Likewise.
33644 * string/strsignal.c (strsignal): Likewise.
33645 * include/signal.h (_sys_siglist): Declare hidden proto.
33646 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33647 INTVARDEF with libc_hidden_data_def.
33648 * stdio-common/itoa-udigits.c: Likewise.
33649 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33650 (_itoa_lower_digits_internal): Remove declaration.
33651 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33652 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33653 (_sys_sigabbrev_internal): Remove aliases.
33654 (_sys_siglist): Define hidden alias.
33656 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33661 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33664 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33665 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33667 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33668 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33669 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33670 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33672 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33674 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33675 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33676 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33678 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33686 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33687 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33688 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33690 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33691 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33693 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33694 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33695 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33697 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33698 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33700 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33701 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33705 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33707 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33708 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33710 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33712 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33713 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33714 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33716 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33718 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33720 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33722 * math/math.h (M_El): Use two more decimal places.
33723 (M_LOG2El): Likewise.
33724 (M_LOG10El): Likewise.
33725 (M_LN2l): Likewise.
33726 (M_LN10l): Likewise.
33728 (M_PI_2l): Likewise.
33729 (M_PI_4l): Likewise.
33730 (M_1_PIl): Likewise.
33731 (M_2_PIl): Likewise.
33732 (M_2_SQRTPIl): Likewise.
33733 (M_SQRT2l): Likewise.
33734 (M_SQRT1_2l): Likewise.
33736 2012-05-31 David S. Miller <davem@davemloft.net>
33738 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33739 values between float registers.
33740 * sysdeps/sparc/sparc64/memset.S: Likewise.
33741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33743 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33745 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33746 -D_FORTIFY_SOURCE=1.
33747 (CPPFLAGS-tst-longjmp_chk.c): Define.
33748 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33749 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33750 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33751 CFLAGS-tst-wchar-h.c.
33753 2012-05-31 Marek Polacek <polacek@redhat.com>
33756 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33757 __endmntent_internal): Remove declaration.
33758 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33759 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33760 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33762 2012-05-30 David S. Miller <davem@davemloft.net>
33764 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33765 (___Q_simulate_exceptions): Use real FP ops rather than writing
33767 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33770 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33774 * sysdeps/x86/bits/xtitypes.h: This.
33776 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33777 * sysdeps/x86/bits/wordsize.h: This.
33779 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33780 * sysdeps/x86/bits/huge_vall.h: This.
33782 * sysdeps/i386/bits/select.h: Removed.
33783 * sysdeps/x86_64/bits/select.h: Renamed to ...
33784 * sysdeps/x86/bits/select.h: This.
33786 * sysdeps/i386/bits/setjmp.h: Removed.
33787 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33788 * sysdeps/x86/bits/setjmp.h: This.
33790 * sysdeps/i386/bits/mathdef.h: Removed.
33791 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33792 * sysdeps/x86/bits/mathdef.h: This.
33794 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33797 * include/sys/socket.h (__connect_internal)
33798 (__libc_sa_len_internal): Remove declaration.
33799 (__connect, __libc_sa_len): Declare hidden_proto.
33800 (SA_LEN): Remove use of INTUSE.
33801 * socket/connect.c: Add libc_hidden_def.
33802 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33803 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33804 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33806 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33807 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33808 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33809 of adding _internal alias.
33811 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33814 * sysdeps/i386/bits/link.h: Removed.
33815 * sysdeps/i386/bits/linkmap.h: Likewise.
33816 * sysdeps/x86_64/bits/link.h: Renamed to ...
33817 * sysdeps/x86/bits/link.h: This.
33818 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33819 * sysdeps/x86/bits/linkmap.h: This.
33821 * sysdeps/i386/bits/endian.h: Removed.
33822 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33823 * sysdeps/x86/bits/endian.h: This.
33825 * sysdeps/i386/bits/byteswap.h: Removed.
33826 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33827 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33828 * sysdeps/x86/bits/byteswap.h: This.
33829 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33830 * sysdeps/x86/bits/byteswap-16.h: This.
33831 * sysdeps/i386/Implies: Add x86.
33832 * sysdeps/x86_64/Implies: Likewise.
33834 2012-05-30 David S. Miller <davem@davemloft.net>
33836 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33837 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33838 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33839 (FP_TRAPPING_EXCEPTIONS): Define.
33840 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33841 (FP_TRAPPING_EXCEPTIONS): Define.
33842 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33843 subnormals only when inexact has been signalled or underflow
33844 exceptions are enabled.
33845 (_FP_PACK_CANONICAL): Likewise.
33847 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33851 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33853 2012-05-30 Richard Henderson <rth@twiddle.net>
33855 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33856 with #ifndef NOT_IN_libc.
33858 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33859 marked to avoid plt entry.
33861 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33864 * Makeconfig (default-abi): New macro.
33865 (abi-includes): Likewise.
33866 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33867 $(abi-$(default-abi)-lib-soname) for soname if defined.
33868 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33870 * Makefile (installed-stubs): Likewise.
33871 * include/stubs-biarch.h: Removed.
33872 * scripts/lib-names.awk: Only handle one library at a time.
33873 * scripts/soversions.awk: Remove WORDSIZE support.
33874 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33876 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33878 (syscall-list-default-condition): Likewise.
33879 (syscall-list-default-condition): Likewise.
33880 (syscall-list-includes): Likewise.
33881 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33882 syscall-list-* with abi-*. Handle undefined abi-variants.
33883 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33884 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33885 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33887 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33888 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33890 (syscall-list-32-options): Likewise.
33891 (syscall-list-32-condition): Likewise.
33892 (syscall-list-64-options): Likewise.
33893 (syscall-list-64-condition): Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33896 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33899 (abi-64-ld-soname): New macro.
33900 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33901 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33904 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33905 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33907 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33909 * sysdeps/unix/sysv/linux/kernel-features.h
33910 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33911 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33912 include <kernel-features.h>.
33913 [!__NR_ftruncate64]: Remove conditional code.
33914 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33915 [__NR_ftruncate64]: Make code unconditional.
33916 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33917 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33918 include <kernel-features.h>.
33919 [!__NR_ftruncate64]: Remove conditional code.
33920 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33921 [__NR_ftruncate64]: Make code unconditional.
33922 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33924 include <kernel-features.h>.
33925 [!__NR_ftruncate64]: Remove conditional code.
33926 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33927 [__NR_ftruncate64]: Make code unconditional.
33928 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33930 include <kernel-features.h>.
33931 [!__NR_ftruncate64]: Remove conditional code.
33932 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33933 [__NR_ftruncate64]: Make code unconditional.
33934 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33936 * configure.in (libc_cv_fpie): Weaken to a compile test using
33937 LIBC_TRY_CC_OPTION.
33938 * configure: Regenerated.
33940 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33955 2012-05-27 David S. Miller <davem@davemloft.net>
33957 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33959 (__Q_simulate_exceptions): Return void. Change to simulate
33960 exceptions by writing into the %fsr.
33961 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33962 (__Qp_handle_exceptions): Likewise.
33964 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33965 __Qp_handle_exceptions.
33966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33967 __Qp_handle_exceptions.
33968 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33969 as unused and give dummy FP_RND_NEAREST initializer.
33970 (FP_INHIBIT_RESULTS): Define.
33971 (___Q_simulate_exceptions): Update declaration.
33972 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33974 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33975 as unused and give dummy FP_RND_NEAREST initializer.
33976 (__Qp_handle_exceptions): Update declaration.
33977 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33980 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33982 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33983 the temporary FPU control word.
33984 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33985 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33986 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33987 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33988 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33989 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33990 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33991 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33992 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33993 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33994 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33996 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33998 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34001 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34003 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34004 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34005 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34006 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34008 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34009 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34012 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34014 * po/h.po: Update from translation team.
34016 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34018 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34020 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34021 handling of denormals.
34022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34023 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34024 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34025 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34031 2012-05-26 Marek Polacek <polacek@redhat.com>
34034 * math/libm-test.inc (fma_test): Don't always expect underflow
34037 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34040 * elf/tst-execstack.c: Include stackinfo.h.
34041 (do_test): Adjust test case to ensure that pthread_getattr_np
34042 behaviour remains the same after marking stack executable.
34044 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34046 * sysdeps/unix/sysv/linux/kernel-features.h
34047 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34048 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34050 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34051 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34052 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34054 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34055 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34057 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34059 * configure.in: Define the default includes to being none.
34060 * configure: Regenerated.
34062 2012-05-25 Roland McGrath <roland@hack.frob.com>
34064 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34065 * sysdeps/x86_64/setjmp.S: Likewise.
34066 * sysdeps/i386/bsd-setjmp.S: Likewise.
34067 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34068 * sysdeps/i386/setjmp.S: Likewise.
34069 * sysdeps/i386/__longjmp.S: Likewise.
34070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34071 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34073 * include/stap-probe.h: New file.
34074 * configure.in: Handle --enable-systemtap.
34075 * configure: Regenerated.
34076 * config.h.in (USE_STAP_PROBE): New #undef.
34077 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34078 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34079 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34081 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34085 to 2.4.0 where earlier.
34086 * sysdeps/unix/sysv/linux/configure: Regenerated.
34087 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34088 <kernel-features.h>.
34089 [__ASSUME_32BITUIDS]: Make code unconditional.
34090 [!__ASSUME_32BITUIDS]: Remove conditional code.
34091 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34092 <kernel-features.h>.
34093 [__ASSUME_32BITUIDS]: Make code unconditional.
34094 [!__ASSUME_32BITUIDS]: Remove conditional code.
34095 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34096 [__ASSUME_32BITUIDS]: Make code unconditional.
34097 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34098 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34099 <kernel-features.h>.
34100 [__ASSUME_32BITUIDS]: Make code unconditional.
34101 [!__ASSUME_32BITUIDS]: Remove conditional code.
34102 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34103 <kernel-features.h>.
34104 [__ASSUME_32BITUIDS]: Make code unconditional.
34105 [!__ASSUME_32BITUIDS]: Remove conditional code.
34106 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34107 <kernel-features.h>.
34108 [__ASSUME_32BITUIDS]: Make code unconditional.
34109 [!__ASSUME_32BITUIDS]: Remove conditional code.
34110 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34111 <kernel-features.h>.
34112 [__ASSUME_32BITUIDS]: Make code unconditional.
34113 [!__ASSUME_32BITUIDS]: Remove conditional code.
34114 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34115 <kernel-features.h>.
34116 [__ASSUME_32BITUIDS]: Make code unconditional.
34117 [!__ASSUME_32BITUIDS]: Remove conditional code.
34118 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34119 <kernel-features.h>.
34120 [__ASSUME_32BITUIDS]: Make code unconditional.
34121 [!__ASSUME_32BITUIDS]: Remove conditional code.
34122 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34123 <kernel-features.h>.
34124 [__ASSUME_32BITUIDS]: Make code unconditional.
34125 [!__ASSUME_32BITUIDS]: Remove conditional code.
34126 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34127 <kernel-features.h>.
34128 [__ASSUME_32BITUIDS]: Make code unconditional.
34129 [!__ASSUME_32BITUIDS]: Remove conditional code.
34130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34131 <kernel-features.h>.
34132 [__ASSUME_32BITUIDS]: Make code unconditional.
34133 [!__ASSUME_32BITUIDS]: Remove conditional code.
34134 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34135 <kernel-features.h>.
34136 [__ASSUME_32BITUIDS]: Make code unconditional.
34137 [!__ASSUME_32BITUIDS]: Remove conditional code.
34138 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34139 <kernel-features.h>.
34140 [__NR_setresgid] (__setresgid): Do not declare.
34141 [__ASSUME_32BITUIDS]: Make code unconditional.
34142 [!__ASSUME_32BITUIDS]: Remove conditional code.
34143 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34144 <kernel-features.h>.
34145 [__NR_setresuid] (__setresuid): Do not declare.
34146 [__ASSUME_32BITUIDS]: Make code unconditional.
34147 [!__ASSUME_32BITUIDS]: Remove conditional code.
34148 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34149 <kernel-features.h>.
34150 [__ASSUME_32BITUIDS]: Make code unconditional.
34151 [!__ASSUME_32BITUIDS]: Remove conditional code.
34152 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34153 <kernel-features.h>.
34154 [__ASSUME_32BITUIDS]: Make code unconditional.
34155 [!__ASSUME_32BITUIDS]: Remove conditional code.
34156 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34157 <kernel-features.h>.
34158 [__ASSUME_32BITUIDS]: Make code unconditional.
34159 [!__ASSUME_32BITUIDS]: Remove conditional code.
34160 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34161 <kernel-features.h>.
34162 [__ASSUME_32BITUIDS]: Make code unconditional.
34163 [!__ASSUME_32BITUIDS]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34165 <kernel-features.h>.
34166 [__ASSUME_32BITUIDS]: Make code unconditional.
34167 [!__ASSUME_32BITUIDS]: Remove conditional code.
34168 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34169 <kernel-features.h>.
34170 [__ASSUME_32BITUIDS]: Make code unconditional.
34171 [!__ASSUME_32BITUIDS]: Remove conditional code.
34172 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34173 <kernel-features.h>.
34174 [__ASSUME_32BITUIDS]: Make code unconditional.
34175 [!__ASSUME_32BITUIDS]: Remove conditional code.
34176 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34177 <kernel-features.h>.
34178 [__ASSUME_32BITUIDS]: Make code unconditional.
34179 [!__ASSUME_32BITUIDS]: Remove conditional code.
34180 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34181 <kernel-features.h>.
34182 [__ASSUME_32BITUIDS]: Make code unconditional.
34183 [!__ASSUME_32BITUIDS]: Remove conditional code.
34184 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34185 <kernel-features.h>.
34186 [__ASSUME_32BITUIDS]: Make code unconditional.
34187 [!__ASSUME_32BITUIDS]: Remove conditional code.
34188 * sysdeps/unix/sysv/linux/kernel-features.h
34189 (__ASSUME_SETRESUID_SYSCALL): Remove.
34190 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34191 (__ASSUME_32BITUIDS): Likewise.
34192 (__ASSUME_LDT_WORKS): Likewise.
34193 (__ASSUME_O_DIRECTORY): Likewise.
34194 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34195 architecture but not kernel version.
34196 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34197 (__ASSUME_MMAP2_SYSCALL): Likewise.
34198 (__ASSUME_STAT64_SYSCALL): Likewise.
34199 (__ASSUME_IPC64): Likewise.
34200 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34201 <kernel-features.h>.
34202 [__ASSUME_32BITUIDS]: Make code unconditional.
34203 [!__ASSUME_32BITUIDS]: Remove conditional code.
34204 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34205 <kernel-features.h>.
34206 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34207 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34208 132096]: Remove conditional code.
34209 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34210 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34211 <kernel-features.h>.
34212 [__ASSUME_32BITUIDS]: Make code unconditional.
34213 [!__ASSUME_32BITUIDS]: Remove conditional code.
34214 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34215 <kernel-features.h>.
34216 [__ASSUME_32BITUIDS]: Make code unconditional.
34217 [!__ASSUME_32BITUIDS]: Remove conditional code.
34218 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34219 <kernel-features.h>.
34220 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34222 (__setresgid): Do not declare.
34223 [__ASSUME_32BITUIDS]: Make code unconditional.
34224 [!__ASSUME_32BITUIDS]: Remove conditional code.
34225 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34226 <kernel-features.h>.
34227 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34229 (__setresuid): Do not declare.
34230 [__ASSUME_32BITUIDS]: Make code unconditional.
34231 [!__ASSUME_32BITUIDS]: Remove conditional code.
34232 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34233 <kernel-features.h>.
34234 [__ASSUME_32BITUIDS]: Make code unconditional.
34235 [!__ASSUME_32BITUIDS]: Remove conditional code.
34236 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34237 <kernel-features.h>.
34238 [__ASSUME_32BITUIDS]: Make code unconditional.
34239 [!__ASSUME_32BITUIDS]: Remove conditional code.
34241 2012-05-25 Richard Henderson <rth@twiddle.net>
34243 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34244 dl_hwcap to ifunc resolver.
34245 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34247 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34248 dl_hwcap to ifunc resolver.
34249 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34251 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34254 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34255 for |x| <= 2**-26, not 2**-57.
34256 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34259 2012-05-24 Jeff Law <law@redhat.com>
34261 * stdio-common/Makefile (tests): Add bug25.
34262 * stdio-common/bug25.c: New test.
34264 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34267 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34268 multiple of MALLOC_ALIGNMENT in size.
34269 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34271 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34273 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34275 (FILENAME_MAX): Use macro-int-constant.
34276 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34277 (_IOFBF): Use macro-int-constant.
34278 (_IOLBF): Likewise.
34279 (_IONBF): Likewise.
34280 (SEEK_CUR): Likewise.
34281 (SEEK_END): Likewise.
34282 (SEEK_SET): Likewise.
34283 (TMP_MAX): Likewise.
34284 (EOF): Use macro-int-constant. Require < 0.
34285 (NULL): Use macro-constant. Require == 0.
34286 (stdin): Require type to be FILE *.
34287 (stdout): Likewise.
34288 (stderr): Likewise.
34289 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34290 macro-int-constant.
34291 (EXIT_SUCCESS): Likewise.
34292 (NULL): Use macro-constant. Require == 0.
34293 (RAND_MAX): Use macro-int-constant.
34294 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34295 [C99-based standards] (strtof): Require function.
34296 [C99-based standards] (strtold): Likewise.
34297 [C99-based standards] (strtoll): Likewise.
34298 [C99-based standards] (strtoull): Likewise.
34299 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34300 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34301 [ISO || ISO99 || ISO11] (math.h): Likewise.
34302 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34303 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34306 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34309 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34310 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34311 * intl/dgettext.c (DCGETTEXT): Likewise.
34312 * intl/gettext.c (DCGETTEXT): Likewise.
34313 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34314 * posix/regex_internal.h (gettext): Likewise.
34315 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34316 Remove declaration.
34317 * include/argz.h (__argz_count_internal)
34318 (__argz_stringify_internal): Remove declaration.
34319 (__argz_count, __argz_stringify): Declare hidden proto.
34320 * intl/dcgettext.c: Remove use of INTDEF.
34321 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34322 * string/argz-stringify.c: Likewise.
34323 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34324 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34325 Declare hidden proto.
34326 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34327 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34328 Declare hidden proto.
34329 * include/stdio.h (__asprintf_internal): Don't declare.
34330 (__asprintf): Don't define as macro. Declare hidden proto.
34331 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34332 (__fsetlocking): Declare hidden proto.
34333 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34334 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34336 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34337 (_IO_setlinebuf): Remove use of INTUSE.
34338 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34339 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34340 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34341 Remove declaration.
34342 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34343 (_IO_do_flush): Remove use of INTUSE.
34344 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34345 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34346 (_IO_adjust_column, _IO_least_wmarker)
34347 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34348 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34349 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34350 (_IO_default_doallocate, _IO_wdefault_doallocate)
34351 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34352 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34353 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34354 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34355 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34356 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34357 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34358 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34359 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34360 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34361 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34362 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34363 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34365 (_IO_flush_all_internal, _IO_adjust_column_internal)
34366 (_IO_default_uflow_internal, _IO_default_finish_internal)
34367 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34368 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34369 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34370 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34371 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34372 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34373 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34374 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34375 (_IO_file_close_internal, _IO_file_close_it_internal)
34376 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34377 (_IO_file_init_internal, _IO_file_attach_internal)
34378 (_IO_file_fopen_internal, _IO_file_read_internal)
34379 (_IO_file_sync_internal, _IO_file_seek_internal)
34380 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34381 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34382 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34383 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34384 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34385 (_IO_list_all_internal, _IO_link_in_internal)
34386 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34387 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34388 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34389 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34390 (_IO_do_write_internal, _IO_padn_internal)
34391 (_IO_getline_info_internal, _IO_getline_internal)
34392 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34393 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34394 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34395 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34396 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34397 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34398 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34399 with libc_hidden_ver, remove use of INTUSE.
34400 * libio/genops.c: Likewise.
34401 * libio/freopen.c: Likewise.
34402 * libio/freopen64.c: Likewise.
34403 * libio/iofclose.c: Likewise.
34404 * libio/iofdopen.c: Likewise.
34405 * libio/iofflush.c: Likewise.
34406 * libio/iofflush_u.c: Likewise.
34407 * libio/iofgets.c: Likewise.
34408 * libio/iofgets_u.c: Likewise.
34409 * libio/iofopen.c: Likewise.
34410 * libio/iofopncook.c: Likewise.
34411 * libio/iofread.c: Likewise.
34412 * libio/iofread_u.c: Likewise.
34413 * libio/ioftell.c: Likewise.
34414 * libio/iofwrite.c: Likewise.
34415 * libio/iogetline.c: Likewise.
34416 * libio/iogets.c: Likewise.
34417 * libio/iogetwline.c: Likewise.
34418 * libio/iopadn.c: Likewise.
34419 * libio/iopopen.c: Likewise.
34420 * libio/ioseekoff.c: Likewise.
34421 * libio/ioseekpos.c: Likewise.
34422 * libio/iosetbuffer.c: Likewise.
34423 * libio/iosetvbuf.c: Likewise.
34424 * libio/ioungetc.c: Likewise.
34425 * libio/ioungetwc.c: Likewise.
34426 * libio/iovdprintf.c: Likewise.
34427 * libio/iovsprintf.c: Likewise.
34428 * libio/iovsscanf.c: Likewise.
34429 * libio/memstream.c: Likewise.
34430 * libio/obprintf.c: Likewise.
34431 * libio/oldfileops.c: Likewise.
34432 * libio/oldiofclose.c: Likewise.
34433 * libio/oldiofdopen.c: Likewise.
34434 * libio/oldiofopen.c: Likewise.
34435 * libio/oldiopopen.c: Likewise.
34436 * libio/oldstdfiles.c: Likewise.
34437 * libio/putc.c: Likewise.
34438 * libio/setbuf.c: Likewise.
34439 * libio/setlinebuf.c: Likewise.
34440 * libio/stdfiles.c: Likewise.
34441 * libio/strops.c: Likewise.
34442 * libio/vasprintf.c: Likewise.
34443 * libio/vscanf.c: Likewise.
34444 * libio/vsnprintf.c: Likewise.
34445 * libio/vswprintf.c: Likewise.
34446 * libio/wfiledoalloc.c: Likewise.
34447 * libio/wfileops.c: Likewise.
34448 * libio/wgenops.c: Likewise.
34449 * libio/wmemstream.c: Likewise.
34450 * libio/wstrops.c: Likewise.
34451 * libio/__fpurge.c: Likewise.
34452 * libio/__fsetlocking.c: Likewise.
34453 * assert/assert.c: Likewise.
34454 * debug/fgets_chk.c: Likewise.
34455 * debug/fgets_u_chk.c: Likewise.
34456 * debug/fread_chk.c: Likewise.
34457 * debug/fread_u_chk.c: Likewise.
34458 * debug/gets_chk.c: Likewise.
34459 * debug/obprintf_chk.c: Likewise.
34460 * debug/vasprintf_chk.c: Likewise.
34461 * debug/vdprintf_chk.c: Likewise.
34462 * debug/vsnprintf_chk.c: Likewise.
34463 * debug/vsprintf_chk.c: Likewise.
34464 * malloc/mtrace.c: Likewise.
34465 * misc/error.c: Likewise.
34466 * misc/syslog.c: Likewise.
34467 * stdio-common/asprintf.c: Likewise.
34468 * stdio-common/fxprintf.c: Likewise.
34469 * stdio-common/getw.c: Likewise.
34470 * stdio-common/isoc99_fscanf.c: Likewise.
34471 * stdio-common/isoc99_scanf.c: Likewise.
34472 * stdio-common/isoc99_vfscanf.c: Likewise.
34473 * stdio-common/isoc99_vscanf.c: Likewise.
34474 * stdio-common/isoc99_vsscanf.c: Likewise.
34475 * stdio-common/printf-prs.c: Likewise.
34476 * stdio-common/printf_fp.c: Likewise.
34477 * stdio-common/printf_fphex.c: Likewise.
34478 * stdio-common/printf_size.c: Likewise.
34479 * stdio-common/putw.c: Likewise.
34480 * stdio-common/scanf.c: Likewise.
34481 * stdio-common/sprintf.c: Likewise.
34482 * stdio-common/tmpfile.c: Likewise.
34483 * stdio-common/vfprintf.c: Likewise.
34484 * stdio-common/vfscanf.c: Likewise.
34485 * stdlib/strfmon_l.c: Likewise.
34486 * sunrpc/openchild.c: Likewise.
34487 * sunrpc/xdr_stdio.c: Likewise.
34488 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34489 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34491 2012-05-24 Roland McGrath <roland@hack.frob.com>
34493 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34495 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34496 in the third column, to generate for the shared library an IFUNC
34497 that uses _dl_vdso_vsym.
34498 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34499 * Makeconfig (object-suffixes-noshared): New variable.
34501 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34502 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34503 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34504 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34507 * include/sys/time.h (__gettimeofday): Remove macro.
34508 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34509 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34511 (__gettimeofday): Add libc_hidden_def.
34512 (gettimeofday): Add libc_hidden_weak.
34513 * sysdeps/mach/gettimeofday.c: Likewise.
34514 * sysdeps/posix/gettimeofday.c: Likewise.
34515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34516 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34517 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34518 (__gettimeofday_internal): Remove strong_alias.
34519 (__gettimeofday): Add libc_hidden_def.
34520 (gettimeofday): Add libc_hidden_weak.
34521 * sysdeps/unix/syscalls.list (gettimeofday):
34522 Remove __gettimeofday_internal alias.
34524 2012-05-24 Daniel Jacobowitz <drow@false.org>
34525 H.J. Lu <hongjiu.lu@intel.com>
34528 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34529 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34530 (largebin_index_32_big): New.
34531 (largebin_index): Use it for 16-byte alignment.
34532 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34533 correction with front_misalign.
34535 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34563 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34564 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34566 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34570 * math/libm-test.inc (exp_test): Add test from bug 14036.
34571 (pow_test): Add test from bug 10846.
34573 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34575 (special_function): Do not include flags in test name.
34576 (parse_args): Likewise.
34577 * sysdeps/i386/fpu/libm-test-ulps: Update.
34578 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34579 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34580 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34583 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34585 * math/libm-test.inc ("Philosophy"): Update comment about
34587 (UNDERFLOW_EXCEPTION): New macro.
34588 (UNDERFLOW_EXCEPTION_OK): Likewise.
34589 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34590 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34591 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34592 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34593 (INVALID_EXCEPTION_OK): Update value.
34594 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34595 (OVERFLOW_EXCEPTION_OK): Likewise.
34596 (IGNORE_ZERO_INF_SIGN): Likewise.
34597 (test_exceptions): Handle underflow exceptions.
34598 (acos_test): Update for underflow exception expectations.
34599 (cexp_test): Likewise.
34600 (clog_test): Likewise.
34601 (clog10_test): Likewise.
34602 (csqrt_test): Likewise.
34603 (ctan_test): Likewise.
34604 (ctanh_test): Likewise.
34605 (exp_test): Likewise.
34606 (exp10_test): Likewise.
34607 (exp2_test): Likewise.
34608 (expm1_test): Likewise.
34609 (fma_test): Likewise.
34610 (j0_test): Likewise.
34611 (jn_test): Likewise.
34612 (nexttoward_test): Likewise.
34613 (pow_test): Likewise.
34614 (scalbn_test): Likewise.
34615 (scalbln_test): Likewise.
34616 (tan_test): Likewise.
34617 (y1_test): Likewise.
34618 * sysdeps/i386/fpu/libm-test-ulps: Update.
34619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34621 2012-05-23 David S. Miller <davem@davemloft.net>
34623 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34624 (__libc_sigaction): Remove unused local variables.
34626 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34628 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34630 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34632 mktime: avoid signed integer overflow
34633 * time/mktime.c (__mktime_internal): Do not mishandle the case
34634 where diff == INT_MIN.
34636 mktime: simplify computation of average
34637 * time/mktime.c (ranged_convert): Use new time_t_avg function
34638 instead of rolling our own (probably-slower) code.
34640 mktime: do not assume signed right shift propagates sign bit
34641 * time/mktime.c (isdst_differ): New static function.
34642 (__mktime_internal): No need to normalize tm_isdst now.
34643 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34646 mktime: merge another wrapv change from gnulib
34647 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34648 from some compilers.
34650 mktime: remove incorrect attempt at unusual arithmetics
34651 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34652 The code didn't really work on such machines anyway.
34653 (TYPE_MINIMUM): Assume two's complement.
34654 (twos_complement_arithmetic): Verify that long_int and time_t
34655 are two's complement (or unsigned, in the latter case).
34657 mktime: check signed shifts on long_int and time_t, too
34658 * time/mktime.c (SHR): Check that shifts work as desired
34659 on the types long_int and time_t too, as SHR is used on
34662 mktime: do not assume 'long' is wide enough
34663 * time/mktime.c (verify): Move decl up.
34664 (long_int): New type.
34665 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34666 to remove assumption in the code that 'long' is wide enough to
34667 store year values. This assumption is not true on x32 and on
34668 some non-glibc platforms.
34670 mktime: merge wrapv change from gnulib
34671 * time/mktime.c (WRAPV): New macro.
34672 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34673 (guess_time_tm, __mktime_internal): Do not assume that signed
34674 integer overflow wraps around; modern compilers generate code
34675 where this assumption is no longer valid.
34677 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34679 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34680 Replace "jmp L(pseudo_end)" with "ret".
34681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34684 2012-05-23 Andreas Jaeger <aj@suse.de>
34686 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34687 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34689 2012-05-23 Andreas Jaeger <aj@suse.de>
34690 Maximilian Attems <max@stro.at>
34692 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34695 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34698 code so that pseudo_end is just ret and the stack pointer is
34699 correct also for static library in error case.
34701 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34703 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34704 move to syscalls.list.
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34710 * manual/install.texi (Running make install): Do not mention Linux
34711 kernel version for which pt_chown is not needed.
34712 (Linux): Do not mention problems with nscd with 2.0 kernels.
34713 * INSTALL: Regenerated.
34715 2012-05-23 Andreas Jaeger <aj@suse.de>
34717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34718 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34720 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34722 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34724 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34726 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34727 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34729 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34730 * sysdeps/unix/sysv/linux/bits/in.h
34731 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34733 2012-05-22 Roland McGrath <roland@hack.frob.com>
34735 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34736 (PREPARE_VERSION): Just use assert instead, it will be elided
34737 under [NDEBUG] anyway.
34739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34741 * sysdeps/unix/sysv/linux/Makefile: Include
34742 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34743 (sysdep_routines): Remove sysctl.
34744 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34745 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34746 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34747 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34748 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34750 2012-05-22 Andreas Jaeger <aj@suse.de>
34752 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34753 that pseudo_end is just ret and the stack pointer is correct also
34754 for static library in error case.
34756 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34759 * nss/nsswitch.c (defconfig_entries): New variable.
34760 (__nss_database_lookup): Don't leak defconfig entries.
34761 (nss_parse_service_list): Don't leak on error paths.
34762 (free_database_entries): New function.
34763 (free_defconfig): New function.
34764 (free_mem): Move common code to free_database_entries.
34766 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34768 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34770 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34772 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34773 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34776 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34777 (INTERNAL_SYSCALL_TYPES): Likewise.
34778 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34779 (LOAD_REGS_TYPES_[1-6]): Likewise.
34780 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34781 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34783 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34785 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34786 copysignl for GLIBC_2_0.
34787 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34788 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34790 logbl for GLIBC_2_0.
34791 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34792 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34794 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34796 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34797 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34799 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34802 * time/mktime.c: Update copyright years.
34804 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34806 mktime: merge comment-quoting-style change from gnulib
34807 * time/mktime.c: Quote 'like this' in comments.
34808 The GNU coding standards suggest that we no longer quote `like this',
34809 as "`" and "'" are typically rendered asymmetrically nowadays.
34810 The typical gnulib style is to quote 'like this' when quoting
34811 code, and "like this" when quoting English.
34813 * time/mktime.c (compile-command): Add "-I.".
34815 mktime: merge mktime-internal.h change from gnulib
34816 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34818 mktime: merge time_r change from gnulib
34819 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34821 mktime: merge DEBUG change from gnulib
34822 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34823 case system <time.h> has a #define.
34825 mktime: merge <sys/types.h> change from gnulib
34826 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34827 since <time.t> is now guaranteed to define time_t.
34829 mktime: merge HAVE_CONFIG_H change from gnulib
34830 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34832 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34837 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34839 (struct rusage): Use anonymous union to pad each field to
34842 2012-05-21 David S. Miller <davem@davemloft.net>
34844 * Makefules (o-iterator): Remove .s cases.
34845 (compile-command.s): Delete.
34846 (COMPILE.s): Delete.
34847 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34849 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34851 * configure.in (libc_cv_predef_stack_protector): Only consider
34852 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34853 * configure: Regenerated.
34855 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34858 New macro. Use R*LP on int and pointer.
34859 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34860 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34861 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34862 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34864 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34865 [__WORDSIZE_TIME64_COMPAT32] instead of
34866 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34867 (struct utmp): Likewise.
34868 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34869 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34871 (__WORDSIZE_TIME64_COMPAT32): This.
34872 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34873 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34874 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34875 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34876 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34877 (__WORDSIZE_TIME64_COMPAT32): New macro.
34879 2012-05-21 Andreas Jaeger <aj@suse.de>
34881 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34882 only if [SHARED]. Add prototype for __wcschr_ia32.
34884 2012-05-21 Roland McGrath <roland@hack.frob.com>
34886 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34887 of %rbp unmolested in the jmp_buf while mangling the low bits.
34888 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34889 unmolested high bits of %rbp while demangling the low bits.
34890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34892 2012-05-21 Andreas Jaeger <aj@suse.de>
34894 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34895 * sunrpc/svc_simple.c: Use it for registerrpc.
34896 * sunrpc/xcrypt.c: Use it for passwd2des.
34898 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34900 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34902 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34903 Don't define if [__SYSCALL_WORDSIZE != 32].
34904 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34907 2012-05-21 Bruno Haible <bruno@clisp.org>
34908 Andreas Jaeger <aj@suse.de>
34910 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34911 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34912 inptr and inend for must_buffer_ch.
34913 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34914 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34915 * stdio-common/Makefile (tests): Remove bug15.
34916 (bug15-ENV): Remove macro.
34917 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34920 2012-05-19 Andreas Jaeger <aj@suse.de>
34921 Roland McGrath <roland@hack.frob.com>
34923 * manual/contrib.texi: Completely rewritten. It contains now an
34924 alphabetical list of contributors and their contributions.
34926 2012-05-21 Richard Henderson <rth@twiddle.net>
34928 * misc/getauxval.c (__getauxval): Use unsigned long int.
34929 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34930 (getauxval): Use unsigned long int.
34932 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34934 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34936 2012-05-21 Roland McGrath <roland@hack.frob.com>
34938 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34939 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34940 __alignof__ (long double).
34942 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34946 2012-05-20 Richard Henderson <rth@twiddle.net>
34948 * misc/getauxval.c: New file.
34949 * misc/sys/auxv.h: New file.
34950 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34951 (routines): Add getauxval.
34952 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34954 * elf/dl-sysdep.c (_dl_auxv): Remove.
34955 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34956 * elf/dl-support.c (_dl_auxv): New variable.
34957 (_dl_aux_init): Initialize it.
34958 * manual/startup.texi (Auxiliary Vector): New node.
34959 * sysdeps/generic/bits/hwcap.h: New file.
34960 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34961 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34962 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34963 * sysdeps/sparc/sysdep.h: ... here. Include it.
34964 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34977 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34981 2012-05-19 David S. Miller <davem@davemloft.net>
34983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34985 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34988 * math/s_ccosh.c: Include <float.h>
34989 (__ccosh): Avoid internal overflow calculating sinh and cosh
34990 values before multiplying by sin and cos values.
34991 * math/s_ccoshf.c: Likewise.
34992 * math/s_ccoshl.c: Likewise.
34993 * math/s_csin.c: Likewise.
34994 * math/s_csinf.c: Likewise.
34995 * math/s_csinl.c: Likewise.
34996 * math/s_csinh.c: Likewise.
34997 * math/s_csinhf.c: Likewise.
34998 * math/s_csinhl.c: Likewise.
34999 * math/libm-test.inc (ccos_test): Add more tests.
35000 (ccosh_test): Likewise.
35001 (csin_test): Likewise.
35002 (csinh_test): Likewise.
35003 * sysdeps/i386/fpu/libm-test-ulps: Update.
35004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35008 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35009 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35011 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35013 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35015 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35016 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35017 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35018 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35019 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35020 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35021 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35022 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35023 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35024 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35025 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35026 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35027 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35028 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35029 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35030 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35031 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35032 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35033 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35034 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35035 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35036 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35037 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35038 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35039 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35040 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35041 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35042 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35043 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35044 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35045 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35047 2012-05-18 Andreas Jaeger <aj@suse.de>
35049 * csu/.gitignore: Delete.
35051 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35053 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35054 (timex): Use __syscall_slong_t.
35056 2012-05-18 Andreas Jaeger <aj@suse.de>
35057 Carlos O'Donell <carlos_odonell@mentor.com>
35059 * manual/install.texi (Configuring and compiling): Update
35060 description about files modified in the source directory.
35061 * INSTALL: Regenerated.
35063 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35065 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35066 value. Use "or" to set return value to -1.
35067 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35068 negate return value.
35070 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35072 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35073 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35074 failure if the compiler has Graphite support disabled.
35075 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35077 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35078 (CFLAGS-memmove.c): Likewise.
35079 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35082 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35084 * sysdeps/x86_64/x32/_itoa.h: New file.
35086 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35087 getdents system call only if kernel and user dirents have the
35088 same d_ino and d_off.
35090 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35091 LLONG_MAX != LONG_MAX.
35092 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35093 (_fitoa_word): Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35099 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35101 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35102 include <bits/wordsize.h>. Check __x86_64__ instead of
35104 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35105 if __x86_64__ is defined. Use anonymous union on fpstate.
35107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35110 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35112 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35113 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35114 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35115 Refer to _rtld_local_ro instead of _rtld_global_ro.
35116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35118 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35120 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35122 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35123 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35124 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35126 * sysdeps/powerpc/powerpc32/dl-machine.c
35127 (__elf_machine_runtime_setup) [PROF]: Don't reference
35130 2012-05-18 Andreas Jaeger <aj@suse.de>
35132 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35133 function only available for GCCs before 3.4 since GCC 3.4
35134 introduced a builtin.
35136 (llrintf): Likewise.
35137 (llrint): Likewise.
35144 (nearbyint): Likewise.
35145 (nearbyintf): Likewise.
35149 (floorf): Likewise.
35151 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35153 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35154 on both fields and cast pointer to __syscall_ulong_t.
35156 * bits/types.h (__fsword_t): New type.
35157 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35158 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35160 (__FSWORD_T_TYPE): Likewise.
35161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35162 (__FSWORD_T_TYPE): Likewise.
35163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35164 (__FSWORD_T_TYPE): Likewise.
35165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35166 (__FSWORD_T_TYPE): Likewise.
35167 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35168 __SWORD_TYPE with __fsword_t.
35169 (statfs64): Likewise.
35171 2012-05-17 David S. Miller <davem@davemloft.net>
35173 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35175 2012-05-17 Andreas Jaeger <aj@suse.de>
35177 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35180 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35182 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35184 2012-05-17 Andreas Jaeger <aj@suse.de>
35186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35189 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35191 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35193 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35195 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35196 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35198 2012-05-17 Andreas Jaeger <aj@suse.de>
35199 Carlos O'Donell <carlos_odonell@mentor.com>
35202 * sysdeps/x86_64/multiarch/init-arch.h
35203 (bit_YMM_Usable): Rename to...
35204 (bit_AVX_Usable): ... this.
35205 (bit_FMA4_Usable): New macro.
35206 (bit_XMM_state): New macro.
35207 (bit_YMM_state): New macro.
35208 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35209 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35210 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35211 (CPUID_OSXSAVE): New macro.
35212 (CPUID_AVX): New macro.
35213 (CPUID_FMA4): New macro.
35214 (index_YMM_Usable): Rename to...
35215 (index_AVX_Usable): ... this.
35216 (HAS_AVX): Use HAS_ARCH_FEATURE.
35217 (HAS_FMA4): Likewise.
35218 (HAS_YMM_USABLE): Remove.
35219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35220 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35222 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35223 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35224 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35225 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35226 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35228 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35230 * math/libm-test.c: Support platforms without multiple rounding modes.
35231 * math/bug-nextafter.c: Support platforms without FP exceptions.
35232 * math/bug-nexttoward.c: Likewise.
35233 * math/test-fenv.c: Likewise.
35234 * math/test-misc.c: Likewise.
35235 * stdlib/bug-getcontext.c: Likewise.
35237 2012-05-17 Andreas Jaeger <aj@suse.de>
35239 * manual/examples/search.c (critter_cmp): Change signature to
35241 * manual/string.texi (Collation Functions): Likewise.
35243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35245 * bits/types.h: Fold copyright years.
35246 * bits/typesizes.h: Likewise.
35247 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35251 * time/time.h: Likewise.
35253 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35256 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35257 in instead of returning them. Return void.
35258 (__libc_mallinfo): Accumulate over all arenas.
35259 (__malloc_stats): Adjust for change in int_mallinfo interface.
35261 2012-05-16 Roland McGrath <roland@hack.frob.com>
35264 * configure.in (NM): Add AC_CHECK_TOOL for it.
35265 (libc_extra_cflags): New substituted variable.
35266 Check for -fstack-protector being used implicitly.
35267 * configure: Regenerated.
35268 * config.make.in (config-extra-cflags): New variable,
35269 gets @libc_extra_cflags@.
35270 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35273 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35274 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35275 * configure: Regenerated.
35276 * config.make.in (CPPUNDEFS): New substituted variable.
35277 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35278 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35279 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35283 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35284 (mq_attr): Use __syscall_slong_t.
35286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35288 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35289 Check __x86_64__ instead of __WORDSIZE.
35290 (_STAT_VER_LINUX): Likewise.
35291 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35292 __syscall_ulong_t and __syscall_slong_t.
35293 (stat64): Likewise.
35295 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35299 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35301 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35305 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35308 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35309 include <bits/wordsize.h>. Check __x86_64__ instead of
35311 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35313 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35316 include <bits/wordsize.h>. Check __x86_64__ instead of
35318 (user_regs_struct): Use "__extension__ unsigned long long"
35319 instead of "unsigned long" if __x86_64__ is defined.
35320 (user): Likewise. Pad after pointer field if __ILP32__ is
35323 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35325 * configure.in (makeinfo): Require version 4.5 or later. Allow
35327 * configure: Regenerated.
35328 * manual/install.texi (texinfo): Increase version requirement to
35330 * INSTALL: Regenerated.
35332 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35334 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35336 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35338 * sysdeps/x86_64/x32/ffs.c: New file.
35340 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35342 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35343 defined. Use __syscall_ulong_t.
35344 (shminfo): Use __syscall_ulong_t.
35345 (shm_info): Likewise.
35347 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35350 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35352 (msgqnum_t): Use __syscall_ulong_t.
35353 (msglen_t): Likewise.
35354 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35357 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35358 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35360 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35362 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35363 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35365 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35368 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35369 include <bits/wordsize.h>. Check __x86_64__ instead of
35372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35373 "unsigned long long int" if __x86_64__ is defined.
35374 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35376 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35377 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35378 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35380 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35382 (GET_PC): Cast to uintptr_t first.
35383 (GET_FRAME): Likewise.
35384 (GET_STACK): Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35387 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35388 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35389 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35391 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35392 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35396 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35397 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35398 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35399 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35400 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35403 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35404 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35406 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35407 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35409 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35410 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35411 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35412 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35416 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35418 * Makerules (+depfiles): Also collect depfiles from .oS in
35420 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35421 .oS, $(libnldbl-routines)).
35423 * Makerules (native-compile-mkdep-flags): Define.
35424 * sunrpc/Makefile (extra-objs): Add $(addprefix
35425 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35426 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35427 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35428 calling $(make-target-directory).
35430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35432 * bits/types.h (__snseconds_t): Removed.
35433 * time/time.h (struct timespec): Replace __snseconds_t with
35435 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35436 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35439 (__SNSECONDS_T_TYPE): Likewise.
35440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35441 (__SNSECONDS_T_TYPE): Likewise.
35442 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35443 (__SNSECONDS_T_TYPE): Likewise.
35445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35447 * sysdeps/mach/hurd/bits/typesizes.h
35448 (__SYSCALL_SLONG_TYPE): New macro.
35449 (__SYSCALL_ULONG_TYPE): Likewise.
35451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35453 * bits/types.h (__syscall_slong_t): New type.
35454 (__syscall_ulong_t): Likewise.
35456 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35457 (__SYSCALL_ULONG_TYPE): Likewise.
35458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35459 (__SYSCALL_SLONG_TYPE): Likewise.
35460 (__SYSCALL_ULONG_TYPE): Likewise.
35461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35462 (__SYSCALL_SLONG_TYPE): Likewise.
35463 (__SYSCALL_ULONG_TYPE): Likewise.
35464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35465 (__SYSCALL_SLONG_TYPE): Likewise.
35466 (__SYSCALL_ULONG_TYPE): Likewise.
35468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35471 Add sigaltstack-offsets.sym.
35472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35473 <sigaltstack-offsets.h>.
35474 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35475 longjmp_msg pointer.
35476 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35477 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35479 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35481 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35483 * elf/stackguard-macros.h: Remove file.
35484 * sysdeps/generic/stackguard-macros.h: New file.
35485 * sysdeps/i386/stackguard-macros.h: Likewise.
35486 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35487 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35488 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35489 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35490 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35491 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35492 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35493 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35494 <elf/stackguard-macros.h>.
35497 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35498 __aligned__ in attribute.
35499 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35500 (gregset_t): Likewise.
35502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35504 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35505 * sysdeps/x86_64/64/Implies-after: Here. New file.
35506 * sysdeps/x86_64/x32/Implies-after: New file.
35508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35510 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35511 and access return value for _dl_profile_fixup. Use R10_LP to
35514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35516 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35520 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35521 * sysdeps/x86_64/x32/sysdep.h: New file.
35523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35525 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35526 * sysdeps/x86_64/setjmp.S: Likewise.
35528 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35530 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35531 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35532 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35534 remove unused global constant.
35536 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35538 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35539 include of <not-cancel.h>.
35541 2012-05-15 Roland McGrath <roland@hack.frob.com>
35543 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35545 2012-05-15 Jeff Law <law@redhat.com>
35546 Andreas Jaeger <aj@suse.de>
35549 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35551 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35552 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35554 code changing __hst_map_handle.map.
35556 2012-05-15 Roland McGrath <roland@hack.frob.com>
35558 * configure.in (sysnames): Look for Implies-before and Implies-after
35560 * configure: Regenerated.
35562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35564 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35565 8-byte data alignment with LP_SIZE alignment.
35567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35569 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35574 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35578 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35579 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35580 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35586 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35587 (stackinfo_sub_sp): Likewise.
35589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35606 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35610 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35611 into R11_LP and load __x86_64_shared_cache_size_half into
35614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35616 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35619 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35628 powerpc32/power7/fpu/s_logb.c via #include.
35629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35630 powerpc32/power7/fpu/s_logbf.c via #include.
35631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35632 powerpc32/power7/fpu/s_logbl.c via #include.
35634 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35636 * README.libm: Remove file.
35638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35640 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35641 count for x32. Use R*_LP and omit operand-size suffix.
35643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35645 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35646 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35647 * sysdeps/x86_64/x32/shlib-versions: New file.
35649 2012-05-14 Roland McGrath <roland@hack.frob.com>
35651 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35652 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35653 Use _dl_fatal_printf instead.
35655 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35657 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35658 set if not set by the user. Do not allow for being unset.
35659 * sysdeps/unix/sysv/linux/configure: Regenerated.
35661 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35663 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35664 the `q' suffix from lea and replace .quad with ASM_ADDR.
35666 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35669 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35671 (PTR_DEMANGLE): Likewise.
35673 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35675 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35677 (ASM_ADDR): Likewise.
35678 (RAX_LP): Likewise.
35679 (RBP_LP): Likewise.
35680 (RBX_LP): Likewise.
35681 (RCX_LP): Likewise.
35682 (RDI_LP): Likewise.
35683 (RSI_LP): Likewise.
35684 (RSP_LP): Likewise.
35687 (R10_LP): Likewise.
35688 (R10_LP): Likewise.
35689 (R11_LP): Likewise.
35690 (R12_LP): Likewise.
35691 (R13_LP): Likewise.
35692 (R14_LP): Likewise.
35693 (R15_LP): Likewise.
35695 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35697 * sysdeps/x86_64/x32/dl-machine.h: New file.
35699 2012-05-14 Andreas Jaeger <aj@suse.de>
35701 * manual/Makefile (subdir): Remove export of subdir.
35702 (all): Remove target.
35703 (.PHONY): Remove all from list.
35704 (mkinstalldirs): Remove.
35705 (.PHONY): Remove installdirs from list.
35706 ($(inst_infodir)/libc.info): Use make-target-directory.
35707 (installdirs): Remove.
35708 (subdir_%): Remove.
35709 (glibc-targets): Remove.
35712 ($(objpfx)stubs ../po/manual.pot): Remove.
35713 ($(objpfx)stamp%): Remove.
35714 (make-target-directory): Remove.
35715 (subdir_install): Remove.
35716 (routines): Remove.
35723 * manual/.gitignore: Remove, it's not needed anymore.
35724 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35726 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35728 (texis): Renamed to $(objpfx)texis.
35729 (texis-path): New, contains path to generated files.
35730 (chapters.%): Use texis-path for complete path, add extra argument
35732 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35733 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35734 (summary,texi, stamp-summary): Use complete path of
35735 files. Generate files in build dir.
35736 (dir-add.texi): Build in build dir.
35737 (libm-err.texi,stamp-libm-err): Likewise.
35738 (version.texi, stamp-version): Likewise.
35739 (.%c.texi): Likewise.
35740 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35741 (mostlyclean): Remove target.
35742 (realclean): Remove target.
35743 (generated): Add new variable with contents from mostlyclean and
35744 realclean, remove entries duplicated in common-mostlyclean, add
35745 stamp-libm-err and stamp-version.
35746 (generated-dirs): Add libc directory.
35747 ($(inst_infodir)/libc.info): Install files from build dir.
35749 * manual/install.texi (Configuring and compiling): Adjust since
35750 the info files are not part of the tar ball anymore.
35752 2012-05-14 Andreas Jaeger <aj@suse.de>
35754 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35757 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35761 to 2.2.0 where earlier.
35762 * sysdeps/unix/sysv/linux/configure: Regenerated.
35763 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35764 Remove conditional code.
35765 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35766 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35767 Remove conditional code.
35768 [!__NR_lchown]: Likewise.
35769 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35770 [__NR_lchown]: Likewise.
35771 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35772 comment referencing __ASSUME_LCHOWN_SYSCALL.
35773 * sysdeps/unix/sysv/linux/i386/sigaction.c
35774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35776 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35777 Remove conditional code.
35778 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35779 (__protocol_available): Remove #if 0 code.
35780 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35782 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35783 * sysdeps/unix/sysv/linux/kernel-features.h
35784 (__ASSUME_GETCWD_SYSCALL): Don't define.
35785 (__ASSUME_REALTIME_SIGNALS): Likewise.
35786 (__ASSUME_PREAD_SYSCALL): Likewise.
35787 (__ASSUME_PWRITE_SYSCALL): Likewise.
35788 (__ASSUME_POLL_SYSCALL): Likewise.
35789 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35790 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35792 (__ASSUME_SIOCGIFNAME): Don't define.
35793 (__ASSUME_MSG_NOSIGNAL): Likewise.
35794 (__ASSUME_SENDFILE): Define unconditionally.
35795 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35796 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35798 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35799 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35800 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35801 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35802 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35803 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35804 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35806 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35809 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35812 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35818 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35821 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35824 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35829 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35830 Remove conditional code.
35831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35832 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35833 Remove conditional code.
35834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35835 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35836 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35837 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35838 Remove conditional code.
35839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35840 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35841 Remove conditional code.
35842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35843 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35844 Remove conditional code.
35845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35846 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35847 Remove conditional code.
35848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35849 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35850 Remove conditional code.
35851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35852 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35855 * sysdeps/unix/sysv/linux/sigaction.c
35856 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35857 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35858 * sysdeps/unix/sysv/linux/sigpending.c
35859 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35860 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35861 * sysdeps/unix/sysv/linux/sigprocmask.c
35862 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35863 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35864 * sysdeps/unix/sysv/linux/sigsuspend.c
35865 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35866 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35867 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35868 (__libc_missing_rt_sigs): Remove.
35869 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35870 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35871 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35872 Remove conditional code.
35873 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35874 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35876 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35877 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35878 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35879 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35881 2012-05-14 Andreas Jaeger <aj@suse.de>
35883 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35884 it's not used in glibc.
35885 (__coshm1): Likewise.
35886 (__acosh1p): Likewise.
35889 * manual/string.texi (Copying and Concatenation): Add missing
35890 variable in concat example.
35891 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35897 __builtin_clzl with __builtin_clzll.
35899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35902 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35905 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35907 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35908 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35909 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35910 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35912 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35914 * NEWS: Update ia64 info.
35916 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35918 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35921 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35923 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35924 * sysdeps/unix/syscalls.list (dup3): Likewise.
35925 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35926 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35928 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35930 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35931 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35933 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35935 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35937 (TLS_IE): Use mov/add instead of movq/addq to load thread
35939 (TLS_GD_PREFIX): New.
35942 2012-05-11 David S. Miller <davem@davemloft.net>
35944 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35945 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35946 (_FPU_SETCW): Likewise.
35948 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35950 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35951 is 32-byte aligned.
35953 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35956 * iconvdata/gb18030.c: Update tables.
35957 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35958 characters specially.
35959 (BODY for TO_LOOP): Add encoding of missing ranges.
35961 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35964 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35965 * sysdeps/mach/hurd/dup3.c: Likewise.
35966 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35967 * sysdeps/powerpc/memmove.c:: Likewise.
35969 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35972 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35974 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35976 * elf/elf.h (R_X86_64_RELATIVE64): New.
35977 (R_X86_64_NUM): Updated.
35978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35979 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35980 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35981 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35982 tst-quad1pie tst-quad2pie
35983 (modules-names): Add tst-quadmod1 tst-quadmod2.
35984 ($(objpfx)tst-quad1): New dependency.
35985 ($(objpfx)tst-quad2): Likewise.
35986 ($(objpfx)tst-quad1pie): Likewise.
35987 ($(objpfx)tst-quad2pie): Likewise.
35988 * sysdeps/x86_64/tst-quad1.c: New file.
35989 * sysdeps/x86_64/tst-quad1pie.c: New file.
35990 * sysdeps/x86_64/tst-quad2.c: Likewise.
35991 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35992 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35993 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35994 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35995 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35999 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36000 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36001 * streams/stropts.h (t_scalar_t): Define type.
36003 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36004 (_PATH_PRESERVE): Set to "/var/lib".
36005 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36007 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36010 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36011 if __dir_mkfile succeeded.
36013 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36014 checking for _hurd_dtablesize. Unlock it right after having
36015 finished _hurd_dtable allocation.
36017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36019 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36020 * sysdeps/mach/hurd/configure: Regenerated.
36021 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36022 special-casing to...
36023 * sysdeps/gnu/configure.in: ... this new file.
36024 * sysdeps/unix/sysv/linux/configure: Regenerated.
36025 * sysdeps/gnu/configure: New generated file.
36027 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36028 for Linux: use nsec instead of usec, as well as:
36029 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36030 members of type struct timespec.
36031 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36033 (struct stat64): Likewise.
36034 (_STATBUF_ST_NSEC): New macro.
36035 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36037 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36038 __strtoul_internal rather than strtoul.
36040 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36042 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36047 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36048 which preserves existing values.
36049 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36051 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36053 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36054 TIMEOUT values. Return EINVAL for NFDS values either negative or
36055 greater than FD_SETSIZE.
36057 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36059 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36060 allocated, call __vm_protect to finish enabling the existing space, and
36061 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36062 allocate the remainder.
36064 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36066 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36067 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36069 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36071 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36072 sysdeps/mach/hurd/readlink.c.
36074 * posix/tst-sysconf.c (posix_options): Only use
36075 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36076 _POSIX_SYNCHRONIZED_IO when they are defined
36077 * sysdeps/mach/hurd/bits/posix_opt.h:
36078 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36079 (_XOPEN_REALTIME): Undefine macro.
36080 (_XOPEN_REALTIME_THREADS): Undefine macro.
36081 (_XOPEN_SHM): Undefine macro.
36082 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36084 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36086 (_POSIX_ASYNC_IO): Undefine macro.
36087 (_POSIX_PRIORITIZED_IO): Undefine macro.
36088 (_POSIX_SPIN_LOCKS): Define macro to -1.
36090 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36091 SA_NODEFER, SA_RESETHAND.
36092 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36093 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36098 * elf/Makefile (pldd-modules): Define unconditionally.
36100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36102 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36106 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36107 Return ENOENT when name is empty.
36108 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36112 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36114 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36118 Fix mlock in all cases except non-readable pages.
36119 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36120 instead of VM_PROT_ALL as parameter to __vm_wire function.
36122 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36123 (__mkdir): When path is `/', just fail with EEXIST.
36124 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36128 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36129 <sys/uio.h> (for writev).
36130 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36131 and <sys/param.h> (for MIN).
36133 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36135 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36136 REQUESTED_TIME. Properly set the remaining time and return EINTR
36139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36141 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36142 Depend on against $(link-rpcuserlibs).
36144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36146 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36147 (__libc_stack_end): Do not use attribute_relro.
36148 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36149 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36150 to libthread-provided value.
36151 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36157 * bits/libc-lock.h (__libc_once_get): New macro.
36158 * sysdeps/mach/bits/libc-lock.h: Likewise.
36159 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36161 instead of using implementation details.
36163 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36164 * libio/freopen.c: Likewise.
36165 * libio/freopen64.c: Likewise.
36166 * misc/syslog.c: Likewise.
36167 * nscd/connections.c: Likewise.
36168 * nscd/netgroupcache.c: Likewise.
36169 * sysdeps/posix/getcwd.c: Likewise.
36171 2012-05-10 Roland McGrath <roland@hack.frob.com>
36173 * math/w_ilogbf.c: Add #include <limits.h>.
36175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36177 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36178 path instead of returning without unlocking.
36180 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36181 immediate-write ioctls.
36182 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36186 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36187 __builtin_frame_address instead of making assumptions about the
36188 location of the return address relative to DATA. Force early load of
36189 the return address.
36190 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36191 __builtin_frame_address.
36194 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36195 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36196 implement dup3 and do some further code clean-ups.
36197 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36198 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36202 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36204 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36205 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36206 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36207 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36208 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36211 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36212 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36213 when handler == SIG_ERR, not when handler != SIG_ERR.
36215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36217 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36218 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36221 accept4 for GNU Hurd.
36222 * include/sys/socket.h (__libc_accept4): New prototype.
36223 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36224 to implement __libc_accept4.
36225 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36227 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36229 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36230 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36231 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36232 signal-defines.sym.
36234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36236 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36240 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36241 assertion on O_CLOEXEC flag.
36242 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36243 * hurd/intern-fd.c: Likewise.
36244 * hurd/port2fd.c: Likewise.
36246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36249 * bits/in.h (IPV6_PKTINFO): Define new macro.
36250 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36252 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36257 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36259 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36260 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36262 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36263 * math/libm-test.inc (logb_test) : Additional logb tests.
36265 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36266 Andreas Jaeger <aj@suse.de>
36268 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36269 * configure: Regenerated.
36270 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36271 * config.make.in (link-obsolete-rpc): New substituted variable.
36272 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36273 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36274 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36275 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36276 so that libc.a contains the symbols.
36277 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36278 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36279 * sunrpc/auth_none.c: Likewise.
36280 * sunrpc/auth_unix.c: Likewise.
36281 * sunrpc/authdes_prot.c: Likewise.
36282 * sunrpc/authuxprot.c: Likewise.
36283 * sunrpc/clnt_gen.c: Likewise.
36284 * sunrpc/clnt_perr.c: Likewise.
36285 * sunrpc/clnt_raw.c: Likewise.
36286 * sunrpc/clnt_simp.c: Likewise.
36287 * sunrpc/clnt_tcp.c: Likewise.
36288 * sunrpc/clnt_udp.c: Likewise.
36289 * sunrpc/clnt_unix.c: Likewise.
36290 * sunrpc/des_crypt.c: Likewise.
36291 * sunrpc/des_soft.c: Likewise.
36292 * sunrpc/get_myaddr.c: Likewise.
36293 * sunrpc/key_call.c: Likewise.
36294 * sunrpc/key_prot.c: Likewise.
36295 * sunrpc/netname.c: Likewise.
36296 * sunrpc/pm_getmaps.c: Likewise.
36297 * sunrpc/pm_getport.c: Likewise.
36298 * sunrpc/pmap_clnt.c: Likewise.
36299 * sunrpc/pmap_prot.c: Likewise.
36300 * sunrpc/pmap_prot2.c: Likewise.
36301 * sunrpc/pmap_rmt.c: Likewise.
36302 * sunrpc/publickey.c: Likewise.
36303 * sunrpc/rpc_cmsg.c: Likewise.
36304 * sunrpc/rpc_common.c: Likewise.
36305 * sunrpc/rpc_dtable.c: Likewise.
36306 * sunrpc/rpc_prot.c: Likewise.
36307 * sunrpc/rpc_thread.c: Likewise.
36308 * sunrpc/rtime.c: Likewise.
36309 * sunrpc/svc.c: Likewise.
36310 * sunrpc/svc_auth.c: Likewise.
36311 * sunrpc/svc_raw.c: Likewise.
36312 * sunrpc/svc_run.c: Likewise.
36313 * sunrpc/svc_tcp.c: Likewise.
36314 * sunrpc/svc_udp.c: Likewise.
36315 * sunrpc/svc_unix.c: Likewise.
36316 * sunrpc/svcauth_des.c: Likewise.
36317 * sunrpc/xcrypt.c: Likewise.
36318 * sunrpc/xdr.c: Likewise.
36319 * sunrpc/xdr_array.c: Likewise.
36320 * sunrpc/xdr_float.c: Likewise.
36321 * sunrpc/xdr_intXX_t.c: Likewise.
36322 * sunrpc/xdr_mem.c: Likewise.
36323 * sunrpc/xdr_rec.c: Likewise.
36324 * sunrpc/xdr_ref.c: Likewise.
36325 * sunrpc/xdr_sizeof.c: Likewise.
36326 * sunrpc/xdr_stdio.c: Likewise.
36328 2012-05-10 Roland McGrath <roland@hack.frob.com>
36330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36331 change. Update copyright years.
36333 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36335 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36337 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36338 Joseph Myers <joseph@codesourcery.com>
36339 Paul Pluzhnikov <ppluzhnikov@google.com>
36342 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36344 [cross-compiling] (extra-libs): Likewise.
36345 [cross-compiling] (extra-libs-others): Likewise.
36346 [cross-compiling] (librpcsvc-routines): Likewise.
36347 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36348 [cross-compiling] (omit-deps): Likewise.
36349 (sunrpc-CPPFLAGS): New variable.
36350 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36351 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36352 (cross-rpcgen-objs): New variable.
36353 (extra-objs): Append $(cross-rpcgen-objs).
36354 ($(cross-rpcgen-objs)): New rule.
36355 ($(objpfx)cross-rpcgen): Likewise.
36356 (rpcgen-cmd): Define to use $(built-program-file). Expand
36358 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36359 ($(objpfx)x%.stmp): Likewise.
36360 * sunrpc/proto.h [IS_IN_build] (_): Define.
36361 [IS_IN_build] (_libc_intl_domainname): Likewise.
36363 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36366 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36367 and R_X86_64_TPOFF64.
36369 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36371 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36372 sysdeps/unix/sysv/syscalls.list.
36375 * sysdeps/unix/sysv/syscalls.list: Remove file.
36377 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36380 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36381 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36382 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36383 (__LC_IDENTIFICATION): Make these macros useful in #if
36384 expressions, as required by C99.
36386 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36388 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36389 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36392 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36394 * stdlib/longlong.h: Updated from GCC.
36396 2012-05-09 Andreas Jaeger <aj@suse.de>
36398 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36399 default is first entry.
36400 (run_mode): Set type.
36401 (main): Remove informal message about syslog.
36402 (options): Fix typo.
36405 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36408 (llrintf): Likewise.
36409 (llrint): Likewise.
36412 (nearbyint): Likewise.
36413 (nearbyintf): Likewise.
36415 2012-05-09 Andreas Jaeger <aj@suse.de>
36416 Pedro Alves <palves@redhat.com>
36418 * nscd/nscd.c (run_mode): Use enum.
36419 (main): Cleanup coding style issue.
36421 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36422 Andreas Jaeger <aj@suse.de>
36424 * nscd/nscd.c (go_background): Replaced with...
36425 (run_mode): ... this.
36426 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36427 (options): Add -F --foreground.
36428 (main): Implement it.
36429 (parse_opt): Parse it.
36431 2012-05-09 Andreas Jaeger <aj@suse.de>
36434 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36435 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36436 -Wconversion warning.
36437 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36440 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36442 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36444 (LC_ALL): Use macro-int-constant.
36445 (LC_COLLATE): Likewise.
36446 (LC_CTYPE): Likewise.
36447 (LC_MESSAGES): Likewise.
36448 (LC_MONETARY): Likewise.
36449 (LC_NUMERIC): Likewise.
36450 (LC_TIME): Likewise.
36451 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36452 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36454 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36456 [C99-based standards] (float_t): Expect type.
36457 [C99-based standards] (double_t): Expect type.
36458 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36460 [C99-based standards] (HUGE_VALL): Likewise.
36461 [C99-based standards] (INFINITY): Likewise.
36462 [C99-based standards] (NAN): Likewise.
36463 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36464 [C99-based standards] (FP_NAN): Likewise.
36465 [C99-based standards] (FP_NORMAL): Likewise.
36466 [C99-based standards] (FP_SUBNORMAL): Likewise.
36467 [C99-based standards] (FP_ZERO): Likewise.
36468 [C99-based standards] (FP_FAST_FMA): Use
36469 optional-macro-int-constant. Specify type. Require == 1.
36470 [C99-based standards] (FP_FAST_FMAF): Likewise.
36471 [C99-based standards] (FP_FAST_FMAL): Likewise.
36472 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36473 [C99-based standards] (FP_ILOGBNAN): Likewise.
36474 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36476 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36477 [C99-based standards] (math_errhandling): Specify type.
36478 [ISO99 || ISO11] (signgam): Do not allow.
36479 [non-C99-based standards] (copysignf): Do not allow.
36480 [non-C99-based standards] (exp2f): Likewise.
36481 [non-C99-based standards] (log2f): Likewise.
36482 [non-C99-based standards] (modff): Allow.
36483 [non-C99-based standards] (erff): Do not allow.
36484 [non-C99-based standards] (erfcf): Likewise.
36485 [non-C99-based standards] (gammaf): Likewise.
36486 [non-C99-based standards] (hypotf): Likewise.
36487 [non-C99-based standards] (j0f): Likewise.
36488 [non-C99-based standards] (j1f): Likewise.
36489 [non-C99-based standards] (jnf): Likewise.
36490 [non-C99-based standards] (lgammaf): Likewise.
36491 [non-C99-based standards] (tgammaf): Likewise.
36492 [non-C99-based standards] (y0f): Likewise.
36493 [non-C99-based standards] (y1f): Likewise.
36494 [non-C99-based standards] (ynf): Likewise.
36495 [non-C99-based standards] (isnanf): Likewise.
36496 [non-C99-based standards] (acoshf): Likewise.
36497 [non-C99-based standards] (asinhf): Likewise.
36498 [non-C99-based standards] (atanhf): Likewise.
36499 [non-C99-based standards] (cbrtf): Likewise.
36500 [non-C99-based standards] (expm1f): Likewise.
36501 [non-C99-based standards] (ilogbf): Likewise.
36502 [non-C99-based standards] (log1pf): Likewise.
36503 [non-C99-based standards] (logbf): Likewise.
36504 [non-C99-based standards] (nextafterf): Likewise.
36505 [non-C99-based standards] (remainderf): Likewise.
36506 [non-C99-based standards] (rintf): Likewise.
36507 [non-C99-based standards] (scalbf): Likewise.
36508 [non-C99-based standards] (copysignl): Likewise.
36509 [non-C99-based standards] (exp2l): Likewise.
36510 [non-C99-based standards] (log2l): Likewise.
36511 [non-C99-based standards] (modfl): Allow.
36512 [non-C99-based standards] (erfl): Do not allow.
36513 [non-C99-based standards] (erfcl): Likewise.
36514 [non-C99-based standards] (gammal): Likewise.
36515 [non-C99-based standards] (hypotl): Likewise.
36516 [non-C99-based standards] (j0l): Likewise.
36517 [non-C99-based standards] (j1l): Likewise.
36518 [non-C99-based standards] (jnl): Likewise.
36519 [non-C99-based standards] (lgammal): Likewise.
36520 [non-C99-based standards] (tgammal): Likewise.
36521 [non-C99-based standards] (y0l): Likewise.
36522 [non-C99-based standards] (y1l): Likewise.
36523 [non-C99-based standards] (ynl): Likewise.
36524 [non-C99-based standards] (isnanl): Likewise.
36525 [non-C99-based standards] (acoshl): Likewise.
36526 [non-C99-based standards] (asinhl): Likewise.
36527 [non-C99-based standards] (atanhl): Likewise.
36528 [non-C99-based standards] (cbrtl): Likewise.
36529 [non-C99-based standards] (expm1l): Likewise.
36530 [non-C99-based standards] (ilogbl): Likewise.
36531 [non-C99-based standards] (log1pl): Likewise.
36532 [non-C99-based standards] (logbl): Likewise.
36533 [non-C99-based standards] (nextafterl): Likewise.
36534 [non-C99-based standards] (remainderl): Likewise.
36535 [non-C99-based standards] (rintl): Likewise.
36536 [non-C99-based standards] (scalbl): Likewise.
36537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36538 [non-C99-based standards] (FP_*): Do not allow.
36539 [C99-based standards] (FP_*): Change to
36540 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36541 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36543 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36544 (SIG_ERR): Likewise.
36545 [X/Open-based standards] (SIG_HOLD): Likewise.
36546 (SIG_IGN): Likewise.
36547 (SIGABRT): Use macro-int-constant. Specify type. Require
36549 (SIGFPE): Likewise.
36550 (SIGILL): Likewise.
36551 (SIGINT): Likewise.
36552 (SIGSEGV): Likewise.
36553 (SIGTER): Likewise.
36554 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36555 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36556 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36557 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36558 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36559 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36560 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36561 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36562 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36563 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36564 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36565 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36566 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36567 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36568 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36569 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36570 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36571 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36572 [X/Open-based standards] (SIGTRAP): Likewise.
36573 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36574 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36575 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36576 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36577 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36580 2012-05-08 Ian Wienand <ianw@vmware.com>
36583 * time/tzset.c (__tzset_parse_tz): Update default rules for
36584 daylight time changes in the Energy Policy Act of 2005.
36586 2012-05-09 Andreas Jaeger <aj@suse.de>
36589 * elf/ldconfig.c (parse_conf): Change string to make clear that
36590 ldconfig only issued a warning if ld.so.conf does not exist.
36592 2012-05-08 David S. Miller <davem@davemloft.net>
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36595 movxtod instead of popping the value on the stack.
36597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36599 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36601 * config.h.in: Add HAVE_ARM_PCS_VFP.
36603 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36606 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36607 checking but the checks are disabled for any reason.
36609 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36611 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36612 and ELF64_R_TYPE with ELFW(R_TYPE).
36614 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36616 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36617 (ulimit): Likewise.
36619 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36620 (settimeofday): Likewise.
36622 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36624 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36625 a struct th_u2 inside the union, and move tu_block/tu_code into
36626 a new th_u3 union of tu_block/tu_code inside of that. Move
36627 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36628 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36629 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36630 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36631 (th_stuff): Change to th_u1.tu_stuff.
36633 (th_msg): Change to th_u1.th_u2.tu_data.
36635 2012-05-07 David S. Miller <davem@davemloft.net>
36637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36640 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36641 (SETUP_PIC_REG): Use it.
36642 (SETUP_PIC_REG_LEAF): Use it.
36644 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36650 (EXPL_FINITE): Likewise.
36651 (FLDLOG): Likewise.
36652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36653 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36657 (EXPL_FINITE): Likewise.
36658 (FLDLOG): Likewise.
36659 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36660 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36662 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36663 test of -max_value argument for long double.
36664 * sysdeps/i386/fpu/libm-test-ulps: Update.
36665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36667 2012-05-06 David S. Miller <davem@davemloft.net>
36669 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36670 quad soft-float symbols whose references which are compiler
36672 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36674 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36680 (EXPL_FINITE): Likewise.
36681 (FLDLOG): Likewise.
36684 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36685 Adjust comments for base varying.
36686 (__expl_finite): Change alias to EXPL_FINITE.
36687 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36689 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36690 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36692 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36695 (EXPL_FINITE): Likewise.
36696 (FLDLOG): Likewise.
36699 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36700 Adjust comments for base varying.
36701 (__expl_finite): Change alias to EXPL_FINITE.
36702 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36707 * math/libm-test.inc (check_float_internal): Correct ulp
36708 calculation for subnormal expected results.
36710 2012-05-06 Andreas Jaeger <aj@suse.de>
36712 * Makeconfig (+math-flags): New, set to -frounding-math.
36713 (+cflags): Add +math-flags so that all of glibc gets compiled with
36716 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36718 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36720 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36726 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36727 (__ieee754_expl): Allow for and saturate large arguments.
36728 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36729 (u_threshold): Likewise.
36730 (__exp): Call __ieee754_exp before checking for overflow and
36732 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36733 (u_threshold): Likewise.
36734 (__expf): Call __ieee754_expf before checking for overflow and
36736 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36737 (u_threshold): Likewise.
36738 (__expl): Call __ieee754_expl before checking for overflow and
36740 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36741 (__ieee754_expl): Allow for and saturate large arguments.
36742 * math/libm-test.inc (exp_test): Add another test. Do not allow
36743 missing overflow exception on overflow.
36744 (expm1_test): Do not allow missing overflow exception on overflow.
36746 * sysdeps/i386/fpu/e_expl.c: Move to ...
36747 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36748 rather than using inline asm.
36749 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36750 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36751 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36753 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36756 (signal): Likewise.
36760 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36762 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36763 sysdeps/unix/common/syscalls.list.
36764 (fchmod): Likewise.
36765 (fchown): Likewise.
36766 (ftruncate): Likewise.
36767 (getrusage): Likewise.
36768 (gettimeofday): Likewise.
36769 (setpgid): Likewise.
36770 (setregid): Likewise.
36771 (setreuid): Likewise.
36772 (sigaction): Likewise.
36773 (truncate): Likewise.
36774 (vhangup): Likewise.
36775 * sysdeps/unix/common/syscalls.list: Remove file.
36776 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36777 * sysdeps/unix/sysv/linux/Implies: Likewise.
36779 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36781 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36783 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36787 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36790 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36793 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36796 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36799 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36802 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36805 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36809 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36813 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36816 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36820 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36824 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36826 * sysdeps/unix/common/bits/dirent.h: Remove file.
36827 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36829 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36830 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36831 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36832 * sysdeps/unix/bsd/isatty.c: Likewise.
36833 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36834 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36835 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36837 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36841 long double comparison inaccuracies.
36842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36845 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36847 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36854 nonzero digits before rounding a hex value.
36855 * stdlib/tst-strtod.c (tests): Add another test.
36857 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36859 * sysdeps/s390/fpu/libm-test-ulps: Update.
36861 2012-05-03 Andreas Jaeger <aj@suse.de>
36863 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36864 does not get optimized out.
36865 (malloc_opt_barrier): New.
36867 2012-05-03 Andreas Jaeger <aj@suse.de>
36868 Roland McGrath <roland@hack.frob.com>
36870 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36871 intermediate file deletion.
36872 (generated): Add .symlist files.
36874 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36877 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36878 Redirect under this condition.
36879 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36880 [__USE_GNU] (__dprintf_chk): Not under this condition.
36881 [__USE_GNU] (__vdprintf_chk): Likewise.
36882 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36883 under this condition.
36884 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36885 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36886 [__USE_XOPEN2K8] (vdprintf): Likewise.
36887 [__USE_GNU] (__dprintf_chk): Not under this condition.
36888 [__USE_GNU] (__vdprintf_chk): Likewise.
36889 [__USE_GNU] (dprintf): Likewise.
36890 [__USE_GNU] (vdprintf): Likewise.
36892 2012-05-03 Roland McGrath <roland@hack.frob.com>
36894 * elf/Makefile (common-generated): Set this instead of generated for
36895 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36896 $(all-built-dso)-derived lists.
36898 2012-05-03 Andreas Jaeger <aj@suse.de>
36900 * sysdeps/i386/fpu/libm-test-ulps: Update.
36903 * FAQ.in: Likewise.
36904 * scripts/gen-FAQ.pl: Likewise.
36905 * manual/install.texi (Installation): Point to online location of
36907 * Makefile (files-for-dist): Remove FAQ.
36910 2012-05-02 Allan McRae <allan@archlinux.org>
36912 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36913 (LDFLAGS-reldepmod5.so): Likewise.
36914 (LDFLAGS-reldep6mod1.so): Likewise.
36915 (LDFLAGS-reldep6mod4.so): Likewise.
36916 (LDFLAGS-reldep8mod3.so): Likewise.
36917 (LDFLAGS-unload4mod1.so): Likewise.
36918 (LDFLAGS-unload4mod2.so): Likewise.
36919 (LDFLAGS-tst-initorder): Likewise.
36920 (LDFLAGS-tst-initordera2.so): Likewise.
36921 (LDFLAGS-tst-initordera3.so): Likewise.
36922 (LDFLAGS-tst-initordera4.so): Likewise.
36923 (LDFLAGS-tst-initorderb2.so): Likewise.
36924 (LDFLAGS-noload): Likewise.
36925 (LDFLAGS-next): Likewise.
36926 (LDFLAGS-order2mod1.so): Likewise.
36927 (LDFLAGS-order2mod2.so): Likewise.
36928 (LDFLAGS-tst-initorder2): Likewise.
36929 (LDFLAGS-tst-initorder2a.so): Likewise.
36930 (LDFLAGS-tst-initorder2b.so): Likewise.
36931 (LDFLAGS-tst-initorder2c.so): Likewise.
36932 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36934 2012-05-02 David S. Miller <davem@davemloft.net>
36936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36938 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36941 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36943 2012-05-02 Andreas Jaeger <aj@suse.de>
36945 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36946 since we manipulate rounding mode.
36947 (CPPFLAGS-test-idouble.c): Likewise.
36948 (CPPFLAGS-test-ifloat.c): Likewise.
36949 (CFLAGS-test-ldouble.c): Likewise.
36950 (CFLAGS-test-double.c): Likewise.
36951 (CFLAGS-test-float.c): Likewise.
36952 (CFLAGS-test-misc.c): Likewise.
36953 (CFLAGS-test-test-fenv.c): Likewise.
36955 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36959 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36960 comparisons to determine direction to adjust input.
36962 2012-05-01 Roland McGrath <roland@hack.frob.com>
36964 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36965 output to the target.
36967 * scripts/localplt.awk: New file.
36968 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36969 (check-localplt-CFLAGS): Variable removed.
36970 ($(all-built-dso:=.jmprel)): New static pattern rule.
36971 (generated): Add those targets.
36972 (localplt-built-dso): New variable.
36973 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36975 * elf/check-localplt.c: File removed.
36977 * scripts/check-execstack.awk: New file.
36978 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36979 (check-execstack-CFLAGS): Variable removed.
36980 ($(objpfx)check-execstack.h): Target removed.
36981 ($(objpfx)execstack-default): New target.
36982 (generated): Add that instead of check-execstack.h.
36983 ($(all-built-dso:=.phdr)): New static pattern rule.
36984 (generated): Add those targets.
36985 * elf/check-execstack.c: File removed.
36987 * scripts/check-textrel.awk: New file.
36988 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36989 (check-textrel-CFLAGS): Variable removed.
36990 (all-built-dso): Use := to define.o
36991 ($(all-built-dso:=.dyn)): New static pattern rule.
36992 (generated): Add those targets.
36993 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36994 * config.make.in (READELF): New substituted variable.
36995 * elf/check-textrel.c: File removed.
36997 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36999 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37001 * conform/data/ctype.h-data [C99-based standards] (isblank):
37003 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37004 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37006 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37007 Specify type. Require positive value.
37008 (EILSEQ): Likewise.
37009 (ERANGE): Likewise.
37010 [ISO || POSIX] (EILSEQ): Do not expect.
37011 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37012 Specify type. Require positive value.
37013 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37014 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37020 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37021 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37026 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37027 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37028 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37060 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37061 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37062 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37063 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37064 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37065 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37066 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37067 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37068 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37069 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37070 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37071 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37072 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37073 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37074 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37075 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37076 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37077 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37078 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37079 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37080 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37081 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37082 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37083 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37084 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37085 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37086 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37087 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37088 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37089 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37091 (FLT_ROUNDS): Expect as macro, not constant.
37092 (FLT_MANT_DIG): Use macro-int-constant.
37093 (DBL_MANT_DIG): Likewise.
37094 (LDBL_MANT_DIG): Likewise.
37095 (FLT_DIG): Likewise.
37096 (DBL_DIG): Likewise.
37097 (LDBL_DIG): Likewise.
37098 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37099 (DBL_MIN_EXP): Likewise.
37100 (LDBL_MIN_EXP): Likewise.
37101 (FLT_MAX_EXP): Use macro-int-constant.
37102 (DBL_MAX_EXP): Likewise.
37103 (LDBL_MAX_EXP): Likewise.
37104 (FLT_MAX_10_EXP): Likewise.
37105 (DBL_MAX_10_EXP): Likewise.
37106 (LDBL_MAX_10_EXP): Likewise.
37107 (FLT_MAX): Use macro-constant.
37108 (DBL_MAX): Likewise.
37109 (LDBL_MAX): Likewise.
37110 (FLT_EPSILON): Use macro-constant. Give upper bound.
37111 (DBL_EPSILON): Likewise.
37112 (LDBL_EPSILON): Likewise.
37113 (FLT_MIN): Likewise.
37114 (DBL_MIN): Likewise.
37115 (LDBL_MIN): Likewise.
37116 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37117 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37118 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37119 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37120 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37121 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37122 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37123 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37124 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37125 [ISO11] (FLT_TRUE_MIN): Likewise.
37126 [ISO11] (LDBL_TRUE_MIN): Likewise.
37127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37128 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37129 (SCHAR_MIN): Use macro-int-constant. Specify type.
37130 (SCHAR_MAX): Likewise.
37131 (UCHAR_MAX): Likewise.
37132 (CHAR_MIN): Likewise.
37133 (CHAR_MAX): Likewise.
37134 (MB_LEN_MAX): Use macro-int-constant.
37135 (SHRT_MIN): Use macro-int-constant. Specify type.
37136 (SHRT_MAX): Likewise.
37137 (USHRT_MAX): Likewise.
37138 (INT_MAX): Likewise.
37139 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37141 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37143 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37145 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37146 bound negative. Suffix upper bound with "L".
37147 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37149 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37151 [C99-based standards] (LLONG_MAX): Likewise.
37152 [C99-based standards] (ULLONG_MAX): Likewise.
37153 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37155 [ISO11] (max_align_t): Require type.
37156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37158 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37159 from $CFLAGS, without defining away __attribute__ calls.
37160 (checknamespace): Use $CFLAGS_namespace.
37162 * conform/conformtest.pl (@keywords): Only include C99 keywords
37163 for standards based on C99 or C11.
37165 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37167 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37170 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37171 usability of symbols in #if.
37173 * conform/conformtest.pl: If macro or constant types start
37174 "promoted:", expect the symbol to be of the following type
37175 promoted by the integer promotions.
37177 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37178 in one place. Also handle "macro-constant".
37180 * conform/conformtest.pl: Only accept expected macro values with
37181 "==". Parse all "macro" lines in one place.
37182 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37184 * conform/conformtest.pl: Handle braced types on "constant" lines
37185 instead of handling "typed-constant".
37186 * conform/data/signal.h-data: Use "constant" instead of
37189 * conform/conformtest.pl: Handle "optional-" at start of lines in
37190 one place rather than duplicating several cases. Handle each
37191 format of "macro" line with initial "optional-".
37193 * conform/conformtest.pl: Only accept expected constant or
37194 optional-constant values with "==". Parse all "constant" lines in
37195 one place. Parse all "optional-constant" lines in one place.
37196 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37197 * conform/data/fmtmsg.h-data: Likewise.
37198 * conform/data/netinet/in.h-data: Likewise.
37199 * conform/data/tar.h-data: Likewise.
37200 * conform/data/limits.h-data: Use "==" form on "constant" and
37201 "optional-constant" lines.
37203 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37204 Use -std=c99 for XOPEN2K.
37205 (@knownproblems): Remove.
37206 (newtoken): Don't check %isknown.
37208 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37209 Do not expect macro.
37210 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37222 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37223 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37240 [XPG3] (acosh): Likewise.
37241 [XPG3] (asinh): Likewise.
37242 [XPG3] (atanh): Likewise.
37243 [XPG3] (cbrt): Likewise.
37244 [XPG3] (expm1): Likewise.
37245 [XPG3] (ilogb): Likewise.
37246 [XPG3] (log1p): Likewise.
37247 [XPG3] (logb): Likewise.
37248 [XPG3] (nextafter): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37251 [XPG3] (remainder): Likewise.
37252 [XPG3] (rint): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37260 [UNIX98 || XOPEN2K] (scalb): Expect.
37261 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37262 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37399 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37400 _XOPEN_SOURCE_EXTENDED for XPG4.
37402 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37404 * Makeconfig (localtime): Remove variable.
37405 (inst_localtime-file): Likewise.
37407 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37428 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37432 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37433 comparisons to determine direction to adjust input.
37434 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37435 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37438 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37440 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37442 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37443 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37445 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37447 * math/libm-test.inc (nexttoward_test): Add more tests.
37449 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37453 in version GLIBC_2.1, not GLIBC_2.0.
37454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37457 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37460 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37462 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37463 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37464 * math/libm-test.inc (acos_test): Add more tests.
37465 (asin_test): Likewise.
37466 * sysdeps/i386/fpu/libm-test-ulps: Update.
37467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37470 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37472 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37473 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37474 * math/libm-test.inc (acos_test_tonearest): New function.
37475 (acos_test_towardzero): Likewise.
37476 (acos_test_downward): Likewise.
37477 (acos_test_upward): Likewise.
37478 (asin_test_tonearest): Likewise.
37479 (asin_test_towardzero): Likewise.
37480 (asin_test_downward): Likewise.
37481 (asin_test_upward): Likewise.
37482 (main): Call the new functions.
37483 * sysdeps/i386/fpu/libm-test-ulps: Update.
37484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37488 * math/e_exp10.c: Include <float.h>.
37489 (__ieee754_exp10): Handle underflow here rather than multiplying
37490 large negative argument by M_LN10.
37491 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37493 * math/e_exp10l.c: Include <float.h>.
37494 (__ieee754_exp10l): Handle underflow here rather than multiplying
37495 large negative argument by M_LN10l.
37496 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37497 spurious overflow exception on underflow.
37499 2012-04-29 Marek Polacek <polacek@redhat.com>
37501 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37502 (__fortify_function): New macro.
37503 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37504 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37505 __extern_always_inline.
37506 * libio/bits/stdio2.h: Likewise.
37507 * libio/bits/stdio.h: Likewise.
37508 * string/string.h: Likewise.
37509 * string/bits/string3.h: Likewise.
37510 * include/stdio.h: Likewise.
37511 * stdlib/bits/stdlib.h: Likewise.
37512 * stdlib/stdlib.h: Likewise.
37513 * rt/bits/mqueue2.h: Likewise.
37514 * rt/mqueue.h: Likewise.
37515 * posix/bits/unistd.h: Likewise.
37516 * posix/unistd.h: Likewise.
37517 * io/bits/poll2.h: Likewise.
37518 * io/bits/fcntl2.h: Likewise.
37519 * io/fcntl.h: Likewise.
37520 * io/sys/poll.h: Likewise.
37521 * misc/bits/syslog.h: Likewise.
37522 * misc/bits/syslog-ldbl.h: Likewise.
37523 * misc/sys/syslog.h: Likewise.
37524 * socket/bits/socket2.h: Likewise.
37525 * socket/sys/socket.h: Likewise.
37526 * debug/tst-chk1.c: Likewise.
37527 * wcsmbs/bits/wchar2.h: Likewise.
37528 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37529 * wcsmbs/wchar.h: Likewise.
37531 2012-04-29 Andreas Jaeger <aj@suse.de>
37533 * Makerules (tests): Remove enable-check-abi protection.
37534 (check-abi-warn): Remove.
37535 (check-abi-%): Remove check-abi-warn usage.
37537 * configure.in: Remove check-abi configure option.
37538 * configure: Regenerated.
37539 * config.make.in (enable-check-abi): Remove.
37541 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37544 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37545 double functions to double *_finite functions.
37548 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37549 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37551 * stdio-common/Makefile (tests): Add tst-sprintf3.
37552 * stdio-common/tst-sprintf3.c: New file.
37554 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37555 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37557 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37559 * conform/conformtest.pl: Remove duplicate typed-constant
37562 2012-04-28 David S. Miller <davem@davemloft.net>
37564 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37565 (check-abi-%): Remove AWK script prerequisite and explicit
37567 (check-abi): Rewrite to just diff the symlist with the abilist.
37568 (config-tls, config-abi-config): Delete, no longer used.
37569 (update-abi-%): Remove AWK script and explicit abilist directory.
37570 (update-abi): Rewrite to simply compare and conditionally copy the
37571 symlist and the sysdep abilist file. Remove update-abi-config
37573 * abilist/ld.abilist: Remove.
37574 * abilist/libBrokenLocale.abilist: Remove.
37575 * abilist/libanl.abilist: Remove.
37576 * abilist/libcrypt.abilist: Remove.
37577 * abilist/libdl.abilist: Remove.
37578 * abilist/librt.abilist: Remove.
37579 * abilist/libthread_db.abilist: Remove.
37580 * abilist/libutil.abilist: Remove.
37581 * scripts/extract-abilist.awk: Remove.
37582 * scripts/merge-abilist.awk: Remove.
37583 * sysdeps/generic/libcidn.abilist: New file.
37584 * sysdeps/generic/libnss_compat.abilist: New file.
37585 * sysdeps/generic/libnss_db.abilist: New file.
37586 * sysdeps/generic/libnss_dns.abilist: New file.
37587 * sysdeps/generic/libnss_files.abilist: New file.
37588 * sysdeps/generic/libnss_hesiod.abilist: New file.
37589 * sysdeps/generic/libnss_nis.abilist: New file.
37590 * sysdeps/generic/libnss_nisplus.abilist: New file.
37591 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37592 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37593 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37595 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37596 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37597 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37598 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37599 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37600 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37601 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37602 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37603 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37605 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37606 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37607 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37608 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37610 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37611 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37612 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37614 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37615 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37617 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37618 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37619 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37621 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37724 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37725 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37726 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37729 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37730 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37731 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37732 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37734 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37735 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37736 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37737 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37789 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37791 * conform/conformtest.pl: Fix typo in handling typed-constant from
37794 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37796 * README: Cut down references to pre-2.6 Linux kernels and
37797 Linuxthreads. Update lists of configurations in libc and ports
37798 and sort alphabetically. Say "or newer" with Linux kernel version
37801 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37803 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37806 * math/libm-test.inc (logb_test_downward): New test to expose
37807 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37810 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37813 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37815 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37816 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37818 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37820 * sysdeps/unix/i386/brk.S: Remove file.
37821 * sysdeps/unix/i386/dl-brk.S: Likewise.
37822 * sysdeps/unix/i386/pipe.S: Likewise.
37823 * sysdeps/unix/i386/sigreturn.S: Likewise.
37824 * sysdeps/unix/i386/syscall.S: Likewise.
37825 * sysdeps/unix/i386/vfork.S: Likewise.
37826 * sysdeps/unix/i386/wait.S: Likewise.
37828 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37829 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37831 * configure.in (arm*-none*): Do not allow without
37832 --enable-hacker-mode.
37833 (netbsd*): Remove case setting base_os.
37834 (386bsd*): Likewise.
37835 (freebsd*): Likewise.
37838 (sunos*): Likewise.
37839 (ultrix*): Likewise.
37840 (newsos*): Likewise.
37841 (dynix*): Likewise.
37847 (minix*): Likewise.
37848 (irix4*): Likewise.
37849 (irix6*): Likewise.
37850 (solaris[2-9]*): Likewise.
37852 * configure: Regenerated.
37854 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37857 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37858 overflow or cancellation in calculating denominator.
37859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37861 down expression to avoid unexpected rounding in newer GCCs.
37862 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37864 2012-04-26 David S. Miller <davem@davemloft.net>
37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37867 long-double compat symbols.
37868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37882 2012-04-25 David S. Miller <davem@davemloft.net>
37884 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37885 HWCAP_* values only after the memory barriers have been defined.
37886 (atomic_full_barrier): Define.
37887 (atomic_read_barrier): Define.
37888 (atomic_write_barrier): Define.
37890 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37892 * shlib-versions: Add libgcc_s version information.
37893 * sysdeps/generic/libgcc_s.h: Remove.
37894 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37896 * sysdeps/gnu/unwind-resume.c: Likewise.
37897 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37899 2012-04-25 David S. Miller <davem@davemloft.net>
37901 * sysdeps/unix/sparc/brk.S: Delete.
37902 * sysdeps/unix/sparc/dl-brk.S: Delete.
37903 * sysdeps/unix/sparc/pipe.S: Delete.
37904 * sysdeps/unix/sparc/sysdep.S: Delete.
37905 * sysdeps/unix/sparc/sysdep.h: Delete.
37906 * sysdeps/unix/sparc/vfork.S: Delete.
37907 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37908 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37910 (ret_ERRVAL, r0, r1, MOVE): Define.
37911 (JUMPTARGET): Remove.
37912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37913 sysdeps/unix/sparc/sysdep.h
37914 (ENTRY, END): Remove.
37915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37917 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37919 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37920 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37923 * timezone/README: Update upstream location and email address for
37925 * timezone/zdump.c: Update from tzcode 2012b.
37926 * timezone/zic.c: Likewise.
37928 * configure.in (libc_cv_as_needed): Remove test.
37929 * configure: Regenerated.
37930 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37931 conditional definition.
37932 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37933 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37934 * config.make.in (have-as-needed): Remove variable.
37936 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37937 Paul Pluzhnikov <ppluzhnikov@google.com>
37939 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37942 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37944 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37945 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37946 * sysdeps/sh/strlen.S: Likewise.
37948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37950 * sysdeps/unix/fork.S: Remove file.
37951 * sysdeps/unix/i386/fork.S: Likewise.
37952 * sysdeps/unix/sparc/fork.S: Likewise.
37954 * sysdeps/unix/system.c: Remove file.
37955 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37957 * sysdeps/unix/getegid.S: Remove file.
37958 * sysdeps/unix/geteuid.S: Likewise.
37960 2012-04-24 Roland McGrath <roland@hack.frob.com>
37962 * scripts/check-localplt.awk: New file.
37963 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37965 * scripts/data/localplt-generic.data: Add a comment.
37967 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37968 NODE when __dir_mkfile failed.
37969 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37970 Reported by Ludovic Courtès <ludo@gnu.org>.
37972 2012-04-24 Andreas Jaeger <aj@suse.de>
37974 * Makerules (common-clean): Also remove gen-as-const-headers
37977 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37979 * Makerules (native-compile): Do not change working directory for
37980 build. Use $(OUTPUT_OPTION) in command.
37981 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37983 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37986 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37987 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37988 * math/libm-test.inc (floor_test): Add more tests.
37989 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37991 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37993 * sysdeps/unix/getdents.c: Remove file.
37994 * sysdeps/unix/sysv/getdents.c: Likewise.
37995 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37997 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37998 sysdeps/unix/mman/syscalls.list.
38000 (mprotect): Likewise.
38002 (munmap): Likewise.
38003 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38004 * sysdeps/unix/mman/syscalls.list: Remove.
38005 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38007 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38008 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38009 * configure: Regenerated.
38010 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38011 $(libgcc_s_suffix).
38012 * config.make.in (libgcc_s_suffix): Remove variable.
38014 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38016 * sysdeps/unix/sysv/gethostname.c: Move to ...
38017 * sysdeps/posix/gethostname.c: ... here.
38019 * sysdeps/unix/execve.S: Remove file.
38021 * sysdeps/unix/_exit.S: Remove file.
38023 2012-04-23 Andreas Jaeger <aj@suse.de>
38026 * manual/Makefile: Remove make dist support, there's no
38027 need for a stand-alone documentation tar ball.
38028 (TEXI2DVI): Define always, it's not in Makeconfig.
38031 (edition): Removed.
38032 (glibc-doc-$(edition).tar): Removed
38036 (ETAGS): Remove, it's in Makeconfig.
38037 (move-if-change): Remove, it's in Makeconfig.
38039 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38042 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38043 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38044 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38045 (strtod_l, strtof_l, strtold_l): Remove __wur.
38046 It is not necessarily an error to ignore strtol's return value.
38047 One can reliably look at the stored endptr to decide whether
38048 the number had valid syntax.
38050 2012-04-21 Andreas Jaeger <aj@suse.de>
38053 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38055 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38057 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38058 * sysdeps/unix/sysv/Versions: Remove file.
38060 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38065 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38069 version from __vm86.
38071 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38073 * sysdeps/unix/common/lxstat.c: Remove file.
38074 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38076 * sysdeps/unix/sysv/Makefile: Remove file.
38078 * sysdeps/unix/sysv/direct.h: Remove file.
38080 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38081 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38082 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38083 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38084 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38085 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38086 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38088 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38090 * sysdeps/unix/xmknod.c: Remove file.
38091 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38093 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38095 * sysdeps/unix/sysv/i386/time.S: Remove file.
38097 * sysdeps/unix/fxstat.c: Remove file.
38098 * sysdeps/unix/xstat.c: Likewise.
38099 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38101 * sysdeps/unix/sysv/sigaction.c: Remove file.
38103 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38104 (sysdep_headers): Remove variable.
38105 [termio.h not in sysdep_headers] (generated): Likewise.
38106 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38107 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38108 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38109 * sysdeps/unix/sysv/tcflow.c: Likewise.
38110 * sysdeps/unix/sysv/tcflush.c: Likewise.
38111 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38112 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38113 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38114 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38115 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38117 * sysdeps/unix/siglist.c: Remove file.
38119 * sysdeps/unix/getppid.S: Remove file.
38121 * sysdeps/unix/mkdir.c: Remove file.
38122 * sysdeps/unix/rmdir.c: Likewise.
38124 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38126 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38129 errlist-compat value.
38131 2012-04-18 David S. Miller <davem@davemloft.net>
38133 * sysdeps/generic/memcopy.h (reg_char): Delete.
38134 * debug/strcat_chk.c: Use char, not reg_char.
38135 * debug/strcpy_chk.c: Likewise.
38136 * debug/strncat_chk.c: Likewise.
38137 * debug/strncpy_chk.c: Likewise.
38138 * string/memchr.c: Likewise.
38139 * string/memrchr.c: Likewise.
38140 * string/rawmemchr.c: Likewise.
38141 * string/strcat.c: Likewise.
38142 * string/strchr.c: Likewise.
38143 * string/strchrnul.c: Likewise.
38144 * string/strcmp.c: Likewise.
38145 * string/strcpy.c: Likewise.
38146 * string/strncat.c: Likewise.
38147 * string/strncmp.c: Likewise.
38148 * string/strncpy.c: Likewise.
38150 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38152 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38153 __builtin_memcopy is called when src and dest ranges are known to not
38156 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38158 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38159 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38160 fwd_align_merge macro call.
38161 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38162 bwd_align_merge macro call.
38163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38165 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38167 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38168 bwd_align_merge macros.
38169 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38170 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38171 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38173 2012-04-18 David S. Miller <davem@davemloft.net>
38175 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38177 2012-04-18 Andreas Jaeger <aj@suse.de>
38180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38181 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38185 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38188 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38189 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38190 Adjust for changed ldbl-128 files.
38192 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38193 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38194 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38196 2012-04-17 David S. Miller <davem@davemloft.net>
38198 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38200 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38202 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38203 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38204 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38205 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38206 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38207 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38209 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38212 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38213 * math/libm-test.inc: Add ilogb errno and exception tests.
38214 * math/w_ilogb.c: New file: ilogb wrapper.
38215 * math/w_ilogbf.c: New file: ilogbf wrapper.
38216 * math/w_ilogbl.c: New file: ilogbl wrapper.
38217 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38218 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38219 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38220 exception being thrown with 0.0 as argument.
38221 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38222 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38223 exception being thrown with 0.0 as argument.
38224 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38225 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38226 exception being thrown with 0.0 as argument.
38227 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38228 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38229 exception being thrown with 0.0 as argument.
38230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38231 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38233 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38234 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38235 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38236 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38237 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38238 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38240 2012-04-17 Petr Baudis <pasky@ucw.cz>
38242 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38245 2012-04-16 Marek Polacek <polacek@redhat.com>
38247 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38249 2012-04-16 Marek Polacek <polacek@redhat.com>
38251 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38252 operands of fdivp instruction.
38254 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38256 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38257 * elf/tst-auditmod3b.c: Likewise.
38258 * elf/tst-auditmod4b.c: Likewise.
38259 * elf/tst-auditmod5b.c: Likewise.
38260 * elf/tst-auditmod6b.c: Likewise.
38261 * elf/tst-auditmod6c.c: Likewise.
38262 * elf/tst-auditmod7b.c: Likewise.
38263 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38264 * sysdeps/x86_64/preconfigure.in: Likewise.
38265 * sysdeps/x86_64/preconfigure: Regenerated.
38267 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38269 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38272 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38275 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38277 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38280 * locale/iso-639.def: Fix gl language name. Spotted by
38283 2012-04-12 Roland McGrath <roland@hack.frob.com>
38286 * libio/libio.h (__io_write_fn): Update comment.
38288 2012-04-12 Petr Baudis <pasky@ucw.cz>
38291 * stdio.texi (Hook Functions): The user provided writer function
38292 is not allowed to return -1.
38294 2012-04-11 David S. Miller <davem@davemloft.net>
38296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38298 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38300 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38301 Add a leading slash to rtkaio.
38303 2012-04-11 Jim Meyering <meyering@redhat.com>
38306 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38307 It is not necessarily an error to ignore fwrite's return
38308 value. One can reliably use ferror to test for errors after
38311 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38313 * bits/types.h (__snseconds_t): New type.
38314 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38316 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38318 (__SNSECONDS_T_TYPE): Likewise.
38319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38320 (__SNSECONDS_T_TYPE): Likewise.
38321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38322 (__SNSECONDS_T_TYPE): Likewise.
38324 2012-04-10 Andreas Jaeger <aj@suse.de>
38327 * manual/time.texi (Processor Time): Return type of times is
38328 elapsed real time since an arbitrary point in the past.
38329 (CPU Time): Move CLK_TCK from here...
38330 (Processor Time): ...to here. Correct description.
38331 * manual/conf.texi (Constants for Sysconf): Correct description of
38334 2012-04-10 David S. Miller <davem@davemloft.net>
38337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38338 where the is a gap between DT_REL(A) and DT_JMPREL.
38340 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38342 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38343 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38344 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38346 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38348 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38349 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38350 (dl_main): Handle --inhibit-cache.
38351 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38353 * elf/dl-load.c (_dl_map_object): Use it.
38354 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38356 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38359 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38360 (__ieee754_powl): Saturate large exponents rather than testing for
38361 overflow of y*log2(x).
38362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38363 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38367 * math/s_ctan.c: Include <float.h>.
38368 (__ctan): Avoid internal overflow or cancellation in calculating
38370 * math/s_ctanf.c: Likewise.
38371 * math/s_ctanl.c: Likewise.
38372 * math/s_ctanh.c: Likewise.
38373 * math/s_ctanhf.c: Likewise.
38374 * math/s_ctanhl.c: Likewise.
38375 * math/libm-test.inc (ctan_test): Add more tests.
38376 (ctanh_test): Likewise.
38377 * sysdeps/i386/fpu/libm-test-ulps: Update.
38378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38380 2012-04-09 Andreas Jaeger <aj@suse.de>
38383 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38384 is an optional BSD extension.
38387 * manual/stdio.texi (Opening Streams): Document additional fopen
38390 2012-04-09 Roland McGrath <roland@hack.frob.com>
38392 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38393 %eax without telling the compiler.
38395 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38398 * manual/install.texi: Use sourceware.org.
38400 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38403 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38404 (__ieee754_pow): Generate overflow and underflow using huge*huge
38405 and tiny*tiny rather than just returning constant infinity or zero
38406 for large exponents.
38407 * math/libm-test.inc (pow_test): Require overflow exceptions for
38408 applicable cases of large exponents.
38411 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38412 (__ieee754_pow): Use iterative multiplication algorithm only for
38413 integer exponents with absolute value below 1024. Check for odd
38414 integer exponents when using algorithm for real exponents.
38415 * math/libm-test.inc (pow_test): Add more tests.
38416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38418 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38421 * math/libm-test.inc (exp_test): Do not allow overflow exception
38424 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38427 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38428 instead of __kernel_standard_f.
38430 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38432 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38433 * sysdeps/x86_64/memset_chk.S: Likewise.
38435 2012-04-08 Andreas Jaeger <aj@suse.de>
38438 * manual/startup.texi (Environment Access): Describe return value
38439 for putenv and setenv.
38442 * manual/filesys.texi (Directory Entries): Add description for
38446 * manual/filesys.texi (Directory Entries): Clarify that it's file
38447 system not operating system in the description of DT_UNKNOWN.
38450 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38452 2012-04-08 Stephen Compall <s11@member.fsf.org>
38455 * manual/llio.texi (Opening and Closing Files): Add cross
38456 reference to explain mode argument.
38458 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38460 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38461 * sysdeps/x86_64/memset_chk.S: Likewise.
38463 2012-04-07 David S. Miller <davem@davemloft.net>
38465 * elf/elf.h (R_SPARC_WDISP10): Define.
38466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38469 R_SPARC_SIZE64 and R_SPARC_H34.
38471 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38474 conditions and remove no longer applicable assertion.
38476 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38478 * bits/byteswap.h: Include <features.h>.
38479 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38480 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38482 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38484 * bits/byteswap.h (__bswap_16): Removed.
38485 Include <bits/byteswap-16.h> to get __bswap_16.
38486 * sysdeps/i386/bits/byteswap.h: Likewise.
38487 * sysdeps/s390/bits/byteswap.h: Likewise.
38488 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38489 * bits/byteswap-16.h: New file.
38490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38491 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38492 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38493 * string/Makefile (headers): Add bits/byteswap-16.h.
38495 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38498 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38500 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38501 * nss/tst-nss-static.c: New.
38503 2012-04-06 Robert Millan <rmh@gnu.org>
38506 * manual/llio.texi (File Position Primitive): lseek
38507 refers to WHENCE when it really means OFFSET.
38509 2012-04-06 Andreas Jaeger <aj@suse.de>
38511 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38512 strncmp declarations.
38514 * abilist/libc.abilist: Add __poll and __ppoll.
38516 2012-04-05 David S. Miller <davem@davemloft.net>
38518 * scripts/check-local-headers.sh: Accept a host triplet in the
38519 path matched by the exclude regexp.
38521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38523 * sysdeps/powerpc/powerpc32/dl-machine.h
38524 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38525 * sysdeps/s390/s390-32/dl-machine.h
38526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38527 * sysdeps/sparc/sparc32/dl-machine.h
38528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38529 * sysdeps/sparc/sparc64/dl-machine.h
38530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38532 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38534 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38535 undefined symbol errors.
38537 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38540 2012-04-05 Michael Matz <matz@suse.de>
38543 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38545 2012-04-05 Andreas Jaeger <aj@suse.de>
38548 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38551 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38553 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38554 which ROUND is no valid rounding mode.
38556 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38558 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38560 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38564 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38565 an exception using FPU order intentionally.
38567 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38569 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38570 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38571 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38572 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38574 2012-04-05 Simon Josefsson <simon@josefsson.org>
38577 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38578 EINVAL when BUFLEN is too smal.
38580 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38583 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38584 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38586 2012-04-03 Andreas Jaeger <aj@suse.de>
38589 * manual/setjmp.texi (System V contexts): Fix sentence.
38592 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38593 New macro for this case.
38594 [!__GNUC__] (__bswap_64): New inline function for this case.
38595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38596 * bits/byteswap.h: Likewise.
38597 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38598 ull, guard with __GLIBC_HAVE_LONG_LONG.
38600 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38601 __GLIBC_HAVE_LONG_LONG.
38603 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38604 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38606 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38609 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38610 inptr and inend, rather than using last_ch.
38612 2012-04-02 David S. Miller <davem@davemloft.net>
38614 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38615 * stdio-common/printf-parse.h (read_int): Change return type to
38616 'int', return -1 on INT_MAX overflow.
38617 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38618 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38619 overflows INT_MAX. Check for overflow of in-format-string precision
38620 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38621 SIZE_MAX not INT_MAX for integer overflow test.
38622 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38623 skip the construct in the format string but do not record anything.
38624 * stdio-common/bug22.c: Adjust to test both width/prevision
38625 INT_MAX overflow as well as total length INT_MAX overflow. Check
38626 explicitly for proper errno values.
38628 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38630 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38632 * string/test-strcmp.c [! WIDE]: Likewise.
38633 * time/tst-mktime2.c: Likewise for INT_MAX.
38634 * string/test-string.h: #include <sys/param.h> for MIN.
38636 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38637 * sysdeps/i386/init-first.c (init): Likewise.
38638 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38639 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38640 * sysdeps/sh/init-first.c (init): Likewise.
38642 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38644 * po/ru.po: Update from translation team.
38645 * po/vi.po: Likewise.
38647 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38649 * resolv/nss_dns/dns-host.c: Merge copyright years.
38651 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38653 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38654 Optimize memcpy with prefetch if
38655 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38656 src, dst pointers have unequal 16 byte alignments.
38658 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38661 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38662 from a CNAME entry and return the minimum ttl for the query.
38663 (gaih_getanswer_slice): Likewise.
38665 2012-03-30 Jeff Law <law@redhat.com>
38667 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38669 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38670 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38672 * resolv/nss_dns/dns-host.c: Update copyright year.
38674 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38676 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38677 requests to save a system call. Fix check that all bytes are sent.
38679 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38680 comments for sendmmsg.
38682 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38685 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38686 with only 1 character between 0x0041 and 0x01b0.
38687 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38688 * wcsmbs/tst-mbsnrtowcs.c: New file.
38690 2012-03-29 David S. Miller <davem@davemloft.net>
38692 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38693 small copies by hand.
38695 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38698 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38699 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38702 2012-03-28 David S. Miller <davem@davemloft.net>
38704 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38705 that branches into memcpy.
38706 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38709 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38712 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38713 implementation too.
38714 * sysdeps/sparc/mempcpy.S: New file.
38716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38717 the IFUNC routine in the libc case.
38718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38720 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38721 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38722 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38723 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38724 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38725 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38726 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38727 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38729 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38730 loop to 256 bytes instead of 64 bytes and fix test signedness.
38732 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38733 * sysdeps/sparc/sparc32/Makefile: rather than here...
38734 * sysdeps/sparc/sparc64/Makefile: and here.
38736 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38738 * malloc/mallocbug.c: Avoid warnings about unused variables.
38740 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38743 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38744 in the right place. Discard and retry query if response is
38745 larger than input buffer size.
38747 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38752 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38753 x for large integer exponent.
38754 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38755 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38756 sign of result as needed afterwards.
38757 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38758 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38759 result for underflowing pow the same as for overflow.
38760 (__kernel_standard_l): Handle powl overflow and underflow here
38761 rather than calling __kernel_standard.
38762 * math/libm-test.inc (pow_test): Add more tests.
38777 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38778 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38779 (__kernel_standard_l): New function.
38780 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38782 * math/w_acosl.c (__acosl): Likewise.
38783 * math/w_asinl.c (__asinl): Likewise.
38784 * math/w_atan2l.c (__atan2l): Likewise.
38785 * math/w_atanhl.c (__atanhl): Likewise.
38786 * math/w_coshl.c (__coshl): Likewise.
38787 * math/w_exp10l.c (__exp10l): Likewise.
38788 * math/w_exp2l.c (__exp2l): Likewise.
38789 * math/w_fmodl.c (__fmodl): Likewise.
38790 * math/w_hypotl.c (__hypotl): Likewise.
38791 * math/w_j0l.c (__j0l, __y0l): Likewise.
38792 * math/w_j1l.c (__j1l, __y1l): Likewise.
38793 * math/w_jnl.c (__jnl, __ynl): Likewise.
38794 * math/w_lgammal.c (__lgammal): Likewise.
38795 * math/w_log10l.c (__log10l): Likewise.
38796 * math/w_log2l.c (__log2l): Likewise.
38797 * math/w_logl.c (__logl): Likewise.
38798 * math/w_powl.c (__powl): Likewise.
38799 * math/w_remainderl.c (__remainderl): Likewise.
38800 * math/w_scalbl.c (sysv_scalbl): Likewise.
38801 * math/w_sinhl.c (__sinhl): Likewise.
38802 * math/w_sqrtl.c (__sqrtl): Likewise.
38803 * math/w_tgammal.c (__tgammal): Likewise.
38804 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38805 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38806 * math/libm-test.inc (acos_test): Add more tests.
38807 (acosh_test): Likewise.
38808 (asin_test): Likewise.
38809 (atanh_test): Likewise.
38810 (exp_test): Likewise.
38811 (exp10_test): Likewise.
38812 (exp2_test): Likewise.
38813 (expm1_test): Likewise.
38814 (lgamma_test): Likewise.
38815 (log_test): Likewise.
38816 (log10_test): Likewise.
38817 (log1p_test): Likewise.
38818 (log2_test): Likewise.
38819 (pow_test): Do not allow some spurious overflow exceptions.
38820 (sqrt_test): Add more tests.
38821 (tgamma_test): Likewise.
38822 (y0_test): Likewise.
38823 (y1_test): Likewise.
38824 (yn_test): Likewise.
38826 2012-03-27 Anton Blanchard <anton@samba.org>
38828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38834 2012-03-27 David S. Miller <davem@davemloft.net>
38836 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38838 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38839 have-as-vis3 check.
38841 2012-03-27 Andreas Jaeger <aj@suse.de>
38843 * sysdeps/x86_64/elf/configure.in: Moved to ...
38844 * sysdeps/x86_64/configure.in: ... here.
38845 * sysdeps/x86_64/elf/start.S: Moved to ...
38846 * sysdeps/x86_64/start.S: ... here.
38847 * sysdeps/x86_64/elf/configure: Delete.
38849 * sysdeps/x86_64/configure.in: Merge contents from
38850 sysdeps/i386/configure.in (without i686 check).
38852 * sysdeps/i386/elf/Versions: Merge into ...
38853 * sysdeps/i386/Versions: ... this.
38854 * sysdeps/i386/elf/Versions: Delete file.
38855 * sysdeps/i386/elf/start.S: Moved to ...
38856 * sysdeps/i386/start.S: ...here.
38857 * sysdeps/i386/elf/configure.in: Merge into...
38858 * sysdeps/i386/configure.in: ...here.
38859 * sysdeps/i386/elf/configure.in: Delete file.
38860 * sysdeps/i386/elf/configure: Delete file.
38862 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38863 * debug/backtracesyms.c: ... here.
38864 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38865 * debug/backtracesymsfd.c: ... here.
38866 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38867 * sysdeps/generic/ifunc-sel.h: ... here.
38869 * sysdeps/unix/i386/start.c: Delete file.
38870 * sysdeps/unix/sparc/start.c: Delete file.
38871 * sysdeps/unix/start.c: Delete file.
38873 * sysdeps/sh/elf/configure.in: Moved to ...
38874 * sysdeps/sh/configure.in: ... here.
38875 * sysdeps/sh/elf/start.S: Moved to ...
38876 * sysdeps/sh/start.S: ... here.
38877 * sysdeps/sh/elf/configure: Delete file.
38879 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38880 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38881 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38882 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38883 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38884 * sysdeps/powerpc/powerpc64/start.S: here.
38885 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38886 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38887 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38888 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38889 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38891 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38892 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38893 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38894 * sysdeps/powerpc/powerpc32/start.S: ... here.
38895 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38896 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38897 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38899 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38900 * sysdeps/powerpc/ifunc-sel.h: ... here.
38901 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38902 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38904 * sysdeps/sparc/elf/configure.in: Moved to ...
38905 * sysdeps/sparc/configure.in: ... here.
38906 * sysdeps/sparc/elf/configure: Delete file.
38907 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38908 * sysdeps/sparc/sparc32/start.S: ... here.
38909 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38910 * sysdeps/sparc/sparc64/start.S: ... here.
38911 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38912 * sysdeps/sparc/sparc32/Makefile: ... this.
38913 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38914 * sysdeps/sparc/sparc64/Makefile: ... this.
38916 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38917 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38918 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38919 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38920 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38921 * sysdeps/s390/s390-32/setjmp.S: ... here.
38922 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38923 * sysdeps/s390/s390-32/configure.in: ... here.
38924 * sysdeps/s390/s390-32/elf/configure: Delete file.
38925 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38926 * sysdeps/s390/s390-32/start.S: ... here.
38928 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38929 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38930 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38931 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38932 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38933 * sysdeps/s390/s390-64/setjmp.S: ... here.
38934 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38935 * sysdeps/s390/s390-64/configure.in: ... here
38936 * sysdeps/s390/s390-64/elf/configure: Delete file.
38937 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38938 * sysdeps/s390/s390-64/start.S: ... here.
38939 * sysdeps/s390/s390-64/elf/configure: Delete.
38941 * configure.in: Remove support for elf directories in sysdeps.
38943 * configure: Regenerated.
38944 * sysdeps/i386/configure: Regenerated.
38945 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38946 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38947 * sysdeps/s390/s390-32/configure: Regenerated.
38948 * sysdeps/s390/s390-64/configure: Regenerated.
38949 * sysdeps/sh/configure: Regenerated.
38950 * sysdeps/sparc/configure: Regenerated.
38951 * sysdeps/x86_64/configure: Regenerated.
38953 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38957 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38958 denormal result into account.
38960 2012-03-25 Roland McGrath <roland@hack.frob.com>
38962 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38963 Reported by Allan McRae <allan@archlinux.org>.
38965 2012-03-23 Jeff Law <law@redhat.com>
38967 * nss/getnssent.c (__nss_getent): Fix typo.
38969 2012-03-23 David S. Miller <davem@davemloft.net>
38971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38973 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38975 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38976 to pad to uint64_t for each field.
38977 (dl_tls_index): Replace unsigned long with uint64_t.
38979 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38980 Paul Pluzhnikov <ppluzhnikov@google.com>
38983 * grp/Makefile (otherlibs): Don't set it.
38984 * inet/Makefile (otherlibs): Likewise.
38985 * login/Makefile (otherlibs): Likewise.
38986 * nscd/Makefile (otherlibs): Likewise.
38987 * posix/Makefile (otherlibs): Likewise.
38988 * pwd/Makefile (otherlibs): Likewise.
38989 * rt/Makefile (otherlibs): Likewise.
38990 * sunrpc/Makefile (otherlibs): Likewise.
38991 * nss/Makefile (otherlibs): Likewise.
38992 Add libnss_files to routines and static-only-routines.
38993 ($(objpfx)getent): Remove rule.
38994 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38995 static-only-routines.
38997 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39000 * math/s_cexp.c: Include <float.h>.
39001 (__cexp): Handle exp result overflowing not necessarily
39002 overflowing both real and imaginary parts of result.
39003 * math/s_cexpf.c: Likewise.
39004 * math/s_cexpl.c: Likewise.
39005 * math/libm-test.inc (cexp_test): Add more tests.
39006 * sysdeps/i386/fpu/libm-test-ulps: Update.
39007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39009 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39011 * include/link.h (ELFW): New macro.
39012 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39013 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39015 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39017 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39020 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39022 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39024 (struct La_x32_retval): Likewise.
39026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39028 * sysdeps/x86_64/preconfigure.in: New file.
39029 * sysdeps/x86_64/preconfigure: New generated file.
39031 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39034 * math/e_exp2l.c: Include <float.h>.
39035 (__ieee754_exp2l): Handle overflow and underflow cases
39036 separately. Only pass fractional part of argument to
39038 * math/libm-test.inc (exp2_test): Add more tests.
39040 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39041 negating x to take absolute value.
39042 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39047 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39048 computing low part if x was negated.
39049 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39053 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39054 la_x32_gnu_pltexit.
39055 (pltexit): Cast int_retval to ptrdiff_t.
39056 * elf/tst-auditmod3b.c: Likewise.
39057 * elf/tst-auditmod4b.c: Likewise.
39058 * elf/tst-auditmod5b.c: Likewise.
39059 * elf/tst-auditmod6b.c: Likewise.
39060 * elf/tst-auditmod6c.c: Likewise.
39061 * elf/tst-auditmod7b.c: Likewise.
39063 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39064 and x32_gnu_pltexit.
39066 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39067 __ELF_NATIVE_CLASS.
39068 (La_x32_regs): New macro.
39069 (La_x32_retval): Likewise.
39070 (la_x32_gnu_pltenter): New function prototype.
39071 (la_x32_gnu_pltexit): Likewise.
39073 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39075 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39080 * configure.in (libc_cv_cc_nofma): Check for option to disable
39081 generation of FMA instructions.
39082 * configure: Regenerate.
39083 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39084 * sysdeps/ieee754/dbl-64/Makefile: New file.
39085 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39086 Remove brandred-fma4.
39087 (CFLAGS-brandred-fma4.c): Remove.
39088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39094 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39096 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39097 LLONG_MAX != LONG_MAX.
39098 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39099 (_fitoa_word): Likewise.
39100 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39101 LLONG_MAX != LONG_MAX.
39102 * stdio-common/_itowa.h: Include <_itoa.h>.
39103 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39104 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39105 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39106 only if not defined.
39107 (_ITOA_WORD_TYPE): Likewise.
39108 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39109 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39111 2012-03-21 David S. Miller <davem@davemloft.net>
39113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39115 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39117 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39118 of x86_64 when setting libc_cv_slibdir, libdir and
39120 * sysdeps/unix/sysv/linux/configure: Regenerated.
39122 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39124 * manual/lang.texi (Old Varargs): Remove section.
39125 (How Variadic): Update menu.
39126 (va_start): Do not mention varargs.h.
39128 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39129 Joseph Myers <joseph@codesourcery.com>
39131 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39133 * configure: Regenerated.
39135 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39137 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39138 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39141 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39144 * Makefile (files-for-dist): Remove NOTES.
39145 (NOTES): Remove rule.
39146 * README: Don't refer to NOTES.
39147 * manual/creature.texi: Don't include macros.texi.
39148 * manual/intro.texi (creature.texi): Remove comment referring to
39151 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39152 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39153 * configure: Regenerated.
39154 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39155 LIBC_TRY_CC_OPTION.
39156 (libc_cv_as_i686): Likewise.
39157 (libc_cv_cc_avx): Likewise.
39158 (libc_cv_cc_sse2avx): Likewise.
39159 (libc_cv_cc_fma4): Likewise.
39160 (libc_cv_cc_novzeroupper): Likewise.
39161 * sysdeps/i386/configure: Regenerated.
39164 * sysdeps/i386/fpu/s_cexp.S: Remove.
39165 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39167 * math/libm-test.inc (cexp_test): Add more tests.
39168 * sysdeps/i386/fpu/libm-test-ulps: Update.
39169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171 2012-03-21 Allan McRae <allan@archlinux.org>
39173 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39175 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39178 * math/w_exp2.c: Do not include <float.h>.
39179 (o_threshold, u_threshold): Remove.
39180 (__exp2): Calculate result before checking finiteness and calling
39182 * math/w_exp2f.c: Likewise.
39183 * math/w_exp2l.c: Likewise.
39184 * math/libm-test.inc (exp2_test): Require overflow exception for
39188 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39189 range of signed 64-bit integers before using fistpll. Remove
39190 checks for whether integers fit in mantissa bits.
39191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39192 the range of signed 32-bit integers before using fistpl. Remove
39193 checks for whether integers fit in mantissa bits.
39194 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39195 (__ieee754_powl): Test for y outside the range of signed 64-bit
39196 integers before using fistpll. Reduce 64-bit values to 63-bit
39198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39199 divide-by-zero is raised for zero to large negative powers.
39200 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39201 (__ieee754_powl): Test for y outside the range of signed 64-bit
39202 integers before using fistpll. Reduce 64-bit values to 63-bit
39204 * math/libm-test.inc (pow_test): Add more tests.
39206 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39208 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39209 <stdio-common/_itoa.h>.
39210 * debug/segfault.c: Likewise.
39211 * elf/dl-cache.c: Likewise.
39212 * elf/dl-minimal.c: Likewise.
39213 * elf/dl-misc.c: Likewise.
39214 * elf/dl-sysdep.c: Likewise.
39215 * elf/dl-version.c: Likewise.
39216 * elf/rtld.c: Likewise.
39217 * hurd/hurdsock.c: Likewise.
39218 * hurd/lookup-retry.c: Likewise.
39219 * malloc/malloc.c: Likewise.
39220 * malloc/mtrace.c: Likewise.
39221 * nscd/nscd_getgr_r.c: Likewise.
39222 * nscd/nscd_getpw_r.c: Likewise.
39223 * nscd/nscd_getserv_r.c: Likewise.
39224 * posix/getopt_init.c: Likewise.
39225 * posix/wordexp.c: Likewise.
39226 * stdio-common/_itoa.c: Likewise.
39227 * stdio-common/printf_fphex.c: Likewise.
39228 * stdio-common/vfprintf.c: Likewise.
39229 * string/_strerror.c: Likewise.
39230 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39231 * sysdeps/i386/i686/hp-timing.h: Likewise.
39232 * sysdeps/mach/_strerror.c: Likewise.
39233 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39234 * sysdeps/mach/hurd/sethostid.c: Likewise.
39235 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39236 * sysdeps/mach/xpg-strerror.c: Likewise.
39237 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39239 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39240 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39241 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39242 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39243 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39244 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39245 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39246 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39247 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39248 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39249 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39250 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39251 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39252 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39253 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39254 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39255 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39256 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39259 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39261 * stdio-common/_itoa.h: Moved to ...
39262 * sysdeps/generic/_itoa.h: Here.
39264 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39266 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39267 instead of "_itoa.h" and "_itowa.h".
39268 * stdio-common/vfprintf.: Likewise.
39270 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39272 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39274 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39275 (__signbit): Likwise.
39276 (llrintf): Likwise.
39279 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39281 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39284 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39286 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39287 OVERFLOW_EXCEPTION_OK.
39288 * math/libm-test.inc ("Philosophy"): Update comment about
39290 (OVERFLOW_EXCEPTION): Define.
39291 (OVERFLOW_EXCEPTION_OK): Likewise.
39292 (INVALID_EXCEPTION_OK): Renumber.
39293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39294 (IGNORE_ZERO_INF_SIGN): Likewise.
39295 (test_exceptions): Handle FE_OVERFLOW.
39296 (exp10_test): Expect overflow exceptions.
39297 (exp2_test): Likewise.
39298 (expm1_test): Likewise.
39299 (nextafter_test): Likewise.
39300 (pow_test): Likewise.
39301 (scalbn_test): Likewise.
39302 (scalbln_test): Likewise.
39304 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39306 * sysdeps/x86_64/bits/atomic.h
39307 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39309 (atomic_exchange_acq): Likewise.
39310 (__arch_exchange_and_add_body): Likewise.
39311 (__arch_add_body): Likewise.
39312 (atomic_add_negative): Likewise.
39313 (atomic_add_zero): Likewise.
39315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39317 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39318 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39322 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39323 Check __x86_64__ instead of __WORDSIZE.
39325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39327 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39329 2012-03-19 David S. Miller <davem@davemloft.net>
39331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39333 * sysdeps/sparc/fpu/fenv_private.h: New file.
39334 * sysdeps/sparc/fpu/math_private.h: Use it.
39335 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39337 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39338 (libc_feholdexcept_setroundl): Remove.
39339 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39341 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39342 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39344 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39346 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39347 int64_t instead of long int.
39348 (INSERT_WORDS64): Likwise.
39350 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39352 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39353 _Unwind_GetCFA return to _Unwind_Ptr first.
39355 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39358 * math/s_clog.c: Include <float.h>.
39359 (__clog): Scale large or subnormal inputs.
39360 * math/s_clogf.c: Likewise.
39361 * math/s_clogl.c: Likewise.
39362 * math/s_clog10.c: Include <float.h>.
39363 (M_LOG10_2): Define.
39364 (__clog10): Scale large or subnormal inputs.
39365 * math/s_clog10f.c: Likewise.
39366 * math/s_clog10l.c: Likewise.
39367 * math/libm-test.inc (clog_test): Add more tests.
39368 (clog10_test): Likewise.
39369 * sysdeps/i386/fpu/libm-test-ulps: Update.
39370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39373 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39375 * math/libm-test.inc (atan2_test): Add another test.
39377 * Makerules (common-objdir-compile): Remove.
39378 * sysdeps/unix/Makefile (config-generated): Do not add
39379 $(unix-generated) to variable.
39380 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39381 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39383 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39385 [generic bits/local_lim.h] (before-compile): Do not append to
39387 [generic bits/local_lim.h] (common-generated): Likewise.
39388 [generic sys/param.h] (before-compile): Do not append to variable.
39389 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39390 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39391 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39392 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39394 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39395 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39396 [generic sys/param.h] ($(addprefix
39397 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39398 [generic sys/param.h] (common-generated): Do not append to
39400 [generic sys/param.h] (sysdep_headers): Likewise.
39401 [generic bits/errno.h] (before-compile): Do not append to
39403 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39405 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39406 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39407 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39408 [generic bits/errno.h] (common-generated): Do not append to
39410 [generic bits/ioctls.h] (before-compile): Do not append to
39412 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39414 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39415 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39416 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39419 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39420 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39421 [generic bits/ioctls.h] (common-generated): Do not append to
39423 [generic sys/syscall.h] (syscall.h): Remove variable.
39424 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39426 [generic sys/syscall.h] (before-compile): Do not append to
39428 [generic sys/syscall.h] (common-generated): Likewise.
39429 * sysdeps/unix/errnos-tmpl.c: Remove file.
39430 * sysdeps/unix/errnos.awk: Likewise.
39431 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39432 * sysdeps/unix/ioctls.awk: Likewise.
39433 * sysdeps/unix/mk-local_lim.c: Likewise.
39434 * sysdeps/unix/snarf-ioctls: Likewise.
39436 2012-03-19 Richard Henderson <rth@twiddle.net>
39438 * sysdeps/i386/fpu/fenv_private.h: New file.
39439 * sysdeps/i386/fpu/math_private.h: Use it.
39440 (math_opt_barrier, math_force_eval): Remove.
39441 (libc_feholdexcept_setround_53bit): Remove.
39442 (libc_feupdateenv_53bit): Remove.
39443 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39444 (math_opt_barrier, math_force_eval): Remove.
39445 (libc_feholdexcept): Remove.
39446 (libc_feholdexcept_setround): Remove.
39447 (libc_fetestexcept, libc_fesetenv): Remove.
39448 (libc_feupdateenv_test): Remove.
39449 (libc_feupdateenv, libc_feholdsetround): Remove.
39450 (libc_feresetround): Remove.
39452 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39453 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39455 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39456 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39457 (libc_feupdateenv_testl): New.
39458 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39459 (libc_feupdateenv_testf): New.
39460 (libc_feupdateenv): Use libc_feupdateenv_test.
39461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39464 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39465 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39466 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39467 (libc_feresetround_noex): New.
39468 (libc_feresetround_noexf): New.
39469 (libc_feresetround_noexl): New.
39470 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39471 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39472 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39478 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39479 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39480 SET_RESTORE_ROUND_NOEX.
39481 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39482 SET_RESTORE_ROUND_NOEXF.
39483 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39484 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39485 (libc_feholdsetroundf): New.
39486 (libc_feresetround, libc_feresetroundf): New.
39488 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39489 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39490 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39492 * sysdeps/generic/math_private.h: Include <fenv.h>.
39493 (default_libc_feholdexcept): New.
39494 (default_libc_feholdexcept_setround): New.
39495 (default_libc_fesetenv, default_libc_feupdateenv): New.
39496 (libc_feholdexcept): Only define if undefined.
39497 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39498 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39499 (libc_feholdexcept_setroundl): Likewise.
39500 (libc_feholdexcept_setround_53bit): Likewise.
39501 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39502 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39503 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39504 (libc_feupdateenv_53bit): Likewise.
39505 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39506 (libc_feholdexcept): Convert from macro to inline function.
39507 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39508 (libc_fesetenv, libc_feupdateenv): Likewise.
39510 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39511 not previously defined.
39512 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39513 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39514 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39516 * sysdeps/ieee754/flt-32/math_private.h: New file.
39517 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39518 math_private.h below SET_FLOAT_WORD.
39519 (__isnan, __isinf_ns, __finite): Remove.
39520 (__isnanf, __isinf_nsf, __finitef): Remove.
39522 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39526 2012-03-17 David S. Miller <davem@davemloft.net>
39529 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39532 2012-03-16 David S. Miller <davem@davemloft.net>
39534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39540 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39541 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39542 sysdep_routines when subdir is sysvipc.
39543 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39544 __getshmlba helper.
39546 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39550 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39553 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39556 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39557 (__lround): Renamed to ...
39558 (__llround): This. Replace long int with long long int.
39559 Define lround functions as aliases of llround functions.
39560 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39562 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39564 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39565 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39566 adresses to uintptr_t. Replace "long int" and "unsigned long
39567 int" with "greg_t" on va_arg.
39569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39571 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39572 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39574 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39575 Move e_machine check before EI_CLASS check. Handle x32
39576 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39577 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39578 SKIP_EM_IA_64 and include
39579 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39581 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39582 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39583 (add_system_dir): New macro.
39585 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39586 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39588 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39599 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39601 * math/w_j0f.c (j0f): Likewise.
39603 * math/w_j0l.c (__j0l): Likewise.
39605 * math/w_j1.c (j1): Likewise.
39607 * math/w_j1f.c (j1f): Likewise.
39609 * math/w_j1l.c (__j1l): Likewise.
39611 * math/w_jn.c (jn): Likewise.
39613 * math/w_jnf.c (jnf): Likewise.
39615 * math/w_jnl.c (__jnl): Likewise.
39617 * math/libm-test.inc (j0_test): Add more tests.
39618 (j1_test): Likewise.
39619 (jn_test): Likewise. Add trailing semicolon to existing test.
39620 (y0_test): Likewise.
39621 (y1_test): Likewise.
39622 * sysdeps/i386/fpu/libm-test-ulps: Update.
39623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39628 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39629 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39631 (__tanl): Set errno for infinite argument.
39632 * sysdeps/i386/fpu/mptan.c: Remove.
39633 * sysdeps/i386/fpu/s_tan.S: Likewise.
39634 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39635 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39636 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39637 * math/libm-test.inc (tan_test): Add more tests and enable more
39638 tests for double and long double.
39639 * sysdeps/i386/fpu/libm-test-ulps: Update.
39640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39642 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39644 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39645 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39647 2012-03-16 Roland McGrath <roland@hack.frob.com>
39649 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39650 * configure.in: Use it for both main tree and add-ons.
39651 * configure: Regenerated.
39653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39655 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39657 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39659 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39663 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39664 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39669 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39671 != 0 for prec == 2.
39672 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39673 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39674 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39675 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39676 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39677 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39678 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39679 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39680 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39681 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39682 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39683 * math/libm-test.inc (cos_test): Add more tests and enable more
39684 tests for long double.
39685 (sin_test): Likewise.
39686 (sincos_test): Likewise.
39687 * sysdeps/i386/fpu/libm-test-ulps: Update.
39688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39690 2012-03-16 David S. Miller <davem@davemloft.net>
39692 * sysdeps/sparc/fpu/math_private.h: New file.
39694 2012-03-15 David S. Miller <davem@davemloft.net>
39696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39710 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39711 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39713 * sysdeps/sparc/sparc-ifunc.h: New file.
39714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39759 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39761 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39765 2012-03-15 Andreas Jaeger <aj@suse.de>
39768 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39769 ieee754/flt-32 implementation for sin, cos and sincos.
39770 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39771 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39772 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39773 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39774 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39775 ieee754/flt-32 implementation for tan.
39777 * math/libm-test.inc (cos_test): Enable some large input tests for
39779 (sin_test): Likewise.
39780 (sincos_test): Likewise.
39781 (tan_test): Add tests for large input.
39783 * sysdeps/i386/fpu/libm-test-ulps: Update.
39785 2012-03-15 Andreas Jaeger <aj@suse.de>
39788 * math/libm-test.inc (cos_test): Add more test cases.
39789 (sin_test): Likewise.
39790 (sincos_test): Likewise.
39792 2012-03-15 Andreas Jaeger <aj@suse.de>
39795 * math/libm-test.inc (cos_test): Add a test case for large input
39797 (sin_test): Likewise.
39798 (sincos_test): Likewise.
39800 2012-03-15 Andreas Jaeger <aj@suse.de>
39801 Joseph Myers <joseph@codesourcery.com>
39804 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39805 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39806 * sysdeps/i386/fpu/branred.c: Likewise.
39807 * sysdeps/i386/fpu/dosincos.c: Likewise.
39808 * sysdeps/i386/fpu/mpa.c: Likewise.
39809 * sysdeps/i386/fpu/s_cos.S: Likewise.
39810 * sysdeps/i386/fpu/s_sin.S: Likewise.
39811 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39812 * sysdeps/i386/fpu/sincos32.c: Likewise.
39814 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39816 (libc_feupdateenv_53bit): Define.
39817 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39819 (libc_feupdateenv_53bit): Define.
39821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39822 53 bit (without extend i386 double precision).
39824 * math/libm-test.inc (sincos_test): Add tests for large input.
39828 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39830 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39834 2012-03-15 David S. Miller <davem@davemloft.net>
39836 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39837 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39838 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39839 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39864 fmin/fmax sysdep routines.
39865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39867 2012-03-14 David S. Miller <davem@davemloft.net>
39869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39873 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39890 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39941 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39946 * sysdeps/sparc/configure.in: New file.
39947 * sysdeps/sparc/configure: Generate.
39948 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39949 * configure: Regenerate.
39950 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39951 * config.make.in (have-as-vis3): New.
39952 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39953 available use -Av9d instead of -Av9a.
39954 * sysdeps/sparc/sparc64/Makefile: Likewise.
39955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39970 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39971 fzeros/fnegs to load 0x80000000 into a float register instead of
39973 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39975 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39979 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39980 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39981 ($(inst_includedir)/bits/syscall.h): Remove rule.
39982 ($(objpfx)bits/syscall.d): Include instead of
39983 $(objpfx)syscall-list.d.
39984 (generated): Change syscall-list.h and syscall-list.d to
39985 bits/syscall.h and bits/syscall.d.
39987 2012-03-14 Roland McGrath <roland@hack.frob.com>
39990 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39992 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39995 * math/s_csqrt.c: Include <float.h>.
39996 (__csqrt): Scale large or subnormal inputs.
39997 * math/s_csqrtf.c: Likewise.
39998 * math/s_csqrtl.c: Likewise.
39999 * math/libm-test.inc (csqrt_test): Add more tests.
40000 * sysdeps/i386/fpu/libm-test-ulps: Update.
40001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40004 * math/libm-test.inc (hypot_test): Add more tests.
40006 2012-03-13 David S. Miller <davem@davemloft.net>
40009 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40010 double-precision for the calculation instead of scaling.
40012 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40014 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40015 manipulate bits before adding and subtracting TWO52[sx].
40016 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40021 2012-03-13 David S. Miller <davem@davemloft.net>
40023 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40024 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40026 rtld-global-offsets.h
40027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40029 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40032 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40034 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40035 'err' in the ifdef scope in which it is actually used.
40037 * nss/nss_db/db-init.c: Include string.h
40039 2012-03-12 David S. Miller <davem@davemloft.net>
40041 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40042 masking out of the most significant byte of random value used.
40043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40044 Fix coding style in previous change.
40046 * sysdeps/unix/sysv/linux/kernel-features.h
40047 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40048 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40050 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40053 2012-03-11 David S. Miller <davem@davemloft.net>
40055 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40056 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40058 for 'resultvar' otherwise things get truncated on 64-bit.
40060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40061 Fix masking out of the most significant byte of random value used.
40063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40065 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40069 2012-03-09 David S. Miller <davem@davemloft.net>
40071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40072 variables with appropriate CPP guards.
40073 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40074 from the frame pointer, not the stack pointer. Correct layout
40075 comments. Fix test on resulting framesize and the management of
40076 the outregs buffer for pltexit. Preserve floating point return
40077 values across _dl_call_pltexit call.
40078 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40079 framesize and the management of the outregs buffer for pltexit.
40080 Preserve floating point return values across _dl_call_pltexit
40082 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40083 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40084 (la_sparc64_gnu_pltexit): New functions.
40085 (print_exit): Fix format string for return register value.
40087 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40089 * sunrpc/Makefile (others): Add rpcgen.
40090 ($(objpfx)rpcgen): Remove special build rule and dependency on
40092 * sunrpc/rpcgen.c: New file.
40094 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40097 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40098 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40099 * sysdeps/i386/crti.S: Likewise.
40100 * sysdeps/i386/crtn.S: Likewise.
40101 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40102 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40103 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40104 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40105 * sysdeps/sh/crti.S: Likewise.
40106 * sysdeps/sh/crtn.S: Likewise.
40107 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40110 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40112 * locale/programs/locfile-kw.gperf: Likewise.
40113 * locale/programs/charmap-kw.h: Regenerated.
40114 * locale/programs/locfile-kw.h: Likewise.
40117 * intl/plural.y: Replace FSF snail mail address with URL.
40118 * intl/plural.c: Regenerated.
40120 2012-03-09 Richard Henderson <rth@twiddle.net>
40122 * include/math_private.h: Remove file.
40123 * math/math_private.h: Move file ...
40124 * sysdeps/generic/math_private.h: ... here.
40126 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40127 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40128 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40130 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40131 and <math_private.h>.
40132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40137 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40144 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40145 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40205 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40212 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40215 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40220 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40223 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40225 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40226 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40237 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40238 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40239 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40240 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40242 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40243 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40244 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40245 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40246 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40248 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40249 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40250 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40251 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40253 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40255 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40256 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40257 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40259 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40260 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40261 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40262 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40263 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40264 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40265 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40266 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40267 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40268 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40269 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40270 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40271 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40273 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40274 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40275 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40276 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40277 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40278 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40280 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40281 * sysdeps/ieee754/k_standard.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40296 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40430 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40431 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40442 * sysdeps/ieee754/s_lib_version.c: Likewise.
40443 * sysdeps/ieee754/s_matherr.c: Likewise.
40444 * sysdeps/ieee754/s_signgam.c: Likewise.
40445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40447 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40448 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40449 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40450 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40451 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40452 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40453 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40454 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40455 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40456 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40457 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40458 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40459 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40460 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40462 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40467 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40469 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40470 * sunrpc/rpc_main.c: Likewise.
40471 * sunrpc/rpc_svcout.c: Likewise.
40473 2012-03-09 David S. Miller <davem@davemloft.net>
40475 * include/math_private.h: New file.
40477 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40479 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40480 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40481 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40482 from <bits/socket_type.h>.
40483 (enum __socket_type): Don't define here.
40484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40486 bits/socket_type.h.
40489 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40490 checking __USE_GNU.
40492 * Makerules ($(inst_includedir)/%.h): New rule.
40493 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40494 (install-others): Remove variable setting.
40495 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40497 2012-03-08 Richard Henderson <rth@twiddle.net>
40499 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40500 from macro to inline function; merge with the
40501 !__LIBC_INTERNAL_MATH_INLINES version.
40502 (__ieee754_sqrtf): Likewise.
40504 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40505 to inline function.
40506 (__rintf, __floor, __floorf): Likewise.
40508 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40509 macro to inline function.
40510 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40513 not <math/math_private.h>.
40515 2012-03-08 David S. Miller <davem@davemloft.net>
40517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40519 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40521 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40523 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40525 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40526 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40528 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40530 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40531 be defined individually, they must be defined as a block. Define
40532 S for printing a string instead of hidint the different by using a
40533 macro for adding the 'l'.
40534 * stdio-common/tst-fphex-wide.c: Adjust.
40536 2012-03-07 Marek Polacek <polacek@redhat.com>
40538 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40540 2012-03-08 Marek Polacek <polacek@redhat.com>
40543 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40544 * stdio-common/tst-fphex.c: Define a few macros to make the
40545 test reusable. Use them.
40546 * stdio-common/tst-fphex-wide.c: New file.
40548 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40551 * manual/macros.texi (gnusystems): New macro.
40552 (nongnusystems): Likewise.
40553 (gnulinuxhurdsystems): Likewise.
40554 (gnuhurdsystems): Likewise..
40555 (gnulinuxsystems): Likewise.
40556 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40557 variants of the GNU system, not "GNU system".
40558 * manual/conf.texi: Likewise.
40559 * manual/errno.texi: Likewise. Update example of errno macro
40561 * manual/filesys.texi: Likewise.
40562 (getumask): Document as specific to GNU/Hurd.
40563 * manual/install.texi: Likewise. Reword some references to
40565 * manual/intro.texi: Likewise.
40566 * manual/io.texi: Likewise.
40567 (File Name Portability): Detail which constraints are inapplicable
40568 to all GNU systems and which are only inapplicable to GNU/Hurd.
40569 * manual/job.texi: Likewise.
40570 * manual/llio.texi: Likewise.
40571 (O_NOCTTY): Document as present on GNU/Linux.
40572 * manual/maint.texi: Likewise.
40573 * manual/memory.texi: Likewise.
40574 * manual/pattern.texi: Likewise.
40575 * manual/pipe.texi: Likewise.
40576 * manual/process.texi: Likewise.
40577 * manual/resource.texi: Likewise.
40578 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40580 * manual/setjmp.texi: Likewise.
40581 * manual/signal.texi: Likewise.
40582 * manual/startup.texi: Likewise.
40583 * manual/stdio.texi: Likewise.
40584 * manual/terminal.texi: Likewise.
40585 (ONLCR): Document as POSIX.
40586 (OXTABS): Document availability on GNU/Linux as XTABS.
40587 (ONOEOT): Document availability separately from other bits.
40588 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40589 * manual/time.texi: Likewise.
40590 * manual/users.texi: Likewise.
40591 * INSTALL: Regenerated.
40592 * sysdeps/gnu/errlist.c: Regenerated.
40594 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40595 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40596 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40598 * configure: Regenerated.
40600 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40602 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40603 default includes instead of AC_HEADER_CHECK.
40604 * sysdeps/i386/configure: Regenerated.
40607 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40608 * math/s_cacoshf.c (__cacoshf): Likewise.
40609 * math/s_cacoshl.c (__cacoshl): Likewise.
40610 * math/s_casinh.c (__casinh): Set signs of result from argument.
40611 * math/s_casinhf.c (__casinhf): Likewise.
40612 * math/s_casinhl.c (__casinhl): Likewise.
40613 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40614 (casinh_test): Add more tests.
40615 * sysdeps/i386/fpu/libm-test-ulps: Update.
40616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40618 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40620 * po/zh_TW.po: Update from translation team.
40622 * login/Makefile (distribute): Remove variable.
40623 * catgets/Makefile: Likewise.
40624 * mach/Makefile: Likewise.
40625 * malloc/Makefile: Likewise.
40626 * misc/Makefile: Likewise.
40627 * iconv/Makefile: Likewise.
40628 * nscd/Makefile: Likewise.
40629 * hurd/Makefile: Likewise.
40630 * manual/Makefile: Likewise.
40631 * locale/Makefile: Likewise.
40632 * intl/Makefile: Likewise.
40633 * conform/Makefile: Likewise.
40634 * nss/Makefile: Likewise.
40635 * time/Makefile: Likewise.
40636 * soft-fp/Makefile: Likewise.
40637 * dirent/Makefile: Likewise.
40638 * gmon/Makefile: Likewise.
40639 * po/Makefile: Likewise.
40640 * rt/Makefile: Likewise.
40641 * socket/Makefile: Likewise.
40642 * math/Makefile: Likewise.
40643 * signal/Makefile: Likewise.
40644 * debug/Makefile: Likewise.
40645 * elf/Makefile: Likewise.
40646 * timezone/Makefile: Likewise.
40647 * stdlib/Makefile: Likewise.
40648 * iconvdata/Makefile: Likewise.
40649 * sunrpc/Makefile: Likewise.
40650 * io/Makefile: Likewise.
40651 * argp/Makefile: Likewise.
40652 * inet/Makefile: Likewise.
40653 * hesiod/Makefile: Likewise.
40654 * grp/Makefile: Likewise.
40655 * csu/Makefile: Likewise.
40656 * wctype/Makefile: Likewise.
40657 * crypt/Makefile: Likewise.
40658 * libio/Makefile: Likewise.
40659 * string/Makefile: Likewise.
40660 * nis/Makefile: Likewise.
40661 * resolv/Makefile: Likewise.
40662 * stdio-common/Makefile: Likewise.
40663 * wcsmbs/Makefile: Likewise.
40664 * dlfcn/Makefile: Likewise.
40665 * posix/Makefile: Likewise.
40668 * timezone/Makefile: Don't install timezone files, just the programs
40671 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40673 * nss/databases.def: Add missing gshadow entry.
40675 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40677 2012-03-06 Marek Polacek <polacek@redhat.com>
40680 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40681 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40682 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40683 * stdio-common/tst-long-dbl-fphex.c: New file.
40685 2012-03-06 David S. Miller <davem@davemloft.net>
40687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40688 (set_obp_int): New function.
40689 (get_obp_int): New function.
40690 (__get_clockfreq_via_dev_openprom): Likewise.
40691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40692 Avoid unused variable warnings on 'val' and use builtin_expect.
40693 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40695 (INLINE_CLONE_SYSCALL): Likewise.
40697 2012-03-05 David S. Miller <davem@davemloft.net>
40699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40701 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40706 only for |x| >= 40.
40707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40709 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40712 Replace gettimeofday with __vdso_gettimeofday.
40714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40715 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40716 __vdso_clock_gettime and __vdso_getcpu.
40718 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40719 time with __vdso_time.
40721 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40723 * manual/lang.texi (size_t): Note types to which size_t may be
40724 equivalent with the GNU C Library, but do not describe when
40725 differences between them are significant.
40727 2012-03-05 Andreas Jaeger <aj@suse.de>
40729 * sysdeps/i386/fpu/libm-test-ulps: Update.
40731 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40734 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40735 (__ieee754_pow): Save and restore rounding mode and use
40736 round-to-nearest for main computations.
40737 * math/libm-test.inc (pow_test_tonearest): New function.
40738 (pow_test_towardzero): Likewise.
40739 (pow_test_downward): Likewise.
40740 (pow_test_upward): Likewise.
40741 (main): Call the new functions.
40742 * sysdeps/i386/fpu/libm-test-ulps: Update.
40743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40746 * math/libm-test.inc (cosh_test_tonearest): New function.
40747 (cosh_test_towardzero): Likewise.
40748 (cosh_test_downward): Likewise.
40749 (cosh_test_upward): Likewise.
40750 (sinh_test_tonearest): Likewise.
40751 (sinh_test_towardzero): Likewise.
40752 (sinh_test_downward): Likewise.
40753 (sinh_test_upward): Likewise.
40754 (main): Call the new functions.
40755 * sysdeps/i386/fpu/libm-test-ulps: Update.
40756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40758 2012-03-05 Tom de Vries <tom@codesourcery.com>
40760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40761 default stack guard is set in last bytes.
40762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40764 2012-03-05 Kees Cook <keescook@chromium.org>
40766 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40769 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40770 possibly allocate from heap instead of stack.
40771 * stdio-common/bug-vfprintf-nargs.c: New file.
40772 * stdio-common/Makefile (tests): Add nargs overflow test.
40774 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40778 2012-03-03 Marek Polacek <polacek@redhat.com>
40780 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40781 * math/math_private.h: Likewise.
40782 * stdlib/tst-strtod.c: Likewise.
40783 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40784 * sysdeps/x86_64/bits/atomic.h: Likewise.
40786 2012-03-02 David S. Miller <davem@davemloft.net>
40788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40792 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40793 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40794 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40795 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40797 2012-03-02 Roland McGrath <roland@hack.frob.com>
40800 * manual/examples/README: New file, says the example source files
40801 can be used under GPL>=2.
40802 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40803 line containing just "*/".
40804 * manual/examples/add.c: Add copyright header (GPL>=2).
40805 * manual/examples/argp-ex1.c: Likewise.
40806 * manual/examples/argp-ex2.c: Likewise.
40807 * manual/examples/argp-ex3.c: Likewise.
40808 * manual/examples/argp-ex4.c: Likewise.
40809 * manual/examples/atexit.c: Likewise.
40810 * manual/examples/db.c: Likewise.
40811 * manual/examples/dir.c: Likewise.
40812 * manual/examples/dir2.c: Likewise.
40813 * manual/examples/execinfo.c: Likewise.
40814 * manual/examples/filecli.c: Likewise.
40815 * manual/examples/filesrv.c: Likewise.
40816 * manual/examples/fmtmsgexpl.c: Likewise.
40817 * manual/examples/genpass.c: Likewise.
40818 * manual/examples/inetcli.c: Likewise.
40819 * manual/examples/inetsrv.c: Likewise.
40820 * manual/examples/isockad.c: Likewise.
40821 * manual/examples/longopt.c: Likewise.
40822 * manual/examples/memopen.c: Likewise.
40823 * manual/examples/memstrm.c: Likewise.
40824 * manual/examples/mkfsock.c: Likewise.
40825 * manual/examples/mkisock.c: Likewise.
40826 * manual/examples/mygetpass.c: Likewise.
40827 * manual/examples/pipe.c: Likewise.
40828 * manual/examples/popen.c: Likewise.
40829 * manual/examples/rprintf.c: Likewise.
40830 * manual/examples/search.c: Likewise.
40831 * manual/examples/select.c: Likewise.
40832 * manual/examples/setjmp.c: Likewise.
40833 * manual/examples/sigh1.c: Likewise.
40834 * manual/examples/sigusr.c: Likewise.
40835 * manual/examples/stpcpy.c: Likewise.
40836 * manual/examples/strdupa.c: Likewise.
40837 * manual/examples/strftim.c: Likewise.
40838 * manual/examples/strncat.c: Likewise.
40839 * manual/examples/subopt.c: Likewise.
40840 * manual/examples/swapcontext.c: Likewise.
40841 * manual/examples/termios.c: Likewise.
40842 * manual/examples/testopt.c: Likewise.
40843 * manual/examples/testpass.c: Likewise.
40844 * manual/examples/timeval_subtract.c: Likewise.
40847 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40849 * manual/timeval_subtract.c.texi: ... here, new file.
40851 2012-03-02 David S. Miller <davem@davemloft.net>
40853 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40855 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40858 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40859 (__sin): Save and restore rounding mode and use round-to-nearest
40860 for all computations.
40861 (__cos): Save and restore rounding mode and use round-to-nearest
40862 for all computations.
40863 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40865 (tan): Save and restore rounding mode and use round-to-nearest for
40867 * math/libm-test.inc (cos_test_tonearest): New function.
40868 (cos_test_towardzero): Likewise.
40869 (cos_test_downward): Likewise.
40870 (cos_test_upward): Likewise.
40871 (sin_test_tonearest): Likewise.
40872 (sin_test_towardzero): Likewise.
40873 (sin_test_downward): Likewise.
40874 (sin_test_upward): Likewise.
40875 (tan_test_tonearest): Likewise.
40876 (tan_test_towardzero): Likewise.
40877 (tan_test_downward): Likewise.
40878 (tan_test_upward): Likewise.
40879 (main): Call the new functions.
40880 * sysdeps/i386/fpu/libm-test-ulps: Update.
40881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40884 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40885 small n, then large n, before computing and testing k+n.
40886 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40891 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40892 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40899 * math/libm-test.inc (scalbn_test): Add more tests.
40900 (scalbln_test): Likewise.
40902 * manual/filesys.texi (mode_t): Describe constraints on size and
40903 signedness, not exact equivalence to a particular type.
40905 (ino64_t): Likewise.
40907 (nlink_t): Likewise.
40908 (blkcnt_t): Likewise.
40909 (blkcnt64_t): Likewise.
40910 * manual/llio.texi (off_t): Likewise.
40913 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40914 (__ieee754_exp): Save and restore rounding mode and use
40915 round-to-nearest for all computations.
40916 * math/libm-test.inc (exp_test_tonearest): New function.
40917 (exp_test_towardzero): Likewise.
40918 (exp_test_downward): Likewise.
40919 (exp_test_upward): Likewise.
40920 (main): Call the new functions.
40921 * sysdeps/i386/fpu/libm-test-ulps: Update.
40922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40924 2012-03-01 Chris Demetriou <cgd@google.com>
40926 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40927 have predictable order.
40929 2012-03-01 David S. Miller <davem@davemloft.net>
40931 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40933 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40934 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40935 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40936 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40938 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40939 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40940 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40942 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40943 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40944 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40945 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40946 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40951 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40954 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40956 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40957 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40958 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40963 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40964 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40970 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40971 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40972 * sysdeps/sparc/elf/configure: Regenerated.
40974 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40976 * configure.in (AS, LD): Require binutils 2.20 or later.
40977 * configure: Regenerated.
40978 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40979 as required minimum version.
40980 * INSTALL: Regenerated.
40984 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40985 before squaring exponent.
40986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40987 bottom long double and 27 bits of top long double before squaring
40989 * math/libm-test.inc (erfc_test): Add more tests.
40990 * sysdeps/i386/fpu/libm-test-ulps: Update.
40991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40994 2012-03-01 Kai Tietz <ktietz@redhat.com>
40996 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40997 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40998 containing bit-fields.
40999 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41000 * soft-fp/single.h (_FP_UNION_S): Likewise.
41001 * soft-fp/double.h (_FP_UNION_D): Likewise.
41003 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41006 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41007 not include ../strcmp.S.
41008 [USE_AS_STRNCASECMP_L]: Likewise.
41009 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41010 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41011 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41012 (__strncasecmp_l_ia32): Define as alias to
41013 __strncasecmp_l_nonascii.
41016 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41017 * sysdeps/i386/fpu/libm-test-ulps: Update.
41018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41020 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41023 2012-02-29 Jeff Law <law@redhat.com>
41025 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41026 out of bounds read.
41028 2012-02-29 Marek Polacek <polacek@redhat.com>
41031 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41032 * elf/Makefile: Add rules to run tst-unused-dep.out.
41034 2012-02-28 David S. Miller <davem@davemloft.net>
41036 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41037 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41040 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41041 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41043 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41045 * math/libm-test.inc (llround_test): Move one test from
41046 lround_test. Use TEST_f_L in moved test.
41047 (lround_test): Move misplaced test to llround_test. Add testcase
41050 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41052 * sysdeps/x86_64/fpu/e_expf.S: New file.
41053 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41055 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41058 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41059 of remain_len that may cause incomplete multi-byte character and
41061 * posix/bug-regex33.c: New file.
41062 * posix/Makefile (tests): Add bug-regex33.
41064 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41066 * manual/macros.texi: New file.
41067 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41068 * manual/libc.texinfo: Include macros.texi.
41069 * manual/creatute.texi: Likewise.
41070 * manual/install.texi: Likewise.
41071 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41072 @glibcadj{} in references to the GNU C Library.
41073 * manual/charset.texi: Likewise.
41074 * manual/conf.texi: Likewise.
41075 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41076 when not using those macros.
41077 * manual/creature.texi: Likewise.
41078 * manual/crypt.texi: Likewise.
41079 * manual/errno.texi: Likewise.
41080 * manual/filesys.texi: Likewise.
41081 * manual/header.texi: Likewise.
41082 * manual/install.texi: Likewise.
41083 * manual/intro.texi: Likewise.
41084 * manual/io.texi: Likewise.
41085 * manual/job.texi: Likewise.
41086 * manual/lang.texi: Likewise.
41087 * manual/libc.texiinfo: Likewise.
41088 * manual/llio.texi: Likewise.
41089 * manual/locale.texi: Likewise.
41090 * manual/maint.texi: Likewise.
41091 * manual/math.texi: Likewise.
41092 * manual/memory.texi: Likewise.
41093 * manual/message.texi: Likewise.
41094 * manual/nss.texi: Likewise.
41095 * manual/pattern.texi: Likewise.
41096 * manual/process.texi: Likewise.
41097 * manual/resource.texi: Likewise.
41098 * manual/search.texi: Likewise.
41099 * manual/setjmp.texi: Likewise.
41100 * manual/signal.texi: Likewise.
41101 * manual/socket.texi: Likewise.
41102 * manual/startup.texi: Likewise.
41103 * manual/stdio.texi: Likewise.
41104 * manual/string.texi: Likewise.
41105 * manual/sysinfo.texi: Likewise.
41106 * manual/syslog.texi: Likewise.
41107 * manual/terminal.texi: Likewise.
41108 * manual/time.texi: Likewise.
41109 * manual/users.texi: Likewise.
41110 * INSTALL: Regenerated.
41111 * NOTES: Regenerated.
41112 * sysdeps/gnu/errlist.c: Regenerated.
41114 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41116 * include/dirent.h: Include <dirstream.h> before
41119 2012-02-28 David S. Miller <davem@davemloft.net>
41121 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41122 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41123 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41124 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41126 2012-02-27 David S. Miller <davem@davemloft.net>
41128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41130 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41131 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41134 frame pointer instead of stack pointer relative arg slot.
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41136 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41137 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41139 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41142 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41144 2012-02-27 David S. Miller <davem@davemloft.net>
41146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41152 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41155 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41157 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41158 later. Allow versions 5-9.
41159 * configure: Regenerated.
41160 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41161 required minimum version and 4.6 as recommended version. Do not
41162 mention bugs in GCC 2.7 and 2.8.
41163 * INSTALL: Regenerated.
41165 2012-02-27 David S. Miller <davem@davemloft.net>
41167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41171 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41172 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41177 manipulate bits before adding and subtracting TWO112[sx].
41178 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41180 2012-02-27 Roland McGrath <roland@hack.frob.com>
41183 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41184 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41185 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41186 being in POSIX, because they are in 1003.1-2008.
41188 * rt/tst-aio.c: Include <fcntl.h>.
41189 * rt/tst-aio7.c: Likewise.
41190 * rt/tst-aio64.c: Likewise.
41192 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41194 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41196 * manual/install.texi (--with-headers): Describe headers as
41197 interface headers, not private headers.
41198 (Specific advice for GNU/Linux systems): Describe use of headers
41199 from "make headers_install", not private headers from older
41201 * INSTALL: Regenerated.
41202 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41204 * sysdeps/unix/sysv/linux/configure: Regenerated.
41206 * manual/llio.texi (fclean): Remove documentation.
41208 * manual/Makefile (libc-texi-generated): New variable. Include
41210 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41211 $(libc-texi-generated), not duplicated list of files.
41212 (version.texi, stamp-version): New rules.
41213 (realclean): Remove $(libc-texi-generated), not individual files
41214 from that list. Do not remove dir-add.texinfo.
41215 * manual/libc.texinfo: Comment out uses of edition numbers and
41216 references to printed manual. Remove last-updated dates.
41217 (EDITION): Comment out.
41219 (VERSION, UPDATED): Remove.
41220 (version.texi): Include.
41222 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41224 * sysdeps/posix/spawni.c: Include <signal.h>.
41225 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41226 * sysdeps/pthread/aio_fsync.c: Likewise.
41228 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41230 * conform/Makefile (tests): Run only when not cross-compiling and
41231 when fast-check is not defined.
41233 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41234 * conform/data/limits.h-data: Fixes for POSIX2008.
41235 * conform/run-conformtest.sh: Run all tests.
41236 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41238 * include/bits/dlfcn.h: Likewise.
41239 * include/langinfo.h: Likewise.
41240 * include/monetary.h: Likewise.
41241 * include/sys/poll.h: Likewise.
41243 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41245 * posix/spawn.h: Define __need_sigset_t.
41246 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41247 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41248 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41249 to get sigevent_t only.
41250 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41251 only for __USE_GNU.
41252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41253 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41254 process_vm_writev only for __USE_GNU.
41255 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41257 * conform/Makefile: For now ignore errors from run-conformtest.
41258 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41259 POSIX to avoid namespace pollution. Don't prepend headers.
41260 * conform/data/aio.h-data: Fixes for POSIX testing.
41261 * conform/data/fcntl.h-data: Likewise.
41262 * conform/data/glob.h-data: Likewise.
41263 * conform/data/grp.h-data: Likewise.
41264 * conform/data/pthread.h-data: Likewise.
41265 * conform/data/pwd.h-data: Likewise.
41266 * conform/data/signal.h-data: Likewise.
41267 * conform/data/spawn.h-data: Likewise.
41268 * conform/data/stdio.h-data: Likewise.
41269 * conform/data/stdlib.h-data: Likewise.
41270 * conform/data/stropts.h-data: Likewise.
41271 * conform/data/sys/mman.h-data: Likewise.
41272 * conform/data/sys/stat.h-data: Likewise.
41273 * conform/data/sys/types.h-data: Likewise.
41274 * conform/data/sys/wait.h-data: Likewise.
41275 * conform/data/time.h-data: Likewise.
41276 * conform/data/unistd.h-data: Likewise.
41277 * conform/data/utime.h-data: Likewise.
41279 * io/sys/stat.h: fchmod was always in POSIX.
41280 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41281 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41282 * rt/aio.h: Define __need_timespec before including <time.h>.
41283 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41284 struct. Add forward declaration of pthread_attr_t and use it in
41286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41288 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41289 always remove CLK_TCK definition.
41291 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41293 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41295 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41297 * conform/run-conformtest.sh: New file.
41298 * conform/Makefile: Run run-conformtest for tests.
41299 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41302 * conform/data/uchar.h-data: New file.
41303 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41304 * conform/data/arpa/inet.h-data: Likewise.
41305 * conform/data/assert.h-data: Likewise.
41306 * conform/data/complex.h-data: Likewise.
41307 * conform/data/cpio.h-data: Likewise.
41308 * conform/data/ctype.h-data: Likewise.
41309 * conform/data/dirent.h-data: Likewise.
41310 * conform/data/dlfcn.h-data: Likewise.
41311 * conform/data/errno.h-data: Likewise.
41312 * conform/data/fcntl.h-data: Likewise.
41313 * conform/data/float.h-data: Likewise.
41314 * conform/data/fmtmsg.h-data: Likewise.
41315 * conform/data/fnmatch.h-data: Likewise.
41316 * conform/data/ftw.h-data: Likewise.
41317 * conform/data/glob.h-data: Likewise.
41318 * conform/data/grp.h-data: Likewise.
41319 * conform/data/iconv.h-data: Likewise.
41320 * conform/data/inttypes.h-data: Likewise.
41321 * conform/data/langinfo.h-data: Likewise.
41322 * conform/data/libgen.h-data: Likewise.
41323 * conform/data/limits.h-data: Likewise.
41324 * conform/data/locale.h-data: Likewise.
41325 * conform/data/math.h-data: Likewise.
41326 * conform/data/monetary.h-data: Likewise.
41327 * conform/data/mqueue.h-data: Likewise.
41328 * conform/data/ndbm.h-data: Likewise.
41329 * conform/data/net/if.h-data: Likewise.
41330 * conform/data/netdb.h-data: Likewise.
41331 * conform/data/netinet/in.h-data: Likewise.
41332 * conform/data/nl_types.h-data: Likewise.
41333 * conform/data/poll.h-data: Likewise.
41334 * conform/data/pthread.h-data: Likewise.
41335 * conform/data/pwd.h-data: Likewise.
41336 * conform/data/regex.h-data: Likewise.
41337 * conform/data/sched.h-data: Likewise.
41338 * conform/data/search.h-data: Likewise.
41339 * conform/data/semaphore.h-data: Likewise.
41340 * conform/data/setjmp.h-data: Likewise.
41341 * conform/data/signal.h-data: Likewise.
41342 * conform/data/spawn.h-data: Likewise.
41343 * conform/data/stdarg.h-data: Likewise.
41344 * conform/data/stdio.h-data: Likewise.
41345 * conform/data/stdlib.h-data: Likewise.
41346 * conform/data/string.h-data: Likewise.
41347 * conform/data/strings.h-data: Likewise.
41348 * conform/data/stropts.h-data: Likewise.
41349 * conform/data/sys/ipc.h-data: Likewise.
41350 * conform/data/sys/mman.h-data: Likewise.
41351 * conform/data/sys/msg.h-data: Likewise.
41352 * conform/data/sys/resource.h-data: Likewise.
41353 * conform/data/sys/select.h-data: Likewise.
41354 * conform/data/sys/sem.h-data: Likewise.
41355 * conform/data/sys/shm.h-data: Likewise.
41356 * conform/data/sys/socket.h-data: Likewise.
41357 * conform/data/sys/stat.h-data: Likewise.
41358 * conform/data/sys/statvfs.h-data: Likewise.
41359 * conform/data/sys/time.h-data: Likewise.
41360 * conform/data/sys/timeb.h-data: Likewise.
41361 * conform/data/sys/times.h-data: Likewise.
41362 * conform/data/sys/types.h-data: Likewise.
41363 * conform/data/sys/uio.h-data: Likewise.
41364 * conform/data/sys/un.h-data: Likewise.
41365 * conform/data/sys/utsname.h-data: Likewise.
41366 * conform/data/sys/wait.h-data: Likewise.
41367 * conform/data/syslog.h-data: Likewise.
41368 * conform/data/tar.h-data: Likewise.
41369 * conform/data/termios.h-data: Likewise.
41370 * conform/data/utime.h-data: Likewise.
41371 * conform/data/utmpx.h-data: Likewise.
41372 * conform/data/varargs.h-data: Likewise.
41373 * conform/data/wchar.h-data: Likewise.
41374 * conform/data/wctype.h-data: Likewise.
41375 * conform/data/wordexp.h-data: Likewise.
41377 * include/stropts.h: New file.
41378 * include/uchar.h: New file.
41379 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41380 * include/assert.h: Likewise.
41381 * include/ctype.h: Likewise.
41382 * include/dirent.h: Likewise.
41383 * include/dlfcn.h: Likewise.
41384 * include/fcntl.h: Likewise.
41385 * include/fnmatch.h: Likewise.
41386 * include/glob.h: Likewise.
41387 * include/grp.h: Likewise.
41388 * include/libio.h: Likewise.
41389 * include/locale.h: Likewise.
41390 * include/math.h: Likewise.
41391 * include/net/if.h: Likewise.
41392 * include/netdb.h: Likewise.
41393 * include/netinet/in.h: Likewise.
41394 * include/pthread.h: Likewise.
41395 * include/pwd.h: Likewise.
41396 * include/regex.h: Likewise.
41397 * include/sched.h: Likewise.
41398 * include/search.h: Likewise.
41399 * include/setjmp.h: Likewise.
41400 * include/signal.h: Likewise.
41401 * include/stdio.h: Likewise.
41402 * include/stdlib.h: Likewise.
41403 * include/string.h: Likewise.
41404 * include/sys/cdefs.h: Likewise.
41405 * include/sys/mman.h: Likewise.
41406 * include/sys/msg.h: Likewise.
41407 * include/sys/resource.h: Likewise.
41408 * include/sys/select.h: Likewise.
41409 * include/sys/socket.h: Likewise.
41410 * include/sys/stat.h: Likewise.
41411 * include/sys/statvfs.h: Likewise.
41412 * include/sys/time.h: Likewise.
41413 * include/sys/times.h: Likewise.
41414 * include/sys/uio.h: Likewise.
41415 * include/sys/utsname.h: Likewise.
41416 * include/sys/wait.h: Likewise.
41417 * include/termios.h: Likewise.
41418 * include/time.h: Likewise.
41419 * include/ulimit.h: Likewise.
41420 * include/unistd.h: Likewise.
41421 * include/utime.h: Likewise.
41422 * include/wchar.h: Likewise.
41423 * include/wctype.h: Likewise.
41424 * include/wordexp.h: Likewise.
41426 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41428 * time/time.h: TIME_UTC must be a macro.
41429 Make timespec_get available for ISO C11 only as well.
41431 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41433 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41434 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41436 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41438 * configure.in: Use -o not -a in test for unsupported multi-arch.
41440 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41442 * manual/texinfo.tex: Update to version 2012-01-19.16.
41444 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41446 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41448 2012-02-24 Roland McGrath <roland@hack.frob.com>
41451 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41452 * manual/fdl-1.3.texi: New file.
41453 * manual/fdl-1.1.texi: File removed.
41456 * manual/libc.texinfo (FDL_VERSION): New @set.
41457 Use it for mention of FDL in cover text.
41458 (Documentation License): Use it in @include file name.
41460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41461 Roland McGrath <roland@hack.frob.com>
41464 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41465 (not LONG_LONG_MAX and LONG_LONG_MIN.
41466 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41467 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41469 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41471 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41475 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41476 manipulate bits before adding and subtracting TWO23[sx].
41477 * math/libm-test.inc (nearbyint_test): Add more tests.
41479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41482 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41483 bits before adding and subtracting TWO23[sx].
41484 * math/libm-test.inc (rint_test): Add more tests.
41485 (rint_test_tonearest): Likewise.
41486 (rint_test_towardzero): Likewise.
41487 (rint_test_downward): Likewise.
41488 (rint_test_upward: Likewise.
41490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41493 * include/stdc-predef.h: New file. Extracted from features.h.
41494 * include/features.h: Include stdc-predef.h.
41495 * Makefile (headers): Add stdc-predef.h.
41496 * CONFORMANCE (Compiler limitations): Update.
41498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41500 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41502 2012-02-21 David S. Miller <davem@davemloft.net>
41504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41507 2012-02-20 David S. Miller <davem@davemloft.net>
41509 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41510 using a normal save/restore sequence, rather than allocating a
41511 dummy stack frame just to store a frame pointer and restore.
41512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41514 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41516 * manual/install.texi: Fix stray word in line-wrapped comment.
41518 2012-02-20 David S. Miller <davem@davemloft.net>
41520 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41521 both binutils and gcc support GOTDATA.
41523 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41524 "rd %pc" in the PIC register setup sequences.
41526 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41527 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41528 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41529 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41530 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41532 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41535 (SYSCALL_ERROR_HANDLER): Likewise.
41536 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41537 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41539 (SYSCALL_ERROR_HANDLER): Likewise.
41541 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41542 (HAVE_GCC_GOTDATA): New.
41543 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41544 relocation support in both binutils and gcc.
41545 * sysdeps/sparc/elf/configure: Regenerate.
41547 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41548 * sysdeps/sparc/sparc32/elf/configure: Delete.
41549 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41550 * sysdeps/sparc/sparc64/elf/configure: Delete.
41551 * sysdeps/sparc/elf/configure.in: New file.
41552 * sysdeps/sparc/elf/configure: Generate.
41554 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41555 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41556 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41557 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41558 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41560 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41562 * manual/install.texi: Do not mention specific glibc version
41564 * manual/libc.texinfo (VERSION, UPDATED): Update.
41565 (@copying): Use @copyright{} and range of years.
41567 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41570 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41571 [crti.S not in sysdirs] (generated): Do not append.
41572 [crti.S not in sysdirs] (omit-deps): Likewise.
41573 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41574 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41575 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41576 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41577 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41579 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41580 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41581 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41582 * csu/defs.awk: Remove file.
41583 * sysdeps/generic/initfini.c: Likewise.
41584 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41586 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41589 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41591 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41592 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41593 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41596 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41598 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41599 (__EPOLL_PACKED): Define to empty if not defined by
41601 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41605 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41607 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41608 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41610 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41612 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41616 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41618 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41622 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41625 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41628 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41630 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41632 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41633 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41635 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41637 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41640 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41642 * math/w_acos.c: Use non-signaling floating-point comparisons.
41643 * math/w_acosf.c: Likewise.
41644 * math/w_acosh.c: Likewise.
41645 * math/w_acoshf.c: Likewise.
41646 * math/w_acoshl.c: Likewise.
41647 * math/w_acosl.c: Likewise.
41648 * math/w_asin.c: Likewise.
41649 * math/w_asinf.c: Likewise.
41650 * math/w_asinl.c: Likewise.
41651 * math/w_atanh.c: Likewise.
41652 * math/w_atanhf.c: Likewise.
41653 * math/w_atanhl.c: Likewise.
41654 * math/w_exp2.c: Likewise.
41655 * math/w_exp2f.c: Likewise.
41656 * math/w_exp2l.c: Likewise.
41657 * math/w_j0.c: Likewise.
41658 * math/w_j0f.c: Likewise.
41659 * math/w_j0l.c: Likewise.
41660 * math/w_j1.c: Likewise.
41661 * math/w_j1f.c: Likewise.
41662 * math/w_j1l.c: Likewise.
41663 * math/w_jn.c: Likewise.
41664 * math/w_jnf.c: Likewise.
41665 * math/w_log.c: Likewise.
41666 * math/w_log10.c: Likewise.
41667 * math/w_log10f.c: Likewise.
41668 * math/w_log10l.c: Likewise.
41669 * math/w_log2.c: Likewise.
41670 * math/w_log2f.c: Likewise.
41671 * math/w_log2l.c: Likewise.
41672 * math/w_logf.c: Likewise.
41673 * math/w_logl.c: Likewise.
41674 * math/w_sqrt.c: Likewise.
41675 * math/w_sqrtf.c: Likewise.
41676 * math/w_sqrtl.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41680 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41681 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41683 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41686 * manual/string.texi (strnlen): Use correct parameter name in
41687 equivalent expression.
41689 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41692 * manual/users.texi (seteuid): Consistently use neweuid for
41695 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41698 * manual/nss.texi (Services in the NSS configuration): Correct
41699 list of services in example configuration file.
41701 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41704 * manual/arith.texi: Remove statements about negative zero
41705 behaving identically to zero.
41707 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41710 * manual/install.texi: Do not document upgrading from libc5.
41712 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41715 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41717 2012-02-18 David S. Miller <davem@davemloft.net>
41719 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41720 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41721 %o7 across the call.
41722 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41725 SETUP_PIC_REG_LEAF.
41726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41727 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41728 * sysdeps/sparc/crtn.S: Likewise.
41730 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41732 * aout/Makefile: Remove.
41734 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41737 * manual/examples/argp-ex1.c (main): Format definition in GNU
41739 * manual/examples/argp-ex2.c (main): Likewise.
41740 * manual/examples/argp-ex3.c (main): Likewise.
41741 * manual/examples/argp-ex4.c (main): Likewise.
41742 * manual/examples/longopt.c (main): Use new-style prototype
41744 * manual/examples/strncat.c (main): Specify return type and use
41745 (void) for arguments.
41746 * manual/examples/subopt.c (main): Use char **argv argument.
41748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41751 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41754 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41757 * manual/string.texi (strchr): Change when strchrnul is
41760 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41763 * manual/locale.texi (setlocale): Document LOCPATH.
41765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41768 * manual/process.texi (execle): Move @dots{} before last argument.
41770 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41773 * manual/charset.texi (Generic Charset Conversion): Fix typo
41774 (LC_TYPE -> LC_CTYPE).
41776 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41779 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41780 (scalbnf): Likewise.
41781 (scalbnl): Likewise.
41782 (scalbln): Likewise.
41783 (scalblnf): Likewise.
41784 (scalblnl): Likewise.
41785 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41786 (vwarnx): Likewise.
41789 * manual/filesys.texi (telldir): Use braces around return type.
41790 * manual/llio.texi (mmap): Add space after comma.
41791 (mmap64): Likewise.
41792 * manual/math.texi (jn): Use @var{} on parameter names.
41798 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41800 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41802 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41803 (sched_get_priority_max): Likewise.
41804 * manual/signal.texi (sigvec): Add space after comma.
41805 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41807 (if_indextoname): Likewise.
41808 (if_freenameindex): Likewise.
41809 (sendto): Use ',' instead of '.' in prototype.
41810 * manual/startup.texi (syscall): Use @dots{} instead of literal
41812 * manual/stdio.texi (__fpending): Separate initial words of
41813 paragraph from @deftypefun line.
41814 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41816 (vsyslog): Use @var{} on parameter names.
41817 * manual/terminal.texi (stty): Use @var{} on parameter names.
41818 * manual/users.texi (getutmp): Use @var{} on parameter names.
41819 (getutmpx): Likewise.
41821 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41824 * manual/stdio.texi (fopen): Fix typos in description of
41827 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41830 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41831 get clock_id definition.
41833 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41836 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41837 (madvise): Cast every argument to void on its own.
41839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41842 * manual/startup.texi (Exit Status): Fix typo.
41844 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41847 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41848 * manual/examples/argp-ex2.c: Likewise.
41849 * manual/examples/argp-ex3.c: Likewise.
41851 2012-02-16 Richard Henderson <rth@redhat.com>
41853 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41854 * sysdeps/s390/s390-32/initfini.c: Remove.
41855 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41856 * sysdeps/s390/s390-64/initfini.c: Remove.
41858 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41860 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41861 compiler output for sysdeps/generic/initfini.c.
41862 * sysdeps/sh/elf/initfini.c: Remove file.
41864 2012-02-16 David S. Miller <davem@davemloft.net>
41867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41869 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41870 * sysdeps/sparc/crti.S: New file.
41871 * sysdeps/sparc/crtn.S: New file.
41872 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41873 * sysdeps/sparc/sparc64/Makefile: Likewise.
41875 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41878 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41880 2012-02-15 Roland McGrath <roland@hack.frob.com>
41883 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41885 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41886 (write, read, close): Likewise.
41887 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41889 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41891 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41892 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41893 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41894 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41896 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41900 2012-02-14 Marek Polacek <polacek@redhat.com>
41902 * sysdeps/x86_64/crti.S: New file.
41903 * sysdeps/x86_64/crtn.S: New file.
41904 * sysdeps/x86_64/elf/initfini.c: Remove file.
41906 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41908 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41909 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41910 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41911 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41913 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41917 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41919 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41920 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41921 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41922 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41924 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41928 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41930 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41931 __feraiseexcept instead of feraiseexcept.
41933 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41934 nanosleep invocations.
41935 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41936 strings, and add error checking for a nanosleep invocations.
41938 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41940 Replace FSF snail mail address with URLs, as per GNU coding standards.
41941 Most of the snail mail addresses were wrong anyway, and omitting
41942 them makes the source code easier to maintain. Almost all of the
41943 changes are to license notices and to locale LC_IDENTIFICATION
41944 addresses, except for this one:
41945 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41946 not its snail mail address.
41948 2012-02-09 Richard Henderson <rth@twiddle.net>
41950 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41951 of kernel-features.h.
41953 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41955 2012-02-08 Marek Polacek <polacek@redhat.com>
41957 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41958 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41959 * sysdeps/gnu/_G_config.h: Likewise.
41960 * sysdeps/generic/_G_config.h: Likewise.
41962 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41964 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41968 * sysdeps/powerpc/powerpc32/crti.S: New file.
41969 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41970 * sysdeps/powerpc/powerpc64/crti.S: New file.
41971 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41973 * Makeconfig (have-initfini): Don't set.
41974 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41975 * configure.in (nopic_initfini): Don't substitute.
41976 * config.h.in (HAVE_INITFINI): Don't #undef.
41977 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41978 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41980 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41982 Support crti.S and crtn.S provided directly by architectures.
41983 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41984 [crti.S in sysdirs] (omit-deps): Likewise.
41985 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41986 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41987 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41988 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41989 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41990 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41991 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41992 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41993 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41994 compiler output for sysdeps/generic/initfini.c.
41995 * sysdeps/i386/elf/Makefile: Remove file.
41996 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41998 2012-02-07 Marek Polacek <polacek@redhat.com>
42000 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42001 * sysdeps/gnu/_G_config.h: Likewise.
42002 * sysdeps/mach/hurd/_G_config.h: Likewise.
42004 2012-02-07 Marek Polacek <polacek@redhat.com>
42006 * math/Makefile (tests): Add tst-CMPLX2.
42007 * math/tst-CMPLX2.c: New file.
42009 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42011 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42013 * math/libm-test.inc (jn_test): Add missing L suffix.
42015 2012-02-06 Marek Polacek <polacek@redhat.com>
42017 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42018 * sysdeps/i386/fpu/e_powf.S: Likewise.
42019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42020 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42021 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42022 * sysdeps/i386/fpu/e_pow.S: Likewise.
42023 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42024 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42025 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42026 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42027 * sysdeps/i386/fpu/e_log2.S: Likewise.
42028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42029 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42030 * sysdeps/i386/fpu/e_powl.S: Likewise.
42031 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42032 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42033 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42034 * sysdeps/i386/fpu/e_logl.S: Likewise.
42035 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42036 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42037 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42038 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42039 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42040 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42041 * sysdeps/i386/fpu/e_log.S: Likewise.
42042 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42044 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42045 * sysdeps/i386/fpu/e_logf.S: Likewise.
42046 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42047 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42048 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42049 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42050 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42051 * sysdeps/i386/fpu/e_log10.S: Likewise.
42052 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42054 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42055 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42057 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42058 * sysdeps/i386/asm-syntax.h: Likewise.
42059 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42060 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42061 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42062 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42063 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42065 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42066 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42068 * sysdeps/powerpc/sysdep.h: Likewise.
42069 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42070 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42072 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42075 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42077 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42079 * sysdeps/i386/sysdep.h: Include <features.h>.
42080 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42083 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42085 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42087 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42090 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42092 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42093 (SETUP_PIC_REG): Use GET_PC_THUNK.
42094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42099 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42100 for non-PIC compilation.
42101 (SETUP_PIC_REG): Add .p2align directive.
42102 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42103 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42106 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42107 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42110 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42111 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42116 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42117 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42119 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42120 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42121 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42124 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42125 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42130 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42131 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42132 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42134 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42135 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42136 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42137 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42138 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42139 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42140 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42141 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42142 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42144 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42146 * math/tst-CMPLX.c: Include <stdio.h>.
42148 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42150 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42152 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42153 * sysdeps/sparc/bits/mathdef.h: Likewise.
42155 2012-01-31 Marek Polacek <polacek@redhat.com>
42157 * libio/libio.h: Don't define _PARAMS.
42158 * locale/programs/config.h: Don't define PARAMS.
42159 * stdlib/strtol_l.c: Likewise.
42160 (__strtol_l): Remove PARAMS from the prototype.
42162 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42164 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42165 names. Just use the correct names. Remove unnecessary wrapper
42167 * malloc/arena.c: Likewise.
42168 * malloc/hooks.c: Likewise.
42170 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42171 ARENA_TEST says not to. Simplify test for creation of a new arena.
42172 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42174 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42176 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42178 (update_get_addr): New function.
42179 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42180 GET_ADDR_MODULE parameter.
42182 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42184 * crypt/cert.c: Remove __STDC__ conditionals.
42185 * crypt/crypt-entry.c: Likewise.
42186 * crypt/crypt_util.c: Likewise.
42187 * libio/filedoalloc.c: Likewise.
42188 * libio/fileops.c: Likewise.
42189 * libio/genops.c: Likewise.
42190 * libio/iofclose.c: Likewise.
42191 * libio/iofdopen.c: Likewise.
42192 * libio/iofopen.c: Likewise.
42193 * libio/iofopen64.c: Likewise.
42194 * libio/iogetdelim.c: Likewise.
42195 * libio/iopopen.c: Likewise.
42196 * libio/obprintf.c: Likewise.
42197 * libio/oldfileops.c: Likewise.
42198 * libio/oldiofclose.c: Likewise.
42199 * libio/oldiofdopen.c: Likewise.
42200 * libio/oldiofopen.c: Likewise.
42201 * libio/oldiopopen.c: Likewise.
42202 * libio/wfiledoalloc.c: Likewise.
42203 * libio/wgenops.c: Likewise.
42204 * locale/programs/xmalloc.c: Likewise.
42205 * misc/syslog.c: Likewise.
42206 * stdio-common/xbug.c: Likewise.
42207 * string/memchr.c: Likewise.
42208 * string/memcmp.c: Likewise.
42209 * string/memrchr.c: Likewise.
42210 * string/rawmemchr.c: Likewise.
42211 * sysdeps/posix/getcwd.c: Likewise.
42212 * time/strftime_l.c: Likewise.
42214 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42216 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42217 * config.make.in (config-cflags-sse2avx): Define.
42218 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42221 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42223 * scripts/config.guess: Update from upstream config git repository.
42224 * scripts/config.sub: Likewise.
42226 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42228 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42230 (R_TILEPRO_*, R_TILEGX_*): New macros.
42232 * scripts/firstversions.awk: Fix bug in version range handling.
42234 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42236 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42238 * include/sys/epoll.h: New file.
42239 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42242 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42244 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42245 Avoid unnecessary __WORDSIZE == 64 test.
42246 (fmaxf): Use VEX format if possible.
42251 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42252 * math/math_private.h: Remove libc_fegetround* and
42254 * sysdeps/i386/configure.in: Check for -msse2avx.
42255 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42256 also if SSE2AVX is defined.
42257 Remove libc_fegetround* and libc_fesetround*.
42258 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42259 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42268 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42270 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42274 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42276 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42279 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42281 * Makeconfig (libm): Define.
42282 * elf/Makefile: Add rules to build and run tst-relsort1.
42283 * elf/tst-relsort1.c: New file.
42284 * elf/tst-relsort1mod1.c: New file.
42285 * elf/tst-relsort1mod2.c: New file.
42287 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42289 * math/s_ldexp.c: Remove __STDC__ conditionals.
42290 * math/s_ldexpf.c: Likewise.
42291 * math/s_ldexpl.c: Likewise.
42292 * math/s_nextafter.c: Likewise.
42293 * math/s_nexttowardf.c: Likewise.
42294 * math/s_significand.c: Likewise.
42295 * math/s_significandf.c: Likewise.
42296 * math/s_significandl.c: Likewise.
42297 * math/w_jnl.c: Likewise.
42298 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42299 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42300 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42301 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42302 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42306 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42315 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42320 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42322 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42327 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42328 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42329 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42330 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42332 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42333 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42334 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42336 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42337 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42338 * sysdeps/ieee754/k_standard.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42405 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42418 * sysdeps/ieee754/s_matherr.c: Likewise.
42419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42424 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42426 * crypt/md5.h: Remove __STDC__ conditionals.
42427 * libio/libioP.h: Likewise.
42428 * locale/programs/config.h: Likewise.
42429 * sysdeps/generic/sysdep.h: Likewise.
42430 * sysdeps/i386/asm-syntax.h: Likewise.
42431 * sysdeps/s390/asm-syntax.h: Likewise.
42432 * sysdeps/unix/sysdep.h: Likewise.
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42436 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42438 * libio/libio.h: Remove __STDC__ conditionals.
42439 * malloc/obstack.h: Likewise.
42440 * math/complex.h: Likewise.
42441 * math/math.h: Likewise.
42442 * sysdeps/generic/_G_config.h: Likewise.
42443 * sysdeps/gnu/_G_config.h: Likewise.
42444 * sysdeps/mach/hurd/_G_config.h: Likewise.
42445 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42446 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42447 * sysdeps/sparc/bits/mathdef.h: Likewise.
42449 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42452 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42453 Clean up HAS_* macros.
42454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42455 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42460 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42462 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42465 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42467 * elf/tst-unique3.cc (gets): Remove declaration.
42468 * elf/tst-unique3lib.cc (gets): Likewise.
42469 * elf/tst-unique3lib2.cc (gets): Likewise.
42470 * elf/tst-unique4.cc (gets): Likewise.
42472 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42474 * include/stdio.h: Add C++ protection. Add gets declarations and
42476 * debug/tst-chk1.c: Don't declare gets here.
42477 * stdio-common/tst-gets.c: Likewise.
42479 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42481 * posix/glob: Remove directory.
42483 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42485 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42487 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42489 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42490 of the non-standard EPFNOSUPPORT.
42492 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42494 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42495 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42496 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42498 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42500 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42502 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42504 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42506 * nscd/grpcache.c (cache_addgr): Likewise.
42507 * nscd/hstcache.c (cache_addhst): Likewise.
42508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42509 * nscd/pwdcache.c (cache_addpw): Likewise.
42510 * nscd/servicescache.c (cache_addserv): Likewise.
42512 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42514 * malloc/malloc.c: Various cleanups.
42515 * malloc/hooks.c: Likewise.
42517 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42518 * stdlib/bug-fmtmsg1.c: New file.
42520 * stdlib/fmtmsg.c (init): Add missing unlock.
42521 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42523 2012-01-12 Marek Polacek <polacek@redhat.com>
42525 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42528 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42530 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42532 macro to ensure uniqueness of label name.
42533 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42534 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42536 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42540 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42541 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42542 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42545 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42547 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42549 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42550 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42553 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42556 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42560 * math/bits/math-finite.h: Add ldexp support.
42562 2012-01-10 Marek Polacek <polacek@redhat.com>
42564 * locale/programs/localedef.h (show_archive_content): Add noreturn
42567 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42571 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42573 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42575 * io/Makefile (headers): Add bits/poll2.h.
42577 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42580 typo #include statement.
42582 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42584 * include/sys/cdefs.h: Define __attribute_alloc_size.
42585 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42586 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42587 * elf/pldd.c: Likewise.
42588 * iconv/iconv_charmap.c: Likewise.
42589 * iconv/iconvconfig.c: Likewise.
42590 * iconv/strtab.c: Likewise.
42591 * locale/programs/locale.c: Likewise.
42592 * locale/programs/localedef.h: Likewise.
42593 * locale/programs/simple-hash.c: Likewise.
42594 * nscd/nscd.h: Likewise.
42595 * nss/makedb.c: Likewise.
42596 * sysdeps/generic/ldconfig.h: Likewise.
42597 * locale/programs/localedef.c: Remove xmalloc prototype.
42598 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42600 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42605 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42607 * math/Makefile (tests): Add tst-CMPLX.
42608 * math/tst-CMPLX.c: New file.
42610 * math/complex.h (CMPLXL): Fix typo.
42612 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42613 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42615 * debug/tst-chk1.c: Add poll and ppoll tests.
42616 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42617 * include/sys/poll.h: Add hidden proto for ppoll.
42618 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42619 * sysdeps/mach/hurd/ppoll.c: Likewise.
42620 * io/ppoll.c: Likewise.
42621 * debug/poll_chk.c: New file.
42622 * debug/ppoll_chk.c: New file.
42623 * include/bits/poll2.h: New file.
42624 * io/bits/poll2.h: New file.
42627 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42629 * configure.in: static is always set to yes. Remove.
42630 * config.make.in: Don't set build-static.
42631 * Makeconfig: Remove use of build-static.
42632 * dlfcn/Makefile: Likewise.
42633 * elf/Makefile: Likewise.
42634 * math/Makefile: Likewise.
42635 * misc/Makefile: Likewise.
42636 * nptl/Makefile: Likewise.
42637 * sysdeps/mach/hurd/Makefile: Likewise.
42639 * configure.in: PWD_P is not used anymore.
42640 * config.make.in: Remove PWD_P entry.
42642 * configure.in: Remove last remnants of RANLIB.
42643 No need to check for signed size_t anymore.
42644 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42646 Remove __builtin_expect test because we require at least gcc 3.4.
42647 * aclocal.m4: Likewise.
42649 * wcsmbs/mbrtoc16.c: Implement using towc function.
42650 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42651 * wcsmbs/wcsmbsload.c: Likewise.
42652 * iconv/gconv_simple.c: Likewise.
42653 * iconv/gconv_int.h: Likewise.
42654 * iconv/gconv_builtin.h: Likewise.
42655 * iconv/iconv_prog.c: Remove CHAR16 handling.
42657 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42659 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42661 * configure.in: Remove --with-elf and --enable-bounded options.
42662 Dont set base_machine for ia64. More non-ELF conditions removed.
42663 Remove testing and setting of leading underscore information.
42664 * config.make.in (build-bounded): Set to no.
42665 * config.h.in: Remove NO_UNDERSCORES entry.
42666 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42668 * csu/start.c: Remove !NO_UNDERSCORE code.
42669 * locale/localeinfo.h: Likewise.
42670 * sysdeps/generic/machine-gmon.h: Likewise.
42671 * sysdeps/generic/sysdep.h: Likewise.
42672 * sysdeps/i386/sysdep.h: Likewise.
42673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42674 * sysdeps/mach/sysdep.h: Likewise.
42675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42677 * sysdeps/sh/sysdep.h: Likewise.
42678 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42679 * sysdeps/unix/i386/sysdep.S: Likewise.
42680 * sysdeps/unix/sparc/start.c: Likewise.
42681 * sysdeps/unix/sparc/sysdep.S: Likewise.
42682 * sysdeps/unix/sparc/sysdep.h: Likewise.
42683 * sysdeps/unix/start.c: Likewise.
42684 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42685 * sysdeps/x86_64/sysdep.h: Likewise.
42687 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42690 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42692 * argp/argp-fmtstream.h: Use const instead __const.
42693 * argp/argp.h: Likewise.
42694 * assert/assert.h: Likewise.
42695 * bits/fenv.h: Likewise.
42696 * bits/sched.h: Likewise.
42697 * bits/sigset.h: Likewise.
42698 * bits/sigthread.h: Likewise.
42699 * catgets/nl_types.h: Likewise.
42700 * conform/data/pthread.h-data: Likewise.
42701 * crypt/crypt-private.h: Likewise.
42702 * crypt/crypt.h: Likewise.
42703 * crypt/crypt_util.c: Likewise.
42704 * ctype/ctype.h: Likewise.
42705 * debug/execinfo.h: Likewise.
42706 * debug/mbsnrtowcs_chk.c: Likewise.
42707 * debug/mbsrtowcs_chk.c: Likewise.
42708 * debug/wcsnrtombs_chk.c: Likewise.
42709 * debug/wcsrtombs_chk.c: Likewise.
42710 * debug/wcstombs_chk.c: Likewise.
42711 * dirent/dirent.h: Likewise.
42712 * dlfcn/dlfcn.h: Likewise.
42713 * elf/neededtest4.c: Likewise.
42714 * grp/grp.h: Likewise.
42715 * gshadow/gshadow.h: Likewise.
42716 * iconv/gconv.h: Likewise.
42717 * iconv/gconv_int.h: Likewise.
42718 * iconv/gconv_simple.c: Likewise.
42719 * iconv/iconv.h: Likewise.
42720 * iconv/loop.c: Likewise.
42721 * iconv/skeleton.c: Likewise.
42722 * include/aio.h: Likewise.
42723 * include/aliases.h: Likewise.
42724 * include/argz.h: Likewise.
42725 * include/arpa/inet.h: Likewise.
42726 * include/assert.h: Likewise.
42727 * include/dirent.h: Likewise.
42728 * include/dlfcn.h: Likewise.
42729 * include/execinfo.h: Likewise.
42730 * include/fcntl.h: Likewise.
42731 * include/fenv.h: Likewise.
42732 * include/glob.h: Likewise.
42733 * include/grp.h: Likewise.
42734 * include/libintl.h: Likewise.
42735 * include/mntent.h: Likewise.
42736 * include/netdb.h: Likewise.
42737 * include/pwd.h: Likewise.
42738 * include/rpc/netdb.h: Likewise.
42739 * include/sched.h: Likewise.
42740 * include/search.h: Likewise.
42741 * include/shadow.h: Likewise.
42742 * include/signal.h: Likewise.
42743 * include/stdio.h: Likewise.
42744 * include/stdlib.h: Likewise.
42745 * include/string.h: Likewise.
42746 * include/sys/socket.h: Likewise.
42747 * include/sys/stat.h: Likewise.
42748 * include/sys/statfs.h: Likewise.
42749 * include/sys/statvfs.h: Likewise.
42750 * include/sys/syslog.h: Likewise.
42751 * include/sys/time.h: Likewise.
42752 * include/sys/uio.h: Likewise.
42753 * include/time.h: Likewise.
42754 * include/unistd.h: Likewise.
42755 * include/utmp.h: Likewise.
42756 * include/wchar.h: Likewise.
42757 * include/wctype.h: Likewise.
42758 * inet/aliases.h: Likewise.
42759 * inet/arpa/inet.h: Likewise.
42760 * inet/netinet/ether.h: Likewise.
42761 * inet/netinet/in.h: Likewise.
42762 * intl/libintl.h: Likewise.
42763 * io/bits/fcntl2.h: Likewise.
42764 * io/fcntl.h: Likewise.
42765 * io/ftw.h: Likewise.
42766 * io/sys/poll.h: Likewise.
42767 * io/sys/stat.h: Likewise.
42768 * io/sys/statfs.h: Likewise.
42769 * io/sys/statvfs.h: Likewise.
42770 * io/utime.h: Likewise.
42771 * libio/bits/stdio.h: Likewise.
42772 * libio/bits/stdio2.h: Likewise.
42773 * libio/libio.h: Likewise.
42774 * libio/libioP.h: Likewise.
42775 * libio/stdio.h: Likewise.
42776 * locale/lc-ctype.c: Likewise.
42777 * locale/locale.h: Likewise.
42778 * login/utmp.h: Likewise.
42779 * malloc/arena.c: Likewise.
42780 * malloc/malloc.c: Likewise.
42781 * malloc/malloc.h: Likewise.
42782 * malloc/mcheck.c: Likewise.
42783 * malloc/mtrace.c: Likewise.
42784 * math/bits/mathcalls.h: Likewise.
42785 * math/fenv.h: Likewise.
42786 * math/math_private.h: Likewise.
42787 * misc/bits/error.h: Likewise.
42788 * misc/bits/syslog.h: Likewise.
42789 * misc/err.h: Likewise.
42790 * misc/error.h: Likewise.
42791 * misc/fstab.h: Likewise.
42792 * misc/mntent.h: Likewise.
42793 * misc/regexp.h: Likewise.
42794 * misc/search.h: Likewise.
42795 * misc/sgtty.h: Likewise.
42796 * misc/sys/mman.h: Likewise.
42797 * misc/sys/syslog.h: Likewise.
42798 * misc/sys/uio.h: Likewise.
42799 * misc/sys/xattr.h: Likewise.
42800 * misc/ttyent.h: Likewise.
42801 * nis/rpcsvc/ypclnt.h: Likewise.
42802 * nss/nss.h: Likewise.
42803 * posix/bits/unistd.h: Likewise.
42804 * posix/fnmatch.h: Likewise.
42805 * posix/glob.h: Likewise.
42806 * posix/sched.h: Likewise.
42807 * posix/spawn.h: Likewise.
42808 * posix/sys/wait.h: Likewise.
42809 * posix/unistd.h: Likewise.
42810 * posix/wordexp.h: Likewise.
42811 * pwd/pwd.h: Likewise.
42812 * resolv/netdb.h: Likewise.
42813 * resource/sys/resource.h: Likewise.
42814 * rt/aio.h: Likewise.
42815 * rt/bits/mqueue2.h: Likewise.
42816 * rt/mqueue.h: Likewise.
42817 * shadow/shadow.h: Likewise.
42818 * signal/signal.h: Likewise.
42819 * socket/send.c: Likewise.
42820 * socket/sendto.c: Likewise.
42821 * socket/sys/socket.h: Likewise.
42822 * stdio-common/printf.h: Likewise.
42823 * stdlib/bits/stdlib.h: Likewise.
42824 * stdlib/fmtmsg.h: Likewise.
42825 * stdlib/monetary.h: Likewise.
42826 * stdlib/stdlib.h: Likewise.
42827 * stdlib/ucontext.h: Likewise.
42828 * streams/stropts.h: Likewise.
42829 * string/argz.h: Likewise.
42830 * string/bits/string2.h: Likewise.
42831 * string/string.h: Likewise.
42832 * string/strings.h: Likewise.
42833 * sunrpc/rpc/auth.h: Likewise.
42834 * sunrpc/rpc/auth_des.h: Likewise.
42835 * sunrpc/rpc/clnt.h: Likewise.
42836 * sunrpc/rpc/netdb.h: Likewise.
42837 * sunrpc/rpc/pmap_clnt.h: Likewise.
42838 * sunrpc/rpc/xdr.h: Likewise.
42839 * sysdeps/generic/inttypes.h: Likewise.
42840 * sysdeps/generic/net/if.h: Likewise.
42841 * sysdeps/generic/sys/swap.h: Likewise.
42842 * sysdeps/gnu/net/if.h: Likewise.
42843 * sysdeps/gnu/utmpx.h: Likewise.
42844 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42845 * sysdeps/i386/i486/bits/string.h: Likewise.
42846 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42847 * sysdeps/s390/bits/string.h: Likewise.
42848 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42849 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42850 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42851 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42852 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42853 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42854 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42855 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42856 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42857 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42858 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42859 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42860 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42861 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42862 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42863 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42864 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42868 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42869 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42870 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42871 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42872 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42873 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42874 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42876 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42877 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42878 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42879 * sysvipc/sys/ipc.h: Likewise.
42880 * sysvipc/sys/msg.h: Likewise.
42881 * sysvipc/sys/sem.h: Likewise.
42882 * sysvipc/sys/shm.h: Likewise.
42883 * termios/termios.h: Likewise.
42884 * time/sys/time.h: Likewise.
42885 * time/time.h: Likewise.
42886 * wcsmbs/bits/wchar2.h: Likewise.
42887 * wcsmbs/uchar.h: Likewise.
42888 * wcsmbs/wchar.h: Likewise.
42889 * wctype/wctype.h: Likewise.
42892 * Makeconfig: Remove all but ELF support including AIX support.
42893 * Makerules: Likewise.
42894 * config.h.in: Likewise.
42895 * config.make.in: Likewise.
42896 * configure: Likewise.
42897 * configure.in: Likewise.
42898 * csu/Makefile: Likewise.
42899 * csu/version.c: Likewise.
42900 * debug/Makefile: Likewise.
42901 * dlfcn/Makefile: Likewise.
42902 * elf/Makefile: Likewise.
42903 * extra-lib.mk: Likewise.
42904 * iconv/Makefile: Likewise.
42905 * include/libc-symbols.h: Likewise.
42906 * include/shlib-compat.h: Likewise.
42907 * resolv/Makefile: Likewise.
42908 * resolv/res_libc.c: Likewise.
42909 * rt/Makefile: Likewise.
42910 * sysdeps/i386/asm-syntax.h: Likewise.
42911 * sysdeps/i386/sysdep.h: Likewise.
42912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42913 * sysdeps/mach/sysdep.h: Likewise.
42914 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42915 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42916 * sysdeps/s390/asm-syntax.h: Likewise.
42917 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42919 * sysdeps/sh/sysdep.h: Likewise.
42920 * sysdeps/unix/sparc/sysdep.h: Likewise.
42921 * sysdeps/wordsize-32/divdi3.c: Likewise.
42922 * sysdeps/x86_64/sysdep.h: Likewise.
42924 * argp/Versions: Remove _argp_unlock_xxx.
42927 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42928 * abilist/libBrokenLocale.abilist: Likewise.
42929 * abilist/libanl.abilist: Likewise.
42930 * abilist/libc.abilist: Likewise.
42931 * abilist/libcrypt.abilist: Likewise.
42932 * abilist/libdl.abilist: Likewise.
42933 * abilist/libm.abilist: Likewise.
42934 * abilist/libnsl.abilist: Likewise.
42935 * abilist/libpthread.abilist: Likewise.
42936 * abilist/libresolv.abilist: Likewise.
42937 * abilist/librt.abilist: Likewise.
42938 * abilist/libthread_db.abilist: Likewise.
42939 * abilist/libutil.abilist: Likewise.
42940 * abilist/libnss_db.abilist: New file.
42942 * scripts/abilist.awk: Add support for indirect functions.
42944 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42946 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42948 * shlib-versions: Remove entries for ports architectures.
42950 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42952 * elf/stackguard-macros.h: Remove support for IA-64.
42953 * elf/tst-auditmod1.c: Likewise.
42954 * sysdeps/generic/ldsodefs.h: Likewise.
42956 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42957 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42961 * configure.in: Remove --enable-omitfp support.
42963 * config.make.in: Likewise.
42964 * Makeconfig: Likewise.
42965 * manual/install.texi: Likewise.
42967 In case anyone cares, the IA-64 architecture could move to ports.
42968 * sysdeps/ia64/*: Removed.
42969 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42970 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42973 * configure.in: Remove entries for unsupported architectures.
42976 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42977 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42979 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42980 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42981 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42982 fall back to using wcrtomb.
42983 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42984 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42986 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42987 * wcsmbs/tst-c16c32-1.c: New file.
42989 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42992 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42994 * elf/tst-unique3.cc: Add explicit declaration of gets.
42995 * elf/tst-unique3lib.cc: Likewise.
42996 * elf/tst-unique3lib2.cc: Likewise.
42997 * elf/tst-unique4.cc: Likewise.
42999 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43001 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43004 * assert/assert.h (static_assert): Don't define for C++.
43005 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43006 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43008 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43010 * iconv/loop.c (single loop): Fix assertion in storing of
43013 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43015 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43017 * posix/getconf.c: Update copyright year.
43018 * nss/getent.c: Likewise.
43019 * nss/makedb.c: Likewise.
43020 * iconv/iconvconfig.c: Likewise.
43021 * iconv/iconv_prog.c: Likewise.
43022 * elf/ldconfig.c: Likewise.
43023 * elf/pldd.c: Likewise.
43024 * elf/sotruss.ksh: Likewise.
43025 * catgets/gencat.c: Likewise.
43026 * csu/version.c: Likewise.
43027 * elf/ldd.bash.in: Likewise.
43028 * elf/sprof.c (print_version): Likewise.
43029 * locale/programs/locale.c: Likewise.
43030 * locale/programs/localedef.c: Likewise.
43031 * login/programs/pt_chown.c: Likewise.
43032 * nscd/nscd.c (print_version): Likewise.
43033 * debug/xtrace.sh: Likewise.
43034 * malloc/memusage.sh: Likewise.
43035 * malloc/mtrace.pl: Likewise.
43036 * debug/catchsegv.sh: Likewise.
43038 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43040 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43043 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43046 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43047 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43049 * iconv/gconv_int.h: Likewise.
43050 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43051 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43052 from libc for GLIBC_2.16.
43053 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43054 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43055 * wcsmbs/uchar.h: Really define mbstate_t.
43056 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43057 * wcsmbs/c16rtomb.c: New file.
43058 * wcsmbs/mbrtoc16.c: New file.
43059 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43060 for C/POSIX locale.
43061 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43062 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43064 * wcsmbs/wchar.h: Add missing __restrict.
43066 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43069 * time/Makefile (routines): Add timespec_get.
43070 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43071 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43072 timespec for ISO C11.
43073 * time/timespec_get.c: New file.
43074 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43075 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43078 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43079 * stdlib/stdlib.h: Declare aligned_alloc.
43080 * Versions.def: Add GLIBC_2.16 for libc.
43081 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43084 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43087 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43091 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43094 * assert/assert.h (static_assert): Define.
43096 * version.h: Update for 2.16 development version.
43099 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43102 * version.h (RELEASE): Bump for 2.15 release.
43103 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43105 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43106 Patch by Marek Polacek <mpolacek@redhat.com>.
43108 * bits/byteswap.h: Protect long long constants with __extension__.
43109 * sysdeps/i386/bits/byteswap.h: Likewise.
43110 * sysdeps/ia64/bits/byteswap.h: Likewise.
43111 * sysdeps/s390/bits/byteswap.h: Likewise.
43112 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43114 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43118 destination buffer.
43119 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43121 2011-12-23 Marek Polacek <polacek@redhat.com>
43123 * elf/dl-addr.c (determine_info): Add inline keyword.
43124 * elf/tst-auditmod4b.c (check_avx): Likewise.
43125 * elf/tst-auditmod6b.c (check_avx): Likewise.
43126 * elf/tst-auditmod6c.c (check_avx): Likewise.
43127 * elf/tst-auditmod7b.c (check_avx): Likewise.
43129 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43131 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43134 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43137 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43138 processing for last bytes.
43140 2011-08-06 Bruno Haible <bruno@clisp.org>
43143 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43144 U+0385, not to U+1FEE.
43147 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43148 entry for U+00A5 U+0301.
43150 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43153 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43154 buffer for the output is too small.
43156 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43160 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43161 SSE flags if possible.
43163 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43167 processing for last bytes.
43169 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43172 (syscall-list-default-options, syscall-list-default-condition)
43173 (syscall-list-includes): Define.
43174 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43175 list of ABIs and options and #if conditions for each ABI. Do not
43176 handle common syscalls between ABIs specially.
43177 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43179 (syscall-list-variants, syscall-list-32bit-options)
43180 (syscall-list-32bit-condition, syscall-list-64bit-options)
43181 (syscall-list-64bit-condition): Define.
43182 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43183 (syscall-list-variants, syscall-list-32bit-options)
43184 (syscall-list-32bit-condition, syscall-list-64bit-options)
43185 (syscall-list-64bit-condition): Define.
43186 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43188 (syscall-list-variants, syscall-list-32bit-options)
43189 (syscall-list-32bit-condition, syscall-list-64bit-options)
43190 (syscall-list-64bit-condition): Define.
43191 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43193 (syscall-list-variants, syscall-list-32bit-options)
43194 (syscall-list-32bit-condition, syscall-list-64bit-options)
43195 (syscall-list-64bit-condition): Define.
43197 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43199 * locale/iso-639.def: Add brx entry.
43202 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43203 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43205 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43206 __feraiseexcept_renamed.
43208 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43211 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43212 EPOLLET with unsigned values.
43213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43216 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43217 to large cancellation.
43218 * math/s_cacoshf.c: Likewise.
43219 * math/s_cacoshl.c: Likewise.
43221 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43225 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43226 * math/s_cacoshf.c: Likewise.
43227 * math/s_cacoshl.c: Likewise.
43229 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43232 * iconv/gconv.h: Define __GCONV_SWAP.
43233 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43234 * iconvdata/utf-16.c: Likewise.
43235 * iconvdata/utf-32.c: Likewise.
43237 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43241 numerator after shifting it by one limb.
43243 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43246 under [__USE_EXTERN_INLINES].
43248 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43251 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43253 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43255 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43256 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43258 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43259 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43260 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43261 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43262 for strncasecmp/strncasecmp_l compilation.
43263 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43264 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43266 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43269 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43275 * time/tzfile.c (__tzfile_read): Check values from file header.
43277 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43279 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43280 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43281 * powerpc/powerpc32/dl-start.S: Likewise.
43282 * powerpc/powerpc32/elf/start.S: Likewise.
43283 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43284 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43285 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43286 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43287 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43288 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43289 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43290 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43291 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43292 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43293 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43294 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43295 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43296 * powerpc/powerpc32/memset.S: Likewise.
43297 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43298 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43299 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43300 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43301 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43302 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43303 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43304 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43305 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43306 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43307 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43308 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43309 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43311 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43313 * math/libm-test.inc: Added more nearbyint tests.
43314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43315 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43319 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43321 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43324 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43326 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43327 Add wcscpy-ssse3 wcscpy-c.
43328 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43329 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43330 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43331 * sysdeps/x86_64/wcschr.S: New file.
43332 * sysdeps/x86_64/wcsrchr.S: New file.
43333 * string/test-strcmp.c: Remove checking of wcscmp function for
43335 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43336 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43337 wcsrchr-sse2 wcsrchr-c.
43338 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43339 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43340 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43341 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43342 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43343 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43344 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43345 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43346 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43347 * wcsmbc/wcschr.c (WCSCHR): New macro.
43349 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43351 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43352 * wcsmbs/test-wcsrchr.c: New file.
43353 * string/test-strrchr.c: Add wcsrchr support.
43355 * wcsmbs/test-wcscpy.c: New file.
43356 * string/test-strcpy.c: Add wcscpy support.
43359 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43364 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43367 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43369 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43372 Minor optimizations.
43374 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43375 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43376 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43378 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43380 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43381 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43382 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43383 for gcc to avoid warnings.
43384 * inet/Makefile (tests): Add tst-checks.
43385 * inet/tst-checks.c: New file.
43387 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43390 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43393 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43394 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43396 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43398 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43400 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43403 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43405 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43407 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43408 conditional on GCC version.
43409 (__arch_compare_and_exchange_val_8_acq)
43410 (__arch_compare_and_exchange_val_16_acq)
43411 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43412 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43413 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43415 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43417 * sysdeps/sh/backtrace.c: New file.
43419 2011-12-02 Andreas Schwab <schwab@redhat.com>
43421 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43424 2011-12-01 Andreas Schwab <schwab@redhat.com>
43426 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43427 falling back to utime.
43429 2011-11-30 Andreas Schwab <schwab@redhat.com>
43431 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43432 expectations for float.
43434 2011-11-29 Andreas Schwab <schwab@redhat.com>
43436 * locale/weight.h (findidx): Add parameter len.
43437 * locale/weightwc.h (findidx): Likewise.
43438 * posix/fnmatch_loop.c (FCT): Adjust caller.
43439 * posix/regcomp.c (build_equiv_class): Likewise.
43440 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43441 * posix/regexec.c (check_node_accept_bytes): Likewise.
43442 * string/strcoll_l.c (STRCOLL): Likewise.
43443 * string/strxfrm_l.c (STRXFRM): Likewise.
43445 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43447 * Makefile.in: Remove CVSOPT handling.
43448 * configure.in: Remove use of AC_REVISION.
43449 * iconvdata/Makefile (distribute): No need to filter out CVS.
43450 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43453 2011-11-16 Andreas Schwab <schwab@redhat.com>
43455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43456 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43457 [USE_AS_STRNCASECMP_L]: Likewise.
43458 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43459 NO_TLS_DIRECT_SEG_REFS.
43460 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43461 Fix argument offsets for non-PIC.
43462 [USE_AS_STRNCASECMP_L]: Likewise.
43463 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43464 NO_TLS_DIRECT_SEG_REFS.
43466 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43468 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43470 * locale/loadlocale.c (_nl_load_locale): Likewise.
43472 2011-11-15 Andreas Schwab <schwab@redhat.com>
43474 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43475 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43477 (SYSCALL_GETTIME): Set errno on error.
43479 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43480 count references to noai6ai_cached.
43482 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43484 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43486 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43487 FD_CLOEXEC for /proc/self/maps.
43489 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43490 FD_CLOEXEC for /proc/meminfo.
43492 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43495 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43496 FD_CLOEXEC for given file.
43498 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43500 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43501 FD_CLOEXEC for /etc/hosts.
43502 (_gethtent): Likewise.
43504 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43506 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43507 cancellation and set FD_CLOEXEC for /etc/netgroup.
43509 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43510 reading /etc/publickey.
43512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43513 allow cancellation when reading /etc/group.
43515 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43517 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43519 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43520 when using data file.
43522 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43524 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43525 (write_nis_obj): Use "c" and "e" in fopen.
43527 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43529 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43531 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43533 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43535 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43538 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43540 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43542 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43544 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43545 file parsing and set FD_CLOEXEC.
43547 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43549 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43551 2011-11-14 Andreas Schwab <schwab@redhat.com>
43553 * malloc/arena.c (arena_get2): Don't call reused_arena when
43554 _int_new_arena failed.
43556 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43558 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43559 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43562 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43563 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43564 to compile strcasecmp and strncasecmp.
43565 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43566 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43570 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43572 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43573 locale-defines.sym to gen-as-const-headers.
43574 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43575 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43577 to compile strcasecmp and strncasecmp.
43578 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43579 strcasecmp_l and strncasecmp_l.
43580 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43581 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43582 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43583 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43584 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43585 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43586 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43587 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43588 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43589 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43590 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43592 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43594 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43595 result of SYSDEP_GETTIME_CPU to retval.
43596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43597 parameter list to macro. Remove trailing semicolon. Adjust users.
43599 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43602 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43604 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43607 from unused variable.
43609 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43611 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43614 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43617 * sunrpc/rpc_prot.c (rejected): Fix case value.
43619 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43620 unsigned long long int to avoid warnings in shift.
43622 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43624 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43628 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43629 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43631 * nis/nis_table.c (nis_list): Use variable of correct type for
43632 result of __follow_path call.
43634 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43636 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43637 of math functions ceil, trunc, floor, round, and sqrt, when
43638 avaliable on the platform.
43639 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43641 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43642 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43643 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43645 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43647 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43648 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43650 2011-11-11 Roland McGrath <roland@hack.frob.com>
43652 * include/unistd.h: Fix __readlink return type.
43653 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43655 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43657 * stdlib/ucontext.h: Undo last change for makecontext.
43659 2011-11-11 Andreas Schwab <schwab@redhat.com>
43661 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43663 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43664 * setjmp/setjmp.h: Mark functions as non-leaf.
43665 * setjmp/bits/setjmp2.h: Likewise.
43666 * stdlib/ucontext.h: Likewise.
43668 2011-11-10 Andreas Schwab <schwab@redhat.com>
43670 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43671 (reused_arena): Don't check arena limit.
43672 (arena_get2): Atomically check arena limit.
43674 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43676 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43677 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43682 2011-11-07 Andreas Schwab <schwab@redhat.com>
43684 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43685 handler when locking.
43687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43688 Fix size of allocated buffer.
43690 2011-11-04 Andreas Schwab <schwab@redhat.com>
43693 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43694 declarations for long double functions.
43695 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43697 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43699 2011-11-03 Andreas Schwab <schwab@redhat.com>
43701 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43704 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43707 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43709 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43711 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43713 * include/alloca.h (stackinfo_alloca_round): Define.
43714 (extend_alloca): Use it.
43715 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43716 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43719 * scripts/check-local-headers.sh: Ignore libaudit.h.
43721 * nscd/Makefile (extra-objs): Make recursively expanded.
43723 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43725 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43728 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43729 * posix/tst-rfc3484-2.c: Likewise.
43730 * posix/tst-rfc3484-3.c: Likewise.
43732 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43734 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43736 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43737 process_vm_writev from libc using GLIBC_2.15 version.
43739 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43741 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43743 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43746 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43749 * nss/getent.c (initgroups_keys): Show error message in case no group
43752 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43753 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43754 __bump_nl_timestamp.
43755 * nscd/connections (nscd_init): When host database is served open
43756 netlink socket and request notification about configuration changes.
43757 (main_loop_poll): Track netlink file descriptor and bump timestamp
43758 in case data becomes available.
43759 (main_loop_epoll): Likewise.
43760 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43761 (database_pers_head): Add extra_data fileds.
43762 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43763 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43764 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43767 in6ai data, call __free_in6ai.
43768 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43769 Add -DHAVE_NETLINK.
43770 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43771 interface information. Reuse previous data if netlink timestamp
43773 (__bump_nl_timestamp): New function.
43774 (__free_in6ai): New function.
43776 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43779 close_not_cancel_no_status here.
43780 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43785 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43788 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43789 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43790 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43792 2011-07-03 Andreas Jaeger <aj@suse.de>
43795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43796 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43797 * math/libm-test.inc (sin_test): Add test case.
43799 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43802 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43803 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43805 * elf/chroot_canon.c (chroot_canon): Cleanups.
43807 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43810 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43811 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43813 * string/test-strchr.c: Make usable for strchrnul testing.
43814 * string/test-strchrnul.c: New file.
43815 * string/Makefile (strop-tests): Add strchrnul.
43817 * po/it.po: Update from translation team.
43818 * po/es.po: Likewise.
43820 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43823 the three constants needed as parameters. Drop the others.
43824 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43825 __m128i_strloadu_tolower.
43826 Create and initialize variable zero and use it in all the places
43827 where _mm_setzero_si128 was used.
43829 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43830 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43831 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43834 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43835 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43836 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43837 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43838 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43839 __mpranred, __mptan.
43840 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43841 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43842 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43843 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43844 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43845 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43848 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43850 2011-10-28 Andreas Schwab <schwab@redhat.com>
43852 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43853 redefine if SHARED.
43854 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43857 wide char related routines to wcsmbs subdir.
43859 2011-10-27 Andreas Schwab <schwab@redhat.com>
43862 * misc/sys/cdefs.h (__THROWNL): Define.
43863 * posix/unistd.h: Use __THREADNL instead of __THREAD
43864 for memory synchronization functions.
43866 2011-10-26 Roland McGrath <roland@hack.frob.com>
43869 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43871 * manual/stdio.texi (Obstack Streams): Node removed.
43873 2011-10-26 Andreas Schwab <schwab@redhat.com>
43875 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43877 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43879 * math/math_private.h (math_force_eval): Allow non-addressable
43881 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43883 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43886 file is not needed.
43888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43895 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43897 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43899 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43907 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43908 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43911 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43912 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43913 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43915 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43917 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43918 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43921 place. Use VEX encoding when compiling for AVX.
43923 2011-10-25 Andreas Schwab <schwab@redhat.com>
43925 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43926 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43928 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43930 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43932 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43933 useless if() expression.
43934 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43943 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43945 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43948 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43954 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43956 2011-10-25 Andreas Schwab <schwab@redhat.com>
43958 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43962 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43964 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43965 .text section. Avoid duplicate constants.
43966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43976 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43978 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43983 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43993 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43996 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43997 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43999 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44000 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44001 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44002 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44004 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44005 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44008 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44009 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44010 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44012 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44014 * sysdeps/x86_64/dla.h: Move to ...
44015 * sysdeps/x86_64/fpu/dla.h: ...here.
44016 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44017 situations. Use __builtin_fma only for gcc 4.6 and up.
44019 * config.make.in: Add have-mfma4 entry.
44020 * configure.in: Substitute libc_cv_cc_fma4.
44021 * math/Makefile (dbl-only-routines): Add sincostab.
44022 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44023 Use __sincostab not sincos.
44024 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44026 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44031 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44032 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44033 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44034 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44036 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44037 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44039 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44040 define aliases when function name is a macro.
44041 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44042 sysdeps/ieee754/dbl-64/sincos.tbl.
44043 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44044 fma4-enabled routines.
44045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44046 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44047 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44048 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44050 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44051 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44052 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44054 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44055 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44056 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44057 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44067 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44072 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44074 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44076 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44087 2011-10-24 Andreas Schwab <schwab@redhat.com>
44089 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44091 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44095 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44099 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44100 Remove unused variable magic_bits.
44101 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44103 * string/strnlen.c: Define and use STRNLEN macro.
44104 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44105 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44107 * wcsmbs/wcslen.c: Define and use WCSLEN.
44108 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44109 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44110 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44111 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44112 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44113 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44114 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44116 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44119 strnlen-sse2-no-bsf.
44120 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44121 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44123 Add strnlen support.
44124 (USE_AS_STRNLEN): New macro.
44125 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44127 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44128 * sysdeps/x86_64/wcslen.S: New file.
44130 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44133 XMM-moves are used for copying on small sizes.
44135 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44137 * wcsmbs/Makefile (strop-tests): Add wcschr.
44138 * wcsmbs/test-wcschr.c: New file.
44139 * string/test-strchr.c: Update.
44140 Add wcschr support.
44143 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44145 * wcsmbs/Makefile (strop-tests): Add wcslen.
44146 * wcsmbs/test-wcslen.c: New file.
44147 * string/test-strlen.c: Update.
44148 Add wcslen support.
44151 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44153 * po/it.po: Update from translation team.
44155 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44157 * sysdeps/x86_64/wcscmp.S: Update.
44158 Fix wrong comparison semantics.
44159 wcscmp shall use signed comparison not unsigned.
44160 Don't use substraction to avoid overflow bug.
44161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44162 * wcsmbc/wcscmp.c: Likewise.
44163 * string/test-strcmp.c: Likewise.
44164 Add new tests to check cases with negative values.
44166 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44168 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44169 * sysdeps/x86_64/dla.h: ...here. New file.
44170 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44180 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44183 __ynl_finite aliases.
44185 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44189 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44191 [DLA_FMA] (EMULV): Use DLA_FMA.
44192 [DLA_FMA] (MUL12): Use EMULV.
44193 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44194 that are not needed.
44195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44203 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44205 * math/s_nan.c: Undef __nan.
44206 * math/s_nanf.c: Undef __nanf.
44207 * math/s_nanl.c: Undef __nanl.
44208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44211 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44213 * math/s_catan.c: Add branch predictions.
44214 * math/s_catanf.c: Likewise.
44215 * math/s_catanh.c: Likewise.
44216 * math/s_catanhf.c: Likewise.
44217 * math/s_catanhl.c: Likewise.
44218 * math/s_catanl.c: Likewise.
44219 * math/s_cexp.c: Likewise.
44220 * math/s_cexpf.c: Likewise.
44221 * math/s_cexpl.c: Likewise.
44222 * math/s_clog.c: Likewise.
44223 * math/s_clog10.c: Likewise.
44224 * math/s_clog10f.c: Likewise.
44225 * math/s_clog10l.c: Likewise.
44226 * math/s_clogf.c: Likewise.
44227 * math/s_clogl.c: Likewise.
44228 * math/s_csqrt.c: Likewise.
44229 * math/s_csqrtf.c: Likewise.
44230 * math/s_csqrtl.c: Likewise.
44231 * math/s_ctanf.c: Likewise.
44232 * math/s_ctanh.c: Likewise.
44233 * math/s_ctanhf.c: Likewise.
44234 * math/s_ctanhl.c: Likewise.
44235 * math/s_ctanl.c: Likewise.
44237 * math/math_private.h: Define __nan, __nanf, __nanl.
44238 * math/s_cacosh.c: Include <math_private.h>.
44239 * math/s_cacoshl.c: Likewise.
44240 * math/s_casinh.c: Likewise.
44241 * math/s_casinhf.c: Likewise.
44242 * math/s_casinhl.c: Likewise.
44243 * math/s_ccos.c: Rely entire on ccosh.
44244 * math/s_ccosf.c: Rely entire on ccoshf.
44245 * math/s_ccosl.c: Rely entirely on ccoshl.
44246 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44247 Remove tests for FE_INVALID.
44248 * math/s_ccoshf.c: Likewise.
44249 * math/s_ccoshl.c: Likewise.
44250 * math/s_csin.c: Likewise.
44251 * math/s_csinf.c: Likewise.
44252 * math/s_csinh.c Likewise.
44253 * math/s_csinhf.c: Likewise.
44254 * math/s_csinhl.c: Likewise.
44255 * math/s_csinl.c: Likewise.
44256 * math/s_ctan.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44258 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44259 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44261 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44264 compilation problems.
44266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44269 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44271 * sysdeps/i386/configure.in: Test for -mfma4 option.
44272 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44273 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44274 COMMON_CPUID_INDEX_80000001.
44275 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44276 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44277 use it if FMA3 is not supported.
44278 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44280 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44281 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44283 2011-10-20 Andreas Schwab <schwab@redhat.com>
44286 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44287 it would create a cycle with a link time dependency.
44289 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44291 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44293 * string/Makefile (strop-tests): Add rawmemchr.
44294 * string/test-rawmemchr.c: New file.
44296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44298 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44299 when compiling str{,n}casecmp and when AVX is available. Hook up
44300 new optimized code in initializers.
44302 2011-10-19 Andreas Schwab <schwab@redhat.com>
44304 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44305 __feraiseexcept instead of feraiseexcept.
44307 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44309 * math/math_private.h: Define defaults for libc_fetestexcept and
44311 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44312 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44313 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44314 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44316 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44317 libc_fetestexcept and libc_feupdateenv.
44319 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44320 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44321 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44322 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44323 libc_feholdexcept_setround.
44325 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44326 Add s_nearbyint-c and s_nearbyintf-c.
44327 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44328 nearbyintf inlines.
44329 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44330 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44332 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44334 * math/math_private.h: Define defaults for libc_fegetround,
44335 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44336 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44337 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44339 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44340 standard functions.
44341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44342 Remove comments and hacks for old compiler versions.
44343 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44344 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44345 libc_feholdexceptl.
44347 2011-10-18 Andreas Schwab <schwab@redhat.com>
44349 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44350 (__feraiseexcept_renamed): Add __NTH.
44351 (feraiseexcept): Add __NTH. Rename local variables to fix
44352 namespace violations.
44354 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44360 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44361 recently added interfaces.
44362 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44364 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44365 about macro parameter expansion.
44367 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44368 __NO_MATH_INLINES is defined. Cleanups.
44370 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44371 and __floorf is target has SSE4.1.
44372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44373 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44375 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44377 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44379 (floorf): Likewise.
44381 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44383 2011-10-17 Andreas Schwab <schwab@redhat.com>
44385 * misc/sys/cdefs.h: Fix last change.
44387 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44390 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44392 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44394 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44396 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44397 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44400 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44401 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44402 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44403 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44404 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44405 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44406 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44407 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44408 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44409 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44410 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44411 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44412 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44413 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44414 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44415 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44417 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44418 ceil, ceilf, floor, floorf.
44420 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44421 Perform IRELATIVE relocations last.
44423 * elf/do-rel.h: Add another parameter nrelative, replacing the
44424 local variable with the same name. Change name of the function
44425 to end in Rel or Rela (uppercase).
44426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44427 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44428 elf_dynamic_do_##reloc function.
44430 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44432 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44433 is sufficient, at least on modern CPUs.
44435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44437 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44438 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44440 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44442 * math/bits/math-finite.h: Add entries for exp.
44443 * math/e_expl.c: Add __*_finite alias.
44444 * sysdeps/i386/fpu/e_exp.S: Likewise.
44445 * sysdeps/i386/fpu/e_expf.S: Likewise.
44446 * sysdeps/i386/fpu/e_expl.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44448 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44452 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44453 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44455 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44456 is sufficient, at least on modern CPUs.
44458 * ctype/ctype-info.c (__ctype_init): Define.
44459 * include/ctype.h (__ctype_init): Declare.
44460 (__ctype_b_loc): The variable is always initialized.
44461 (__ctype_toupper_loc): Likewise.
44462 (__ctype_tolower_loc): Likewise.
44463 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44464 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44466 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44468 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44470 * configure.in: Also look in $cxxmachine/include for C++ system
44473 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44475 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44476 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44477 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44478 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44480 (USE_AS_WMEMCMP): New macro.
44482 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44483 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44484 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44485 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44487 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44488 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44489 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44490 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44491 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44493 (USE_AS_WMEMCMP): New macro.
44494 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44495 * sysdeps/string/test-memcmp.c: Update.
44496 Fix simple_wmemcmp.
44498 * wcsmbs/wmemcmp.c: Update.
44499 (WMEMCMP): New macro.
44502 2011-10-12 Andreas Jaeger <aj@suse.de>
44505 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44507 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44509 * libio/iofwide.c (do_length): Avoid warning.
44511 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44513 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44515 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44517 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44518 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44519 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44520 * sysdeps/i386/i686/fpu/e_log.S: New file.
44521 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44522 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44524 * ctype/ctype.h: Add support for inlined isXXX functions when
44525 compiling C++ code.
44527 2011-10-14 Andreas Schwab <schwab@redhat.com>
44529 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44533 2011-10-13 Roland McGrath <roland@hack.frob.com>
44536 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44538 2011-10-13 Andreas Schwab <schwab@redhat.com>
44540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44541 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44544 * sysdeps/x86_64/memrchr.S: Check for zero size.
44546 * string/stratcliff.c: Add memrchr tests.
44548 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44551 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44552 rawmemchr-sse2 rawmemchr-sse2-bsf.
44553 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44554 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44555 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44556 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44557 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44558 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44559 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44560 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44561 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44562 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44563 * string/memrchr.c (MEMRCHR): New macro.
44565 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44567 Add integration with gcc's -ffinite-math-only and optimize wrapper
44569 * Versions.def: Define GLIBC_2.15 version for libm.
44570 * math/Makefile (headers): Add bits/math-finite.h.
44571 * math/bits/math-finite.h: New file.
44572 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44573 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44574 * math/e_acoshl.c: Add __*_finite alias.
44575 * math/e_acosl.c: Likewise.
44576 * math/e_asinl.c: Likewise.
44577 * math/e_atan2l.c: Likewise.
44578 * math/e_atanhl.c: Likewise.
44579 * math/e_coshl.c: Likewise.
44580 * math/e_exp10.c: Likewise.
44581 * math/e_exp10f.c: Likewise.
44582 * math/e_exp10l.c: Likewise.
44583 * math/e_exp2l.c: Likewise.
44584 * math/e_fmodl.c: Likewise.
44585 * math/e_gammal_r.c: Likewise.
44586 * math/e_hypotl.c: Likewise.
44587 * math/e_j0l.c: Likewise.
44588 * math/e_j1l.c: Likewise.
44589 * math/e_jnl.c: Likewise.
44590 * math/e_lgammal_r.c: Likewise.
44591 * math/e_log10l.c: Likewise.
44592 * math/e_log2l.c: Likewise.
44593 * math/e_logl.c: Likewise.
44594 * math/e_powl.c: Likewise.
44595 * math/e_sinhl.c: Likewise.
44596 * math/e_sqrtl.c: Likewise.
44597 * math/e_scalb.c: Completely rewritten and optimized.
44598 * math/e_scalbf.c: Likewise.
44599 * math/e_scalbl.c: Likewise.
44600 * math/w_acos.c: Likewise.
44601 * math/w_acosf.c: Likewise.
44602 * math/w_acosl.c: Likewise.
44603 * math/w_acosh.c: Likewise.
44604 * math/w_acoshf.c: Likewise.
44605 * math/w_acoshl.c: Likewise.
44606 * math/w_asin.c: Likewise.
44607 * math/w_asinf.c: Likewise.
44608 * math/w_asinl.c: Likewise.
44609 * math/w_atan2.c: Likewise.
44610 * math/w_atan2f.c: Likewise.
44611 * math/w_atan2l.c: Likewise.
44612 * math/w_atanh.c: Likewise.
44613 * math/w_atanhf.c: Likewise.
44614 * math/w_atanhl.c: Likewise.
44615 * math/w_exp10.c: Likewise.
44616 * math/w_exp10f.c: Likewise.
44617 * math/w_exp10l.c: Likewise.
44618 * math/w_fmod.c: Likewise.
44619 * math/w_fmodf.c: Likewise.
44620 * math/w_fmodl.c: Likewise.
44621 * math/w_j0.c: Likewise.
44622 * math/w_j0f.c: Likewise.
44623 * math/w_j0l.c: Likewise.
44624 * math/w_j1.c: Likewise.
44625 * math/w_j1f.c: Likewise.
44626 * math/w_j1l.c: Likewise.
44627 * math/w_jn.c: Likewise.
44628 * math/w_jnf.c: Likewise.
44629 * math/w_log.c: Likewise.
44630 * math/w_logf.c: Likewise.
44631 * math/w_logl.c: Likewise.
44632 * math/w_log10.c: Likewise.
44633 * math/w_log10f.c: Likewise.
44634 * math/w_log10l.c: Likewise.
44635 * math/w_log2.c: Likewise.
44636 * math/w_log2f.c: Likewise.
44637 * math/w_log2l.c: Likewise.
44638 * math/w_pow.c: Likewise.
44639 * math/w_powf.c: Likewise.
44640 * math/w_powl.c: Likewise.
44641 * math/w_remainder.c: Likewise.
44642 * math/w_remainderf.c: Likewise.
44643 * math/w_remainderl.c: Likewise.
44644 * math/w_scalb.c: Likewise.
44645 * math/w_scalbf.c: Likewise.
44646 * math/w_scalbl.c: Likewise.
44647 * math/w_sqrt.c: Likewise.
44648 * math/w_sqrtf.c: Likewise.
44649 * math/w_sqrtl.c: Likewise.
44650 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44651 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44653 * math/math_private.h: Declare __kernel_standard_f.
44654 * math/w_cosh.c: Remove cruft and optimize a bit.
44655 * math/w_coshf.c: Likewise.
44656 * math/w_coshl.c: Likewise.
44657 * math/w_exp2.c: Likewise.
44658 * math/w_exp2f.c: Likewise.
44659 * math/w_exp2l.c: Likewise.
44660 * math/w_hypot.c: Likewise.
44661 * math/w_hypotf.c: Likewise.
44662 * math/w_hypotl.c: Likewise.
44663 * math/w_lgamma.c: Likewise.
44664 * math/w_lgamma_r.c: Likewise.
44665 * math/w_lgammaf.c: Likewise.
44666 * math/w_lgammaf_r.c: Likewise.
44667 * math/w_lgammal.c: Likewise.
44668 * math/w_lgammal_r.c: Likewise.
44669 * math/w_sinh.c: Likewise.
44670 * math/w_sinhf.c: Likewise.
44671 * math/w_sinhl.c: Likewise.
44672 * math/w_tgamma.c: Likewise.
44673 * math/w_tgammaf.c: Likewise.
44674 * math/w_tgammal.c: Likewise.
44675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44676 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44677 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44678 Minor optimizations. Pretty printing. Remove cruft.
44679 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44683 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44684 * sysdeps/i386/fpu/e_asin.S: Likewise.
44685 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44686 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44687 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44688 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44689 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44690 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44692 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44693 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44694 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44695 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44696 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44697 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44698 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44699 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44700 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44701 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44702 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44703 * sysdeps/i386/fpu/e_log.S: Likewise.
44704 * sysdeps/i386/fpu/e_log10.S: Likewise.
44705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44706 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44707 * sysdeps/i386/fpu/e_log2.S: Likewise.
44708 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44709 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44710 * sysdeps/i386/fpu/e_logf.S: Likewise.
44711 * sysdeps/i386/fpu/e_logl.S: Likewise.
44712 * sysdeps/i386/fpu/e_pow.S: Likewise.
44713 * sysdeps/i386/fpu/e_powf.S: Likewise.
44714 * sysdeps/i386/fpu/e_powl.S: Likewise.
44715 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44716 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44717 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44719 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44720 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44721 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44722 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44723 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44724 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44735 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44740 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44741 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44744 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44745 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44748 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44749 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44750 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44751 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44752 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44753 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44754 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44757 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44758 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44759 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44760 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44761 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44762 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44763 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44764 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44765 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44807 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44809 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44812 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44815 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44817 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44820 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44821 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44822 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44823 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44824 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44825 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44826 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44827 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44829 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44832 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44833 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44834 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44835 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44836 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44837 (__isnanf): Likewise.
44838 (__isinf_ns): Likewise.
44839 (__isinf_nsf): Likewise.
44840 (__finite): Likewise.
44841 (__finitef): Likewise.
44842 (__ieee754_sqrt): Define as macro.
44843 (__ieee754_sqrtf): Define as macro.
44844 (__ieee754_sqrtl): Define as macro.
44845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44847 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44848 __FINITE_MATH_ONLY__ consistent.
44849 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44851 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44853 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44856 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44858 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44860 * po/ja.po: Update from translation team.
44862 2011-10-08 Roland McGrath <roland@hack.frob.com>
44864 * locale/programs/locarchive.c (prepare_address_space): New function.
44865 (create_archive, enlarge_archive, open_archive): Use it.
44867 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44868 inside [SHARED], where it is used.
44870 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44872 * nss/getent.c (netgroup_keys): Remove unused variable.
44873 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44875 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44877 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44878 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44881 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44882 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44883 * math/Makefile (libm-calls): Add s_isinf_ns.
44884 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44885 * math/multc3.c: Likewise.
44886 * math/s_casin.c: Likewise.
44887 * math/s_casinf.c: Likewise.
44888 * math/s_casinl.c: Likewise.
44889 * math/s_ccos.c: Likewise.
44890 * math/s_ccosf.c: Likewise.
44891 * math/s_ccosl.c: Likewise.
44892 * math/s_ctan.c: Likewise.
44893 * math/s_ctanf.c: Likewise.
44894 * math/s_ctanh.c: Likewise.
44895 * math/s_ctanhf.c: Likewise.
44896 * math/s_ctanhl.c: Likewise.
44897 * math/s_ctanl.c: Likewise.
44898 * math/w_fmod.c: Likewise.
44899 * math/w_fmodf.c: Likewise.
44900 * math/w_fmodl.c: Likewise.
44901 * math/w_remainder.c: Likewise.
44902 * math/w_remainderf.c: Likewise.
44903 * math/w_remainderl.c: Likewise.
44904 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44905 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44908 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44909 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44910 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44911 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44913 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44915 * stdio-common/printf_fphex.c: Likewise.
44916 * stdio-common/printf_size.c: Likewise.
44918 * math/e_exp10.c: Include math_private.h using <...> not "...".
44919 * math/e_exp10f.c: Likewise.
44920 * math/e_exp10l.c: Likewise.
44921 * math/e_exp2l.c: Likewise.
44922 * math/e_j0l.c: Likewise.
44923 * math/e_j1l.c: Likewise.
44924 * math/e_jnl.c: Likewise.
44925 * math/e_lgammal_r.c: Likewise.
44926 * math/e_rem_pio2l.c: Likewise.
44927 * math/e_scalb.c: Likewise.
44928 * math/e_scalbf.c: Likewise.
44929 * math/e_scalbl.c: Likewise.
44930 * math/k_cosl.c: Likewise.
44931 * math/k_sinl.c: Likewise.
44932 * math/k_tanl.c: Likewise.
44933 * math/s_cacoshf.c: Likewise.
44934 * math/s_catan.c: Likewise.
44935 * math/s_catanf.c: Likewise.
44936 * math/s_catanh.c: Likewise.
44937 * math/s_catanhf.c: Likewise.
44938 * math/s_catanhl.c: Likewise.
44939 * math/s_catanl.c: Likewise.
44940 * math/s_ccosh.c: Likewise.
44941 * math/s_ccoshf.c: Likewise.
44942 * math/s_ccoshl.c: Likewise.
44943 * math/s_cexp.c: Likewise.
44944 * math/s_cexpf.c: Likewise.
44945 * math/s_cexpl.c: Likewise.
44946 * math/s_clog.c: Likewise.
44947 * math/s_clog10.c: Likewise.
44948 * math/s_clog10f.c: Likewise.
44949 * math/s_clog10l.c: Likewise.
44950 * math/s_clogf.c: Likewise.
44951 * math/s_clogl.c: Likewise.
44952 * math/s_csin.c: Likewise.
44953 * math/s_csinf.c: Likewise.
44954 * math/s_csinh.c: Likewise.
44955 * math/s_csinhf.c: Likewise.
44956 * math/s_csinhl.c: Likewise.
44957 * math/s_csinl.c: Likewise.
44958 * math/s_csqrt.c: Likewise.
44959 * math/s_csqrtf.c: Likewise.
44960 * math/s_csqrtl.c: Likewise.
44961 * math/s_ctan.c: Likewise.
44962 * math/s_ctanf.c: Likewise.
44963 * math/s_ctanh.c: Likewise.
44964 * math/s_ctanhf.c: Likewise.
44965 * math/s_ctanhl.c: Likewise.
44966 * math/s_ctanl.c: Likewise.
44967 * math/s_ldexp.c: Likewise.
44968 * math/s_ldexpf.c: Likewise.
44969 * math/s_ldexpl.c: Likewise.
44970 * math/s_significand.c: Likewise.
44971 * math/s_significandf.c: Likewise.
44972 * math/s_significandl.c: Likewise.
44973 * math/w_acos.c: Likewise.
44974 * math/w_acosf.c: Likewise.
44975 * math/w_acosh.c: Likewise.
44976 * math/w_acoshf.c: Likewise.
44977 * math/w_acoshl.c: Likewise.
44978 * math/w_acosl.c: Likewise.
44979 * math/w_asin.c: Likewise.
44980 * math/w_asinf.c: Likewise.
44981 * math/w_asinl.c: Likewise.
44982 * math/w_atan2.c: Likewise.
44983 * math/w_atan2f.c: Likewise.
44984 * math/w_atan2l.c: Likewise.
44985 * math/w_atanh.c: Likewise.
44986 * math/w_atanhf.c: Likewise.
44987 * math/w_atanhl.c: Likewise.
44988 * math/w_cosh.c: Likewise.
44989 * math/w_coshf.c: Likewise.
44990 * math/w_coshl.c: Likewise.
44991 * math/w_dremf.c: Likewise.
44992 * math/w_exp10.c: Likewise.
44993 * math/w_exp10f.c: Likewise.
44994 * math/w_exp10l.c: Likewise.
44995 * math/w_exp2.c: Likewise.
44996 * math/w_exp2f.c: Likewise.
44997 * math/w_fmod.c: Likewise.
44998 * math/w_fmodf.c: Likewise.
44999 * math/w_fmodl.c: Likewise.
45000 * math/w_hypot.c: Likewise.
45001 * math/w_hypotf.c: Likewise.
45002 * math/w_hypotl.c: Likewise.
45003 * math/w_j0.c: Likewise.
45004 * math/w_j0f.c: Likewise.
45005 * math/w_j0l.c: Likewise.
45006 * math/w_j1.c: Likewise.
45007 * math/w_j1f.c: Likewise.
45008 * math/w_j1l.c: Likewise.
45009 * math/w_jn.c: Likewise.
45010 * math/w_jnf.c: Likewise.
45011 * math/w_jnl.c: Likewise.
45012 * math/w_lgamma.c: Likewise.
45013 * math/w_lgamma_r.c: Likewise.
45014 * math/w_lgammaf.c: Likewise.
45015 * math/w_lgammaf_r.c: Likewise.
45016 * math/w_lgammal.c: Likewise.
45017 * math/w_lgammal_r.c: Likewise.
45018 * math/w_log.c: Likewise.
45019 * math/w_log10.c: Likewise.
45020 * math/w_log10f.c: Likewise.
45021 * math/w_log10l.c: Likewise.
45022 * math/w_log2.c: Likewise.
45023 * math/w_log2f.c: Likewise.
45024 * math/w_log2l.c: Likewise.
45025 * math/w_logf.c: Likewise.
45026 * math/w_logl.c: Likewise.
45027 * math/w_pow.c: Likewise.
45028 * math/w_powf.c: Likewise.
45029 * math/w_powl.c: Likewise.
45030 * math/w_remainder.c: Likewise.
45031 * math/w_remainderf.c: Likewise.
45032 * math/w_remainderl.c: Likewise.
45033 * math/w_scalb.c: Likewise.
45034 * math/w_scalbf.c: Likewise.
45035 * math/w_scalbl.c: Likewise.
45036 * math/w_sinh.c: Likewise.
45037 * math/w_sinhf.c: Likewise.
45038 * math/w_sinhl.c: Likewise.
45039 * math/w_sqrt.c: Likewise.
45040 * math/w_sqrtf.c: Likewise.
45041 * math/w_sqrtl.c: Likewise.
45042 * math/w_tgamma.c: Likewise.
45043 * math/w_tgammaf.c: Likewise.
45044 * math/w_tgammal.c: Likewise.
45046 * po/ja.po: Update from translation team.
45048 2011-09-29 Andreas Jaeger <aj@suse.de>
45051 * sunrpc/netname.c (netname2host): Fix logic.
45055 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45057 * math/w_remainder.c (__remainder): Likewise.
45058 * math/w_remainderf.c (__remainderf): Likewise.
45059 * math/libm-test.inc (remainder_test): Add test cases.
45061 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45063 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45066 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45068 * string/test-memcmp.c: Avoid unncessary #defines.
45069 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45071 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45073 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45074 Use new sse2 version for core i3 - i7 as it's faster
45075 than sse42 version.
45076 (bit_Prefer_PMINUB_for_stringop): New.
45077 * sysdeps/x86_64/rawmemchr.S: Update.
45078 Replace with faster SSE2 version.
45079 * sysdeps/x86_64/memrchr.S: New file.
45080 * sysdeps/x86_64/memchr.S: Update.
45081 Replace with faster SSE2 version.
45083 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45085 * elf/dl-load.c (lose): Add cast to avoid warning.
45087 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45089 * po/ca.po: Update from translation team.
45091 * inet/getnetgrent_r.c: Hook up nscd.
45092 * nscd/Makefile (routines): Add nscd_netgroup.
45093 (nscd-modules): Add netgroupcache.
45094 (CFLAGS-netgroupcache.c): Define.
45095 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45096 (cache_search): Add const to second parameter.
45097 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45099 (dbs): Add netgrdb entry.
45100 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45101 (verify_persistent_db): Handle netgrdb.
45102 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45103 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45105 (netgroup_response_header): Define.
45106 (innetgroup_response_header): Define.
45107 (datahead): Add netgroup_response_header and innetgroup_response_header
45109 * nscd/nscd.conf: Add entries for netgroup cache.
45110 * nscd/nscd.h (dbtype): Add netgrdb.
45111 (_PATH_NSCD_NETGROUP_DB): Define.
45112 (netgroup_iov_disabled): Declare.
45113 (xmalloc, xcalloc, xrealloc): Move declarations here.
45114 (cache_search): Adjust prototype.
45115 Add netgroup-related prototypes.
45116 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45117 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45118 (__nscd_innetgr): Declare.
45119 * nscd/selinux.c (perms): Use access_vector_t as element type and
45120 add netgroup-related initializers.
45121 * nscd/netgroupcache.c: New file.
45122 * nscd/nscd_netgroup.c: New file.
45123 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45124 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45125 For four parameters use innetgr.
45126 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45127 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45128 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45129 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45131 * nscd/connections.c (register_traced_file): Don't register file
45132 for disabled databases.
45134 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45136 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45138 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45139 from tree and freeing node.
45141 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45143 * nss/nsswitch.c (__nss_database_lookup): Handle
45144 nss_parse_service_list out of memory case.
45146 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45148 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45149 out of memory case.
45151 2011-10-04 Andreas Schwab <schwab@redhat.com>
45153 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45154 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45156 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45157 elf_machine_rela, elf_machine_lazy_rel.
45158 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45159 (ELF_DYNAMIC_DO_REL): Likewise.
45160 (ELF_DYNAMIC_DO_RELA): Likewise.
45161 (ELF_DYNAMIC_RELOCATE): Likewise.
45162 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45163 to ELF_DYNAMIC_DO_REL.
45164 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45165 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45166 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45169 skip_ifunc, don't call ifunc function if non-zero.
45170 (elf_machine_rela): Likewise.
45171 (elf_machine_lazy_rel): Likewise.
45172 (elf_machine_lazy_rela): Likewise.
45173 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45174 (elf_machine_lazy_rel): Likewise.
45175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45177 (elf_machine_lazy_rel): Likewise.
45178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45180 (elf_machine_lazy_rel): Likewise.
45181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45182 (elf_machine_lazy_rel): Likewise.
45183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45184 (elf_machine_lazy_rel): Likewise.
45185 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45186 (elf_machine_lazy_rel): Likewise.
45187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45188 (elf_machine_lazy_rel): Likewise.
45189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45190 (elf_machine_lazy_rel): Likewise.
45191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45192 (elf_machine_lazy_rel): Likewise.
45194 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45196 * nss/nss_files/files-init.c (_nss_files_init): Use static
45197 initialization for all the *_traced_file variables.
45199 2011-09-28 Andreas Schwab <schwab@redhat.com>
45201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45203 2011-09-27 Roland McGrath <roland@hack.frob.com>
45206 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45208 2011-09-27 Andreas Schwab <schwab@redhat.com>
45210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45211 Reread the line before reparsing it.
45213 2011-09-26 Andreas Schwab <schwab@redhat.com>
45215 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45217 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45218 Maxim Kuvyrkov <maxim@codesourcery.com>
45219 Joseph Myers <joseph@codesourcery.com>
45221 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45222 if needed for __stack_chk_guard.
45224 2011-09-19 Roland McGrath <roland@hack.frob.com>
45226 * sysdeps/posix/spawni.c (script_execute): Always define it.
45227 It will be optimized away if unused.
45228 (maybe_script_execute): New function.
45229 (__spawni): Call it.
45231 * Makerules: Don't include tls.make.
45232 (config-tls): Always set to thread.
45233 * tls.make.c: File removed.
45235 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45237 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45238 * config.make.in (CPPFLAGS-config): New substituted variable.
45240 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45245 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45246 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45248 2011-09-15 Roland McGrath <roland@hack.frob.com>
45250 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45251 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45253 (CALL_FAIL): Likewise.
45254 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45255 (CALL_FAIL): Macro removed.
45256 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45258 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45261 for __FINITE_MATH_ONLY__ == 1.
45263 2011-09-15 Andreas Schwab <schwab@redhat.com>
45265 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45266 __ieee754_sqrt instead of sqrt.
45267 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45268 __ieee754_sqrtf instead of sqrtf.
45269 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45270 __floorf instead of floorf.
45271 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45272 __floorf, __truncf instead of floorf, truncf.
45274 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45276 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45278 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45279 __extern_always_inline.
45280 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45283 2011-09-14 Andreas Schwab <schwab@redhat.com>
45285 * elf/rtld.c (dl_main): Also relocate in dependency order when
45286 doing symbol dependency testing.
45288 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45291 Always define `refsym'.
45293 2011-09-13 Andreas Schwab <schwab@redhat.com>
45295 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45296 (__FD_ELT): Renamed from __FDELT.
45297 * misc/bits/select2.h (__FD_ELT): Likewise.
45298 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45299 __FD_MASK instead of __FDELT, __FDMASK.
45300 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45302 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45305 * elf/Makefile (gen-ldd): Fix pattern.
45307 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45308 (init_tls): Likewise.
45310 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45314 2011-09-12 Andreas Schwab <schwab@redhat.com>
45316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45317 `struct cmsghdr *' instead of `void *'.
45318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45321 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45323 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45325 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45326 ldd_rewrite_script.
45328 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45330 * configure.in: Remove --with-tls option.
45331 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45332 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45333 out in case it is missing.
45334 * sysdeps/ia64/elf/configure.in: Likewise.
45335 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45336 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45337 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45338 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45339 * sysdeps/sh/elf/configure.in: Likewise.
45340 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45341 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45342 * sysdeps/x86_64/elf/configure.in: Likewise.
45343 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45344 * sysdeps/mach/hurd/tls.h: Likewise.
45347 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45350 * configure.in: Fix use of AC_INIT.
45352 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45354 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45356 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45358 * malloc/hooks.c: Likewise.
45361 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45362 variables statically.
45363 (narenas): Initialize.
45364 (list_lock): Initialize.
45365 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45366 initializtion of main_arena and list_lock. Small cleanups.
45367 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45368 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45369 Add initializers to main_arena and mp_.
45370 (malloc_state): Remove pagesize member. Change all users to use
45373 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45374 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45375 is always initialized.
45377 * malloc/malloc.c: Removed unused configurations and dead code.
45378 * malloc/arena.c: Likewise.
45379 * malloc/hooks.c: Likewise.
45380 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45382 * include/tls.h: Removed. USE___THREAD must always be defined.
45383 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45384 * elf/dl-libc.c: Likewise.
45385 * elf/dl-tsd.c: Likewise.
45386 * include/errno.h: Likewise.
45387 * include/netdb.h: Likewise.
45388 * include/resolv.h: Likewise.
45389 * inet/herrno-loc.c: Likewise.
45390 * inet/herrno.c: Likewise.
45391 * malloc/arena.c: Likewise.
45392 * malloc/hooks.c: Likewise.
45393 * malloc/malloc.c: Likewise.
45394 * resolv/res-state.c: Likewise.
45395 * resolv/res_libc.c: Likewise.
45396 * sysdeps/i386/dl-machine.h: Likewise.
45397 * sysdeps/ia64/dl-machine.h: Likewise.
45398 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45399 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45400 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45401 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45402 * sysdeps/sh/dl-machine.h: Likewise.
45403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45405 * sysdeps/unix/i386/sysdep.S: Likewise.
45406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45407 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45412 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45417 * sysdeps/x86_64/dl-machine.h: Likewise.
45418 * tls.make.c: Likewise.
45420 * configure.in: Remove --with-__thread option. Make tests for
45421 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45422 tls_model attribute fail if no support is available. Remove
45424 * Makeconfig: Adjust for dropped configure option. All features are
45426 * Makerules: Likewise.
45427 * Versions.def: Likewise.
45428 * argp/argp-fmtstream.c: Likewise.
45429 * argp/argp-fmtstream.h: Likewise.
45430 * argp/argp-help.c: Likewise.
45431 * assert/assert.c: Likewise.
45432 * config.h.in: Likewise.
45433 * config.make.in: Likewise.
45434 * configure: Likewise.
45435 * configure.in: Likewise.
45436 * csu/Versions: Likewise.
45437 * csu/init.c: Likewise.
45438 * elf/tst-audit2.c: Likewise.
45439 * elf/tst-tls10.c: Likewise.
45440 * elf/tst-tls10.h: Likewise.
45441 * elf/tst-tls11.c: Likewise.
45442 * elf/tst-tls12.c: Likewise.
45443 * elf/tst-tls14.c: Likewise.
45444 * elf/tst-tlsmod11.c: Likewise.
45445 * elf/tst-tlsmod12.c: Likewise.
45446 * elf/tst-tlsmod13.c: Likewise.
45447 * elf/tst-tlsmod13a.c: Likewise.
45448 * elf/tst-tlsmod14a.c: Likewise.
45449 * elf/tst-tlsmod15b.c: Likewise.
45450 * elf/tst-tlsmod16a.c: Likewise.
45451 * elf/tst-tlsmod16b.c: Likewise.
45452 * elf/tst-tlsmod7.c: Likewise.
45453 * elf/tst-tlsmod8.c: Likewise.
45454 * elf/tst-tlsmod9.c: Likewise.
45455 * gmon/gmon.c: Likewise.
45456 * grp/fgetgrent_r.c: Likewise.
45457 * grp/putgrent.c: Likewise.
45458 * hurd/fopenport.c: Likewise.
45459 * include/libc-symbols.h: Likewise.
45460 * include/tls.h: Likewise.
45461 * intl/gettextP.h: Likewise.
45462 * intl/loadinfo.h: Likewise.
45463 * locale/global-locale.c: Likewise.
45464 * locale/localeinfo.h: Likewise.
45465 * mach/devstream.c: Likewise.
45466 * malloc/arena.c: Likewise.
45467 * malloc/set-freeres.c: Likewise.
45468 * misc/err.c: Likewise.
45469 * misc/getttyent.c: Likewise.
45470 * misc/mntent_r.c: Likewise.
45471 * posix/getopt.c: Likewise.
45472 * posix/wordexp.c: Likewise.
45473 * pwd/fgetpwent_r.c: Likewise.
45474 * resolv/Versions: Likewise.
45475 * resolv/res_hconf.c: Likewise.
45476 * shadow/fgetspent_r.c: Likewise.
45477 * shadow/putspent.c: Likewise.
45478 * stdio-common/printf_fphex.c: Likewise.
45479 * stdio-common/tmpfile.c: Likewise.
45480 * stdlib/abort.c: Likewise.
45481 * stdlib/fmtmsg.c: Likewise.
45482 * sunrpc/auth_unix.c: Likewise.
45483 * sunrpc/clnt_perr.c: Likewise.
45484 * sunrpc/clnt_tcp.c: Likewise.
45485 * sunrpc/clnt_udp.c: Likewise.
45486 * sunrpc/clnt_unix.c: Likewise.
45487 * sunrpc/openchild.c: Likewise.
45488 * sunrpc/svc_simple.c: Likewise.
45489 * sunrpc/svc_tcp.c: Likewise.
45490 * sunrpc/svc_udp.c: Likewise.
45491 * sunrpc/svc_unix.c: Likewise.
45492 * sunrpc/xdr.c: Likewise.
45493 * sunrpc/xdr_array.c: Likewise.
45494 * sunrpc/xdr_rec.c: Likewise.
45495 * sunrpc/xdr_ref.c: Likewise.
45496 * sunrpc/xdr_stdio.c: Likewise.
45498 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45500 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45502 2011-07-03 Andreas Jaeger <aj@suse.de>
45504 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45505 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45506 regenerate with gen-libm-tests.pl.
45508 2010-05-12 Petr Baudis <pasky@suse.cz>
45511 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45512 around j0() zero points by switching to j1().
45513 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45516 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45520 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45522 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45525 Patch in part by Pavel Roskin <proski@gnu.org>.
45528 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45530 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45531 Free memory block if necessary.
45534 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45535 be NULL. Don't lock in this case.
45537 2011-09-09 Roland McGrath <roland@hack.frob.com>
45539 * elf/elf.h (ELFOSABI_GNU): New macro.
45540 (ELFOSABI_LINUX): Define to that.
45542 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45544 * string/strncat.c (strncat): Undef the symbol in case it has been
45545 defined in bits/string.h.
45547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45549 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45551 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45554 2011-08-17 Andreas Jaeger <aj@suse.de>
45556 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45558 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45559 Ian Lance Taylor <iant@google.com>
45561 * math/libm-test.inc (lround_test): New testcase.
45562 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45564 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45566 * Makefile: Remove support for automatic cvs check-ins.
45567 * Makerules: Likewise.
45568 * config.make.in: Likewise.
45569 * configure.in: Likewise.
45570 * intl/Makefile: Likewise.
45571 * locale/Makefile: Likewise.
45572 * po/Makefile: Likewise.
45573 * posix/Makefile: Likewise.
45574 * sysdeps/gnu/Makefile: Likewise.
45575 * sysdeps/mach/hurd/Makefile: Likewise.
45576 * sysdeps/sparc/sparc32/Makefile: Likewise.
45579 * posix/Makefile (bug-regex32-ENV): Define.
45580 Patch by John Stanley <jpsinthemix@verizon.net>.
45582 * misc/Makefile (headers): Add bits/select2.h.
45583 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45584 * misc/bits/select2.h: New file.
45585 * include/bits/select2.h: New file.
45586 * debug/Makefile (routines): Add fdelt_chk.
45587 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45588 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45590 * debug/fdelt_chk.c: New file.
45592 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45593 * wcsmbs/test-wmemcmp.c: Likewise.
45594 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45595 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45597 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45599 * string/Makefile (strop-tests): Add memcmp.
45600 * string/test-wmemcmp.c: New file.
45601 * string/test-memcmp.c: Add wmemcmp support.
45603 2011-09-08 Roland McGrath <roland@hack.frob.com>
45606 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45609 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45610 garbage value in a __mach_port_mod_refs call in the cases of the
45611 task-self and thread-self ports.
45613 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45615 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45617 2011-09-08 Andreas Schwab <schwab@redhat.com>
45619 * elf/dl-load.c (lose): Check for non-null L.
45621 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45623 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45625 * elf/dl-libc.c (dlerror_run): Pass back error code from
45629 * elf/dl-load.c (lose): Free l_origin if it is valid.
45631 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45634 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45638 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45640 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45642 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45643 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45644 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45645 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45646 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45647 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45648 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45649 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45650 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45651 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45653 2011-08-15 Alan Modra <amodra@gmail.com>
45656 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45657 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45658 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45659 ppc_mcount to static-only-routines.
45660 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45662 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45663 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45665 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45668 for finite and infinity parameters.
45670 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45673 and add nop instructions for throughput optimization.
45674 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45676 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45679 aligned copy for power7 with vector-scalar instructions.
45680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45682 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45687 2011-09-07 Andreas Schwab <schwab@redhat.com>
45690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45693 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45695 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45696 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45697 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45698 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45701 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45703 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45704 Forgot to demangle the pointer.
45706 * sysdeps/i386/sysdep.h: Define atom_text_section.
45707 * sysdeps/x86_64/sysdep.h: Likewise.
45708 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45709 section with atom_text_section.
45710 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45712 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45714 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45716 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45717 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45718 already be defined. Change to take two parameters and don't assign
45719 result to variable. Adjust all users.
45720 Define INTERNAL_GETTIME if not already defined.
45721 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45724 HAVE_CLOCK_GETTIME_VSYSCALL.
45725 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45728 gettimeofday vsyscall, just use time.
45730 2011-09-06 Andreas Schwab <schwab@redhat.com>
45732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45735 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45737 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45741 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45743 syscall if possible.
45745 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45747 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45748 e_ident. Don't pass to find_mapsXX.
45749 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45754 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45755 * sysdeps/x86_64/multiarch/strchr.S: Update.
45756 Check bit_slow_BSF bit.
45757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45758 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45761 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45764 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45766 (tryshell): Define.
45767 (__spawni): Change last parameter to be flag. Test
45768 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45769 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45770 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45771 * posix/spawni.c: Likewise.
45772 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45773 * posix/spawnp.c: Likewise. Change normal version to use
45774 SPAWN_XFLAGS_USE_PATH.
45775 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45776 SPAWN_XFLAGS_TRY_SHELL.
45779 * posix/glob.h: Remove gcc 1.x support.
45782 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45784 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45787 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45789 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45790 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45791 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45793 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45796 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45798 * sysdeps/x86_64/wcscmp.S: New file.
45800 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45801 wcscmp-c wcscmp-sse2
45802 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45803 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45804 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45805 * wcsmbs/wcscmp.c: Allow renaming.
45807 2011-09-05 David S. Miller <davem@davemloft.net>
45809 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45810 stack slot, rather than the struct return pointer slot.
45811 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45812 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45814 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45816 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45818 * po/ja.po: Update from translation team.
45821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45822 kernel in 64-bit binaries.
45824 2011-09-01 David S. Miller <davem@davemloft.net>
45826 * elf/elf.h (HWCAP_SPARC_*): Move to..
45827 * sysdeps/sparc/sysdep.h: this new file and add new values.
45828 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45829 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45830 _DL_HWCAP_COUNT to 24.
45831 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45833 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45834 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45835 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45837 instead of magic constants.
45838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45840 2011-08-31 David S. Miller <davem@davemloft.net>
45842 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45844 Reimplement to do errno handling inline.
45845 (SYSCALL_ERROR_HANDLER): New macro.
45846 (__SYSCALL_STRING): Do not do errno handling in asm.
45847 (__CLONE_SYSCALL_STRING): Delete.
45848 (__INTERNAL_SYSCALL_STRING): Delete.
45849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45850 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45851 (PSEUDO): Reimplement to do errno handling inline.
45852 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45853 (SYSCALL_ERROR_HANDLER): New macro.
45854 (__SYSCALL_STRING): Do not do errno handling in asm.
45855 (__CLONE_SYSCALL_STRING): Delete.
45856 (__INTERNAL_SYSCALL_STRING): Delete.
45857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45858 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45860 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45861 (inline_syscall*): Add 'err' argument.
45862 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45863 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45864 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45865 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45867 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45868 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45870 2011-08-30 Andreas Schwab <schwab@redhat.com>
45872 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45874 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45876 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45879 2011-08-24 David S. Miller <davem@davemloft.net>
45881 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45883 2011-08-24 Andreas Schwab <schwab@redhat.com>
45885 * elf/Makefile: Add rules to build and run unload8 test.
45886 * elf/unload8.c: New file.
45887 * elf/unload8mod1.c: New file.
45888 * elf/unload8mod1x.c: New file.
45889 * elf/unload8mod2.c: New file.
45890 * elf/unload8mod3.c: New file.
45892 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45895 2011-08-23 David S. Miller <davem@davemloft.net>
45897 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45898 subtract stack bias.
45899 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45900 %sp not %fp in calculations.
45901 (_JMPBUF_UNWINDS_ADJ): Likewise.
45903 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45904 (aio_suspend): Call it to force an exception region around the
45905 AIO_MISC_WAIT() invocation.
45907 2011-08-23 Andreas Schwab <schwab@redhat.com>
45909 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45912 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45914 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45916 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45917 and <dl-machine.h>.
45918 (Elf64_FuncDesc): Remove.
45920 2011-08-22 David S. Miller <davem@davemloft.net>
45922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45923 sigaltstack check, add missing cfi directives.
45924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45925 missing cfi directives, and sigaltstack handling.
45927 2011-08-16 Andreas Schwab <schwab@redhat.com>
45930 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45931 object is seen twice.
45932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45934 * elf/Makefile (distribute): Add tst-initorder2.c.
45935 (tests): Add tst-initorder2.
45936 (modules-names): Add tst-initorder2a tst-initorder2b
45937 tst-initorder2c tst-initorder2d. Add rules to build them.
45938 ($(objpfx)tst-initorder2.out): New rule.
45939 * elf/tst-initorder2.c: New file.
45940 * elf/tst-initorder2.exp: New file.
45942 2011-08-22 Andreas Schwab <schwab@redhat.com>
45944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45946 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45947 dependencies back to end of function.
45949 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45950 $(elfobjdir)/ld.so.
45952 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45955 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45957 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45958 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45959 of __vdso_gettimeofday.
45960 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45961 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45963 (_libc_vdso_platform_setup): Remove initialization of
45964 __vdso_gettimeofday and __vdso_time.
45966 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45968 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45969 and fgetc_unlocked.
45970 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45973 * elf/dl-open.c (add_to_global): Report additions to the global scope
45974 for LD_DEBUG=scopes.
45975 (dl_open_worker): Also print scope of newly loaded dependencies.
45976 (_dl_show_scope): Indicate if there is no scope.
45979 * stdio-common/Makefile (tests): Add bug24.
45980 * stdio-common/bug24.c: New file.
45982 2011-08-19 Andreas Jaeger <aj@suse.de>
45985 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45986 non-existant file when using close-on-exec mode.
45988 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45991 the very first instruction.
45993 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45994 the CFI state in the end.
45995 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45996 inclusion of dl-trampoline.h.
45997 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45999 2011-08-19 Andreas Schwab <schwab@redhat.com>
46001 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46002 expectations for long double.
46004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46005 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46007 2011-08-14 David S. Miller <davem@davemloft.net>
46009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46010 artificual limit depends upon the system page size.
46012 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46014 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46015 * resolv/Makefile: Define CFLAGS-libresolv.
46017 2011-08-17 Andreas Schwab <schwab@redhat.com>
46019 * nss/makedb.c (compute_tables): Make variables used in nested
46022 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46024 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46025 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46026 if buffer was too small.
46028 * elf/pldd.c (main): Attach to all threads in the process.
46029 Rewrite /proc handling to use *at functions.
46031 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46033 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46034 specifies first scope to show.
46035 (dl_open_worker): Update callers. Move printing scope of new
46036 object to before the relocation.
46037 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46038 * sysdeps/generic/ldsodefs.h: Update declaration.
46040 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46041 string for the scope number.
46043 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46045 * nscd/servicescache.c (cache_addserv): Make sure written is always
46048 2011-08-14 Roland McGrath <roland@hack.frob.com>
46050 * sysdeps/i386/i486/bits/atomic.h
46051 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46052 statement expression, so as to suppress "set but not used" warning.
46053 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46055 * string/strncat.c (STRNCAT): Use prototype definition.
46057 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46058 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46060 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46061 (localedef-modules): Add localedef.
46062 (locale-modules): Add locale.
46064 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46065 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46066 to avoid a warning.
46068 2011-08-14 David S. Miller <davem@davemloft.net>
46070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46071 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46073 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46075 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46076 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46077 * elf/rtld.c (dl_main): Set l_name of vDSO.
46078 Call _dl_show_scope when DL_DEBUG_SCOPES.
46079 (process_dl_debug): Recognize scopes flag and also set it for all.
46080 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46081 Declare _dl_show_scope.
46083 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46084 (do_dlopen): Pass caller_dlopen to dl_open.
46085 (__libc_dlopen_mode): Initialize caller_dlopen.
46087 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46088 of libc. Make tolower call locale-independent. Optimize a bit by
46089 using isdigit instead of isalnum.
46090 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46092 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46094 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46095 was a dependency or dynamically loaded.
46097 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46099 * intl/l10nflist.c: Allow architecture-specific pop function.
46100 * sysdeps/x86_64/l10nflist.c: New file.
46102 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46105 2011-08-10 Andreas Schwab <schwab@redhat.com>
46107 * include/dirent.h: Add libc_hidden_proto for scandirat and
46108 scandirat64. Don't declare __scandirat64.
46109 * dirent/scandirat.c: Add libc_hidden_def.
46110 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46111 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46113 2011-08-10 David S. Miller <davem@davemloft.net>
46115 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46121 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46123 * Versions.def [libc]: Add GLIBC_2.15.
46124 * dirent/Makefile (routines): Add scandirat and scandirat64.
46125 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46127 * dirent/dirent.h: Declare scandirat and scandirat64.
46128 * dirent/scandirat.c: New file.
46129 * dirent/scandirat64.c: New file.
46130 * sysdeps/wordsize-64/scandirat.c: New file.
46131 * sysdeps/wordsize-64/scandirat64.c: New file.
46132 * dirent/opendir.c: Define opendirat.
46133 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46135 * dirent/scandir64.c: Adjust for scandir.c change.
46136 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46137 __scandirat64, and __scandir_cancel_handler.
46138 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46139 additional parameter and use openat instead of open (outside of ld.so).
46140 Add new __opendir as wrapper around __opendirat.
46141 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46142 here without requiring old scandirat implementation.
46144 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46146 * dirent/scandir.c (cancel_handler): Renamed to
46147 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46148 defined. Adjust users.
46149 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46152 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46154 * string/test-string.h (IMPL): Use __STRING to expand name and then
46157 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46160 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46162 * string/Makefile: Update.
46163 (strop-tests): Append strncat.
46164 * string/test-wcscmp.c: New file.
46165 New comprehensive test for wcscmp.
46166 * string/test-strcmp.c: Update.
46167 (WIDE): New define.
46169 2011-07-22 Andreas Schwab <schwab@redhat.com>
46171 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46174 2011-07-26 Andreas Schwab <schwab@redhat.com>
46176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46177 encoding to ACE if AI_IDN.
46179 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46182 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46187 Fix overflow bug in strncat.
46188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46190 * string/test-strncat.c: Update.
46191 Add new tests for checking overflow bugs.
46193 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46196 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46197 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46198 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46199 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46200 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46201 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46202 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46203 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46205 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46206 (USE_AS_STRCAT): Define.
46207 Add strcat and strncat support.
46208 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46210 2011-07-25 Andreas Schwab <schwab@redhat.com>
46212 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46213 __n bigger than INT_MAX+1.
46214 (__strncmp_g): Likewise.
46216 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46218 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46219 * libio/stido.h: Likewise.
46221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46226 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46229 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46233 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46238 (_dl_x86_64_save_sse): Likewise.
46240 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46244 (_dl_x86_64_save_sse): Likewise.
46246 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46248 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46250 2011-07-21 Andreas Schwab <schwab@redhat.com>
46252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46254 (_dl_x86_64_save_sse): Use correct AVX check.
46256 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46259 bug in strncpy/strncat.
46260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46262 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46264 * string/tester.c (test_strcat): Add tests for different alignments
46265 of source and destination.
46266 (test_strncat): Likewise.
46268 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46271 * posix/glob.c (glob): Check passed in values before using them in
46272 expressions to avoid some overflows.
46273 (glob_in_dir): Likewise.
46276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46277 check for AVX enablement so that we don't crash with old kernels and
46279 * elf/tst-audit4.c: Add same checks here.
46280 * elf/tst-audit6.c: Likewise.
46282 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46284 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46286 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46288 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46290 * po/cs.po: Update from translation team.
46291 * po/bg.po: Likewise.
46293 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46295 * misc/sys/cdefs.h: Add support for const attribute.
46296 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46297 to gnu_dev_{major,minor,makedev} functions.
46299 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46301 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46303 2011-07-20 Andreas Schwab <schwab@redhat.com>
46305 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46308 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46311 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46312 register in order to avoid conflicts with the soft frame pointer
46313 being held in r11 when necessary.
46314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46315 (INTERNAL_VSYSCALL_NCS): Likewise.
46317 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46319 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46320 * elf/dl-fini.c (_dl_fini): Adjust caller.
46321 * elf/dl-close.c (_dl_close_worker): Likewise.
46322 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46324 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46326 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46327 "aux_cache->nlibs < 0".
46329 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46330 in the reload-count case.
46332 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46335 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46336 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46338 * sysdeps/x86_64/multiarch/strcat.S: New file.
46339 * sysdeps/x86_64/multiarch/strncat.S: New file.
46340 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46341 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46342 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46343 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46345 (USE_AS_STRCAT): Define.
46346 Add strcat and strncat support.
46347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46349 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46350 * string/strncat.c: Update.
46351 (USE_AS_STRNCAT): Define.
46352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46353 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46355 * sysdeps/x86_64/multiarch/init-arch.h
46356 (bit_Prefer_PMINUB_for_stringop): New.
46357 (index_Prefer_PMINUB_for_stringop): Likewise.
46358 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46359 bit_Prefer_PMINUB_for_stringop.
46361 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46363 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46365 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46366 of casting of buffer.
46367 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46368 buffer32 and buffer64.
46369 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46370 writes instead of casting of buffer.
46371 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46373 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46376 2011-07-19 Andreas Schwab <schwab@redhat.com>
46378 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46382 * nscd/nscd.c (termination_handler): Don't do anything for a database
46383 if it has not yet been initialized.
46385 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46387 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46389 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46391 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46393 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46395 * po/nl.po: Update from translation team.
46396 * po/sv.po: Likewise.
46398 2011-07-16 Roland McGrath <roland@hack.frob.com>
46400 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46401 now disallowed by GCC.
46403 * configure.in (use-default-link): Default to yes if a test -shared
46404 link meets our qualifications.
46405 * configure: Regenerated.
46407 * config.make.in (output-format): New variable.
46408 * configure.in: Check for ld --print-output-format support.
46409 * configure: Regenerated.
46410 * Makerules ($(common-objpfx)format.lds)
46411 [$(output-format) != unknown]: Just use $(output-format),
46412 instead of the linker-script munging.
46414 2011-07-14 Roland McGrath <roland@hack.frob.com>
46416 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46417 of $(common-objpfx)shlib.lds.
46418 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46420 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46421 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46423 * configure.in (-z relro check): Adjust test code to add a large
46424 writable data section after it.
46425 * configure: Regenerated.
46427 2011-07-11 Roland McGrath <roland@hack.frob.com>
46429 * configure.in (-z relro check): Fix test code to make the variable
46431 * configure: Regenerated.
46433 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46435 * nscd/nscd.h (struct traced_file): Define.
46436 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46437 elements. Add traced_files.
46438 (inotify_fd): Declare.
46439 (register_traced_file): Declare.
46440 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46441 (inotify_fd): Export.
46442 (resolv_conf_descr): Remove.
46443 (nscd_init): Move inotify descriptor creation to main.
46444 Don't register files for notification here.
46445 (register_traced_file): New function.
46446 (invalidate_cache): Don't use reset_res to determine whether to call
46447 res_init, go through the list of registered files.
46448 (main_loop_poll): The inotify descriptors are now stored in the
46449 structures for the traced files.
46450 (main_loop_epoll): Likewise
46451 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46452 to __nss_disable_nscd.
46453 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46454 for a database anymore. Check the records for all the registered
46456 * nss/Makefile (libnss_files-routines): Add files-init.
46457 (libnss_db-routines): Add db-init.
46458 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46459 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46460 * nss/nss_db/db-init.c: New file.
46461 * nss/nss_files/files-init.c: New file.
46462 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46463 __nss_lookup_function.
46464 (__nss_lookup_function): Call nss_load_library.
46465 (nss_load_all_libraries): New function.
46466 (__nss_disable_nscd): Take parameter with callback function for files
46467 to register. Set is_nscd. Load all the DSOs for the NSS modules
46468 used for the cached services.
46469 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46470 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46471 options for features to all the files in nscd.
46473 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46475 2011-07-10 Roland McGrath <roland@hack.frob.com>
46477 * csu/elf-init.c (__libc_csu_init): Comment typo.
46479 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46481 * po/pl.po: Update from translation team.
46482 * po/ja.po: Likewise.
46483 * po/ru.po: Likewise.
46484 * po/ko.po: Likewise.
46485 * po/fr.po: Likewise.
46487 2011-07-09 Roland McGrath <roland@hack.frob.com>
46489 * configure.in (.ctors/.dtors header and trailer check):
46490 Use an empirical test on a built program.
46491 * configure: Regenerated.
46493 * configure.in (-z relro check): Use an empirical test on a built DSO.
46494 Detect, but do not require, on ia64.
46495 * configure: Regenerated.
46497 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46498 Update tests that use readelf to use $READELF instead.
46499 * configure: Regenerated.
46501 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46503 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46504 if the result is not used.
46506 2011-07-05 Andreas Jaeger <aj@suse.de>
46509 * stdlib/tst-strtod.c: Add testcase.
46511 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46513 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46514 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46515 The latter has a higher limit. Take additional parameter to pass to
46517 (__pathconf): Pass file to __statfs_link_max.
46518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46520 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46524 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46528 (__statfs_filesize_max): Likewise.
46529 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46531 2011-07-05 Andreas Jaeger <aj@suse.de>
46533 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46535 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46537 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46539 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46542 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46544 * Makefile (strop-tests): Add strncat.
46545 * string/test-strncat.c: New file.
46547 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46549 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46551 2011-06-21 Andreas Jaeger <aj@suse.de>
46553 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46554 Copy rule from iconvdata/Makefile.
46556 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46559 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46560 but no long options are defined, just return 'W'.
46562 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46565 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46567 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46569 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46571 (innetgr): Likewise.
46573 2011-07-05 Roland McGrath <roland@hack.frob.com>
46575 * config.make.in (install_root): Default to $(DESTDIR).
46577 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46579 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46581 2011-07-02 Roland McGrath <roland@hack.frob.com>
46583 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46585 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46586 containing directory rather than embedding absolute directory names.
46588 * scripts/check-local-headers.sh: Rewritten using awk.
46589 Match by word, not by line. Print error messages for matches.
46590 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46592 * Makerules [shlib-lds-flags empty]:
46593 ($(common-objpfx)libc_pic.opts): New target.
46594 ($(common-objpfx)libc_pic.os.clean): New target.
46595 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46597 * config.make.in (OBJCOPY): New variable.
46598 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46599 * configure: Regenerated.
46601 * config.make.in (use-default-link): New variable.
46602 * configure.in (use_default_link): Grok --with-default-link to set it.
46603 * configure: Regenerated.
46604 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46605 (shlib-lds, shlib-lds-flags): Define to empty.
46607 * Makerules (shlib-lds): New variable.
46608 (shlib-lds-flags): New variable.
46609 (build-shlib, build-moduile, build-module-asneeded): Use it.
46610 ($(common-objpfx)libc.so): Use $(shlib-lds).
46611 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46612 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46614 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46615 DT_FLAGS/DT_FLAGS_1 with zero flags.
46617 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46618 linker script munging.
46620 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46622 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46624 * crypt/sha512.c (sha512_process_block): Perform total addition using
46625 128-bit if possible.
46626 (__sha512_finish_ctx): Likewise.
46627 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46629 * crypt/sha256.c (SWAP64): Define.
46630 (sha256_process_block): Perform total addition using 64-bit if
46632 (__sha256_finish_ctx): Likewise.
46634 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46636 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46638 * nscd/hstcache.c (cache_addhst): Likewise.
46639 * nscd/grpcache.c (cache_addgr): Likewise.
46640 * nscd/aicache.c (addhstaiX): Likewise
46641 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46643 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46645 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46647 * nscd/hstcache.c (cache_addhst): Likewise.
46648 * nscd/grpcache.c (cache_addgr): Likewise.
46649 * nscd/aicache.c (addhstaiX): Likewise
46651 2011-07-01 Andreas Schwab <schwab@redhat.com>
46653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46654 domain only when needed.
46656 2011-06-30 Andreas Schwab <schwab@redhat.com>
46658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46659 is always restored.
46661 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46663 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46664 are re-adding the entry.
46665 * nscd/servicescache.c (cache_addserv): Likewise.
46667 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46669 * sysdeps/generic/dl-irel.h: fix protection against multiple
46671 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46673 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46676 * malloc/memusage.sh: Fix quoting in message.
46677 * debug/xtrace.sh: Likewise.
46679 * configure.in: Remove support for --experimental-malloc option, make
46681 * config.make.in: Likewise.
46682 * malloc/Makefile: Likewise.
46684 2011-06-27 Andreas Schwab <schwab@redhat.com>
46686 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46687 two-byte characters.
46689 2011-06-27 Roland McGrath <roland@hack.frob.com>
46691 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46692 AC_CACHE_CHECK invocation.
46693 * configure: Regenerated.
46695 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46697 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46700 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46701 bit from old_res_options.
46703 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46705 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46706 value type for setfct.
46708 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46711 __gettimeofday instead of gettimeofday.
46713 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46715 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46717 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46724 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46727 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46728 strcpy-sse2-unaligned strncpy-sse2-unaligned
46729 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46730 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46731 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46732 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46733 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46736 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46737 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46738 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46739 (STRCPY): Support SSE2 and SSSE3 versions.
46741 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46745 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46746 kernels which artificially limit size of requests.
46748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46751 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46752 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46753 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46754 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46755 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46756 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46757 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46758 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46760 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46761 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46762 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46763 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46764 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46766 Enable unaligned load optimization for Intel Core i3, i5 and i7
46768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46770 (index_Fast_Unaligned_Load): Define.
46771 (HAS_FAST_UNALIGNED_LOAD): Define.
46773 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46775 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46777 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46780 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46781 until it is clear that the information is realy needed.
46782 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46784 2011-06-22 Andreas Schwab <schwab@redhat.com>
46786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46788 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46791 /sys/devices/system/cpu/online if it is usable.
46793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46794 reading the information from the /proc filesystem to once a second.
46796 2011-06-21 Andreas Jaeger <aj@suse.de>
46798 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46799 NULL after inclusion of kernel headers.
46801 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46803 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46804 calls to internal_setent.
46807 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46808 addresses using gethostbyname4_r ignore IPv4 addresses.
46810 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46811 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46813 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46815 2011-06-20 David S. Miller <davem@davemloft.net>
46817 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46819 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46821 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46822 (elf_irel): Use it.
46823 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46824 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46825 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46826 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46827 * sysdeps/x86_64/dl-irel.h: Likewise.
46829 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46830 * elf/dl-sym.c: Likewise.
46832 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46834 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46835 need to dereference resplen2.
46837 2011-06-14 Andreas Schwab <schwab@redhat.com>
46839 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46841 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46843 * Makeconfig: Define vardbdir and inst_vardbdir.
46844 * nss/Makefile: Add rules to install db-Makefile.
46846 * nss/nss_db/db-XXX.c: Cleanup.
46848 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46849 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46851 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46852 * nss/makedb.c: Implement -g option to specify that value strings
46853 are generated and should not be added to table iterated over for
46855 * nss/nss_db/db-initgroups.c: New file.
46857 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46860 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46861 (internal_getgrouplist): Adjust to name change.
46862 Update use_initgroups_entry if this is not the first call.
46863 * nss/databases.def: Add initgroups entry.
46865 * nss/makedb.c (compute_tables): Check result of multiple hash table
46866 sizes to minimize maximum chain length.
46868 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46870 * Versions.def: Add entry for libnss_db.
46871 * shlib-versions: Likewise.
46872 * nss/Makefile: Add rules to build libnss_db.
46873 * nss/Versions: Add libnss_db information. Organize libnss_files
46875 * nss/db-Makefile: Add gshadow support. Change rules for the new
46876 makedb progra. Some minor improvements to generate smaller files.
46877 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46879 * nss/makedb.c: ...here.
46880 Improve database format to be smaller and require less memory at
46882 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46884 * nss/nss_db/db-netgrp.c: Likewise.
46885 * nss/nss_db/db-open.c: Likewise.
46886 * nss/nss_files/flies-XXX.x: Adjust comments.
46887 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46888 * nss/nss_files/files-grp.c: Likewise.
46889 * nss/nss_files/files-hosts.c: Likewise.
46890 * nss/nss_files/files-network.c: Likewise.
46891 * nss/nss_files/files-proto.c: Likewise.
46892 * nss/nss_files/files-pwd.c: Likewise.
46893 * nss/nss_files/files-rpc.c: Likewise.
46894 * nss/nss_files/files-service.c: Likewise.
46895 * nss/nss_files/files-sgrp.c: Likewise.
46896 * nss/nss_files/files-spwd.c: Likewise.
46897 * nss/nss_db/db-alias.c: Removed.
46898 * nss/nss_db/dummy-db.h: Removed.
46900 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46902 * nss/makedb.c: Rewritten to not use database library.
46903 * nss/Makefile: Update to build new makedb program.
46905 2011-06-14 Andreas Jaeger <aj@suse.de>
46907 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46908 memset declaration.
46910 2011-06-10 Andreas Schwab <schwab@redhat.com>
46912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46915 2011-06-10 Roland McGrath <roland@hack.frob.com>
46917 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46918 * elf/Makefile ($(objpfx)ld.so): Likewise.
46920 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46921 Don't list ld.so twice in dependencies.
46923 * posix/bug-regex31.c: Include <stdlib.h>.
46925 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46927 * nis/nss_compat/compat-spwd.c
46928 (getspent_next_nss_netgr): Remove unused variable.
46929 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46931 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46932 nonmembers" output to use the right array.
46934 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46936 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46938 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46939 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46940 * catgets/gencat.c (read_input_file): Likewise.
46941 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46943 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46944 variable definition inside #if's controlling its use.
46946 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46948 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46950 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46952 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46955 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46957 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46958 * configure: Regenerated.
46960 * Makerules: Revert last change.
46961 * elf/Makefile: Likewise.
46963 2011-06-09 Roland McGrath <roland@hack.frob.com>
46965 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46966 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46967 (reloc-link): Likewise.
46969 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46971 * elf/Makefile: Add rules to build pldd.
46972 * elf/pldd.c: New file.
46973 * elf/pldd-xx.c: New file.
46975 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46977 * version.h: Update for 2.15 development version.
46979 2011-06-07 David S. Miller <davem@davemloft.net>
46981 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46984 elf_machine_lazy_rel): Likewise.
46985 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46987 elf_machine_lazy_rel): Likewise.
46988 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46989 dl_hwcap via passed in argument.
46990 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46993 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46995 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46997 2011-06-06 Roland McGrath <roland@hack.frob.com>
47000 * manual/fdl-1.1.texi: New file, verbatim from:
47001 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47002 * manual/lgpl-2.1.texi: New file, verbatim from:
47003 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47004 * manual/Makefile (licenses): New variable, list those new file names.
47006 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47008 * manual/fdl.texi: File removed.
47009 * manual/lesser.texi: File removed.
47010 * manual/libc.texinfo (Copying, Documentation License):
47011 Use new @include file names, put @appendix directive before @include.
47013 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47016 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47017 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47018 (mq_open): Add __NTH.
47020 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47023 Assume Intel Core i3/i5/i7 processor if AVX is available.
47025 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47030 2011-05-31 Andreas Schwab <schwab@redhat.com>
47032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47033 memory. Use alloca_account. Fix memory leak when retrying.
47035 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47037 * version.h (RELEASE): Bump for 2.14 release.
47038 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47040 * config.make.in (RANLIB): Remove entry.
47042 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47044 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47045 (libc.pot): Work around missing support for .ksh extension in xgettext.
47048 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47049 if both request failed.
47050 (send_dg): In case of server errors clear resplen or *resplen2.
47053 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47054 when there are multiple maps.
47055 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47056 (_dl_fini): Remove test here.
47058 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47060 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47063 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47064 bit from old_res_options.
47065 (gaih_inet): Likewise.
47068 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47071 * resolv/res_init.c (res_setoptions): Make the code more compact.
47074 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47078 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47080 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47083 * malloc/malloc.h: Declare malloc hook variables as volatile.
47085 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47089 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47090 raise in the comment.
47091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47092 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47093 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47095 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47098 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47099 grow the buffers more if it already has to be sufficient.
47100 (build_wcs_upper_buffer): Likewise.
47101 * posix/regexec.c (check_matching): Likewise.
47102 (clean_state_log_if_needed): Likewise.
47103 (extend_buffers): Don't enlarge buffers beyond size of the input
47105 Patches mostly by Emil Wojak <emil@wojak.eu>.
47106 * posix/bug-regex32.c: New file.
47107 * posix/Makefile (tests): Add bug-regex32.
47109 * locale/findlocale.c (_nl_find_locale): Return right away if
47110 _nl_explode_name failed.
47111 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47115 * debug/xtrace.sh: Unify messages.
47116 * malloc/memusage.sh: Likewise.
47119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47120 time symbol from vDSO. Substitute with vsyscall if not available.
47121 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47124 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47125 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47126 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47127 Add sendmmsg and internal_sendmmsg.
47128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47132 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47133 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47136 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47139 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47140 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47146 * iconvdata/Makefile (tests): Add bug-iconv9.
47147 * iconvdata/bug-iconv9.c: New file.
47149 2011-05-27 Andreas Schwab <schwab@redhat.com>
47152 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47154 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47157 (struct user_regs_struct): Change intcs field back to cs.
47159 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47161 * po/ja.po: Update from translation team.
47163 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47166 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47167 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47169 2011-05-20 Andreas Schwab <schwab@redhat.com>
47171 * stdlib/longlong.h: Update from GCC.
47173 2011-05-23 Andreas Schwab <schwab@redhat.com>
47175 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47177 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47178 Add parameter name.
47179 (__sysconf): Pass it down.
47181 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47184 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47186 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47187 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47188 add in in __libc_use_alloca calls. Adjust callers.
47189 (glob): Use malloc in some situations.
47191 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47192 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47195 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47197 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47198 and CLOCK_BOOTTIME_ALARM.
47201 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47204 * string/_strerror.c (__strerror_r): Print negative errors as signed
47208 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47209 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47210 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47212 * configure.in: Fix typo in redirection and correct removal of test
47213 files in two cases.
47216 * locale/setlocale.c (new_composite_name): Fix test to check for
47217 identical name of all categories.
47220 * libio/filedoalloc.c (local_isatty): New function.
47221 (_IO_file_doallocate): Use local_isatty.
47222 * stdio-common/perror.c (perror): In case a new stream is used
47223 forward the stream error.
47224 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47227 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47232 * include/alloca.h (extend_alloca_account): Define.
47235 * posix/regex.h: Fix comments with documentation of user-accessible
47236 fields after compilation and describe correct free'ing of pattern
47237 after re_compile_pattern.
47238 Patch by Reuben Thomas <rrt@sc3d.org>.
47240 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47242 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47243 and -mno-altivec to prevent the compiler from using Altivec and/or
47244 VSX instructions when the corresponding registers are not available.
47246 2011-05-19 Andreas Schwab <schwab@redhat.com>
47248 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47250 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47252 * libio/freopen.c (freopen): Use __dup2, not dup2.
47253 * libio/freopen64.c (freopen64): Likewise.
47255 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47258 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47259 * math/Makefile (tests): Add test-powl.
47260 (CFLAGS-test-powl.c): Define.
47261 * math/test-powl.c: New file.
47263 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47265 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47267 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47270 * iconvdata/gb18030.c: Update to GB18020-2005.
47272 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47274 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47275 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47276 Patch by Aharon Robbins <arnold@skeeve.com>.
47279 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47283 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47284 through underflows.
47287 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47288 point to strings before performing equality test for error_one_per_line
47292 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47296 (struct user_fpregs_struct): Avoid __uint*_t types.
47299 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47300 symbol info. Use it instead of calling _dl_addr locally.
47301 (lock_and_info): New function.
47302 (tr_freehook): Call lock_and_info and pass symbol info as additional
47303 parameter to tr_where.
47304 (tr_mallochook): Likewise.
47305 (tr_reallochook): Likewise.
47306 (tr_memalignhook): Likewise.
47308 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47309 used and couldn't be at all thread-safe.
47311 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47313 * libio/freopen.c (freopen): Don't close old file descriptor
47314 before the new one is opened. Instead dup the new file descriptor
47315 to the old one after the new stream is created.
47316 * libio/freopen64.c (freopen64): Likewise.
47317 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47318 * libio/fileops.c (_IO_new_file_close_it): Handle new
47319 _IO_FLAGS2_NOCLOSE flag.
47320 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47321 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47322 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47323 _IO_FLAGS2_NOCLOSE flag.
47324 * include/unistd.h: Add hidden_proto for dup3.
47325 Define __have_dup3.
47326 * io/dup3.c: Define hidden symbol.
47327 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47330 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47331 when an incomplete long option is used.
47332 * posix/tst-getopt_long1.c: New file.
47333 * posix/Makefile (tests): Add tst-getopt_long1.
47336 * scripts/config.guess: Update from autoconf-2.68.
47337 * scripts/config.sub: Likewise.
47340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47342 (has_cpuclock): ...this. New function.
47343 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47344 macro here based on has_cpuclock code.
47347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47348 First byte (not low byte) is now always NUL.
47349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47352 Use non-cancelable interfaces.
47355 * locale/iso-639.def: Add entry for Sorani.
47358 * include/stdlib.h: Move include protection to the right place.
47359 Define abort_msg_s. Declare __abort_msg with it.
47360 * stdlib/abort.c (__abort_msg): Adjust type.
47361 * assert/assert.c (__assert_fail_base): New function. Majority
47362 of code from __assert_fail. Allocate memory for __abort_msg with
47364 (__assert_fail): Now call __assert_fail_base.
47365 * assert/assert-perr.c: Remove bulk of implementation. Use
47366 __assert_fail_base.
47367 * include/assert.hL Declare __assert_fail_base.
47368 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47370 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47372 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47376 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47377 until all modules are registered in the DTV.
47378 * elf/Makefile: Add rules to build and run tst-tls19.
47379 * elf/tst-tls19.c: New file.
47380 * elf/tst-tls19mod1.c: New file.
47381 * elf/tst-tls19mod2.c: New file.
47382 * elf/tst-tls19mod3.c: New file.
47383 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47386 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47390 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47391 two-byte sequence errors.
47392 * iconvdata/Makefile (tests): Add bug-iconv8.
47393 * iconvdata/bug-iconv8.c: New file.
47396 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47399 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47402 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47403 (dummy_getcfa): New function.
47404 (init): Get _Unwind_GetCFA address, use dummy if not found.
47405 (backtrace_helper): In recursion check, also check whether CFA changes.
47406 (__backtrace): Completely initialize arg.
47408 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47409 storing incomplete byte sequence in state object. Avoid testing for
47410 guaranteed too small input if we know there is enough data available.
47412 2011-05-11 Andreas Schwab <schwab@redhat.com>
47414 * Makeconfig (+link-pie): Indent.
47415 * Rules (binaries-pie): Define if $(have-fpie) and
47417 (binaries-shared): Also filter out $(binaries-pie).
47418 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47419 * nscd/Makefile (others-pie): Add nscd.
47420 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47421 ($(objpfx)nscd): Remove command override.
47422 * login/Makefile (others-pie): Add pt_chown.
47423 ($(objpfx)pt_chown): Remove command override.
47424 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47425 remove command overrides.
47427 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47429 * libio/tst_putwc.c: Fix error messages.
47432 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47433 currently writing and seek to current position when not.
47434 * libio/Makefile (tests): Add bug-fclose1.
47435 * libio/bug-fclose1.c: New file.
47437 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47440 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47441 don't set DF_1_NODELETE here.
47442 (do_lookup_x): When entering new entry test for copy relocation
47443 and if necessary set DF_1_NODELETE flag.
47444 * elf/tst-unique4.cc: New file.
47445 * elf/tst-unique4.h: New file.
47446 * elf/tst-unique4lib.cc: New file.
47447 * elf/Makefile: Add rules to build and run tst-unique4.
47448 Patch by Piotr Bury <pbury@goahead.com>.
47450 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47453 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47456 * misc/mntent_r.c (addmntent): Flush the stream after the output
47459 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47460 (is_trusted_path_normalize): Skip initial colon. Append slash
47461 to empty buffer. Duplicate is_trusted_path code but allow
47462 constructed patch to be prefix.
47463 (is_dst): Allow $ORIGIN followed by /.
47464 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47465 Correct testing of result of is_trusted_path_normalize
47466 (decompose_rpath): Fix warning.
47468 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47471 * grp/initgroups.c (internal_getgrouplist): When we found the service
47472 list through the initgroups entry in nsswitch.conf do not always
47473 continue on a successful lookup. Don't always use the
47474 __nss_group_database value if it is set.
47475 * nss/nsswitch.conf (initgroups): Change action for successful db
47476 lookup to continue for compatibility.
47478 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47481 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47483 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47485 * iconvdata/tst-tables.sh: Likewise.
47486 * iconvdata/cp770.c: New file.
47487 * iconvdata/cp771.c: New file.
47488 * iconvdata/cp772.c: New file.
47489 * iconvdata/cp773.c: New file.
47490 * iconvdata/cp774.c: New file.
47491 * iconvdata/testdata/CP770: New file.
47492 * iconvdata/testdata/CP770..UTF8: New file.
47493 * iconvdata/testdata/CP771: New file.
47494 * iconvdata/testdata/CP771..UTF8: New file.
47495 * iconvdata/testdata/CP772: New file.
47496 * iconvdata/testdata/CP772..UTF8: New file.
47497 * iconvdata/testdata/CP773: New file.
47498 * iconvdata/testdata/CP773..UTF8: New file.
47499 * iconvdata/testdata/CP774: New file.
47500 * iconvdata/testdata/CP774..UTF8: New file.
47502 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47504 * iconvdata/gen-8bit-gap.sh: Likewise.
47505 * iconvdata/gen-8bit.sh: Likewise.
47507 * locale/iso-639.def: Add ary entry.
47510 * locale/C-translit.h.in: Add U20A1 transliteration.
47513 * locale/iso-639.def: Add wae entry.
47514 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47517 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47521 * locale/C-translit.h.in: Add entry for U20B9.
47522 Patch by pravin.d.s@gmail.com.
47524 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47527 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47528 ENAMETOOLONG use generic getcwd.
47529 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47530 in rtld. Use *stat64.
47531 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47532 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47533 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47534 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47535 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47536 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47537 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47538 __fstatat64 macros.
47539 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47540 * dirent/rewinddir.c: Add libc_hidden_def.
47541 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47542 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47544 * include/dirent.h (__alloc_dir): Add flags parameter.
47545 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47546 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47548 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47549 from fdopendir if O_CLOEXEC is already set.
47551 2011-03-15 Alan Modra <amodra@gmail.com>
47553 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47554 l_tls_firstbyte_offset non-zero. Save padding offset in
47555 l_tls_firstbyte_offset for later use.
47556 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47557 freeing static tls block.
47559 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47561 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47562 where #ifdef was intended. The intent is to prevent ARG_MAX from
47563 being defined by the kernel headers.
47565 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47568 * resolv/resolv.h: Define RES_NOTLDQUERY.
47569 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47570 no-tld-query and set RES_NOTLDQUERY.
47571 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47572 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47573 modern BIND to search name as TLD unless forbidden.
47575 2011-05-07 Petr Baudis <pasky@suse.cz>
47576 Ulrich Drepper <drepper@gmail.com>
47579 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47580 (is_trusted_path): ...to here.
47581 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47582 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47583 using is_trusted_path_normalize() in setuid scripts.
47585 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47587 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47588 __BEGIN/__END_DECLS.
47590 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47593 NSS_STATUS_NOTFOUND if no record was found.
47595 2011-05-05 Andreas Schwab <schwab@redhat.com>
47597 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47598 (headers-not-in-tirpc): Remove rpc/netdb.h
47599 * resolv/netdb.h: Revert last change.
47601 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47603 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47604 circular dependency between libgcc.a and libc.a.
47606 2011-05-05 Andreas Schwab <schwab@redhat.com>
47608 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47609 * nis/Makefile: Don't install rpcsvc/*.
47610 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47611 instead of <rpc/types.h>.
47612 (MAXHOSTNAMELEN): Define.
47614 2011-05-03 Andreas Schwab <schwab@redhat.com>
47616 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47618 2011-04-28 Maciej Babinski <mbabinski@google.com>
47621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47622 gethostbyname4_r when IPv6 results are possible.
47624 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47627 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47628 _PC_PIPE_BUF handling.
47630 2011-04-30 Bruno Haible <bruno@clisp.org>
47633 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47634 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47636 * inet/getnameinfo.c (getnameinfo): Likewise.
47638 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47640 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47641 to groups setting in database lookup.
47642 * nss/nsswitch.conf: Add initgroups entry.
47644 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47647 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47649 Patch by Eric Blake <eblake@redhat.com>.
47651 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47653 * sunrpc/Makefile (need-export-routines): Add svc_run.
47654 (routines): Remove svc_run.
47655 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47656 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47657 * sunrpc/svc_run.c (svc_run): Likewise.
47658 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47660 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47663 problem in reallocation in last patch.
47665 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47667 * sunrpc/Makefile: Move inclusion of Rules.
47669 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47671 * nss/nss_files/files-initgroups.c: New file.
47672 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47673 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47674 _nss_files_initgroups_dyn.
47676 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47678 * elf/elf.h (R_ARM_IRELATIVE): Define.
47680 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47682 * po/ru.po: Update from translation team.
47684 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47686 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47689 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47693 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47698 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47700 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47702 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47703 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47706 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47709 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47711 * stdlib/bug-getcontext.c: New file.
47712 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47714 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47716 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47717 instructions into .machine "z9-109".
47718 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47719 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47721 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47723 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47724 between environment variables and auxiliary vector.
47726 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47728 * Makefile: Add rules to build linkobj/libc.so.
47729 * include/libc-symbols.h: Define libc_hidden_nolink.
47730 * include/rpc/auth.h: Mark functions which are to be hidden.
47731 * include/rpc/auth_des.h: Likewise.
47732 * include/rpc/auth_unix.h: Likewise.
47733 * include/rpc/clnt.h: Likewise.
47734 * include/rpc/des_crypt.h: Likewise.
47735 * include/rpc/key_prot.h: Likewise.
47736 * include/rpc/pmap_clnt.h: Likewise.
47737 * include/rpc/pmap_prot.h: Likewise.
47738 * include/rpc/pmap_rmt.h: Likewise.
47739 * include/rpc/rpc_msg.h: Likewise.
47740 * include/rpc/svc.h: Likewise.
47741 * include/rpc/svc_auth.h: Likewise.
47742 * include/rpc/xdr.h: Likewise.
47743 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47744 * nss/Makefile: Likewise.
47745 * sunrpc/Makefile: Don't install headers. Build library with normal
47746 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47747 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47748 for the compat linking library. Remove use of INTDEF/INTUSE.
47749 * sunrpc/auth_none.c: Likewise.
47750 * sunrpc/auth_unix.c: Likewise.
47751 * sunrpc/authdes_prot.c: Likewise.
47752 * sunrpc/authuxprot.c: Likewise.
47753 * sunrpc/clnt_gen.c: Likewise.
47754 * sunrpc/clnt_perr.c: Likewise.
47755 * sunrpc/clnt_raw.c: Likewise.
47756 * sunrpc/clnt_simp.c: Likewise.
47757 * sunrpc/clnt_tcp.c: Likewise.
47758 * sunrpc/clnt_udp.c: Likewise.
47759 * sunrpc/clnt_unix.c: Likewise.
47760 * sunrpc/des_crypt.c: Likewise.
47761 * sunrpc/des_soft.c: Likewise.
47762 * sunrpc/get_myaddr.c: Likewise.
47763 * sunrpc/key_call.c: Likewise.
47764 * sunrpc/key_prot.c: Likewise.
47765 * sunrpc/netname.c: Likewise.
47766 * sunrpc/pm_getmaps.c: Likewise.
47767 * sunrpc/pm_getport.c: Likewise.
47768 * sunrpc/pmap_clnt.c: Likewise.
47769 * sunrpc/pmap_prot.c: Likewise.
47770 * sunrpc/pmap_prot2.c: Likewise.
47771 * sunrpc/pmap_rmt.c: Likewise.
47772 * sunrpc/publickey.c: Likewise.
47773 * sunrpc/rpc_cmsg.c: Likewise.
47774 * sunrpc/rpc_common.c: Likewise.
47775 * sunrpc/rpc_dtable.c: Likewise.
47776 * sunrpc/rpc_prot.c: Likewise.
47777 * sunrpc/rpc_thread.c: Likewise.
47778 * sunrpc/rtime.c: Likewise.
47779 * sunrpc/svc.c: Likewise.
47780 * sunrpc/svc_auth.c: Likewise.
47781 * sunrpc/svc_authux.c: Likewise.
47782 * sunrpc/svc_raw.c: Likewise.
47783 * sunrpc/svc_run.c: Likewise.
47784 * sunrpc/svc_simple.c: Likewise.
47785 * sunrpc/svc_tcp.c: Likewise.
47786 * sunrpc/svc_udp.c: Likewise.
47787 * sunrpc/svc_unix.c: Likewise.
47788 * sunrpc/svcauth_des.c: Likewise.
47789 * sunrpc/xcrypt.c: Likewise.
47790 * sunrpc/xdr.c: Likewise.
47791 * sunrpc/xdr_array.c: Likewise.
47792 * sunrpc/xdr_float.c: Likewise.
47793 * sunrpc/xdr_intXX_t.c: Likewise.
47794 * sunrpc/xdr_mem.c: Likewise.
47795 * sunrpc/xdr_rec.c: Likewise.
47796 * sunrpc/xdr_ref.c: Likewise.
47797 * sunrpc/xdr_sizeof.c: Likewise.
47798 * sunrpc/xdr_stdio.c: Likewise.
47800 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47803 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47804 * sysdeps/ia64/dl-tls.h: Likewise.
47805 * sysdeps/powerpc/dl-tls.h: Likewise.
47806 * sysdeps/s390/dl-tls.h: Likewise.
47807 * sysdeps/sh/dl-tls.h: Likewise.
47808 * sysdeps/sparc/dl-tls.h: Likewise.
47809 * sysdeps/x86_64/dl-tls.h: Likewise.
47810 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47812 2011-03-14 Andreas Schwab <schwab@redhat.com>
47814 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47815 rpath element also skip the following colon.
47816 (expand_dynamic_string_token): Add is_path parameter and pass
47817 down to DL_DST_REQUIRED and _dl_dst_substitute.
47818 (decompose_rpath): Call expand_dynamic_string_token with
47819 non-zero is_path. Ignore empty rpaths.
47820 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47823 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47828 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47831 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47832 Patch by Filipe David Manana <fdmanana@apache.org>.
47834 2011-04-07 Andreas Schwab <schwab@redhat.com>
47836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47837 Maintain aligned stack.
47838 (CHECK_RSP): Remove unused macro.
47840 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47842 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47845 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47847 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47849 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47851 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47854 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47855 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47856 * sysdeps/x86_64/memmove.c: New file.
47857 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47858 (memcpy): Renamed to ...
47859 (__new_memcpy): This.
47860 (memcpy): Provide GLIBC_2_14 memcpy.
47861 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47862 (memcpy): Provide GLIBC_2_2_5 memcpy.
47864 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47867 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47869 2011-03-30 Andreas Schwab <schwab@redhat.com>
47871 * misc/syncfs.c: New file.
47872 * misc/Makefile (routines): Add syncfs.
47873 * posix/unistd.h: Declare syncfs.
47874 * sysdeps/unix/syscalls.list: Add syncfs.
47876 2011-04-01 Andreas Schwab <schwab@redhat.com>
47878 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47885 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47891 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47892 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47898 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47899 sync_file_range.c with -fexceptions.
47900 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47901 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47902 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47903 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47904 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47905 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47907 sync_file_range as cancellation point
47908 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47909 now a wrapper around __call_sync_file_range with cancellation handling.
47910 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47912 function name to __call_sync_file_range.
47913 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47914 Add call_sync_file_range.
47916 2011-04-01 Andreas Schwab <schwab@redhat.com>
47918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47921 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47923 * iconv/iconv.h: Fix typo in comment.
47924 * io/fcntl.h: Likewise.
47925 * libio/stdio.h: Likewise.
47926 * posix/spawn.h: Likewise.
47927 * posix/unistd.h: Likewise.
47928 * stdlib/stdlib.h: Likewise.
47929 * time/time.h: Likewise.
47930 * wcsmbs/wchar.h: Likewise.
47932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47933 open_by_handle): Add.
47934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47935 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47936 Augment a few comments.
47937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47942 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47945 * io/fcntl.h (AT_EMPTY_PATH): Define.
47947 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47949 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47950 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47951 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47953 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47954 * Versions.def: Add GLIBC_2.14.
47955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47958 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47960 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47962 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47964 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47967 * string/test-strncmp.c (do_page_test): New function.
47968 (check2): Likewise.
47969 (test_main): Call check2.
47970 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47972 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47976 Handle cache information in CPU leaf 4.
47977 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47979 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47982 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47983 character representation.
47984 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47986 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47988 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47989 END(__isnan) to END(__isnanf) to match function entry point/label
47990 EALIGN(__isnanf,...).
47992 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47994 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47996 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47999 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48000 copy from the symbol referenced in the relocation to initialize the
48002 Patch by Piotr Bury <pbury@goahead.com>.
48003 * elf/Makefile: Add rules to build and tst-unique3.
48004 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48005 * elf/tst-unique3.cc: New file.
48006 * elf/tst-unique3.h: New file.
48007 * elf/tst-unique3lib.cc: New file.
48008 * elf/tst-unique3lib2.cc: New file.
48010 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48012 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48014 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48015 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48018 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48020 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48021 to-be-loaded object along a path to loader is ld.so.
48023 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48024 Ulrich Drepper <drepper@gmail.com>
48026 * sysdeps/x86_64/memset.S: After aligning destination, code
48027 branches to different locations depending on the value of
48028 misalignment, when multiarch is enabled. Fix this.
48030 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48032 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48033 Set _x86_64_preferred_memory_instruction for AMD processsors.
48034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48035 Set bit_Prefer_SSE_for_memop for AMD processors.
48037 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48039 * libio/fmemopen.c (fmemopen): Optimize a bit.
48041 2011-03-03 Andreas Schwab <schwab@redhat.com>
48043 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48045 2011-03-03 Roland McGrath <roland@redhat.com>
48047 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48049 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48051 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48052 __bzero_ultra1 instead of __memset_ultra1.
48054 2011-02-23 Andreas Schwab <schwab@redhat.com>
48055 Ulrich Drepper <drepper@gmail.com>
48058 * include/link.h (struct link_map): Add l_orig_initfini.
48059 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48060 returning unsuccessfully.
48061 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48062 close of a file loaded at startup, restore the original l_initfini
48064 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48065 list, store the pointer.
48066 * elf/Makefile ($(objpfx)noload-mem): New rule.
48067 (noload-ENV): Define.
48068 (tests): Add $(objpfx)noload-mem.
48069 * elf/noload.c: Include <memcheck.h>.
48070 (main): Call mtrace. Close all opened handles.
48072 2011-02-17 Andreas Schwab <schwab@redhat.com>
48075 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48076 dependencies are missing.
48078 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48080 Fix __if_freereq crash: Unlike the generic version which uses free,
48082 * sysdeps/mach/hurd/ifreq.h: New file.
48084 2011-01-27 Petr Baudis <pasky@suse.cz>
48085 Ulrich Drepper <drepper@gmail.com>
48088 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48089 to extend_alloca().
48090 * stdio-common/bug23.c: New file.
48091 * stdio-common/Makefile (tests): Add bug23.
48093 2010-09-28 Andreas Schwab <schwab@redhat.com>
48094 Ulrich Drepper <drepper@gmail.com>
48097 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48098 before performing relro protection. At old place add assertion
48099 to make sure nothing changed.
48101 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48102 Glauber de Oliveira Costa <glommer@gmail.com>
48104 * elf/elf.h: Add new ARM TLS relocs.
48106 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48109 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48111 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48113 * sysdeps/wordsize-64/tst-writev.c: New file.
48115 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48117 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48118 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48119 insns in _dl_start to prevent a TOC reference before relocs are
48122 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48125 * Makeconfig: Remove RANLIB definition.
48126 * Makerules: Don't use RANLIB.
48127 * aclocal.m4: Remove ranlib test.
48128 * configure.in: No need to check for ranlib.
48129 * elf/rtld-Rules: Don't use RANLIB.
48131 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48133 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48135 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48136 inclusion protection macro.
48138 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48139 SIGRTMIN and SIGRTMAX and print information in that case only when
48140 SIGRTMIN is defined.
48142 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48144 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48145 arginfo fn returning -1.
48147 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48148 and thousands string is zero terminated.
48150 2011-02-03 Andreas Schwab <schwab@redhat.com>
48152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48153 sysdeps/unix/sysv/linux/bits/socket.h.
48155 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48157 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48158 (__CPU_COUNT): Remove old macros.
48159 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48160 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48161 (__CPU_ALLOC, __CPU_FREE): Add macros.
48162 (__sched_cpualloc, __sched_cpufree): Add declarations.
48164 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48166 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48167 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48168 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48169 (readdhstai): Return value of addhstaiX call.
48170 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48171 (addgrbyX): Return value returned by cache_addgr.
48172 (readdgrbyname): Return value returned by addgrbyX.
48173 (readdgrbygid): Likewise.
48174 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48175 (addpwbyX): Return value returned by cache_addpw.
48176 (readdpwbyname): Return value returned by addhstbyX.
48177 (readdpwbyuid): Likewise.
48178 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48179 (addservbyX): Return value returned by cache_addserv.
48180 (readdservbyname): Return value returned by addservbyX:
48181 (readdservbyport): Likewise.
48182 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48183 (addhstbyX): Return value returned by cache_addhst.
48184 (readdhstbyname): Return value returned by addhstbyX.
48185 (readdhstbyaddr): Likewise.
48186 (readdhstbynamev6): Likewise.
48187 (readdhstbyaddrv6): Likewise.
48188 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48189 (readdinitgroups): Return value returned by addinitgroupsX.
48190 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48191 (prune_cache): Keep track of timeout value of re-added entries.
48192 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48193 * nscd/nscd.h: Adjust prototypes of readd* functions.
48195 2011-02-04 Roland McGrath <roland@redhat.com>
48197 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48198 (nis_stats): Likewise.
48199 * nis/nis_modify.c (nis_modify): Likewise.
48200 * nis/nis_remove.c (nis_remove): Likewise.
48201 * nis/nis_add.c (nis_add): Likewise.
48203 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48205 * posix/fnmatch_loop.c: Add some consts.
48207 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48209 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48212 * config.make.in (config-cflags-novzeroupper): Define.
48213 * configure.in: Substitute libc_cv_cc_novzeroupper.
48214 * elf/Makefile (AVX-CFLAGS): Define.
48215 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48216 (CFLAGS-tst-auditmod4a.c): Likewise.
48217 (CFLAGS-tst-auditmod4b.c): Likewise.
48218 (CFLAGS-tst-auditmod6b.c): Likewise.
48219 (CFLAGS-tst-auditmod6c.c): Likewise.
48220 (CFLAGS-tst-auditmod7b.c): Likewise.
48221 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48223 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48225 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48226 function to the callback.
48227 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48229 2011-02-02 Andreas Schwab <schwab@redhat.com>
48231 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48234 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48237 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48239 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48241 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48244 * elf/Makefile: Add rules to build and run new test.
48245 * elf/tst-initorder.c: New file.
48246 * elf/tst-initorder.exp: New file.
48247 * elf/tst-initordera1.c: New file.
48248 * elf/tst-initordera2.c: New file.
48249 * elf/tst-initordera3.c: New file.
48250 * elf/tst-initordera4.c: New file.
48251 * elf/tst-initorderb1.c: New file.
48252 * elf/tst-initorderb2.c: New file.
48253 * elf/tst-order-a1.c: New file.
48254 * elf/tst-order-a2.c: New file.
48255 * elf/tst-order-a3.c: New file.
48256 * elf/tst-order-a4.c: New file.
48257 * elf/tst-order-b1.c: New file.
48258 * elf/tst-order-b2.c: New file.
48259 * elf/tst-order-main.c: New file.
48260 New test case by George Gensure <werkt0@gmail.com>.
48262 2010-10-01 Andreas Schwab <schwab@redhat.com>
48264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48265 decoding ACE if AI_CANONIDN.
48267 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48269 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48271 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48273 * version.h (RELEASE): Bump for 2.13 release.
48274 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48276 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48280 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48281 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48285 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48287 * posix/getconf.c: Update copyright year.
48288 * catgets/gencat.c: Likewise.
48289 * csu/version.c: Likewise.
48290 * debug/catchsegv.sh: Likewise.
48291 * debug/xtrace.sh: Likewise.
48292 * elf/ldconfig.c: Likewise.
48293 * elf/ldd.bash.in: Likewise.
48294 * elf/sprof.c (print_version): Likewise.
48295 * iconv/iconv_prog.c: Likewise.
48296 * iconv/iconvconfig.c: Likewise.
48297 * locale/programs/locale.c: Likewise.
48298 * locale/programs/localedef.c: Likewise.
48299 * malloc/memusage.sh: Likewise.
48300 * malloc/mtrace.pl: Likewise.
48301 * nscd/nscd.c (print_version): Likewise.
48302 * nss/getent.c: Likewise.
48304 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48305 PF_CAIF, and PF_ALG.
48306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48308 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48310 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48311 (modules-names): Use them.
48312 (ifunc-test-modules, ifunc-pie-tests): Define.
48313 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48314 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48315 (test-extras): Likewise.
48316 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48317 $(compile-command.c).
48318 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48319 (all-built-dso): Define.
48320 (check-textrel.out, check-execstack.out): Depend on it.
48322 * configure.in: Don't override --enable-multi-arch.
48324 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48327 * nscd/hstcache.c (tryagain): Define.
48328 (cache_addhst): Return tryagain not notfound for temporary errors.
48329 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48332 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48336 to make the syscall.
48337 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48340 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48341 and fall back to matching as normal character if the string ends before
48342 the matching ']' is found. This is what POSIX requires.
48343 * posix/testfnm.c: Adjust test result.
48344 * posix/globtest.sh: Adjust test result. Add new test.
48345 * posix/tst-fnmatch.input: Likewise.
48346 * posix/tst-fnmatch2.c: Add new test.
48348 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48350 * elf/Makefile (check-execstack): Revert last change. Depend on
48352 (check-execstack.h): New target.
48353 (generated): Add check-execstack.h.
48354 * elf/check-execstack.c: Include "check-execstack.h".
48355 (main): Revert last change.
48356 (handle_file): Return zero if GNU_STACK is absent and
48357 DEFAULT_STACK_PERMS doesn't include PF_X.
48359 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48361 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48362 in child fails because the descriptor is already closed.
48363 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48364 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48365 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48368 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48372 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48373 temporary buffer used to handle multi lookups locally.
48374 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48376 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48378 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48381 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48383 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48384 alignment for SSE2.
48386 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48389 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48390 characters. When rounding increased number of integer digits recompute
48392 * stdio-common/tst-grouping.c: New file.
48393 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48395 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48397 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48398 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48400 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48402 * bits/select.h: Likewise.
48404 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48406 * po/ja.po: Update from translation team.
48408 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48411 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48412 implementation just like for lxstat, fxstatat, et al.
48414 2010-12-27 Jim Meyering <meyering@redhat.com>
48417 * posix/regexec.c (build_trtable): Return failure indication upon
48418 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48420 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48423 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48424 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48425 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48429 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48432 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48433 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48435 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48437 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48438 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48439 script has SORT_BY_INIT_PRIORITY.
48440 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48441 NO_CTORS_DTORS_SECTIONS is defined.
48442 * elf/soinit.c: Likewise.
48443 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48444 NO_CTORS_DTORS_SECTIONS is defined.
48445 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48446 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48447 * sysdeps/sh/init-first.c: Likewise.
48448 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48450 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48452 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48453 always use the slow path.
48455 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48457 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48458 similar rule which adds the sysdep directories to the header search in
48459 order to pick up the correct platform stackinfo.h.
48460 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48461 perform test if it is, otherwise return successfully without testing.
48462 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48463 DEFAULT_STACK_PERMS define in stackinfo.h.
48464 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48465 defined in stackinfo.h.
48466 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48467 DEFAULT_STACK_PERMS defined in stackinfo.h.
48468 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48469 * sysdeps/ia64/stackinfo.h: Likewise.
48470 * sysdeps/s390/stackinfo.h: Likewise.
48471 * sysdeps/sh/stackinfo.h: Likewise.
48472 * sysdeps/sparc/stackinfo.h: Likewise.
48473 * sysdeps/x86_64/stackinfo.h: Likewise.
48474 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48475 PF_X for powerpc64. Retain PF_X for powerpc32.
48477 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48479 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48481 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48482 GETDENTS_64BIT_ALIGNED.
48484 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48486 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48488 2010-12-10 Andreas Schwab <schwab@redhat.com>
48490 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48493 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48494 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48496 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48497 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48499 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48502 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48505 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48507 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48509 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48511 * po/it.po: Update from translation team.
48513 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48518 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48520 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48522 2010-11-24 Andreas Schwab <schwab@redhat.com>
48524 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48526 (gaih_getanswer_slice): Likewise.
48528 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48532 2010-05-31 Petr Baudis <pasky@suse.cz>
48535 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48536 silently even in the chroot mode.
48538 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48540 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48541 last patch a bit. Pretty printing
48543 2010-05-31 Petr Baudis <pasky@suse.cz>
48546 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48547 initialization of skip_initgroups_dyn.
48549 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48551 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48554 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48556 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48558 2010-11-11 Andreas Schwab <schwab@redhat.com>
48560 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48561 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48562 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48563 ($(objpfx)tst-fnmatch-mem): New rule.
48564 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48565 * posix/tst-fnmatch.c (main): Call mtrace.
48567 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48570 Support Intel processor model 6 and model 0x2c.
48572 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48574 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48577 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48580 * string/test-strncasecmp.c (check_result): New function.
48581 (do_one_test): Use it.
48582 (check1): New function.
48583 (test_main): Use it.
48584 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48585 Support strcasecmp and strncasecmp.
48587 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48590 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48593 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48595 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48599 * sysdeps/x86_64/multiarch/bzero.S: New file.
48600 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48601 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48602 * sysdeps/x86_64/multiarch/memset.S: New file.
48603 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48605 Set bit_Prefer_SSE_for_memop for Intel processors.
48606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48608 (index_Prefer_SSE_for_memop): Define.
48609 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48611 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48613 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48616 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48620 (__x86_64_raw_data_cache_size_half): Likewise.
48621 (__x86_64_raw_shared_cache_size): Likewise.
48622 (__x86_64_raw_shared_cache_size_half): Likewise.
48624 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48625 (__x86_64_raw_data_cache_size_half): Likewise.
48626 (__x86_64_raw_shared_cache_size): Likewise.
48627 (__x86_64_raw_shared_cache_size_half): Likewise.
48628 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48629 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48630 and __x86_64_raw_shared_cache_size_half. Round
48631 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48632 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48633 to multiple of 256 bytes.
48635 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48639 of inacessible symlinks. Verify result of symlink before returning it.
48640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48641 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48643 2010-10-28 Erich Ritz <erichritz@gmail.com>
48645 * math/math.h (isinf): Fix typo in comment.
48647 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48649 * po/da.po: Update from translation team.
48651 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48653 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48654 is added to the list.
48656 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48657 Ulrich Drepper <drepper@gmail.com>
48659 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48660 the global list here. Move code to...
48661 (_dl_add_to_namespace_list): ...here. New function.
48662 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48663 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48664 * elf/dl-load.c (lose): Don't remove the element from the list.
48665 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48666 (_dl_map_object): Likewise.
48668 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48671 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48672 into all bytes of SSE register.
48673 Patch by Richard Li <richardpku@gmail.com>.
48675 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48678 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48681 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48683 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48684 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48685 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48691 2010-10-22 Andreas Schwab <schwab@redhat.com>
48693 * include/dlfcn.h (__RTLD_SECURE): Define.
48694 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48695 mode & __RTLD_SECURE instead.
48696 (open_path): Rename preloaded parameter to secure.
48697 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48698 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48699 * elf/dl-deps.c (openaux): Likewise.
48700 * elf/rtld.c (struct map_args): Remove is_preloaded.
48701 (map_doit): Don't use it.
48702 (dl_main): Likewise.
48703 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48704 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48706 2010-09-09 Andreas Schwab <schwab@redhat.com>
48708 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48709 (sysd-rules-targets): Remove duplicates.
48710 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48711 rtld-%.$o dependency.
48713 2010-10-18 Andreas Schwab <schwab@redhat.com>
48715 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48716 _dl_map_object do it.
48718 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48720 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48721 fast fma builtins, define the macros in the C99 standard.
48722 (FP_FAST_FMAF): Likewise.
48723 (FP_FAST_FMAL): Likewise.
48724 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48726 * bits/mathdef.h: Update copyright year.
48727 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48729 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48731 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48732 builtins, define the macros in the C99 standard.
48733 (FP_FAST_FMAF): Likewise.
48734 (FP_FAST_FMAL): Likewise.
48735 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48737 (FP_FAST_FMAF): Likewise.
48739 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48742 * math/libm-test.inc (fma_test): Some new testcases.
48743 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48745 y and infinite z. Do multiplication by C already in long double.
48746 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48748 y and infinite z. Do bitwise or of inexact bit into u.d.
48749 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48750 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48751 * sysdeps/i386/fpu/s_fma.S: Removed.
48752 * sysdeps/i386/fpu/s_fmal.S: Removed.
48754 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48757 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48759 computation is not scheduled after fetestexcept. Fix value
48760 of minimum denormal long double.
48762 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48765 * math/libm-test.inc (fma_test): Add some more tests.
48766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48769 2010-10-15 Andreas Schwab <schwab@redhat.com>
48771 * scripts/data/localplt-s390-linux-gnu.data: New file.
48772 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48774 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48777 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48778 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48780 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48782 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48784 if one of x and y is very large and the other is subnormal.
48785 * sysdeps/s390/fpu/s_fmaf.c: New file.
48786 * sysdeps/s390/fpu/s_fma.c: New file.
48787 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48788 * sysdeps/powerpc/fpu/s_fma.S: New file.
48789 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48790 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48791 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48793 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48796 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48799 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48800 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48801 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48802 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48803 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48806 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48809 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48810 * posix/bug-regex31.input: Add test case.
48812 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48814 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48815 * posix/bug-regex31.input: New file.
48818 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48819 (parse_sub_exp): Fix last change, use postorder.
48821 * posix/bug-regex31.c: New file.
48822 * posix/Makefile: Add rules to build and run bug-regex31.
48824 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48827 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48830 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48831 to have entries in sys_siglist.
48834 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48837 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48840 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48841 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48842 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48843 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48844 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48845 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48846 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48847 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48848 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48849 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48850 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48851 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48852 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48853 * math/ftestexcept.c (fetestexcept): Likewise.
48854 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48855 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48856 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48857 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48858 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48859 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48860 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48862 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48865 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48868 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48870 * string/bug-strstr1.c: New file.
48871 * string/Makefile: Add rules to build and run bug-strstr1.
48873 2010-10-05 Eric Blake <eblake@redhat.com>
48876 * string/str-two-way.h (two_way_long_needle): Always clear memory
48877 when skipping input due to the shift table.
48879 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48882 * malloc/mcheck.c: Handle large requests.
48885 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48886 for strncmp and strncasecmp.
48887 * string/stratcliff.c: Add tests for strcmp and strncmp.
48888 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48890 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48892 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48895 2010-09-30 Andreas Jaeger <aj@suse.de>
48897 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48898 (CGROUP_SUPER_MAGIC): Define.
48899 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48900 Handle btrfs and cgroup file systems.
48901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48904 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48906 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48907 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48909 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48912 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48913 trying to locate the ELF header.
48915 2010-09-27 Andreas Schwab <schwab@redhat.com>
48918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48919 Mask out sign-bit copies when constructing f_fsid.
48921 2010-09-24 Petr Baudis <pasky@suse.cz>
48923 * debug/stack_chk_fail_local.c: Add missing licence exception.
48924 * debug/warning-nop.c: Likewise.
48926 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48929 implementing getdents64 using getdents syscall, set d_type if
48930 __ASSUME_GETDENTS32_D_TYPE.
48932 2010-09-16 Andreas Schwab <schwab@redhat.com>
48934 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48935 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48937 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48940 * posix/unistd.h: Undo change of feature selection for ftruncate from
48943 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48945 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48948 2010-09-20 Andreas Schwab <schwab@redhat.com>
48950 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48952 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48954 2010-09-14 Andreas Schwab <schwab@redhat.com>
48956 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48957 variables after CHECK_SP call.
48958 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48960 2010-09-13 Andreas Schwab <schwab@redhat.com>
48961 Ulrich Drepper <drepper@redhat.com>
48963 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48964 re-relocationg ld.so.
48965 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48966 _dl_init_paths call.
48967 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48970 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48972 * resolv/res_init.c (__res_vinit): Count the default server we added.
48974 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48975 Ulrich Drepper <drepper@redhat.com>
48978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48979 (____longjmp_chk): Use %ebx for saving value across system call.
48982 2010-09-06 Andreas Schwab <schwab@redhat.com>
48984 * manual/Makefile: Don't mix pattern rules with normal rules.
48986 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48988 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48990 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48991 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48992 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48993 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48997 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49000 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49001 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49003 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49005 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49006 * sysdeps/x86_64/addmul_1.S: Likewise.
49007 * sysdeps/x86_64/lshift.S: Likewise.
49008 * sysdeps/x86_64/mul_1.S: Likewise.
49009 * sysdeps/x86_64/rshift.S: Likewise.
49010 * sysdeps/x86_64/sub_n.S: Likewise.
49011 * sysdeps/x86_64/submul_1.S: Likewise.
49013 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49015 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49016 Define __sched_param instead of SCHED_* and sched_param when
49017 <bits/sched.h> is included with __need_schedparam defined.
49018 * bits/sched.h [__need_schedparam]
49019 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49020 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49021 (__defined_schedparam): Define to 1.
49022 (__sched_param): New structure, identical to sched_param.
49023 (__need_schedparam): Undefine.
49025 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49028 (epoll_create1): Declare.
49030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49032 2010-08-31 Andreas Schwab <schwab@redhat.com>
49035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49036 shifting retval into place.
49038 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49040 * nis/rpcsvc/nis.h: Update copyright notice.
49041 * nis/rpcsvc/nis.x: Likewise.
49042 * nis/rpcsvc/nis_callback.h: Likewise.
49043 * nis/rpcsvc/nis_callback.x: Likewise.
49044 * nis/rpcsvc/nis_object.x: Likewise.
49045 * nis/rpcsvc/nis_tags.h: Likewise.
49046 * nis/rpcsvc/yp.h: Likewise.
49047 * nis/rpcsvc/yp.x: Likewise.
49048 * nis/rpcsvc/ypupd.h: Likewise.
49049 * nis/yp_xdr.c: Likewise.
49050 * nis/ypupdate_xdr.c: Likewise.
49052 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49053 mainly the body of pmap_getport. Add parameters to specify timeouts.
49054 (pmap_getport): Use __libc_rpc_getport.
49055 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49056 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49057 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49059 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49064 2010-08-27 Roland McGrath <roland@redhat.com>
49066 * sysdeps/i386/i686/multiarch/Makefile
49067 (CFLAGS-varshift.c): New variable.
49069 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49071 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49072 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49076 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49078 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49080 * sysdeps/x86_64/strlen.S: Unroll the loop.
49081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49082 strlen-sse2 strlen-sse2-bsf.
49083 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49084 __strlen_no_bsf if bit_Slow_BSF is set.
49085 (__strlen_sse42): Removed.
49086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49087 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49089 2010-08-25 Roland McGrath <roland@redhat.com>
49091 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49092 * sysdeps/x86_64/multiarch/varshift.c: New file.
49093 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49094 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49095 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49096 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49098 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49101 strlen-sse2 strlen-sse2-bsf.
49102 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49103 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49104 (__strlen_sse2): Removed.
49105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49108 bit_Slow_BSF for Atom.
49109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49110 (index_Slow_BSF): Define.
49111 (HAS_SLOW_BSF): Define.
49113 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49116 * resolv/res_init.c (__res_vinit): When no server address at all
49117 is given default to loopback.
49119 2010-08-24 Roland McGrath <roland@redhat.com>
49121 * configure.in: Remove config-name.h generation.
49122 * configure: Regenerated.
49123 * config-name.in: File removed.
49124 * scripts/config-uname.sh: New file.
49125 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49126 ($(objdir)config-name.h): New target.
49128 * sunrpc/rpc_parse.h: Avoid nested comment.
49130 2010-08-24 Richard Henderson <rth@redhat.com>
49131 Ulrich Drepper <drepper@redhat.com>
49132 H.J. Lu <hongjiu.lu@intel.com>
49134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49136 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49137 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49138 _mm_alignr_epi8 with _mm_loadu_si128.
49139 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49140 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49141 (__m128i_shift_right): Removed.
49142 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49143 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49144 * sysdeps/x86_64/multiarch/varshift.h: New file.
49145 * sysdeps/x86_64/multiarch/varshift.S: New file.
49147 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49149 * configure.in: Move assembler checks to before sysdep dir checking.
49151 2010-08-20 Petr Baudis <pasky@suse.cz>
49153 * LICENSES: Sync the sunrpc license.
49155 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49157 * sunrpc/auth_des.c: Update copyright notice once again.
49158 * sunrpc/auth_none.c: Likewise.
49159 * sunrpc/auth_unix.c: Likewise.
49160 * sunrpc/authdes_prot.c: Likewise.
49161 * sunrpc/authuxprot.c: Likewise.
49162 * sunrpc/bindrsvprt.c: Likewise.
49163 * sunrpc/clnt_gen.c: Likewise.
49164 * sunrpc/clnt_perr.c: Likewise.
49165 * sunrpc/clnt_raw.c: Likewise.
49166 * sunrpc/clnt_simp.c: Likewise.
49167 * sunrpc/clnt_tcp.c: Likewise.
49168 * sunrpc/clnt_udp.c: Likewise.
49169 * sunrpc/clnt_unix.c: Likewise.
49170 * sunrpc/des_crypt.c: Likewise.
49171 * sunrpc/des_soft.c: Likewise.
49172 * sunrpc/get_myaddr.c: Likewise.
49173 * sunrpc/getrpcport.c: Likewise.
49174 * sunrpc/key_call.c: Likewise.
49175 * sunrpc/key_prot.c: Likewise.
49176 * sunrpc/openchild.c: Likewise.
49177 * sunrpc/pm_getmaps.c: Likewise.
49178 * sunrpc/pm_getport.c: Likewise.
49179 * sunrpc/pmap_clnt.c: Likewise.
49180 * sunrpc/pmap_prot.c: Likewise.
49181 * sunrpc/pmap_prot2.c: Likewise.
49182 * sunrpc/pmap_rmt.c: Likewise.
49183 * sunrpc/rpc/auth.h: Likewise.
49184 * sunrpc/rpc/auth_unix.h: Likewise.
49185 * sunrpc/rpc/clnt.h: Likewise.
49186 * sunrpc/rpc/des_crypt.h: Likewise.
49187 * sunrpc/rpc/key_prot.h: Likewise.
49188 * sunrpc/rpc/netdb.h: Likewise.
49189 * sunrpc/rpc/pmap_clnt.h: Likewise.
49190 * sunrpc/rpc/pmap_prot.h: Likewise.
49191 * sunrpc/rpc/pmap_rmt.h: Likewise.
49192 * sunrpc/rpc/rpc.h: Likewise.
49193 * sunrpc/rpc/rpc_des.h: Likewise.
49194 * sunrpc/rpc/rpc_msg.h: Likewise.
49195 * sunrpc/rpc/svc.h: Likewise.
49196 * sunrpc/rpc/svc_auth.h: Likewise.
49197 * sunrpc/rpc/types.h: Likewise.
49198 * sunrpc/rpc/xdr.h: Likewise.
49199 * sunrpc/rpc_clntout.c: Likewise.
49200 * sunrpc/rpc_cmsg.c: Likewise.
49201 * sunrpc/rpc_common.c: Likewise.
49202 * sunrpc/rpc_cout.c: Likewise.
49203 * sunrpc/rpc_dtable.c: Likewise.
49204 * sunrpc/rpc_hout.c: Likewise.
49205 * sunrpc/rpc_main.c: Likewise.
49206 * sunrpc/rpc_parse.c: Likewise.
49207 * sunrpc/rpc_parse.h: Likewise.
49208 * sunrpc/rpc_prot.c: Likewise.
49209 * sunrpc/rpc_sample.c: Likewise.
49210 * sunrpc/rpc_scan.c: Likewise.
49211 * sunrpc/rpc_scan.h: Likewise.
49212 * sunrpc/rpc_svcout.c: Likewise.
49213 * sunrpc/rpc_tblout.c: Likewise.
49214 * sunrpc/rpc_util.c: Likewise.
49215 * sunrpc/rpc_util.h: Likewise.
49216 * sunrpc/rpcinfo.c: Likewise.
49217 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49218 * sunrpc/rpcsvc/key_prot.x: Likewise.
49219 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49220 * sunrpc/rpcsvc/mount.x: Likewise.
49221 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49222 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49223 * sunrpc/rpcsvc/rex.x: Likewise.
49224 * sunrpc/rpcsvc/rstat.x: Likewise.
49225 * sunrpc/rpcsvc/rusers.x: Likewise.
49226 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49227 * sunrpc/rpcsvc/spray.x: Likewise.
49228 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49229 * sunrpc/rtime.c: Likewise.
49230 * sunrpc/svc.c: Likewise.
49231 * sunrpc/svc_auth.c: Likewise.
49232 * sunrpc/svc_authux.c: Likewise.
49233 * sunrpc/svc_raw.c: Likewise.
49234 * sunrpc/svc_run.c: Likewise.
49235 * sunrpc/svc_simple.c: Likewise.
49236 * sunrpc/svc_tcp.c: Likewise.
49237 * sunrpc/svc_udp.c: Likewise.
49238 * sunrpc/svc_unix.c: Likewise.
49239 * sunrpc/svcauth_des.c: Likewise.
49240 * sunrpc/xcrypt.c: Likewise.
49241 * sunrpc/xdr.c: Likewise.
49242 * sunrpc/xdr_array.c: Likewise.
49243 * sunrpc/xdr_float.c: Likewise.
49244 * sunrpc/xdr_mem.c: Likewise.
49245 * sunrpc/xdr_rec.c: Likewise.
49246 * sunrpc/xdr_ref.c: Likewise.
49247 * sunrpc/xdr_sizeof.c: Likewise.
49248 * sunrpc/xdr_stdio.c: Likewise.
49250 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49253 2010-08-19 Andreas Schwab <schwab@redhat.com>
49255 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49257 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49259 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49260 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49261 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49262 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49263 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49264 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49265 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49266 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49268 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49269 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49270 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49271 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49272 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49274 2010-07-26 Anton Blanchard <anton@samba.org>
49276 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49277 * malloc/arena.c (heap_trim): Likewise.
49279 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49281 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49284 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49286 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49288 * sysdeps/i386/elf/Makefile: New file.
49290 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49292 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49293 from fanotify_init.
49294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49297 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49299 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49301 * sysdeps/multiarch/strcmp.S: Likewise.
49303 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49305 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49306 strncase_l-nonascii.
49307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49308 Add strncase_l-ssse3.
49309 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49310 * sysdeps/x86_64/strcmp.S: Likewise.
49311 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49312 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49313 * sysdeps/x86_64/strncase.S: New file.
49314 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49315 * sysdeps/x86_64/strncase_l.S: New file.
49316 * string/Makefile (strop-tests): Add strncasecmp.
49317 * string/test-strncasecmp.c: New file.
49319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49322 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49325 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49327 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49329 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49331 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49332 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49333 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49335 2010-05-01 Alan Modra <amodra@gmail.com>
49337 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49338 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49339 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49340 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49341 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49342 tidying. Don't tail-call __sigjmp_save for static lib.
49343 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49345 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49346 (CALL_MCOUNT): Add eh info, and nop after bl.
49347 (TAIL_CALL_SYSCALL_ERROR): New macro.
49348 (PSEUDO_RET): Use it.
49349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49350 Correct save location of integer regs and cr.
49351 (_dl_profile_resolve): Correct cr save location. Delete nops
49352 after bl when SHARED. Reduce cfi size a little by better
49353 placement of cfi directives.
49354 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49355 make a stack frame. Instead use parm save area as a temp.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49357 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49359 Don't make a stack frame for parent, use parm save area.
49360 Increase child stack frame to 112 bytes. Don't save unused reg,
49361 and adjust reg usage. Set up cfi on error recovery and
49362 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49364 (__makecontext): Add dummy nop after jump to exit.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49366 Use correct parm save area and cr save, reduce stack frame.
49367 Correct cfi for possible PSEUDO_RET frame setup.
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49369 Branch to local label emitted by PSEUDO_RET rather than
49372 2010-08-12 Andreas Schwab <schwab@redhat.com>
49375 * locale/programs/locale.c (print_assignment): New function.
49376 (show_locale_vars): Use it.
49378 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49380 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49382 (struct statfs64): Likewise.
49383 (_STATFS_F_FLAGS): Define.
49384 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49386 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49387 (ST_VALID): Define locally.
49388 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49389 __statvfs_getflags, use the provided value.
49390 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49391 __ASSUME_STATFS_F_FLAGS.
49393 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49395 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49396 Add sys/fanotify.h.
49397 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49398 fanotify_mask for GLIBC_2.13.
49399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49400 fanotify_init and fanotify_mark.
49401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49402 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49406 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49407 prlimit64 for GLIBC_2.13.
49408 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49415 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49418 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49421 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49422 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49424 * nss/Makefile: Add rules to build and run tst-nss-test1.
49425 * shlib-versions: Add entry for libnss_test1.
49426 * nss/nss_test1.c: New file.
49427 * nss/tst-nss-test1.c: New file.
49429 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49430 (__nss_configure_lookup): Set appropriate entry in
49431 __nss_configure_lookup to true.
49432 * nss/nsswitch.h: Define enum with indeces of databases in
49433 databases and __nss_database_custom arrays. Declare
49434 __nss_database_custom.
49435 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49436 to avoid using nscd when custom rules are installed.
49437 * nss/getXXbyYY_r.c: Likewise.
49438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49440 * nss/nss_files/files-parse.c: Whitespace fixes.
49442 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49445 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49446 * posix/fnmatch_loop.c: Likewise.
49448 2010-07-17 Andi Kleen <ak@linux.intel.com>
49450 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49451 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49452 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49453 * Versions.def [GLIBC_2.13]: Add.
49455 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49458 Also fail if tpwd after pwuid call is NULL.
49460 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49462 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49463 when converting to ms.
49465 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49467 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49468 EOPNOTSUPP errors with ENOTTY.
49469 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49470 EOPNOTSUPP errors with ENOTTY.
49472 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49474 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49475 Add strcasecmp_l-ssse3.
49476 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49478 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49479 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49480 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49482 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49484 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49486 * string/Makefile (strop-tests): Add strcasecmp.
49487 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49488 strcasecmp_l-nonascii.
49489 (gen-as-const-headers): Add locale-defines.sym.
49490 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49491 * sysdeps/x86_64/strcasecmp.S: New file.
49492 * sysdeps/x86_64/strcasecmp_l.S: New file.
49493 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49494 * sysdeps/x86_64/locale-defines.sym: New file.
49495 * string/test-strcasecmp.c: New file.
49497 * string/test-strcasestr.c: Test both ends of the range of characters.
49498 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49500 2010-07-29 Roland McGrath <roland@redhat.com>
49503 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49505 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49507 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49510 2010-07-27 Andreas Schwab <schwab@redhat.com>
49512 * manual/memory.texi (Malloc Tunable Parameters): Document
49515 2010-07-26 Roland McGrath <roland@redhat.com>
49518 * configure.in (-fgnu89-inline check): Set and substitute
49519 gnu89_inline, not libc_cv_gnu89_inline.
49520 * configure: Regenerated.
49521 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49523 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49525 * string/test-strnlen.c: New file.
49526 * string/Makefile (strop-tests): Add strnlen.
49527 * string/tester.c (test_strnlen): Add a few more test cases.
49528 * string/tst-strlen.c: Better error reporting.
49530 * sysdeps/x86_64/strnlen.S: New file.
49532 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49535 lower-latency instructions.
49537 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49539 * string/test-strcasestr.c: New file.
49540 * string/test-strstr.c: New file.
49541 * string/Makefile (strop-tests): Add strstr and strcasestr.
49542 * string/str-two-way.h: Don't undefine MAX.
49543 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49545 2010-07-21 Andreas Schwab <schwab@redhat.com>
49547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49548 strcasestr-nonascii.
49549 (CFLAGS-strcasestr-nonascii.c): Define.
49550 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49552 Remove unused attribute.
49554 2010-07-20 Roland McGrath <roland@redhat.com>
49556 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49557 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49558 ld.so.cache was broken. With it, there is no way to disable dsocaps
49559 like LD_HWCAP_MASK can disable hwcaps.
49561 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49563 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49565 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49567 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49568 call in strcasestr.
49569 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49570 __strcasestr_sse42_nonascii.
49571 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49572 strcasestr-nonascii.c.
49573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49575 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49578 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49580 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49582 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49587 2010-07-06 Andreas Schwab <schwab@redhat.com>
49590 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49593 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49595 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49596 _PC_PIPE_BUF using F_GETPIPE_SZ.
49598 2010-07-05 Roland McGrath <roland@redhat.com>
49600 * manual/arith.texi (Rounding Functions): Fix rint description
49601 implicit in round description.
49603 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49605 * elf/Makefile: Fix linking for a few tests to make recent linker
49608 2010-06-30 Andreas Schwab <schwab@redhat.com>
49610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49611 $(common-objpfx)libc_nonshared.a.
49613 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49615 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49616 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49617 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49618 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49619 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49620 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49621 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49622 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49637 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49638 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49639 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49640 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49641 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49642 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49643 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49644 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49645 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49646 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49647 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49648 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49664 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49666 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49667 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49668 * string/memmove.c (memmove): Renamed to ...
49669 (MEMMOVE): ...this. Default to memmove.
49670 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49671 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49674 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49675 mempcpy-ssse3-back memmove-ssse3-back.
49676 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49679 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49680 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49681 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49682 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49683 * sysdeps/x86_64/multiarch/memmove.c: New file.
49684 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49685 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49686 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49687 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49688 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49691 (index_Fast_Copy_Backward): Define.
49692 (HAS_ARCH_FEATURE): Define.
49693 (HAS_FAST_REP_STRING): Define.
49694 (HAS_FAST_COPY_BACKWARD): Define.
49696 2010-06-21 Andreas Schwab <schwab@redhat.com>
49698 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49699 Restore proper fallback handling.
49701 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49704 * posix/group_member.c (__group_member): Correct checking loop.
49706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49707 OOM in getpwuid_r correctly. Return error number when the caller
49708 should return, otherwise -1.
49709 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49710 call returning > 0 value.
49711 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49713 2010-06-07 Andreas Schwab <schwab@redhat.com>
49715 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49716 libc_nonshared.a from targets in modules-names.
49718 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49720 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49723 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49730 2010-06-02 Andreas Schwab <schwab@redhat.com>
49732 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49734 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49745 2010-06-14 Roland McGrath <roland@redhat.com>
49747 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49749 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49751 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49752 __REDIRECT followed by __THROW.
49753 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49754 * posix/getopt.h (getopt): Likewise.
49756 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49758 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49759 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49760 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49762 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49763 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49765 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49769 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49773 Properly check family and model.
49775 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49777 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49779 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49781 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49783 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49785 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49788 2010-05-19 Andreas Schwab <schwab@redhat.com>
49790 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49793 2010-05-21 Andreas Schwab <schwab@redhat.com>
49795 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49796 and internal_recvmmsg.
49797 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49798 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49799 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49800 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49802 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49803 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49804 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49806 2010-05-20 Andreas Schwab <schwab@redhat.com>
49808 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49810 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49812 POWER7 optimizations.
49813 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49814 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49816 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49818 * version.h: Update for 2.13 development version.
49820 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49822 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49823 exceptions. Return 0.
49825 2010-05-07 Roland McGrath <roland@redhat.com>
49827 * elf/ldconfig.c (main): Add a const.
49829 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49831 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49832 (args_options): Add no-idn option.
49833 (ahosts_keys_int): Add idn_flags to ai_flags.
49834 (parse_option): Handle 'i' option to clear idn_flags.
49836 * malloc/malloc.c (_int_free): Possible race in the most recently
49837 added check. Only act on the data if no current modification
49840 See ChangeLog.17 for earlier changes.