1 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * include/libc-symbols.h: Remove unnecessary check for
5 * nptl/pthreadP.h: Likewise.
6 * sysdeps/aarch64/setjmp.S: Likewise.
7 * sysdeps/alpha/setjmp.S: Likewise.
8 * sysdeps/arm/sysdep.h: Likewise.
9 * sysdeps/i386/setjmp.S: Likewise.
10 * sysdeps/m68k/setjmp.c: Likewise.
11 * sysdeps/posix/getcwd.c: Likewise.
12 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16 * sysdeps/sh/sh3/setjmp.S: Likewise.
17 * sysdeps/sh/sh4/setjmp.S: Likewise.
18 * sysdeps/unix/alpha/sysdep.h: Likewise.
19 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32 * sysdeps/x86_64/setjmp.S: Likewise.
34 2014-08-13 Joseph Myers <joseph@codesourcery.com>
37 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
47 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
48 and __x86_64__ when disabling x87 inline functions.
50 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
53 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
54 asm statement with __cpuid_count.
56 2014-08-12 Mike Frysinger <vapier@gentoo.org>
58 * configure.ac: Change __ehdr_start code to dereference the struct.
59 Run readelf on the output to look for relocations.
60 * configure: Regenerated.
62 2014-08-12 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
67 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
69 2014-08-12 Roland McGrath <roland@hack.frob.com>
71 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
73 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
76 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
77 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
79 2014-08-12 Sean Anderson <seanga2@gmail.com>
81 * malloc/malloc.c: Fix typo in comment.
83 2014-08-09 Allan McRae <allan@archlinux.org>
87 2014-08-08 Mike Frysinger <vapier@gentoo.org>
89 * intl/tst-gettext2.sh: Check every lang file for creation.
91 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
93 * sysdeps/aarch64/fpu/math_private.h
94 (libc_feholdsetround_noex_aarch64_ctx): New function.
96 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
98 * sysdeps/arm/armv6/strcpy.S (strcpy):
99 Fix performance issue in misaligned cases.
101 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
104 Move definition from termios.h.
105 (struct termio): Likewise.
106 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
107 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
108 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
109 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
112 Move definition to ioctl-types.h
113 (struct termio): Likewise.
114 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
115 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
116 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
117 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
120 2014-08-05 Richard Henderson <rth@redhat.com>
122 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
124 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
126 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
128 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
129 Protect libm symbols with IS_IN_libm.
131 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
133 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
135 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
137 2014-08-04 Will Newton <will.newton@linaro.org>
139 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
142 2014-08-04 Mike Frysinger <vapier@gentoo.org>
144 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
145 variants for each function.
147 2014-08-04 Roland McGrath <roland@hack.frob.com>
149 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
151 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
152 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
154 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
155 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
156 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
157 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
158 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
159 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
160 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
161 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
162 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
163 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
164 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
165 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
167 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
169 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
171 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
173 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
175 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
177 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
179 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
181 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
183 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
185 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
187 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
189 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
190 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
191 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
192 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
193 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
194 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
196 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
198 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
200 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
202 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
204 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
205 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
206 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
208 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
209 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
211 2014-08-04 Roland McGrath <roland@hack.frob.com>
213 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
214 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
215 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
216 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
217 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
218 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
220 2014-08-04 Roland McGrath <roland@hack.frob.com>
222 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
223 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
224 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
225 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
227 2014-08-04 Roland McGrath <roland@hack.frob.com>
229 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
230 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
231 (__libc_vfork): Define function under this name.
232 (__vfork): Define as an alias.
233 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
234 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
236 2014-08-04 Roland McGrath <roland@hack.frob.com>
238 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
239 that was previously under [RESET_PID].
240 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
242 2014-08-04 Andreas Schwab <schwab@suse.de>
244 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
246 2014-08-03 Mike Frysinger <vapier@gentoo.org>
248 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
251 2014-08-01 Roland McGrath <roland@hack.frob.com>
253 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
255 2014-08-01 Richard Henderon <rth@redhat.com>
257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
258 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
259 typo in exact zero test.
260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
261 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
264 2014-08-01 Roland McGrath <roland@hack.frob.com>
266 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
267 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
268 * sysdeps/arm/sysdep.h: ... here.
269 [!__ASSEMBLER__]: Include <stdint.h>.
271 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
273 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
274 (HAVE_WCTYPE_H): Likewise.
275 (HAVE_ISWCTYPE): Likewise.
276 (ENABLE_NLS): Likewise.
277 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
278 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
280 * posix/regex_internal.c: Check if DEBUG is defined and is
283 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
284 (HAVE_MBSRTOWCS): Likewise.
285 * posix/fnmatch.c: Include string.h unconditionally.
287 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
289 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
292 2014-07-31 Roland McGrath <roland@hack.frob.com>
294 * sysdeps/generic/safe-fatal.h: New file.
295 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
296 * nptl/forward.c: Include it.
297 (__pthread_unwind): Use __safe_fatal as default action, rather
298 than a bogus use of INTERNAL_SYSCALL that could never work.
300 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
301 * configure.ac (libc_cv_builtin_trap): New test.
302 * configure: Regenerated.
303 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
304 (ABORT_INSTRUCTION): Define using __builtin_trap.
306 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
307 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
308 * sysdeps/nptl/nptl-signals.h: New file.
309 * nptl/pthreadP.h: Include <nptl-signals.h>.
311 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
313 * sysdeps/s390/s390-64/utf16-utf32-z9.c
314 (ONE_DIRECTION): Define.
315 * sysdeps/s390/s390-64/utf8-utf16-z9.c
316 (ONE_DIRECTION): Define.
317 * sysdeps/s390/s390-64/utf8-utf32-z9.c
318 (ONE_DIRECTION): Define.
320 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
322 * sysdeps/s390/Makefile: Delete file.
323 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
324 * sysdeps/s390/__longjmp.c: Delete file.
325 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
326 Remove fields __flags and __reserved.
327 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
329 * sysdeps/s390/rtld-__longjmp.c: Delete file.
330 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
331 * sysdeps/s390/rtld-setjmp.S: Likewise.
332 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
333 * sysdeps/s390/s390-32/__longjmp.c: ... here.
334 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
335 * sysdeps/s390/s390-32/setjmp.S: ... here.
337 (__sigsetjmp): Remove setting __flags field.
338 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
339 * sysdeps/s390/s390-64/__longjmp.c: ... here.
340 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
341 * sysdeps/s390/s390-64/setjmp.S: ... here.
343 (__sigsetjmp): Remove setting __flags field.
344 * sysdeps/s390/setjmp.S: Delete file.
345 * sysdeps/s390/sigjmp.c: Likewise.
346 * sysdeps/s390/v1-longjmp.c: Likewise.
347 * sysdeps/s390/v1-setjmp.h: Likewise.
348 * sysdeps/s390/v1-sigjmp.c: Likewise.
349 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
350 Remove v1-longjmp_chk.
351 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
352 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
353 Include debug/longjmp_chk.c and add versioning.
354 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
355 Include nptl/pt-longjmp.c and add versioning.
356 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
357 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
359 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
361 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
362 (__getcontext): Remove setting __flags field.
364 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
365 Don't restore upper high grps.
366 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
368 (__swapcontext): Remove setting uc_flags field.
369 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
371 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
373 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
375 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
376 (__getcontext): Remove setting __flags field.
378 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
379 (__swapcontext): Remove setting uc_flags field.
380 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
381 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
382 Remove fields uc_high_gprs and __reserved.
383 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
384 New file with reverted content.
385 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
386 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
391 2014-07-31 Andreas Schwab <schwab@suse.de>
393 * config.h.in (HAVE_IFUNC): Define to 0.
394 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
397 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
400 memmove-avx-unaligned, memcpy-avx-unaligned and
401 mempcpy-avx-unaligned.
402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
403 Add tests for AVX memcpy functions.
404 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
405 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
407 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
408 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
410 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
411 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
413 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
414 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
415 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
417 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
420 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
423 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
426 * manual/llio.texi: Add section about open file description locks.
427 * manual/examples/ofdlocks.c: Example of open file description
429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
430 F_OFD_SETLK, and F_OFD_SETLKW.
432 2014-07-23 Allan McRae <allan@archlinux.org>
434 * po/es.po: Update Spanish translation from translation project.
436 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
438 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
440 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
443 * sysdeps/arm/dl-machine.h (elf_machine_rela)
444 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
445 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
447 2014-07-17 Joseph Myers <joseph@codesourcery.com>
450 * math/fesetenv.c (__fesetenv)
451 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
452 * math/feupdateenv.c (__feupdateenv)
453 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
455 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
456 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
457 (__ASSUME_SOCKETCALL): Do not define.
459 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
460 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
461 (__ASSUME_SOCKETCALL): Do not define.
462 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
463 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
464 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
465 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
466 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
467 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
468 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
469 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
472 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
473 (__ASSUME_SOCKETCALL): Do not define.
474 (__ASSUME_IPC64): Define unconditionally.
475 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
476 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
477 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
478 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
479 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
480 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
481 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
484 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
485 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
486 (__ASSUME_SOCKETCALL): Do not define.
487 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
488 (__ASSUME_FUTEX_LOCK_PI): Likewise.
489 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
490 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
491 (__ASSUME_REQUEUE_PI): Define unconditionally.
492 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
493 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
494 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
495 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
496 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
497 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
499 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
500 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
501 (__ASSUME_SOCKETCALL): Do not define.
502 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
503 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
504 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
505 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
507 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
509 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
510 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
511 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
512 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
513 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
514 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
515 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
516 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
517 (__ASSUME_GETCPU_SYSCALL): Likewise.
519 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
520 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
521 cases for individual architectures.
522 * sysdeps/gnu/configure: Regenerated.
523 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
524 LIBC_SLIBDIR_RTLDDIR.
525 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
526 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
527 LIBC_SLIBDIR_RTLDDIR.
528 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
530 LIBC_SLIBDIR_RTLDDIR.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
533 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
534 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
536 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
537 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
539 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
540 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
541 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
542 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
544 * sysdeps/aarch64/shlib-versions: Move to ...
545 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
546 * sysdeps/alpha/shlib-versions: Move to ...
547 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
548 * sysdeps/arm/shlib-versions: Move to ...
549 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
550 * sysdeps/hppa/shlib-versions: Move all contents except for
551 libgcc_s entry to ...
552 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
554 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
555 * sysdeps/ia64/shlib-versions: Move to ...
556 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
558 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
559 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
560 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
561 * sysdeps/microblaze/shlib-versions: Move to ...
562 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
563 * sysdeps/mips/shlib-versions: Move to ...
564 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
566 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
567 * sysdeps/tile/shlib-versions: Move to ...
568 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
569 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
571 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
572 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
574 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
576 2014-07-17 Will Newton <will.newton@linaro.org>
578 * sysdeps/arm/bits/atomic.h
579 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
580 (__arch_compare_and_exchange_bool_16_int): Likewise.
581 (__arch_compare_and_exchange_bool_64_int): Likewise.
583 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
586 2014-07-16 Roland McGrath <roland@hack.frob.com>
588 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
589 just Linux configurations. Test empirically that the compiler sets
590 __ARM_EABI__, rather than using the tuple to decide.
591 * sysdeps/arm/preconfigure: Regenerated.
592 * sysdeps/unix/sysv/linux/arm/configure: File removed.
593 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
594 contents appended ...
595 * sysdeps/arm/configure.ac: ... here.
596 * sysdeps/arm/configure: Regenerated.
598 2014-07-15 Roland McGrath <roland@hack.frob.com>
600 * nptl/pthread_kill.c: New file.
601 * nptl/pthread_sigmask.c: New file.
602 * nptl/pthread_sigqueue.c: New file.
604 * sysdeps/nptl/lowlevellock.h: New file.
605 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
606 * sysdeps/nptl/lowlevellock-futex.h: New file.
608 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
609 Remove dead declarations.
611 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
613 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
614 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
616 * sysdeps/x86_64/configure.ac: Likewise.
617 * sysdeps/i386/configure: Regenerated.
618 * sysdeps/x86_64/configure: Likewise.
619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
620 memset-avx2 only if config-cflags-avx2 is yes.
621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
622 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
624 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
625 only if HAVE_AVX2_SUPPORT is defined.
626 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
628 2014-07-14 Alan Modra <amodra@gmail.com>
631 * elf/elf.h (DT_PPC64_NUM): Correct value.
632 * NEWS: Add to fixed bug list.
634 2014-07-13 Jim Meyering <meyering@fb.com>
637 regex: don't deref NULL upon heap allocation failure
638 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
639 failure in one more place.
640 To trigger the segfault, configure grep -with-included-regex,
641 build it, and run these commands:
642 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
644 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
646 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
648 2014-07-11 Richard Henderson <rth@redhat.com>
650 * sysdeps/aarch64/libm-test-ulps: Update.
652 2014-07-10 Florian Weimer <fweimer@redhat.com>
655 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
656 * nptl/allocatestack.c (__nptl_setxid_error): New function.
657 (__nptl_setxid): Initialize error member. Call
659 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
660 * nptl/descr.h (struct xid_command): Add error member.
661 * nptl/tst-setuid3.c: New file.
662 * nptl/Makefile (tests): Add it.
664 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
668 (__lll_trylock): Use __lll_base_trylock.
669 (__lll_cond_trylock): Likewise.
671 2014-07-10 Roland McGrath <roland@hack.frob.com>
673 * nptl/pthread_create.c (start_thread): Use atomic_or and
674 lll_futex_wake directly rather than lll_robust_dead.
675 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
676 (lll_robust_dead): Macro removed.
677 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
678 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
679 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
680 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
682 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
684 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
685 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
687 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
688 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
689 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
690 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
691 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
693 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
694 Use atomic_compare_and_exchange_val_acq directly rather than
696 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
697 (__lll_robust_trylock, lll_robust_trylock): Removed.
698 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
699 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
700 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
702 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
703 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
704 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
705 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
707 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
710 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
713 2014-07-02 Florian Weimer <fweimer@redhat.com>
715 * manual/locale.texi (Locale Names): New section documenting
716 locale name syntax. Adjust menu and node chaining accordingly.
717 (Choosing Locale): Reference Locale Names, Locale Categories.
718 Mention setting LC_ALL=C. Reflect that name syntax is now
720 (Locale Categories): New section title. Reference Locale Names.
721 LC_ALL is an environment variable, but not a category.
722 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
723 description, now in Locale Name. Reference that section. Locale
724 name syntax is now documented.
726 2014-07-02 Florian Weimer <fweimer@redhat.com>
729 * locale/findlocale.c (name_present, valid_locale_name): New
731 (_nl_find_locale): Use the loc_name variable to store name
732 candidates. Call name_present and valid_locale_name to check and
733 validate locale names. Return an error if the locale is invalid.
735 2014-07-02 Florian Weimer <fweimer@redhat.com>
737 * locale/setlocale.c (setlocale): Use strdup for allocating
740 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
743 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
744 [!_LIBC && ENABLE_NLS]: Include gettext.h.
745 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
747 [USE_UNLOCKED_IO]: Include unlocked-io.h.
748 [!_LIBC]: Include code for Windows and Cygwin.
749 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
750 Include prototype for int strerror_r.
751 [!_LIBC] (is_open): New function.
752 (flush_stdout): New function.
753 (print_errno_message): Use it.
755 (error_at_line): Likewise.
756 (error_tail) Add function attribute macros. Use
759 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
761 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
763 * io/ftw.c: Include sys/param.h unconditionally.
765 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
768 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
770 (freecache): New function to free CACHE on exit.
772 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
775 2014-07-09 David S. Miller <davem@davemloft.net>
777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
779 * sysdeps/sparc/nptl/internaltypes.h: Delete.
780 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
781 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
782 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
783 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
784 * sysdeps/sparc/nptl/sem_init.c: Likewise.
785 * sysdeps/sparc/nptl/sem_post.c: Likewise.
786 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
787 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
788 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
789 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
790 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
791 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
793 2014-07-09 Andreas Schwab <schwab@suse.de>
795 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
797 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
800 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
802 2014-07-09 Will Newton <will.newton@linaro.org>
804 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
805 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
806 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
807 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
808 * sysdeps/hppa/start.S (_start): Likewise.
810 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
812 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
814 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
817 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
819 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
820 after checking that it is non-NULL.
822 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
824 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/powerpc/memmove.c: Remove file.
827 * sysdeps/powerpc/powerpc32/power4/memcopy.h
828 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
829 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
830 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
831 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
832 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
833 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
834 string memmove instead of removed powerpc one.
836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
837 [weak_alias]: Fix compiler warning due trailing data.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
839 [weak_alias]: Likewise.
840 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
841 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
844 (__libc_ifunc_impl_list): Add memmove functions.
846 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
848 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
850 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
852 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
854 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
856 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
858 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
860 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
862 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
864 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
866 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
868 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
870 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
872 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
874 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
876 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
878 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
880 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
883 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
886 to avoid alignment traps in non-cacheable memory.
887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
891 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
892 file: multiarch power7 memmove.
893 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
894 multiarch default memmove.
895 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
896 multiarch memove for powerpc32/power4.
898 * string/bcopy.c: Use full path to include memmove.c.
899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
901 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
903 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
906 and memmove implementations.
907 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
908 optimized multiarch memmove for POWER7/powerpc64.
909 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
910 default multiarch memmove for powerpc64.
911 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
912 multiarch for powerpc64.
913 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
914 for POWER7/powerpc64.
915 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
916 memmove for POWER7/powerpc64.
918 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
921 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
922 __ELF_NATIVE_CLASS equal to 64.
924 2014-07-07 Roland McGrath <roland@hack.frob.com>
926 * sysdeps/nptl/lowlevellock.h: File removed.
928 * NEWS: NPTL is no longer an add-on!
929 * nptl/internaltypes.h: Moved ...
930 * sysdeps/nptl/internaltypes.h: ... here.
931 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
932 * sysdeps/nptl/fork.c: Likewise.
933 * sysdeps/nptl/gai_misc.h: Likewise.
934 * sysdeps/nptl/librt-cancellation.c: Likewise.
935 * sysdeps/nptl/jmp-unwind.c: Likewise.
936 * sysdeps/nptl/setxid.h: Likewise.
937 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
938 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
939 * sysdeps/unix/sysv/linux/arm/Implies: New file.
940 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
941 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
942 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
943 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
944 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
945 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
946 * sysdeps/unix/sysv/linux/mips/Implies: New file.
947 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
948 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
949 * sysdeps/unix/sysv/linux/sh/Implies: New file.
950 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
951 * sysdeps/unix/sysv/linux/tile/Implies: New file.
952 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
953 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
954 * nptl/Makeconfig: Moved ...
955 * sysdeps/nptl/Makeconfig: ... here.
956 * nptl/configure: File removed.
957 * nptl/ANNOUNCE: File removed.
958 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
959 * sysdeps/unix/sysv/linux/configure: Regenerated.
961 * nptl/Makefile (routines): Add libc_pthread_init,
962 libc_multiple_threads, register-atfork and unregister-atfork.
963 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
964 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
965 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
966 pthread-pi-defines.sym, structsem.sym.
967 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
968 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
969 [$(subdir) = nptl] (tests): Add tst-setgetname.
970 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
971 * sysdeps/unix/sysv/linux/sigaction.c: Just include
972 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
973 [!LIBC_SIGACTION]: Remove aliases.
974 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
975 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
976 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
977 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
978 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
979 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
980 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
981 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
983 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
984 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
985 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
986 __libc_allocate_rtsig_private.
987 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
988 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
989 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
990 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
991 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
992 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
993 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
994 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
995 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
996 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
997 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
998 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
999 * nptl/internaltypes.h: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1001 * sysdeps/nptl/jmp-unwind.c: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1003 * nptl/libc-lowlevellock.c: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1005 * nptl/libc_multiple_threads.c: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1007 * nptl/libc_pthread_init.c: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1009 * nptl/lowlevelbarrier.sym: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1011 * nptl/lowlevelcond.sym: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1013 * nptl/lowlevellock.c: ... here.
1014 * nptl/lowlevellock.h: Moved ...
1015 * sysdeps/nptl/lowlevellock.h: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1017 * nptl/lowlevelrobustlock.c: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1019 * nptl/lowlevelrobustlock.sym: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1021 * nptl/lowlevelrwlock.sym: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1023 * nptl/pt-fork.c: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1025 * nptl/pthread-pi-defines.sym: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1027 * nptl/pthread_attr_getaffinity.c: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1029 * nptl/pthread_attr_setaffinity.c: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1031 * nptl/pthread_mutex_cond_lock.c: ... here.
1032 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1034 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1035 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1036 * nptl/pthread_once.c: ... here, replacing old file.
1037 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1038 * nptl/pthread_yield.c: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1040 * nptl/register-atfork.c: ... here.
1041 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1042 * nptl/sem_post.c: ... here.
1043 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1044 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1045 * nptl/sem_timedwait.c: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1047 * nptl/sem_trywait.c: ... here.
1048 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1049 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1050 * nptl/sem_wait.c: ... here.
1051 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1052 * nptl/structsem.sym: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1054 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1055 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1056 * nptl/unregister-atfork.c: ... here.
1057 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1058 * nptl/unwindbuf.sym: ... here.
1059 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1060 * sysdeps/nptl/fork.c: ... here.
1061 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1062 * sysdeps/nptl/fork.h: ... here.
1063 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1064 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1065 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1066 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1067 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1068 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1069 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1071 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1072 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1073 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1074 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1075 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1076 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1077 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1078 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1079 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1080 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1081 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1083 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1085 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1087 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1089 * sysdeps/unix/sysv/linux/raise.c: ... here.
1090 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1091 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1092 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1093 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1095 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1096 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1097 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1098 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1099 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1100 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1101 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1102 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1103 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1104 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1106 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1108 * sysdeps/generic/memcopy.h: Add comment for
1109 MEMCPY_OK_FOR_FWD_MEMMOVE.
1111 2014-07-04 Will Newton <will.newton@linaro.org>
1113 * string/memchr.c: Merge from gnulib.
1114 [_LIBC]: Remove conditionals.
1115 (__ptr_t): Remove define.
1116 (LONG_MAX_32_BITS): Likewise.
1117 (LONG_MAX): Likewise.
1118 (MEMCHR): Use ANSI prototype and optimize algorithm.
1120 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1122 2014-07-03 Roland McGrath <roland@hack.frob.com>
1124 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1125 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1127 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1128 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1129 in a bare environment with no <stdlib.h> installed.
1130 * sysdeps/nptl/configure: Regenerated.
1132 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1134 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1135 AC_EGREP_CPP for kernel header checks, so they only succeed if
1136 including <linux/version.h> actually works right.
1137 * sysdeps/unix/sysv/linux/configure: Regenerated.
1139 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1140 value so it's not diagnosed as unused.
1142 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1143 thing) with "ifeq ($(subdir),rt)".
1145 2014-07-03 Richard Henderson <rth@redhat.com>
1147 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1148 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1149 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1151 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1152 (math_force_eval): New.
1154 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1155 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1157 * sysdeps/alpha/fpu/s_round.c: Remove file.
1158 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1160 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1161 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1162 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1163 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1164 (_dl_start, print_statistics): Likewise.
1165 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1166 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1168 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1169 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1170 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1171 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1173 (HP_SMALL_TIMING_AVAIL): Define.
1174 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1175 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1176 (HP_SMALL_TIMING_AVAIL): Define.
1177 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1178 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1180 * sysdeps/aarch64/hp-timing.h: New file.
1182 * sysdeps/generic/hp-timing.h: Remove dead comment.
1183 * sysdeps/generic/hp-timing-common.h: New file.
1184 * sysdeps/alpha/hp-timing.h: Include it.
1185 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1186 * sysdeps/i386/i686/hp-timing.h: Likewise.
1187 * sysdeps/ia64/hp-timing.h: Likewise.
1188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1189 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1190 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1191 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1192 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1193 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1196 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1197 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1198 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1199 * elf/rtld.c (_dl_start_final): Likewise.
1200 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1201 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1202 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1203 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1204 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1206 (HP_TIMING_DIFF_INIT): Remove.
1207 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1208 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1209 (HP_TIMING_DIFF_INIT): Remove.
1210 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1211 * sysdeps/i386/i686/hp-timing.c: Remove file.
1212 * sysdeps/x86_64/hp-timing.c: Remove file.
1213 * sysdeps/ia64/hp-timing.c: Remove file.
1214 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1215 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1217 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1219 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1220 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1221 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1222 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1224 (HP_TIMING_ACCUM): Remove.
1225 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1227 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1229 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1230 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1231 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1232 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1233 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1234 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1236 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1238 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1240 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1242 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1244 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1246 Sync up with gettext.
1247 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1248 [_MSC_VER]: Include malloc.h
1249 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1250 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1251 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1252 TEMP_FAILURE_RETRY. Cast return of alloca.
1253 [!_LIBC] Call gl_rwlock_init.
1254 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1256 2014-07-02 Roland McGrath <roland@hack.frob.com>
1258 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1259 before checking its value.
1261 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1263 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1265 * debug/memcpy_chk.c: Don't include pagecopy.h.
1266 * debug/mempcpy_chk.c: Likewise.
1267 * string/memcpy.c: Likewise.
1268 * string/memmove.c: Likewise.
1269 * sysdeps/powerpc/memmove.c: Likewise.
1270 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1271 definition of PAGE_COPY_FWD_MAYBE here...
1272 * sysdeps/generic/pagecopy.h: ... from here.
1273 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1275 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1282 (__libc_ifunc_impl_list): Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1284 multiarch strcat for PPC64.
1285 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1286 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1288 2014-07-02 Roland McGrath <roland@hack.frob.com>
1290 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1292 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1294 * intl/loadmsgcat.c: Remove declaration of
1295 get_sysdep_segment_value.
1296 (get_sysdep_segment_value): Use ISO C style.
1297 (_nl_load_domain): Use ISO C style. Get rid of redundant
1298 semicolon. Fix typo and formatting in comment.
1299 (_nl_unload_domain): Use ISO C style.
1301 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1303 2014-07-02 Will Newton <will.newton@linaro.org>
1305 * malloc/obstack.c: Merge from gnulib master.
1306 [HAVE_CONFIG_H]: Remove conditional code.
1307 [!_LIBC]: Include config.h.
1308 [!ELIDE_CODE]: Don't include inttypes.h, include
1309 stdint.h unconditionally.
1310 (print_and_abort): Mark as _Noreturn.
1311 (_obstack_allocated_p): Mark as __attribute_pure__.
1312 (obstack_free): Rename to __obstack_free.
1313 [!__attribute__]: Remove conditional code.
1314 * malloc/obstack.h: Merge from gnulib master.
1315 [__cplusplus]: Move conditional down.
1316 [!__attribute_pure__]: Define __attribute_pure__ here
1317 if it is not already defined.
1318 (_obstack_memory_used): Mark as __attribute_pure__.
1319 [!__obstack_free]: Define as obstack_free.
1320 [__GNUC__]: Remove check for ancient NeXT gcc.
1322 2014-07-02 Will Newton <will.newton@linaro.org>
1323 Paul Eggert <eggert@cs.ucla.edu>
1325 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1327 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1329 * resolv/gethnamaddr.c: Add comment warning that the file is
1332 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1334 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1337 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1338 entry for aio_cancel and aio_cancel64.
1339 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1340 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1341 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1342 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1343 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1344 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1345 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1346 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1347 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1348 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1349 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1350 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1351 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1353 2014-07-01 Roland McGrath <roland@hack.frob.com>
1355 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1356 * nptl/pthread_mutex_lock.c: Likewise.
1357 * nptl/pthread_mutex_timedlock.c: Likewise.
1358 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1360 2014-07-01 Richard henderson <rth@redhat.com>
1362 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1363 (__isnan, __isnanl): Remove.
1364 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1366 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1368 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1370 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1372 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1374 * resolv/nss_dns/dns-host.c (getanswer_r)
1375 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1377 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1380 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1382 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1383 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1385 2014-07-01 Roland McGrath <roland@hack.frob.com>
1387 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1388 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1390 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1391 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1393 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1394 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1396 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1397 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1399 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1400 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1401 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1402 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1404 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1405 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1406 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1407 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1410 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1412 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1423 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1425 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1426 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1427 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1429 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1433 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1436 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1437 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1438 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1439 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1440 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1442 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1444 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1445 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1446 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1449 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1453 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1455 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1456 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1458 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1460 * sysdeps/arm/libm-test-ulps: Regenerated.
1462 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1463 Roland McGrath <roland@hack.frob.com>
1465 * test-skeleton.c (signal_handler): Kill the whole process group
1466 before killing the child individually.
1467 (main): Report any failure on `setpgid'.
1469 2014-06-30 Roland McGrath <roland@hack.frob.com>
1471 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1472 from _TLS_H to _ARM_NPTL_TLS_H.
1473 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1474 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1476 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1479 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1480 (__expm1l): Return argument unchanged when small but not
1483 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1485 (_FP_UNPACK_RAW_1_P): Likewise.
1486 (_FP_PACK_RAW_1): Likewise.
1487 (_FP_PACK_RAW_1_P): Likewise.
1488 (_FP_MUL_MEAT_1_wide): Likewise.
1489 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1490 (_FP_MUL_MEAT_1_hard): Likewise.
1491 (_FP_DIV_MEAT_1_imm): Likewise.
1492 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1493 (_FP_DIV_MEAT_1_udiv): Likewise.
1494 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1495 (_FP_UNPACK_RAW_2): Likewise.
1496 (_FP_UNPACK_RAW_2_P): Likewise.
1497 (_FP_PACK_RAW_2): Likewise.
1498 (_FP_PACK_RAW_2_P): Likewise.
1499 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1500 (_FP_MUL_MEAT_2_wide): Likewise.
1501 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1502 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1503 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1504 (_FP_MUL_MEAT_2_gmp): Likewise.
1505 (_FP_DIV_MEAT_2_udiv): Likewise.
1506 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1507 (_FP_FRAC_SRL_4): Likewise.
1508 (_FP_FRAC_SRST_4): Likewise.
1509 (_FP_FRAC_SRS_4): Likewise.
1510 (_FP_UNPACK_RAW_4): Likewise.
1511 (_FP_UNPACK_RAW_4_P): Likewise.
1512 (_FP_PACK_RAW_4): Likewise.
1513 (_FP_PACK_RAW_4_P): Likewise.
1514 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1515 (_FP_MUL_MEAT_4_wide): Likewise.
1516 (_FP_MUL_MEAT_4_gmp): Likewise.
1517 (umul_ppppmnnn): Likewise.
1518 (_FP_DIV_MEAT_4_udiv): Likewise.
1519 (__FP_FRAC_ADD_4): Likewise.
1520 (__FP_FRAC_SUB_3): Likewise.
1521 (__FP_FRAC_SUB_4): Likewise.
1522 (__FP_FRAC_DEC_3): Likewise.
1523 (__FP_FRAC_DEC_4): Likewise.
1524 (__FP_FRAC_ADDI_4): Likewise.
1525 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1526 (_FP_FRAC_SRL_8): Likewise.
1527 (_FP_FRAC_SRS_8): Likewise.
1529 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1531 (FP_UNPACK_RAW_EP): Likewise.
1532 (FP_PACK_RAW_E): Likewise.
1533 (FP_PACK_RAW_EP): Likewise.
1534 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1535 (_FP_ISSIGNAN): Likewise.
1536 (_FP_ADD_INTERNAL): Likewise.
1537 (_FP_FMA): Likewise.
1538 (_FP_CMP): Likewise.
1539 (_FP_SQRT): Likewise.
1540 (_FP_TO_INT): Likewise.
1541 (_FP_FROM_INT): Likewise.
1542 (FP_EXTEND): Likewise.
1543 (_FP_DIV_MEAT_N_loop): Likewise.
1545 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1547 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1550 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1553 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1554 result with correct sign in case of exponents that produce
1555 overflow except for X very close to 1.
1557 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1559 mktime: merge #if/#ifdef usage from glibc
1560 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1561 as that works with both Glibc's and Gnulib's style.
1562 See thread starting at Siddhesh Poyarekar's bug report at:
1563 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1565 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1567 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1568 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1569 * sysdeps/tile/tilegx/memmove.c: Remove file.
1571 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1573 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1574 abi-name definition.
1575 * scripts/soversions.awk: Do not handle or generate ABI lines.
1576 * shlib-versions: Remove ABI entries.
1577 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1578 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1580 2014-06-27 Roland McGrath <roland@hack.frob.com>
1582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1583 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1584 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1590 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1593 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1595 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1613 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1616 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1621 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1630 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1635 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1638 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1639 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1643 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1645 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1646 Identical file removed.
1647 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1649 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1651 Identical file removed.
1652 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1656 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1658 Identical file removed.
1659 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1662 Identical file removed.
1663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1666 Identical file removed.
1667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1670 Identical file removed.
1671 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1673 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1675 Identical file removed.
1676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1678 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1682 Identical file removed.
1683 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1685 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1687 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1688 Identical file removed.
1689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1691 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1693 Identical file removed.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1696 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1703 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1704 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1705 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1707 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1708 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1709 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1710 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1711 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1713 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1716 * nscd/nscd.c (monitor_child): Return exit status of child
1717 instead of return value from wait syscall.
1719 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1721 * configure.ac (libc_commonpagesize): Remove variable.
1722 (libc_relro_required): Likewise.
1723 (libc_cv_z_relro): Remove configure test.
1724 * configure: Regenerated.
1725 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1727 (libc_relro_required): Likewise.
1728 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1729 (libc_relro_required): Likewise.
1730 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1731 (libc_relro_required): Likewise.
1732 * sysdeps/arm/preconfigure: Regenerated.
1733 * sysdeps/ia64/preconfigure: Remove file.
1734 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1736 (libc_relro_required): Likewise.
1740 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1741 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1742 recompute overflowing results in original rounding mode.
1743 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1744 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1745 recompute overflowing results in original rounding mode.
1746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1747 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1748 recompute overflowing results in original rounding mode.
1749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1750 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1751 recompute overflowing results in original rounding mode.
1752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1753 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1754 recompute overflowing results in original rounding mode.
1755 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1756 (libc_feholdsetround_ctx): New macro.
1757 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1761 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1763 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1764 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1765 corresponding .cpsetup call.
1767 2014-06-26 Roland McGrath <roland@hack.frob.com>
1769 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1770 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1771 * sysdeps/arm/Makefile [$(subdir) = csu]
1772 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1773 (static-only-routines): Add aeabi_read_tp here.
1774 (shared-only-routines): Add libc-aeabi_read_tp here.
1775 (CFLAGS-libc-start.c): Add -fexceptions here.
1776 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1777 (sysdep_routines, static-only-routines, shared-only-routines):
1778 Don't add to these here.
1779 (CFLAGS-libc-start.c): Likewise.
1781 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1782 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1783 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1784 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1785 * sysdeps/arm/Makefile [$(subdir) = rt]
1786 (librt-sysdep_routines, librt-shared-only-routines):
1787 Append rt-aeabi_unwind_cpp_pr1 here.
1788 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1789 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1790 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1791 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1792 Append nptl-aeabi_unwind_cpp_pr1 here.
1793 (tests): Filter out tst-cleanupx4 here.
1794 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1795 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1796 Don't do those here.
1798 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1800 * scripts/list-sources.sh: Do not handle ports specially.
1802 2014-06-26 Roland McGrath <roland@hack.frob.com>
1804 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1805 * sysdeps/arm/feupdateenv.c: Likewise.
1807 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1809 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1811 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1812 trailing whitespace removed.
1813 * scripts/config.guess: Update to version 2014-03-23.
1814 * scripts/config.sub: Update to version 2014-05-01
1815 * scripts/install-sh: Update to version 2013-12-25.23.
1816 * scripts/move-if-change: Update from gnulib.
1818 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 * debug/memmove_chk.c: Remove pagecopy.h include.
1822 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1824 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1825 identical to gnulib mktime.
1827 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1829 * configure.ac: Do not test for machine being rs6000. Do not test
1831 * configure: Regenerated.
1833 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1835 * configure: Regenerated.
1836 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1837 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1838 Remove configure test.
1839 * sysdeps/arm/configure: Regenerated.
1840 * sysdeps/nptl/configure.ac: Do not check
1841 libc_cv_asm_cfi_directives.
1842 * sysdeps/nptl/configure: Regenerated.
1843 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1844 * sysdeps/x86_64/nptl/configure: Remove generated file.
1845 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1847 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1849 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1851 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1852 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1853 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1856 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1857 instead of whether it is defined.
1858 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1859 * sysdeps/hppa/dl-machine.h: Likewise.
1860 * sysdeps/ia64/dl-machine.h: Likewise.
1861 * sysdeps/m68k/dl-machine.h: Likewise.
1862 * sysdeps/microblaze/dl-machine.h: Likewise.
1863 * sysdeps/mips/dl-machine.: Likewise.
1864 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1865 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1866 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1867 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1868 * sysdeps/sh/dl-machine.h: Likewise.
1869 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1870 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1871 * sysdeps/tile/dl-machine.h: Likewise.
1872 * sysdeps/x86_64/dl-machine.h: Likewise.
1874 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1876 (verify_persistent_db): Likewise.
1878 2014-06-26 Roland McGrath <roland@hack.frob.com>
1880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1881 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1883 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1886 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1889 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1891 Identical file removed.
1892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1893 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1895 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1899 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1901 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1904 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1911 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1915 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1917 Identical file removed.
1918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1919 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1924 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1938 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1941 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1946 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1952 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1953 * sysdeps/unix/sysv/linux/s390/Versions
1954 (libpthread: GLIBC_2.19): New version set.
1955 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1957 (librt: GLIBC_2.3.3): New version set.
1958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1960 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1962 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1964 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1966 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1968 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1970 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1972 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1974 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1975 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1976 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1977 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1978 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1979 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1980 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1982 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1984 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1986 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1988 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1994 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1996 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1998 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2000 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2002 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2006 (__libc_vfork): Define the function under this name.
2007 [!NOT_IN_libc] (__vfork): Make this an alias.
2008 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2010 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2011 (__libc_vfork): Define the function under this name.
2012 [!NOT_IN_libc] (__vfork): Make this an alias.
2013 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2014 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2015 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2018 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2021 code that was previously under [RESET_PID].
2022 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2023 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2026 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2027 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2028 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2029 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2030 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2031 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2032 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2033 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2034 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2035 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2038 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2039 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2044 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2046 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2047 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2048 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2050 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2054 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2055 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2056 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2057 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2058 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2060 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2061 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2062 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2063 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2064 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2065 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2066 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2068 2014-06-25 Roland McGrath <roland@hack.frob.com>
2070 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2071 that was previously under [RESET_PID].
2072 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2074 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2076 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2077 not undefine and redefine.
2078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2079 [O_CLOEXEC]: Make code unconditional.
2080 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2081 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2082 <kernel-features.h>.
2083 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2084 conditional variable definition.
2085 (shm_open) [O_CLOEXEC]: Make code unconditional.
2086 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2089 * configure.ac (USE_REGPARMS): Don't define here.
2090 * configure: Regenerated.
2091 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2092 * sysdeps/i386/configure: Regenerated.
2094 * nptl/createthread.c: Don't include kernel-features.h.
2095 * nptl/pthread_cancel.c: Likewise.
2096 * nptl/pthread_condattr_setclock.c: Likewise.
2097 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2098 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2099 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2100 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2101 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2102 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2103 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2106 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2107 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2108 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2109 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2110 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2111 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2112 * nscd/gai.c: Likewise.
2113 * nss/nss_db/db-open.c: Likewise.
2114 * sysdeps/generic/ldsodefs.h: Likewise.
2115 * sysdeps/sh/nptl/tls.h: Likewise.
2116 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2117 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2118 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2119 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2120 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2121 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2122 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2123 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2124 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2125 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2126 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2127 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2128 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2129 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2130 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2131 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2132 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2133 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2134 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2135 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2137 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2138 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2139 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2140 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2144 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2145 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2146 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2147 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2148 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2149 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2150 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2151 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2152 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2153 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2154 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2155 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2156 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2157 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2158 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2159 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2160 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2161 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2162 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2163 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2164 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2165 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2166 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2167 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2168 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2169 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2170 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2171 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2172 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2196 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2197 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2199 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2200 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2202 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2203 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2204 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2205 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2206 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2207 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2208 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2209 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2210 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2211 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2213 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2214 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2215 * sysdeps/unix/sysv/linux/system.c: Likewise.
2216 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2217 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2218 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2219 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2220 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2221 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2222 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2224 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2225 * configure: Regenerated.
2226 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2228 * configure.ac (base_machine): Do not set specially for particular
2230 * configure: Regenerated.
2231 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2232 settings from configure.ac.
2233 * sysdeps/i386/preconfigure: New file.
2234 * sysdeps/s390/preconfigure: Likewise.
2235 * sysdeps/sh/preconfigure: Likewise.
2236 * sysdeps/sparc/preconfigure: Likewise.
2238 2014-06-25 Roland McGrath <roland@hack.frob.com>
2240 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2241 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2242 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2243 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2244 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2245 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2246 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2247 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2248 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2249 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2250 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2251 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2252 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2254 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2255 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2257 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2258 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2260 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2261 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2262 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2263 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2264 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2265 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2266 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2267 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2268 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2269 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2270 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2271 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2272 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2273 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2274 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2275 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2276 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2277 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2278 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2279 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2281 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2284 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2285 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2287 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2288 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2289 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2290 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2291 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2292 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2293 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2294 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2295 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2296 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2297 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2300 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2305 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2308 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2313 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2361 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2366 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2370 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2372 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2374 * timezone/checktab.awk: Update from tzcode 2014e.
2375 * timezone/private.h: Likewise.
2376 * timezone/tzfile.h: Likewise.
2377 * timezone/zdump.c: Likewise.
2378 * timezone/zic.c: Likewise.
2380 * sysdeps/unix/sysv/linux/kernel-features.h
2381 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2383 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2384 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2385 Remove conditional code.
2387 2014-06-25 Will Newton <will.newton@linaro.org>
2389 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2390 (_dl_arm_cap_flags): Add HWCAP2 values.
2391 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2392 (_DL_HWCAP_COUNT): Increase to 37.
2393 (_DL_HWCAP_LAST): New define.
2394 (_DL_HWCAP2_LAST): New define.
2395 (_dl_procinfo): Add support for printing
2397 (_dl_string_hwcap): Use _dl_hwcap_string.
2399 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2403 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2405 * README: Do not mention ports directory.
2407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2409 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2410 <kernel-features.h>.
2411 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2412 conditional variable definition.
2413 (__futimes): Update comment.
2414 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2415 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2418 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2419 arguments close to 0.
2420 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2422 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2424 * math/auto-libm-test-in: Add more tests of exp10.
2425 * math/auto-libm-test-out: Regenerated.
2426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2428 * sysdeps/unix/sysv/linux/kernel-features.h
2429 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2430 * sysdeps/unix/sysv/linux/readv.c: Do not include
2431 <kernel-features.h>.
2432 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2433 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2434 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2436 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2438 * sysdeps/unix/sysv/linux/writev.c: Do not include
2439 <kernel-features.h>.
2440 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2441 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2442 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2444 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2447 2014-06-25 Will Newton <will.newton@linaro.org>
2449 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2450 comment changes throughout the file. Remove checks
2451 for HAVE_*_H definitions that are not required.
2452 (__gen_tempname): Call abort if an unknown kind value is
2455 2014-06-25 Andreas Schwab <schwab@suse.de>
2458 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2459 scalbln, scalblnf, scalblnl in libc.
2461 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2464 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2465 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2466 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2468 2014-06-24 Roland McGrath <roland@hack.frob.com>
2470 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2471 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2472 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2473 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2475 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2476 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2478 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2480 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2481 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2482 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2483 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2484 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2485 * sysdeps/x86/bits/semaphore.h: ... here.
2486 * sysdeps/x86/nptl/elide.h: Moved ...
2487 * sysdeps/x86/elide.h: ... here.
2488 * sysdeps/x86_64/nptl/Implies: File removed.
2489 * sysdeps/i386/nptl/Implies: File removed.
2491 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2495 return the argument for normal arguments with exponent below -64.
2496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2498 * math/auto-libm-test-in: Add another test of expm1.
2499 * math/auto-libm-test-out: Regenerated.
2502 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2503 calling __erfcl for arguments at least 16.
2504 * math/auto-libm-test-in: Add more tests of erf.
2505 * math/auto-libm-test-out: Regenerated.
2507 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2508 individual architectures.
2509 * sysdeps/unix/sysv/linux/configure: Regenerated.
2510 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2511 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2512 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2513 (ldd_rewrite_script): Define variable.
2514 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2519 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2520 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2521 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2522 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2523 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2524 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2525 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2526 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2528 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2531 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2532 Rename member __data.d to __data.__elision_data.
2534 2014-06-24 Wilco <wdijkstr@arm.com>
2536 * NEWS: Add 16918 to fixed bug list.
2538 2014-06-24 Wilco <wdijkstr@arm.com>
2540 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2542 2014-06-24 Wilco <wdijkstr@arm.com>
2544 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2545 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2546 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2547 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2548 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2549 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2550 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2553 2014-06-24 Wilco <wdijkstr@arm.com>
2555 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2557 2014-06-24 Wilco <wdijkstr@arm.com>
2559 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2560 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2561 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2562 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2564 2014-06-24 Wilco <wdijkstr@arm.com>
2567 * sysdeps/arm/feupdateenv.c (feupdateenv):
2568 Rewrite to reduce FPSCR accesses and fix return value.
2570 2014-06-24 Wilco <wdijkstr@arm.com>
2572 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2573 Optimize to avoid unnecessary FPSCR writes.
2574 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2575 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2576 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2577 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2579 2014-06-24 Wilco <wdijkstr@arm.com>
2581 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2582 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2583 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2584 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2585 Call libc_fetestexcept_vfp.
2586 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2587 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2588 __SOFTFP__ ifdef so that they can be built for softfp.
2590 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2592 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2593 argument type signed char.
2595 * Makerules (check-abi): Dump diff of symlist if the test
2598 2014-06-23 Roland McGrath <roland@hack.frob.com>
2600 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2603 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2604 Remove unused variable ST.
2606 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2611 small arguments before calling __expm1.
2612 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2613 small arguments before calling __expm1f.
2614 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2615 small arguments before calling __expm1l.
2616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2618 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2619 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2620 spurious underflow for some cosh tests.
2621 * math/auto-libm-test-out: Regenerated.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2626 (__ieee754_y1): Set errno if return value overflows.
2627 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2628 (__ieee754_y1f): Set errno if return value overflows.
2629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2630 (__ieee754_y1l): Set errno if return value overflows.
2631 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2632 (__ieee754_y1l): Set errno if return value overflows.
2633 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2634 * math/auto-libm-test-out: Regenerated.
2636 * math/gen-auto-libm-tests.c: Document use of
2637 ignore-zero-inf-sign.
2638 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2639 (input_flags): Add ignore-zero-inf-sign.
2640 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2641 * math/gen-libm-test.pl (generate_testfile): Handle
2642 ignore-zero-inf-sign.
2643 * math/auto-libm-test-in: Mark some cpow tests with
2644 ignore-zero-inf-sign and some with xfail-rounding.
2645 * math/auto-libm-test-out: Regenerated.
2646 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2647 * sysdeps/i386/fpu/libm-test-ulps: Update.
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2651 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2652 overflowing or underflowing operations take place with sign of
2654 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2655 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2656 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2657 (__ieee754_pow): Recompute overflowing and underflowing results in
2658 original rounding mode.
2659 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2660 (__powl_helper): Allow negative argument X and scale negated value
2661 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2663 overflowing or underflowing operations take place with sign of
2665 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2667 * math/auto-libm-test-in: Add more tests of pow.
2668 * math/auto-libm-test-out: Regenerated.
2669 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2670 (pow_tonearest_test_data): Remove.
2671 (pow_test_tonearest): Likewise.
2672 (pow_towardzero_test_data): Likewise.
2673 (pow_test_towardzero): Likewise.
2674 (pow_downward_test_data): Likewise.
2675 (pow_test_downward): Likewise.
2676 (pow_upward_test_data): Likewise.
2677 (pow_test_upward): Likewise.
2678 (main): Don't call removed functions.
2679 * sysdeps/i386/fpu/libm-test-ulps: Update.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2682 2014-06-23 Roland McGrath <roland@hack.frob.com>
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2858 2014-06-23 Will Newton <will.newton@linaro.org>
2859 Wilco <wdijkstr@arm.com>
2861 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2862 implementation. Include get-rounding-mode.h.
2863 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2864 [!libc_feholdsetround_noex_ctx]: Define
2865 libc_feholdsetround_noex_ctx.
2866 [!libc_feholdsetround_noexf_ctx]: Define
2867 libc_feholdsetround_noexf_ctx.
2868 [!libc_feholdsetround_noexl_ctx]: Define
2869 libc_feholdsetround_noexl_ctx.
2870 (libc_feholdsetround_ctx): New function.
2871 (libc_feresetround_ctx): New function.
2872 (libc_feholdsetround_noex_ctx): New function.
2873 (libc_feresetround_noex_ctx): New function.
2875 2014-06-23 Roland McGrath <roland@hack.frob.com>
2877 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2878 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2879 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2880 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2881 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2882 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2884 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2885 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2886 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2887 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2888 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2889 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2890 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2891 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2892 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2896 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2898 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2899 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2904 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2913 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2916 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2921 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2925 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2926 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2927 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2928 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2932 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2934 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2943 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2948 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2955 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2959 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2961 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2962 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2963 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2976 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2990 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2993 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2994 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2995 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2996 (IPV6_PMTUDISC_INTERFACE): Likewise.
2997 (IPV6_PMTUDISC_OMIT): Likewise.
2999 2014-06-23 Andreas Schwab <schwab@suse.de>
3001 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3002 Remove unused errout label.
3004 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3006 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3007 macro: hardware supports Vector Crypto instructions.
3009 2014-06-23 Will Newton <will.newton@linaro.org>
3011 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3012 rather than __builtin_expect.
3014 * elf/dl-lookup.c (undefined_msg): Remove variable.
3015 (_dl_lookup_symbol_x): Replace undefined_msg with string
3018 * elf/dl-lookup.c (do_lookup_unique): New function.
3019 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3020 to a separate function.
3022 2014-06-23 Andreas Schwab <schwab@suse.de>
3025 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3026 before reading the next line.
3028 2014-06-23 Will Newton <will.newton@linaro.org>
3030 * test-skeleton.c (signal_handler): Use printf and %m
3031 rather than perror. Use printf rather than fprintf to
3032 stderr. Use puts rather than fputs to stderr.
3035 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3037 * nscd/nscd.c (thread_info_t): Remove typedef.
3038 (thread_info): Remove variable.
3040 2014-06-21 Allan McRae <allan@archlinux.org>
3042 * NEWS: Mention CVE-2014-4043.
3044 2014-06-20 Roland McGrath <roland@hack.frob.com>
3046 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3047 * nptl/smp.h: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3051 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3052 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3053 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3054 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3056 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3057 * nptl/stack-aliasing.h: New file.
3058 * sysdeps/i386/i686/stack-aliasing.h: New file.
3059 * sysdeps/i386/i686/nptl/Makefile: File removed.
3060 * sysdeps/x86_64/stack-aliasing.h: New file.
3061 * sysdeps/x86_64/nptl/Makefile
3062 (CFLAGS-pthread_create.c): Variable removed.
3064 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3065 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3067 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3068 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3071 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3074 (__ASSUME_SIGFRAME_V2): Remove macro.
3075 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3076 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3077 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3078 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3079 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3080 Declare as function. Remove conditional macro definitions.
3081 (__default_rt_sa_restorer): Likewise.
3082 (__default_sa_restorer_v1): Remove declaration.
3083 (__default_sa_restorer_v2): Likewise.
3084 (__default_rt_sa_restorer_v1): Likewise.
3085 (__default_rt_sa_restorer_v2): Likewise.
3086 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3087 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3088 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3090 2014-06-20 Roland McGrath <roland@hack.frob.com>
3092 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3093 (libpthread-routines): Add sysdep.
3094 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3095 * sysdeps/unix/sysv/linux/sparc/Versions
3096 (libpthread: GLIBC_2.3.3): New version set.
3097 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3098 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3099 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3101 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3102 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3104 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3106 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3108 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3110 * sysdeps/sparc/nptl/sem_init.c: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3112 * sysdeps/sparc/nptl/sem_post.c: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3114 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3116 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3118 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3119 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3120 (libpthread-routines): Add cpu_relax.
3121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3124 (librt: GLIBC_2.3.3): New version set.
3125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3126 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3127 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3128 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3131 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3134 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3136 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3138 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3140 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3142 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3145 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3153 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3157 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3168 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3174 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3181 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3185 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3187 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3188 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3189 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3190 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3191 * nscd/nscd.c: Likewise.
3192 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3193 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3194 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3195 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3197 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3198 <kernel-features.h>.
3199 (init_mq_netlink): Remove conditional have_sock_cloexec
3200 definitions. Remove code conditional on have_sock_cloexec < 0.
3201 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3202 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3203 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3204 <kernel-features.h>.
3205 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3206 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3208 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3211 Add tests for memset_chk and memset.
3213 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3216 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3219 * elf/tst-dl-iter-static.c: New file.
3220 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3222 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3225 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3227 * sysdeps/unix/sysv/linux/kernel-features.h
3228 (__ASSUME_F_GETOWN_EX): Remove macro.
3229 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3230 <kernel-features.h>.
3231 (miss_F_GETOWN_EX): Remove variable or macro.
3232 (do_fcntl): Do not check miss_F_GETOWN_EX.
3233 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3235 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3238 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3239 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3241 * sysdeps/unix/sysv/linux/kernel-features.h
3242 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3243 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3244 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3245 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3247 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3250 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3251 Fix calculation of the symbol's value.
3252 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3253 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3254 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3255 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3256 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3257 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3258 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3259 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3260 (modules-names): Add `tst-armtlsdescmod',
3261 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3262 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3263 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3264 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3265 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3266 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3267 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3268 ($(objpfx)tst-armtlsdescloc): New dependency.
3269 ($(objpfx)tst-armtlsdescextnow): Likewise.
3270 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3271 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3273 * sysdeps/arm/configure: Regenerate.
3275 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3277 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3278 (__atfct_seterrno_2): Likewise.
3279 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3280 <kernel-features.h>.
3281 (__ASSUME_ATFCTS): Do not undefine and redefine.
3282 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3283 (__have_atfcts): Remove conditional definition.
3284 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3285 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3286 unreachable if [__ASSUME_ATFCTS].
3287 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3288 not undefine and redefine.
3289 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3290 <kernel-features.h>.
3291 (faccessat) [__NR_faccessat]: Make code unconditional.
3292 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3293 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3294 <kernel-features.h>.
3295 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3296 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3297 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3298 <kernel-features.h>.
3299 (fchownat) [__NR_fchownat]: Make code unconditional.
3300 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3301 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3302 <kernel-features.h>.
3303 (futimesat) [__NR_futimesat]: Make code unconditional.
3304 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3305 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3306 <kernel-features.h>.
3307 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3308 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3309 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3310 <kernel-features.h>.
3311 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3312 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3313 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3314 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3315 <kernel-features.h>.
3316 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3317 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3318 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3319 <kernel-features.h>.
3320 (linkat) [__NR_linkat]: Make code unconditional.
3321 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3322 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3323 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3324 <kernel-features.h>.
3325 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3326 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3328 <kernel-features.h>.
3329 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3330 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3331 * sysdeps/unix/sysv/linux/openat.c: Do not include
3332 <kernel-features.h>.
3333 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3334 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3335 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3336 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3337 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3338 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3339 <kernel-features.h>.
3340 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3341 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3342 result of INLINE_SYSCALL directly, not via int variable.
3343 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3344 <kernel-features.h>.
3345 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3346 (renameat) [__NR_renameat]: Make code unconditional.
3347 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3348 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3349 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3350 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3351 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3352 (__ASSUME_ATFCTS): Do not undefine and redefine.
3353 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3354 <kernel-features.h>.
3355 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3356 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3358 <kernel-features.h>.
3359 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3360 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3362 (__ASSUME_ATFCTS): Do not undefine and redefine.
3363 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3364 <kernel-features.h>.
3365 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3366 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3367 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3368 <kernel-features.h>.
3369 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3370 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3372 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3376 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3379 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3380 constructed tree before returning error.
3381 * posix/bug-regexp36.c: Expand test case.
3383 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3386 * math/libm-test.inc (scalbln_test_date):
3387 Add errno expectations.
3388 * math/w_scalblnf.c: New File.
3389 Add wrapper which checks for setting errno to ERANGE.
3390 Add weak_alias for corresponding scalbln function.
3391 * math/w_scalbln.c: Likewise.
3392 * math/w_scalblnl.c: Likewise.
3393 * math/Makefile (libm-calls): Add w_scalbln.
3394 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3395 Remove weak_alias for corresponding scalbln function.
3396 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3400 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3401 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3402 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3403 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3404 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3405 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3406 Remove long_double_symbol for scalblnl function in libm, libc.
3407 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3408 Add wrapper which checks for setting errno to ERANGE.
3409 Add long_double_symbol for scalblnl function in libm, libc.
3410 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3411 Remove long_double_symbol for scalblnl in libm.
3412 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3413 Add wrapper which checks for setting errno to ERANGE.
3414 Add long_double_symbol for scalblnl function in libm.
3415 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3416 Do not use wrapper because of own implementation.
3418 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3420 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3421 3 bytes for __pad1 for x32.
3422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3424 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3425 H.J. Lu <hongjiu.lu@intel.com>
3427 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3428 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3429 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3430 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3431 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3433 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3436 * posix/regcomp.c (parse_expression): Deallocate partially
3437 constructed tree before returning error.
3438 * posix/Makefile.c (tests): Add bug-regex36.
3439 (generated): Add bug-regex36.mtrace.
3440 (tests-special): Add $(objpfx)bug-regex36-mem.out
3441 (bug-regex36-ENV): New variable.
3442 ($(objpfx)bug-regex36-mem.out): New rule.
3443 * posix/bug-regex36.c: New file.
3445 2014-06-19 Will Newton <will.newton@linaro.org>
3447 * malloc/malloc.c (systrim): If extra is zero then return
3450 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3452 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3454 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3456 * sysdeps/aarch64/strchr.S: New file.
3458 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3461 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3462 from arguments -2 or below.
3463 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3464 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3466 2014-06-18 Andreas Schwab <schwab@suse.de>
3469 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3470 of a bracket expr not to run off the end of the string.
3471 * posix/Makefile (tests): Add tst-fnmatch3.
3472 * posix/tst-fnmatch3.c: New file.
3474 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3476 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3477 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3478 [$(cross-compiling) = no]: Likewise.
3479 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3480 [$(cross-compiling) = no]: Likewise.
3482 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3485 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3486 double, adjusted for any remainder from the high double.
3487 * math/libm-test.inc (nearbyint): Add tests.
3490 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492 * nptl/sysdeps/powerpc/Makefile: Moved ...
3493 * sysdeps/powerpc/nptl/Makefile: ... here.
3494 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3495 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3496 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3497 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3498 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3499 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3500 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3501 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3502 * nptl/sysdeps/powerpc/tls.h: Moved ...
3503 * sysdeps/powerpc/nptl/tls.h: ... here.
3505 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3509 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3510 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3511 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3512 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3513 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3514 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3515 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3516 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3518 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3520 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3522 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3524 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3527 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3530 2014-06-16 Florian Weimer <fweimer@redhat.com>
3533 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3534 non-executed part of the test.
3536 2014-06-16 Andreas Schwab <schwab@suse.de>
3538 * string/bits/string2.h (strdup, strndup): Update feature guard.
3540 2014-06-14 David S. Miller <davem@davemloft.net>
3542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3544 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3546 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3547 that was previously under [RESET_PID].
3548 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3550 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3551 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3552 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3553 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3554 (__libc_vfork): New strong alias.
3555 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3557 2014-06-14 Andi Kleen <ak@linux.intel.com>
3559 * sysdeps/generic/elide.h: New file.
3561 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3563 * Makefile (installed-headers): Adjust path of pthread.h header.
3565 2014-06-13 Roland McGrath <roland@hack.frob.com>
3567 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3568 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3570 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3572 * nptl/sysdeps/s390/Makefile: Moved ...
3573 * sysdeps/s390/nptl/Makefile: ... here.
3574 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3575 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3576 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3577 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3578 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3579 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3580 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3581 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3582 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3583 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3584 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3585 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3586 * nptl/sysdeps/s390/tls.h: Moved ...
3587 * sysdeps/s390/nptl/tls.h: ... here.
3589 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3590 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3592 2014-06-13 David S. Miller <davem@davemloft.net>
3594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3597 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3601 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3602 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3603 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3605 Remove RESET_PID cpp guards.
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3607 Remove RESET_PID cpp guards.
3608 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3610 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3612 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3615 2014-06-13 Andi Kleen <ak@linux.intel.com>
3617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3621 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3626 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3638 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3639 (pthread_rwlock_rdlock): Add elision.
3640 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3641 (pthread_rwlock_wrlock): Add elision.
3642 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3643 (pthread_rwlock_trywrlock): Add elision.
3644 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3645 (pthread_rwlock_tryrdlock): Add elision.
3646 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3647 (pthread_rwlock_tryrdlock): Add elision unlock.
3648 * nptl/sysdeps/pthread/pthread.h:
3649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3650 (PTHREAD_RWLOCK_INITIALIZER,
3651 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3652 Handle new elision field.
3653 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3654 * sysdeps/arm/nptl/bits/pthreadtypes.h
3655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3656 * sysdeps/sh/nptl/bits/pthreadtypes.h
3657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3658 * sysdeps/tile/nptl/bits/pthreadtypes.h
3659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3660 * sysdeps/a/nptl/bits/pthreadtypes.h
3661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3662 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3664 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3666 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3668 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3670 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3672 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3674 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3676 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3678 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3679 (elision_init): Set try_xbegin to zero when no RTM.
3680 * sysdeps/x86/nptl/bits/pthreadtypes.h
3681 (pthread_rwlock_t): Change __pad1 to __rwelision.
3682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3684 2014-06-13 Andi Kleen <ak@linux.intel.com>
3686 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3687 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3688 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3689 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3691 2014-06-13 Meador Inge <meadori@codesourcery.com>
3694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3695 that the cached result has been set before returning it.
3697 2014-06-12 Roland McGrath <roland@hack.frob.com>
3699 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3700 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3702 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3704 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3706 * nptl/sysdeps/sparc/Makefile: Moved ...
3707 * sysdeps/sparc/nptl/Makefile: ... here.
3708 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3709 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3710 * nptl/sysdeps/sparc/tls.h: Moved ...
3711 * sysdeps/sparc/nptl/tls.h: ... here.
3712 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3713 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3714 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3715 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3716 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3717 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3718 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3719 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3720 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3721 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3722 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3723 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3724 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3725 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3726 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3727 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3728 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3731 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3732 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3734 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3737 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3741 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3743 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3744 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3746 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3747 (struct list_links): Type removed.
3748 (struct thread_node, struct timer_node): Replace struct list_links
3749 with struct list_head.
3750 (list_unlink_ip): Likewise.
3751 * sysdeps/pthread/timer_routines.c
3752 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3753 (list_append, list_insbefore): Likewise.
3754 (list_init): Function removed.
3755 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3756 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3757 * sysdeps/pthread/Makefile: ... here, new file.
3759 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3760 * sysdeps/nptl/Implies: ... here.
3761 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3762 * nptl/sysdeps/pthread/list.h: Moved ...
3763 * include/list.h: ... here.
3764 * nptl/sysdeps/pthread/createthread.c: Moved ...
3765 * nptl/createthread.c: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3767 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3768 * nptl/pt-longjmp.c: ... here.
3769 * nptl/sysdeps/pthread/Makefile: Moved ...
3770 * sysdeps/nptl/Makefile: ... here.
3771 * nptl/sysdeps/pthread/Subdirs: Moved ...
3772 * sysdeps/nptl/Subdirs: ... here.
3773 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3774 * sysdeps/nptl/aio_misc.h: ... here.
3775 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3776 * sysdeps/nptl/bits/libc-lock.h: ... here.
3777 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3778 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3779 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3780 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3781 * nptl/sysdeps/pthread/configure: Moved ...
3782 * sysdeps/nptl/configure: ... here.
3783 * nptl/sysdeps/pthread/configure.ac: Moved ...
3784 * sysdeps/nptl/configure.ac: ... here.
3785 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3786 * sysdeps/nptl/gai_misc.h: ... here.
3787 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3788 * sysdeps/nptl/librt-cancellation.c: ... here.
3789 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3790 * sysdeps/nptl/malloc-machine.h: ... here.
3791 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3792 * sysdeps/nptl/pthread-functions.h: ... here.
3793 * nptl/sysdeps/pthread/pthread.h: Moved ...
3794 * sysdeps/nptl/pthread.h: ... here.
3795 * nptl/sysdeps/pthread/setxid.h: Moved ...
3796 * sysdeps/nptl/setxid.h: ... here.
3797 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3798 * sysdeps/nptl/sigfillset.c: ... here.
3799 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3800 * sysdeps/nptl/tcb-offsets.h: ... here.
3801 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3802 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3803 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3804 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3805 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3806 * sysdeps/pthread/allocalim.h: ... here.
3807 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3808 * sysdeps/pthread/bits/sigthread.h: ... here.
3809 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3810 * sysdeps/pthread/flockfile.c: ... here.
3811 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3812 * sysdeps/pthread/ftrylockfile.c: ... here.
3813 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3814 * sysdeps/pthread/funlockfile.c: ... here.
3815 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3816 * sysdeps/pthread/posix-timer.h: ... here.
3817 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3818 * sysdeps/pthread/timer_create.c: ... here.
3819 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3820 * sysdeps/pthread/timer_delete.c: ... here.
3821 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3822 * sysdeps/pthread/timer_getoverr.c: ... here.
3823 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3824 * sysdeps/pthread/timer_gettime.c: ... here.
3825 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3826 * sysdeps/pthread/timer_routines.c: ... here.
3827 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3828 * sysdeps/pthread/timer_settime.c: ... here.
3829 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3830 * sysdeps/pthread/tst-timer.c: ... here.
3831 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3832 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3834 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3835 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3837 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3838 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3839 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3840 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3841 Update #include target.
3842 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3843 * sysdeps/i386/i686/nptl/Makefile: ... here.
3844 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3845 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3846 Update #include target.
3847 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3848 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3849 * nptl/sysdeps/i386/Makefile: Moved ...
3850 * sysdeps/i386/nptl/Makefile: ... here.
3851 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3852 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3853 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3854 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3855 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3856 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3857 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3858 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3859 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3860 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3861 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3862 * nptl/sysdeps/i386/tls.h: Moved ...
3863 * sysdeps/i386/nptl/tls.h: ... here.
3865 * sysdeps/sh/Makefile [$(subdir) = csu]
3866 (gen-as-const-headers): Add tcb-offsets.sym.
3867 * nptl/sysdeps/sh/Makefile: File removed.
3868 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3869 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3870 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3871 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3872 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3873 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3874 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3875 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3876 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3877 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3878 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3879 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3880 * nptl/sysdeps/sh/tls.h: Moved ...
3881 * sysdeps/sh/nptl/tls.h: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3883 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3885 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3887 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3889 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3891 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3893 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3895 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3897 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3899 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3901 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3903 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3908 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3911 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3913 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3917 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3918 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3919 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3920 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3921 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3923 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3925 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3926 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3927 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3928 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3929 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3931 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3933 * posix/spawn_faction_addopen.c: Include string.h.
3935 2014-06-11 Roland McGrath <roland@hack.frob.com>
3937 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3938 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3939 * nptl/sysdeps/x86_64/Makefile: Moved ...
3940 * sysdeps/x86_64/nptl/Makefile: ... here.
3941 * nptl/sysdeps/x86_64/configure: Moved ...
3942 * sysdeps/x86_64/nptl/configure: ... here.
3943 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3944 * sysdeps/x86_64/nptl/configure.ac: ... here.
3945 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3946 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3947 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3948 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3949 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3950 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3951 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3952 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3953 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3954 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3955 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3956 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3957 * nptl/sysdeps/x86_64/tls.h: Moved ...
3958 * sysdeps/x86_64/nptl/tls.h: ... here.
3959 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3960 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3961 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3962 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3964 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3966 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3970 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3972 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3974 [POSIX] (off_t): Likewise.
3975 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3976 [POSIX] (S_ISBLK): Require macro.
3977 [POSIX] (S_ISCHR): Likewise.
3978 [POSIX] (S_ISDIR): Likewise.
3979 [POSIX] (S_ISFIFO): Likewise.
3980 [POSIX] (S_ISREG): Likewise.
3981 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3983 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3985 [POSIX] (time_t): Likewise.
3986 [POSIX] (timer_t): Likewise.
3988 2014-06-11 Florian Weimer <fweimer@redhat.com>
3991 * posix/spawn_int.h (struct __spawn_action): Make the path string
3992 non-const to support deallocation.
3993 * posix/spawn_faction_addopen.c
3994 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3995 * posix/spawn_faction_destroy.c
3996 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3997 path in all spawn_do_open actions.
3998 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3999 posix_spawn_file_actions_addopen.
4001 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4003 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4004 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4005 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4006 conditional code always true.
4007 (__libc_vfork): New alias.
4009 2014-06-11 Roland McGrath <roland@hack.frob.com>
4011 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4012 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4014 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4016 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4017 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4019 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4020 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4022 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4023 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4025 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4027 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4028 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4029 multiarch strcmp for PPC64.
4030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4031 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4033 multiarch optimizations.
4034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4035 (__libc_ifunc_impl_list): Likewise.
4037 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4039 * benchtests/scripts/validate_benchout.py: New script.
4040 * benchtests/Makefile (bench-func): Call it.
4041 * benchtests/scripts/benchout.schema.json: New file.
4043 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4045 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4046 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4047 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4048 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4049 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4050 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4051 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4052 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4053 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4054 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4055 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4056 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4057 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4058 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4059 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4165 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4170 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4186 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4189 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4191 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4194 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4196 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4197 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4198 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4199 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4200 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4202 2014-06-10 Wilco <wdijkstr@arm.com>
4204 * math/test-fenv-return.c: New file.
4205 * math/Makefile: Add new test test-fenv-return.
4207 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4210 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4212 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4213 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4214 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4215 0.0L for an argument of 1.0L.
4216 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4218 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4219 value when x - 1 is zero.
4220 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4221 * sysdeps/i386/fpu/libm-test-ulps: Update.
4222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4224 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4227 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4229 2014-06-09 Roland McGrath <roland@hack.frob.com>
4231 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4232 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4234 2014-06-09 Roland McGrath <roland@hack.frob.com>
4236 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4237 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4239 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4240 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4242 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4243 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4245 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4246 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4248 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4249 if not already defined.
4250 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4251 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4252 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4253 (TLS_INIT_TP): Use it.
4254 (TLS_DEFINE_INIT_TP): New macro.
4255 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4257 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4259 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4261 [POSIX] (IXANY): Likewise.
4262 [POSIX] (OLCUC): Likewise.
4263 [POSIX || POSIX2008] (CBAUD): Do not allow.
4264 [POSIX || POSIX2008] (DEFECHO): Likewise.
4265 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4266 [POSIX || POSIX2008] (ECHOKE): Likewise.
4267 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4268 [POSIX || POSIX2008] (EXTA): Likewise.
4269 [POSIX || POSIX2008] (EXTB): Likewise.
4270 [POSIX || POSIX2008] (FLUSHO): Likewise.
4271 [POSIX || POSIX2008] (LOBLK): Likewise.
4272 [POSIX || POSIX2008] (PENDIN): Likewise.
4273 [POSIX || POSIX2008] (SWTCH): Likewise.
4274 [POSIX || POSIX2008] (VDISCARD): Likewise.
4275 [POSIX || POSIX2008] (VDSUSP): Likewise.
4276 [POSIX || POSIX2008] (VLNEXT): Likewise.
4277 [POSIX || POSIX2008] (VREPRINT): Likewise.
4278 [POSIX || POSIX2008] (VSTATUS): Likewise.
4279 [POSIX || POSIX2008] (VWERASE): Likewise.
4280 (B*): Change to B[0123456789]*.
4281 * conform/data/time.h-data [POSIX || UNIX98]
4282 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4283 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4284 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4285 [POSIX] (tm_*): Do not allow.
4287 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4289 * Makefile (install): Don't set LANGUAGE.
4290 * Makefile.in (install): Likewise.
4291 * assert/Makefile (test-assert-ENV): Remove variable.
4292 (test-assert-perr-ENV): Likewise.
4293 * elf/Makefile (neededtest4-ENV): Likewise.
4294 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4295 [$(cross-compiling) = no]: Don't set LANGUAGE.
4296 * io/ftwtest-sh (LANG): Remove variable.
4297 * libio/Makefile (tst-widetext-ENV): Likewise.
4298 * manual/install.texi (Running make install): Don't refer to
4299 environment settings for make install.
4300 * INSTALL: Regenerated.
4301 * nptl/tst-tls6.sh: Don't set LANG.
4302 * posix/globtest.sh (LANG): Remove variable.
4303 * string/Makefile (tester-ENV): Likewise.
4304 (inl-tester-ENV): Likewise.
4305 (noinl-tester-ENV): Likewise.
4306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4307 [$(cross-compiling) = no]: Don't set LANGUAGE.
4308 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4309 without explicit environment settings.
4311 2014-06-06 Roland McGrath <roland@hack.frob.com>
4313 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4314 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4316 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4318 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4320 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4321 other files in the crypt directory.
4322 * crypt/crypt.c: Remove duplicate includes.
4323 * crypt/crypt-entry.c: Likewise.
4324 * crypt/crypt_util.c: Likewise.
4326 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4328 * Makeconfig (run-program-env): New variable.
4329 (run-program-prefix-before-env): Likewise.
4330 (run-program-prefix-after-env): Likewise.
4331 (run-program-prefix): Define in terms of new variables.
4332 (built-program-cmd-before-env): New variable.
4333 (built-program-cmd-after-env): Likewise.
4334 (built-program-cmd): Define in terms of new variables.
4335 (test-program-prefix-before-env): New variable.
4336 (test-program-prefix-after-env): Likewise.
4337 (test-program-prefix): Define in terms of new variables.
4338 (test-program-cmd-before-env): New variable.
4339 (test-program-cmd-after-env): Likewise.
4340 (test-program-cmd): Define in terms of new variables.
4341 * Rules (make-test-out): Use $(run-program-env).
4342 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4343 (help): Do not mention environment variables. Mention
4344 --timeoutfactor option.
4345 (timeoutfactor): New variable.
4346 (blacklist_exports): Remove function.
4347 (exports): Remove variable.
4348 (command): Do not include ${exports}.
4349 * manual/install.texi (Configuring and compiling): Do not mention
4350 test wrappers preserving environment variables. Mention that last
4351 assignment to a variable must take precedence.
4352 * INSTALL: Regenerated.
4353 * benchtests/Makefile (run-bench): Use $(run-program-env).
4354 * catgets/Makefile ($(objpfx)test1.cat): Use
4355 $(built-program-cmd-before-env), $(run-program-env) and
4356 $(built-program-cmd-after-env).
4357 ($(objpfx)test2.cat): Do not specify environment variables
4359 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4360 $(run-program-env) and $(built-program-cmd-after-env).
4361 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4362 $(run-program-env) and $(test-program-cmd-after-env).
4363 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4365 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4366 run_program_env and test_program_cmd_after_env arguments.
4367 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4368 * elf/tst-pathopt.sh: Use run_program_env argument.
4369 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4370 $(test-wrapper-env) and $(run-program-env).
4371 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4372 run_program_env arguments.
4373 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4374 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4375 $(test-program-prefix-before-env), $(run-program-env) and
4376 $(test-program-prefix-after-env).
4377 ($(objpfx)tst-gettext2.out): Likewise.
4378 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4379 run_program_env and test_program_prefix_after_env arguments.
4380 * intl/tst-gettext2.sh: Likewise.
4381 * intl/tst-gettext4.sh: Do not set environment variables
4383 * intl/tst-gettext6.sh: Likewise.
4384 * intl/tst-translit.sh: Likewise.
4385 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4386 $(test-program-prefix-before-env), $(run-program-env) and
4387 $(test-program-prefix-after-env).
4388 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4389 run_program_env and test_program_prefix_after_env arguments.
4390 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4391 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4392 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4393 explicitly with each use of ${test_wrapper_env}.
4394 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4395 $(test-program-prefix-before-env), $(run-program-env) and
4396 $(test-program-prefix-after-env).
4397 * posix/tst-getconf.sh: Do not set environment variables
4399 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4400 run_program_env and test_program_prefix_after_env arguments.
4401 * stdio-common/tst-printf.sh: Do not set environment variables
4403 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4404 $(test-program-prefix-before-env), $(run-program-env) and
4405 $(test-program-prefix-after-env).
4406 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4407 run_program_env and test_program_prefix_after_env arguments.
4408 Split $test calls into $test_pre and $test.
4409 * timezone/Makefile (build-testdata): Use
4410 $(built-program-cmd-before-env), $(run-program-env) and
4411 $(built-program-cmd-after-env).
4413 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4415 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4416 strlen for non SHARED builds.
4418 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4420 * nptl/allocatestack.c (check_list): Inlined function...
4421 (__reclaim_stacks): ... here.
4423 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4426 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4429 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4431 * Rules (make-test-out): Include
4432 LOCPATH=$(common-objpfx)localedata in default environment.
4433 * debug/Makefile (tst-chk1-ENV): Remove variable.
4434 (tst-chk2-ENV): Likewise.
4435 (tst-chk3-ENV): Likewise.
4436 (tst-chk4-ENV): Likewise.
4437 (tst-chk5-ENV): Likewise.
4438 (tst-chk6-ENV): Likewise.
4439 (tst-lfschk1-ENV): Likewise.
4440 (tst-lfschk2-ENV): Likewise.
4441 (tst-lfschk3-ENV): Likewise.
4442 (tst-lfschk4-ENV): Likewise.
4443 (tst-lfschk5-ENV): Likewise.
4444 (tst-lfschk6-ENV): Likewise.
4445 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4446 (tst-iconv7-ENV): Likewise.
4447 * intl/Makefile (LOCPATH-ENV): Likewise.
4448 (tst-codeset-ENV): Likewise.
4449 (tst-gettext3-ENV): Likewise.
4450 (tst-gettext5-ENV): Likewise.
4451 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4452 (tst-fopenloc-ENV): Likewise.
4453 (tst-fgetws-ENV): Remove variable.
4454 (tst-ungetwc1-ENV): Likewise.
4455 (tst-ungetwc2-ENV): Likewise.
4456 (bug-ungetwc2-ENV): Likewise.
4457 (tst-swscanf-ENV): Likewise.
4458 (bug-ftell-ENV): Likewise.
4459 (tst-fgetwc-ENV): Likewise.
4460 (tst-fseek-ENV): Likewise.
4461 (tst-ftell-partial-wide-ENV): Likewise.
4462 (tst-ftell-active-handler-ENV): Likewise.
4463 (tst-ftell-append-ENV): Likewise.
4464 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4465 (tst-regexloc-ENV): Likewise.
4466 (bug-regex1-ENV): Likewise.
4467 (tst-regex-ENV): Likewise.
4468 (tst-regex2-ENV): Likewise.
4469 (bug-regex5-ENV): Likewise.
4470 (bug-regex6-ENV): Likewise.
4471 (bug-regex17-ENV): Likewise.
4472 (bug-regex18-ENV): Likewise.
4473 (bug-regex19-ENV): Likewise.
4474 (bug-regex20-ENV): Likewise.
4475 (bug-regex22-ENV): Likewise.
4476 (bug-regex23-ENV): Likewise.
4477 (bug-regex25-ENV): Likewise.
4478 (bug-regex26-ENV): Likewise.
4479 (bug-regex30-ENV): Likewise.
4480 (bug-regex32-ENV): Likewise.
4481 (bug-regex33-ENV): Likewise.
4482 (bug-regex34-ENV): Likewise.
4483 (bug-regex35-ENV): Likewise.
4484 (tst-rxspencer-ENV): Likewise.
4485 (tst-rxspencer-no-utf8-ENV): Likewise.
4486 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4487 (tst-sscanf-ENV): Likewise.
4488 (tst-swprintf-ENV): Likewise.
4489 (tst-swscanf-ENV): Likewise.
4490 (test-vfprintf-ENV): Likewise.
4491 (scanf13-ENV): Likewise.
4492 (bug14-ENV): Likewise.
4493 (tst-grouping-ENV): Likewise.
4494 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4495 (tst-strtod3-ENV): Likewise.
4496 (tst-strtod4-ENV): Likewise.
4497 (tst-strtod5-ENV): Likewise.
4498 (testmb2-ENV): Likewise./
4499 * string/Makefile (tst-strxfrm-ENV): Likewise.
4500 (tst-strxfrm2-ENV): Likewise.
4501 (bug-strcoll1-ENV): Likewise.
4502 (test-strcasecmp-ENV): Likewise.
4503 (test-strncasecmp-ENV): Likewise.
4504 * time/Makefile (tst-strptime-ENV): Likewise.
4505 (tst-ftime_l-ENV): Likewise.
4506 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4507 (tst-mbrtowc-ENV): Likewise.
4508 (tst-wcrtomb-ENV): Likewise.
4509 (tst-mbrtowc2-ENV): Likewise.
4510 (tst-c16c32-1-ENV): Likewise.
4511 (tst-mbsnrtowcs-ENV): Likewise.
4513 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4515 * manual/resource.texi (How to get information about the memory
4516 subsystem?): Fix typo.
4517 Reported by Peon de la Parra Ivan <peon@keba.com>
4519 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4522 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4523 (pthread_spin_lock): Branch out of spin loop to proper location.
4524 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4525 (pthread_spin_lock): Likewise.
4527 * nptl/tst-spin4.c: New test.
4528 * nptl/Makefile (tests): Add tst-spin4.
4530 2014-06-03 Andreas Schwab <schwab@suse.de>
4533 * resolv/res_send.c (send_dg): Reload file descriptor after
4536 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4538 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4540 2014-06-03 Richard Henderson <rth@redhat.com>
4542 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4543 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4544 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4545 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4546 in the SAVE_PID block.
4547 (__libc_vfork): New alias.
4548 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4550 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4551 child in registers, not on the stack. Remove RESET_PID conditionals.
4552 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4554 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4556 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4558 2014-06-03 Wilco <wdijkstr@arm.com>
4560 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4561 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4562 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4563 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4564 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4567 2014-06-03 Wilco <wdijkstr@arm.com>
4569 * sysdeps/aarch64/fpu/math_private.h
4570 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4571 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4572 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4573 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4576 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4578 * crypt/crypt-private.h: Include ufc-crypt.h.
4579 (__b64_from_24bit): Declare extern.
4580 * crypt/crypt_util.c(__b64_from_24bit): New function.
4581 (b64t): New static const variable.
4582 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4583 (b64t): Remove variable.
4584 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4585 * crypt/sha256-crypt.c: Include crypt-private.h.
4586 (b64t): Remove variable.
4587 (__sha256_crypt_r): Remove b64_from_24bit and replace
4588 with __b64_from_24bit.
4589 * crypt/sha512-crypt.c: Likewise.
4591 2014-06-02 Roland McGrath <roland@hack.frob.com>
4593 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4594 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4595 Label the code __libc_vfork rather than __vfork.
4596 [!NOT_IN_libc] (vfork): Define as weak alias.
4597 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4598 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4599 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4601 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4603 * malloc/malloc.c (malloc_info): Fix format specifier for
4606 2014-06-02 Wilco <wdijkstr@arm.com>
4608 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4611 2014-06-02 Wilco <wdijkstr@arm.com>
4614 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4615 Rewrite to reduce FPCR/FPSR accesses.
4617 2014-06-01 David S. Miller <davem@davemloft.net>
4619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4621 2014-05-31 David S. Miller <davem@davemloft.net>
4623 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4624 to occur in round to nearest mode when |x| >= 2.0
4626 2014-05-30 Richard Henderson <rth@twiddle.net>
4628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4629 (PSEUDO_RET_NOERRNO): Remove.
4630 (ret): Don't redefine.
4631 (ret_NOERRNO): Define in terms of ret.
4632 (ret_ERRVAL): Likewise.
4634 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4635 use of PSEUDO_RET; perform the error check directly.
4637 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4639 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4642 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 * malloc/malloc (malloc_info): Fix formatting.
4646 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 Roland McGrath <roland@hack.frob.com>
4649 * malloc/malloc (malloc_info): Also print mmapped statistics.
4651 2014-05-30 Roland McGrath <roland@hack.frob.com>
4653 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4654 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4656 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4658 * malloc/malloc.c (malloc_info): Inline mi_arena.
4660 2014-05-29 Richard Henderson <rth@twiddle.net>
4662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4663 Remove comma before expanding ASM_ARGS_##nr.
4664 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4665 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4667 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4668 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4669 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4670 (ASM_ARGS_1): Add leading comma.
4672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4673 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4674 to __errno_location.
4675 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4676 Remove the expected plt for __errno_location.
4678 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4679 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4683 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4684 it and break it down.
4685 (DOCARGS_0, DOCARGS_1): Do nothing.
4686 (DOCARGS_2): Update to store into the new stack frame.
4687 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4688 (UNDOCARGS_1): Update to restore from the new stack frame.
4689 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4690 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4693 (SINGLE_THREAD_P): New parameter for result regno.
4694 (PSEUDO): Update to match; use cbz instead of beq.
4696 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4697 Use ENTRY to define the _nocancel entry point. Share the syscall
4698 and syscall error check paths with the cancel path.
4701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4702 whitespace; tabs before and after asm mnemonics.
4704 2014-05-29 Eric Wong <normalperson@yhbt.net>
4707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4708 Call fstat64 or stat64 internally, depending on arguments passed.
4709 Replace stat buffer argument with file descriptor argument.
4710 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4711 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4712 Pass fd to __internal_statvfs instead of calling fstat64.
4713 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4714 Pass fd to __internal_statvfs64 instead of calling fstat64.
4715 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4716 Pass -1 to __internal_statvfs instead of calling stat64.
4717 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4718 Pass -1 to __internal_statvfs64 instead of calling stat64.
4720 2014-05-28 Roland McGrath <roland@hack.frob.com>
4722 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4723 that was previously under [RESET_PID].
4724 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4726 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4727 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4729 2014-05-27 Roland McGrath <roland@hack.frob.com>
4731 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4733 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4734 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4736 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4738 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4740 2014-05-27 Andreas Schwab <schwab@suse.de>
4742 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4744 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4745 * elf/rtld.c (init_tls, dl_main): Likewise.
4746 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4747 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4748 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4749 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4750 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4751 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4752 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4753 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4754 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4755 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4756 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4757 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4758 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4759 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4760 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4761 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4762 * sysdeps/generic/tls.h: Update description.
4764 2014-05-27 Will Newton <will.newton@linaro.org>
4767 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4768 and restore r2 rather than just restoring.
4770 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4773 * libio/tst-ftell-append.c: New test case.
4774 * libio/Makefile (tests): Add test case.
4775 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4777 * libio/wfileops.c (do_ftell_wide): Likewise.
4779 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4783 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4787 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4788 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4790 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4792 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4800 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4802 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4805 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4808 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4810 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4812 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4814 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4817 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4819 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4842 conditional [RESET_PID].
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4851 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4852 (__libc_vfork): New strong alias.
4853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4860 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4861 (__libc_vfork): New strong alias.
4862 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4867 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4869 * malloc/malloc.c (mi_arena): New function.
4870 (malloc_info): Remove nested function mi_arena. Call non-nosted
4873 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4877 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4878 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4879 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4880 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4882 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4883 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4885 2014-05-26 Andreas Schwab <schwab@suse.de>
4888 * locale/programs/repertoire.c (repertoire_read): Add slash
4889 between I18NPATH element and file name.
4890 * locale/programs/locfile.c (locfile_read): Likewise.
4892 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4894 * nptl/pthread_mutexattr_settype.c
4895 (__pthread_mutexattr_settype):
4896 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4898 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4900 * nptl/tst-mutex5 (do_test):
4901 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4903 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4905 * benchtests/README: Document 'init' directive.
4906 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4908 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4909 (parse_file): Recognize 'init' directive.
4911 2014-05-26 Kyle McMartin <kyle@redhat.com>
4914 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4915 alignment of struct pthread.
4917 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4920 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4921 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4922 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4923 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4925 2014-05-25 Richard Henderson <rth@twiddle.net>
4927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4928 (SINGLE_THREAD_P_PIC): Remove.
4929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4930 (SINGLE_THREAD_P_PIC): Remove.
4932 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4933 branch to syscall error ...
4935 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4936 from __local_syscall_error to .Lsyscall_error.
4937 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4938 (SYSCALL_ERROR): Update label name.
4940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4941 Do not use DOARGS/UNDOARGS.
4942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4943 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4944 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4945 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4946 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4948 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4951 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4952 define if !NOT_IN_libc.
4953 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4954 define with non-default symbol versions.
4956 2014-05-23 Richard Henderson <rth@twiddle.net>
4958 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4959 (vfork, __vfork): Define via compat_symbol.
4961 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4962 [!HAVE_IFUNC] (vfork_compat): Remove.
4963 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4965 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4968 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4969 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4972 2014-05-23 Richard Henderson <rth@twiddle.net>
4974 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4975 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4976 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4977 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4979 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4980 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4981 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4982 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4984 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4985 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4986 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4987 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4988 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4989 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4990 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4991 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4994 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4996 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4997 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5002 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5010 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5016 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5017 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5018 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5019 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5020 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5021 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5022 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5023 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5024 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5026 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5028 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5030 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5032 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5034 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5036 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5037 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5038 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5039 before exiting on error.
5040 (__libc_vfork): New strong alias.
5041 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5042 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5044 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5045 that was previously under [RESET_PID].
5046 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5048 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5050 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5053 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5054 value when x - 1 is zero.
5055 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5056 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5057 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5058 0.0L for an argument of 1.0L.
5059 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5061 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5062 value when x - 1 is zero.
5063 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5064 * sysdeps/i386/fpu/libm-test-ulps: Update.
5065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5069 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5070 alphasort and versionsort.
5072 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5074 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5076 [copysignf]: Likewise.
5078 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5080 * crypt/md5-crypt.c: Fix formatting.
5082 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5084 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5085 (b64_from_24bit): New function.
5087 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5090 libc_hidden_builtin_def to ifunc.
5091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5092 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5094 2014-05-21 Roland McGrath <roland@hack.frob.com>
5096 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5097 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5099 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5101 * nscd/Depend (linuxthreads): Remove.
5103 * resolv/Depend (linuxthreads): Remove.
5104 * rt/Depend (linuxthreads): Remove.
5106 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5107 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5108 $(common-objpfx)elf/.
5109 (link-libc-before-gnulib): Likewise.
5110 (elfobjdir): Remove variable.
5111 * Makefile (install): Use $(elf-objpfx) instead of
5112 $(common-objpfx)elf/.
5113 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5115 (link-libc-deps): Likewise.
5116 ($(common-objpfx)libc.so): Likewise.
5117 ($(common-objpfx)linkobj/libc.so): Likewise.
5118 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5119 instead of $(common-objpfx)elf/.
5120 (symbolic-link-list): Likewise.
5121 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5122 [$(cross-compiling) = no]: Likewise.
5123 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5125 (static-gnulib-arch): Likewise.
5126 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5127 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5128 $(common-objpfx)elf/.
5130 2014-05-21 Richard Henderson <rth@redhat.com>
5132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5133 (SINGLE_THREAD_P): Use the correct width load. Fold
5134 into the ldr offset.
5136 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5137 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5139 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5142 (libgcc_s_resume): Use __attribute_used__.
5143 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5146 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5149 optimization when used with float constants.
5151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5153 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5156 * locale/nl_langinfo_l.c: Make direct reference to every
5157 _nl_current_CATEGORY symbol.
5158 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5159 (tests-static): Add tst-langinfo-static.
5160 (tests-special): Add tst-langinfo-static.out.
5161 ($(objpfx)tst-langinfo.out): Redirect output.
5162 ($(objpfx)tst-langinfo-static.out): New.
5163 * localedata/tst-langinfo.sh: Send output to stdout.
5164 * localedata/tst-langinfo-static.c: New file.
5167 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5168 when the shift amount is modulo the limb size.
5170 2014-05-20 Richard Henderson <rth@redhat.com>
5173 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5174 Change type of sa_flags from unsigned int to int.
5177 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5179 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5181 2014-05-20 Will Newton <will.newton@linaro.org>
5183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5184 Test the return value of the system call in the nocancel case.
5186 2014-05-20 Will Newton <will.newton@linaro.org>
5187 Yvan Roux <yvan.roux@linaro.org>
5189 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5190 #include of asm/ptrace.h.
5191 (PTRACE_GET_THREAD_AREA): Remove #undef.
5192 (PTRACE_GETHBPREGS): Likewise.
5193 (PTRACE_SETHBPREGS): Likewise.
5194 (struct user_regs_struct): New structure.
5195 (struct user_fpsimd_struct): New structure.
5196 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5197 #include of asm/ptrace.h and second #include of sys/user.h.
5198 (PTRACE_GET_THREAD_AREA): Remove #undef.
5199 (PTRACE_GETHBPREGS): Likewise.
5200 (PTRACE_SETHBPREGS): Likewise.
5201 (ELF_NGREG): Use new struct user_regs_struct.
5202 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5204 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5209 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5212 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5213 membar to avoid block loads/stores to overlap previous stores.
5215 2014-05-17 Richard Henderson <rth@redhat.com>
5217 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5218 Create the __##syscall_name##_nocancel entry point.
5219 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5220 Remove; let the sysdep-cancel.h code create it.
5222 2014-05-17 David S. Miller <davem@davemloft.net>
5224 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5225 Protect with __USE_GNU.
5226 (TIOCSET_TEMPT): Likewise.
5227 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5228 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5229 these are already provided in bits/ioctl-types.h
5231 2014-05-16 Roland McGrath <roland@hack.frob.com>
5233 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5234 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5236 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5237 Use wait4 regardless of [__NR_waitpid].
5239 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5242 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5243 (_FP_NANSIGN_Q): Set the quiet bit.
5245 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5247 * benchtests/Makefile
5248 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5249 not $(common-objpfx)math/libm.so.
5250 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5251 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5252 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5253 $(common-objpfx)dlfcn/libdl.so.
5254 ($(objpfx)tst-audit8): Depend on $(libm), not
5255 $(common-objpfx)math/libm.so.
5256 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5257 not $(common-objpfx)dlfcn/libdl.so.
5259 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5260 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5261 [$(build-shared) = yes].
5262 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5263 $(common-objpfx)nptl/libpthread.so.
5264 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5265 $(common-objpfx)math/libm.so$(libm.so-version) or
5266 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5267 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5268 $(common-objpfx)dlfcn/libdl.so.
5269 * setjmp/Makefile (link-libm): Remove variable.
5270 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5271 * stdio-common/Makefile (link-libm): Remove variable.
5272 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5273 * stdlib/Makefile (link-libm): Remove variable.
5274 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5275 ($(objpfx)tst-strtod-round): Likewise.
5276 ($(objpfx)tst-tininess): Likewise.
5277 ($(objpfx)tst-strtod-underflow): Likewise.
5278 ($(objpfx)tst-strtod6): Likewise.
5279 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5280 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5281 $(common-objpfx)dlfcn/libdl.so.
5283 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5286 BSD terminal modes definitions.
5288 2014-05-16 Roland McGrath <roland@hack.frob.com>
5290 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5291 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5293 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5294 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5295 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5296 Don't do #include_next.
5297 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5298 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5299 Don't do #include_next.
5300 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5301 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5302 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5303 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5305 2014-05-16 Allan McRae <allan@archlinux.org>
5307 * po/sv.po: Update Swedish translation from translation project.
5309 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5312 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5315 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5316 errno if the TIOCGPTN ioctl fails with an error different than
5318 * login/tst-ptsname.c: New file.
5319 * login/Makefile (tests): Add tst-ptsname.
5322 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5325 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5329 herrno to return EAI_AGAIN.
5331 2014-05-14 Roland McGrath <roland@hack.frob.com>
5333 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5334 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5335 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5336 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5338 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5339 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5340 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5342 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5343 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5344 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5346 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5347 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5348 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5350 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5351 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5352 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5353 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5354 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5355 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5356 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5357 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5358 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5360 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5361 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5362 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5364 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5366 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5369 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5377 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5379 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5391 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5393 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5398 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5419 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5424 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5425 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5426 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5427 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5429 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5431 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5433 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5435 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5437 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5439 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5440 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5441 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5442 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5443 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5445 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5447 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5448 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5450 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5451 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5453 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5455 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5456 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5458 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5459 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5462 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5465 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5468 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5471 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5474 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5475 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5476 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5477 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5479 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5480 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5481 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5483 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5485 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5488 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5493 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5494 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5496 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5499 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5505 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5507 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5510 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5513 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5516 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5519 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5521 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5524 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5526 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5528 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5530 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5533 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5536 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5538 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5539 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5541 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5544 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5548 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5550 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5552 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5554 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5556 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5559 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5562 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5565 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5568 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5570 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5572 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5575 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5577 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5579 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5581 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5584 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5589 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5590 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5591 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5592 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5595 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5597 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5599 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5601 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5602 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5603 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5604 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5605 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5606 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5607 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5608 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5609 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5611 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5612 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5614 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5615 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5617 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5618 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5619 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5621 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5623 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5625 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5627 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5631 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5632 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5633 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5636 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5641 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5645 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5650 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5659 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5661 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5663 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5665 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5667 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5669 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5672 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5673 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5674 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5675 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5677 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5678 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5680 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5681 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5682 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5683 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5684 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5685 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5686 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5689 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5691 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5692 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5693 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5694 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5696 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5698 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5699 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5700 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5701 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5702 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5703 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5704 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5739 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5741 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5742 that was previously under [RESET_PID].
5743 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5744 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5745 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5747 * sysdeps/i386/nptl/Implies: New file.
5748 * sysdeps/x86_64/nptl/Implies: New file.
5749 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5750 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5751 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5752 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5754 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5755 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5756 (__libc_vfork): New strong alias.
5757 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5758 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5760 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5762 (__libc_vfork): New strong alias.
5763 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5764 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5766 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5767 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5768 (__libc_vfork): New strong alias.
5769 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5770 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5771 * nptl/pt-vfork.c: New file.
5772 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5773 (libpthread: GLIBC_2.20): New version set (empty).
5775 2014-05-14 Will Newton <will.newton@linaro.org>
5777 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5780 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5783 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5784 arguments with exponent 65 or above.
5785 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5786 arguments 0x1p113L or above.
5787 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5788 to arguments 0x1p107L or above.
5789 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5790 positive arguments with exponent 65 or above.
5791 * math/auto-libm-test-in: Add more tests of log1p.
5792 * math/auto-libm-test-out: Regenerated.
5795 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5796 non-finite arguments is +0.
5797 * math/s_cacosf.c (__cacosf): Likewise.
5798 * math/s_cacosl.c (__cacosl): Likewise.
5799 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5804 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5806 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5807 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5808 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5809 for explicit high bit of mantissa when testing for argument equal
5811 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5812 * sysdeps/i386/fpu/libm-test-ulps: Update.
5813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5816 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5817 (__erf): Scale by 16 instead of 8 in potentially underflowing
5818 case. Ensure exception if result actually underflows.
5819 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5820 (__erff): Scale by 16 instead of 8 in potentially underflowing
5821 case. Ensure exception if result actually underflows.
5822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5823 (efx8): Remove variable.
5824 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5825 case. Ensure exception if result actually underflows.
5826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5827 (efx8): Remove variable.
5828 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5829 case. Ensure exception if result actually underflows.
5830 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5831 (efx8): Remove variable.
5832 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5833 case. Ensure exception if result actually underflows.
5834 * math/auto-libm-test-in: Add more tests of erf.
5835 * math/auto-libm-test-out: Regenerated.
5837 2014-05-14 Andreas Schwab <schwab@suse.de>
5839 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5840 Remove code conditionalized on USE___THREAD.
5842 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5843 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5846 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5849 Define unconditionally.
5850 (__ASSUME_O_CLOEXEC): Likewise.
5851 (__ASSUME_SOCK_CLOEXEC): Likewise.
5852 (__ASSUME_IN_NONBLOCK): Likewise.
5853 (__ASSUME_PIPE2): Likewise.
5854 (__ASSUME_EVENTFD2): Likewise.
5855 (__ASSUME_SIGNALFD4): Likewise.
5856 (__ASSUME_DUP3): Likewise.
5857 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5858 (__ASSUME_DUP3): Do not define.
5859 (__ASSUME_EVENTFD2): Likewise.
5860 (__ASSUME_IN_NONBLOCK): Likewise.
5861 (__ASSUME_O_CLOEXEC): Likewise.
5862 (__ASSUME_PIPE2): Likewise.
5863 (__ASSUME_SIGNALFD4): Likewise.
5864 (__ASSUME_SOCK_CLOEXEC): Likewise.
5865 (__ASSUME_UTIMES): Undefine.
5866 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5867 (__ASSUME_UTIMES): Do not define.
5868 (__ASSUME_O_CLOEXEC): Likewise.
5869 (__ASSUME_SOCK_CLOEXEC): Likewise.
5870 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5871 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5873 (__ASSUME_PIPE2): Likewise.
5874 (__ASSUME_EVENTFD2): Likewise.
5875 (__ASSUME_SIGNALFD4): Likewise.
5876 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5877 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5879 (__ASSUME_EVENTFD2): Likewise.
5880 (__ASSUME_SIGNALFD4): Likewise.
5881 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5882 (__ASSUME_32BITUIDS): Likewise.
5883 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5884 (__ASSUME_IPC64): Likewise.
5885 (__ASSUME_ST_INO_64_BIT): Likewise.
5886 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5887 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5889 (__ASSUME_UTIMES): Do not define.
5890 (__ASSUME_PSELECT): Likewise.
5891 (__ASSUME_PPOLL): Likewise.
5892 (__ASSUME_O_CLOEXEC): Likewise.
5893 (__ASSUME_SOCK_CLOEXEC): Likewise.
5894 (__ASSUME_IN_NONBLOCK): Likewise.
5895 (__ASSUME_PIPE2): Likewise.
5896 (__ASSUME_EVENTFD2): Likewise.
5897 (__ASSUME_SIGNALFD4): Likewise.
5898 (__ASSUME_DUP3): Likewise.
5899 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5900 (__ASSUME_UTIMES): Likewise.
5901 (__ASSUME_O_CLOEXEC): Likewise.
5902 (__ASSUME_SOCK_CLOEXEC): Likewise.
5903 (__ASSUME_IN_NONBLOCK): Likewise.
5904 (__ASSUME_PIPE2): Likewise.
5905 (__ASSUME_EVENTFD2): Likewise.
5906 (__ASSUME_SIGNALFD4): Likewise.
5907 (__ASSUME_DUP3): Likewise.
5908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5909 (__ASSUME_UTIMES): Likewise.
5910 (__ASSUME_O_CLOEXEC): Likewise.
5911 (__ASSUME_SOCK_CLOEXEC): Likewise.
5912 (__ASSUME_IN_NONBLOCK): Likewise.
5913 (__ASSUME_PIPE2): Likewise.
5914 (__ASSUME_EVENTFD2): Likewise.
5915 (__ASSUME_SIGNALFD4): Likewise.
5916 (__ASSUME_DUP3): Likewise.
5917 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5919 (__ASSUME_UTIMES): Likewise.
5920 (__ASSUME_EVENTFD2): Likewise.
5921 (__ASSUME_SIGNALFD4): Likewise.
5922 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5923 (__ASSUME_O_CLOEXEC): Likewise.
5924 (__ASSUME_SOCK_CLOEXEC): Likewise.
5925 (__ASSUME_IN_NONBLOCK): Likewise.
5926 (__ASSUME_PIPE2): Likewise.
5927 (__ASSUME_EVENTFD2): Likewise.
5928 (__ASSUME_SIGNALFD4): Likewise.
5929 (__ASSUME_DUP3): Likewise.
5930 (__ASSUME_UTIMES): Undefine.
5932 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5933 feclearexcept. Remove symbol versioning code.
5934 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5935 symbol versioning code.
5936 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5937 symbol versioning code.
5938 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5939 feupdateenv. Remove symbol versioning code.
5940 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5941 fegetexceptflag. Remove symbol versioning code.
5942 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5943 fesetexceptflag. Remove symbol versioning code.
5944 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5945 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5946 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5947 (__posix_fadvise64_l32): Remove prototype.
5948 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5951 2014-05-13 Roland McGrath <roland@hack.frob.com>
5953 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5954 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5955 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5956 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5958 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5960 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5961 current working directory
5963 2014-05-13 Roland McGrath <roland@hack.frob.com>
5965 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5966 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5967 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5968 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5969 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5970 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5971 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5972 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5973 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5974 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5975 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5976 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5977 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5978 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5979 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5980 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5981 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5982 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5983 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5984 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5985 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5986 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5987 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5988 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5990 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5991 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5992 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5993 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5994 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5995 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5996 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5998 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5999 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6000 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6001 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6002 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6003 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6004 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6005 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6006 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6008 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6009 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6011 * sysdeps/unix/sysv/linux/arm/Makefile
6012 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6013 Add rt-aeabi_unwind_cpp_pr1.
6014 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6015 Add nptl-aeabi_unwind_cpp_pr1.
6016 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6017 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6018 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6019 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6020 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6021 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6023 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6024 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6025 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6026 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6028 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6029 Deconditionalize the code that was previously under [RESET_PID].
6030 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6032 * sysdeps/generic/exit-thread.h: New file.
6033 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6034 * include/unistd.h (__exit_thread): Remove declaration.
6035 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6036 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6037 * csu/libc-start.c: Include <exit-thread.h>.
6038 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6039 * nptl/pthread_create.c: Include <exit-thread.h>.
6040 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6041 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6042 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6043 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6044 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6045 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6046 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6047 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6048 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6049 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6050 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6051 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6052 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6053 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6054 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6055 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6056 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6058 2014-05-13 Andreas Schwab <schwab@suse.de>
6060 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6062 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6064 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6065 (__ASSUME_UTIMES): Do not condition on kernel version.
6066 (__ASSUME_PSELECT): Define unconditionally.
6067 (__ASSUME_PPOLL): Likewise.
6068 (__ASSUME_ATFCTS): Likewise.
6069 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6070 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6071 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6072 (__ASSUME_UTIMENSAT): Define unconditionally.
6073 (__ASSUME_PRIVATE_FUTEX): Likewise.
6074 (__ASSUME_FALLOCATE): Likewise.
6075 (__ASSUME_O_CLOEXEC): Likewise.
6076 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6077 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6078 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6079 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6080 (__ASSUME_IN_NONBLOCK): Likewise.
6081 (__ASSUME_PIPE2): Likewise.
6082 (__ASSUME_EVENTFD2): Likewise.
6083 (__ASSUME_SIGNALFD4): Likewise.
6084 (__ASSUME_DUP3): Likewise.
6085 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6086 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6087 (__ASSUME_AT_RANDOM): Likewise.
6088 (__ASSUME_PREADV): Likewise.
6089 (__ASSUME_PWRITEV): Likewise.
6090 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6091 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6092 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6093 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6094 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6095 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6096 (__ASSUME_O_CLOEXEC): Define unconditionally.
6097 (__ASSUME_PSELECT): Do not undefine conditionally.
6098 (__ASSUME_PPOLL): Likewise.
6099 (__ASSUME_ATFCTS): Likewise.
6100 (__ASSUME_SET_ROBUST_LIST): Likewise.
6101 (__ASSUME_UTIMENSAT): Likewise.
6102 (__ASSUME_FDATASYNC): Define unconditionally.
6103 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6104 (__ASSUME_SIGFRAME_V2): Likewise.
6105 )__ASSUME_EVENTFD2): Likewise.
6106 (__ASSUME_SIGNALFD4): Likewise.
6107 (__ASSUME_PSELECT): Do not undefine conditionally.
6108 (__ASSUME_PPOLL): Likewise.
6109 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6110 (__ASSUME_PSELECT): Define unconditionally.
6111 (__ASSUME_PPOLL): Likewise.
6112 (__ASSUME_O_CLOEXEC): Likewise.
6113 (__ASSUME_SOCK_CLOEXEC): Likewise.
6114 (__ASSUME_IN_NONBLOCK): Likewise.
6115 (__ASSUME_PIPE2): Likewise.
6116 (__ASSUME_EVENTFD2): Likewise.
6117 (__ASSUME_SIGNALFD4): Likewise.
6118 (__ASSUME_DUP3): Likewise.
6119 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6120 (__ASSUME_O_CLOEXEC): Likewise.
6121 (__ASSUME_SOCK_CLOEXEC): Likewise.
6122 (__ASSUME_IN_NONBLOCK): Likewise.
6123 (__ASSUME_PIPE2): Likewise.
6124 (__ASSUME_EVENTFD2): Likewise.
6125 (__ASSUME_SIGNALFD4): Likewise.
6126 (__ASSUME_DUP3): Likewise.
6127 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6128 (__ASSUME_EVENTFD2): Likewise.
6129 (__ASSUME_SIGNALFD4): Likewise.
6130 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6132 2014-05-12 Andreas Schwab <schwab@suse.de>
6135 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6136 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6137 than maximum RPC packet size.
6138 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6139 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6140 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6141 (_nss_nis_getservbyport_r): Likewise.
6143 2014-05-12 Will Newton <will.newton@linaro.org>
6145 * malloc/Makefile (tests): Add tst-mallopt.
6146 * malloc/tst-mallopt.c: New file.
6148 2014-05-09 Roland McGrath <roland@hack.frob.com>
6150 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6151 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6153 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6156 (tst-tlsmod6.so): Likewise.
6158 2014-05-09 Roland McGrath <roland@hack.frob.com>
6160 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6162 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6166 and <dl-procinfo.h>.
6167 (__fegetenv): Save SSE state in envp->__eip if supported.
6168 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6169 envp->__eip if supported.
6170 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6171 and <dl-procinfo.h>.
6172 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6173 __data_offset and __data_selector in environment to 0. Set SSE
6175 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6177 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6179 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6181 2014-05-09 Will Newton <will.newton@linaro.org>
6183 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6184 and libc_relro_required for ARM.
6185 * sysdeps/arm/preconfigure: Regenerate.
6187 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6188 Stefan Liebler <stli@linux.vnet.ibm.com>
6190 * config.make.in (enable-lock-elision): New Makefile variable.
6191 * configure.ac: Likewise.
6192 * configure: Regenerate.
6193 * sysdeps/s390/configure.ac:
6194 Add check for gcc transactions support.
6195 * sysdeps/s390/configure: Regenerate.
6196 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6197 Build elision files if enabled.
6198 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6199 Add lock elision support for s390.
6200 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6201 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6202 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6203 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6204 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6205 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6206 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6214 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6215 (__lll_timedlock_elision, __lll_lock_elision)
6216 (__lll_unlock_elision, __lll_trylock_elision)
6217 (lll_timedlock_elision, lll_lock_elision)
6218 (lll_unlock_elision, lll_trylock_elision): Add.
6219 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6220 (pthread_mutex_t): Add lock elision support for s390.
6222 2014-05-14 Wilco <wdijkstr@arm.com>
6224 * sysdeps/arm/fclrexcpt.c: Cleanup.
6225 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6226 * sysdeps/arm/feenablxcpt.c: Cleanup.
6227 * sysdeps/arm/fegetenv.c: Cleanup.
6228 * sysdeps/arm/fegetexcept.c: Cleanup.
6229 * sysdeps/arm/fegetround.c: Cleanup.
6230 * sysdeps/arm/feholdexcpt.c: Cleanup.
6231 * sysdeps/arm/fesetenv.c: Cleanup.
6232 * sysdeps/arm/fesetround.c: Cleanup.
6233 * sysdeps/arm/feupdateenv.c: Cleanup.
6234 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6235 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6236 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6237 * sysdeps/arm/ftestexcept.c: Cleanup.
6238 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6239 * sysdeps/arm/setfpucw.c: Cleanup.
6241 2014-05-09 Will Newton <will.newton@linaro.org>
6243 * sysdeps/arm/armv7/strcmp.S: New file.
6244 * NEWS: Mention addition of ARMv7 optimized strcmp.
6246 2014-05-08 Roland McGrath <roland@hack.frob.com>
6248 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6249 look for %.ac rather than %.in.
6251 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6252 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6253 * sysdeps/mach/hurd/configure: Regenerated.
6254 * sysdeps/unix/sysv/linux/configure: Regenerated.
6256 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6258 2014-05-07 Steve Ellcey <sellcey@mips.com>
6261 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6265 2014-05-07 Andreas Schwab <schwab@suse.de>
6267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6268 when skipping over non-matching result from nscd.
6270 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6273 * nptl/sockperf.c (client): Check socket return value.
6276 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6277 nscd security class.
6279 2014-05-06 Roland McGrath <roland@hack.frob.com>
6281 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6282 * sysdeps/arm/unwind.h: ... here.
6284 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6287 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6290 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6292 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6293 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6294 multiarch strncpy for PPC64.
6295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6296 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6298 multiarch optimizations.
6299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6300 (__libc_ifunc_impl_list): Likewise.
6301 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6302 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6303 multiarch stpncpy for PPC64.
6304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6305 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6307 2014-05-06 Andreas Schwab <schwab@suse.de>
6310 * gmon/mcount.c (_MCOUNT_DECL): Use
6311 atomic_compare_and_exchange_bool_acq instead of
6312 catomic_compare_and_exchange_bool_acq.
6314 2014-05-05 Roland McGrath <roland@hack.frob.com>
6316 * elf/Makefile (others, install-bin): Remove pldd.
6317 (pldd-modules): Variable removed.
6318 ($(objpfx)pldd): Target removed.
6319 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6320 (others, install-bin): Append pldd here.
6321 ($(objpfx)pldd): New target.
6323 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6324 to 0, so the first #if test emitted later doesn't see it undefined.
6325 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6326 * sysdeps/gnu/errlist.c: Regenerated.
6328 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6331 [libc_hidden_builtin_def]: Define to empty value.
6332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6333 [libc_hidden_builtin_def]: Likewise.
6334 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6335 [libc_hidden_builtin_def]: Likewise.
6336 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6337 [libc_hidden_builtin_def]: Likewise.
6338 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6339 __redirect_memcpy and define ifunc as default hidden symbol.
6340 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6341 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6343 2014-05-04 Adam Conrad <adconrad@0c3.net>
6345 * locale/iso-4217.def: Reintroduce XDR currency.
6347 2014-05-04 Allan McRae <allan@archlinux.org>
6349 * po/eo.po: Update Esperanto translation from translation project.
6351 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6353 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6354 and FEATURE_INDEX_MAX to 1.
6355 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6357 2014-05-01 Steve Ellcey <sellcey@mips.com>
6359 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6360 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6361 * iconvdata/big5.c (ONE_DIRECTION): Define.
6362 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6363 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6364 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6365 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6366 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6367 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6368 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6369 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6370 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6371 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6372 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6373 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6374 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6375 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6376 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6377 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6378 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6379 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6380 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6381 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6382 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6383 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6384 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6385 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6386 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6387 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6388 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6389 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6390 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6391 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6392 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6393 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6394 * iconvdata/johab.c (ONE_DIRECTION): Define.
6395 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6396 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6397 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6398 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6399 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6400 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6401 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6402 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6403 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6404 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6406 2014-05-01 Roland McGrath <roland@hack.frob.com>
6408 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6409 (_IO_JUMPS_OFFSET): Define to 0.
6411 * nptl/sysdeps/pthread/bits/libc-lock.h
6412 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6413 (__libc_lock_define_initialized_recursive): Always define using
6414 initializer. Modern compilers treat uninitialized (implicit zero) and
6415 explicit zero initializers the same (i.e. put the datum in bss).
6417 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6419 * nscd/nscd-client.h: Include <string.h>.
6421 2014-05-01 David S. Miller <davem@davemloft.net>
6424 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6425 multiple zero bytes exist at the end of a string.
6426 Reported by Aurelien Jarno <aurelien@aurel32.net>
6428 * string/test-strcmp.c (check): Add explicit test for situations where
6429 there are multiple zero bytes after the first.
6431 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6434 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6435 when compiling wprintf.
6436 * stdio-common/tstdiomisc.c (t3): New function.
6439 2014-05-01 Steve Ellcey <sellcey@mips.com>
6441 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6442 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6443 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6444 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6446 2014-05-01 Steve Ellcey <sellcey@mips.com>
6448 * stdlib/longlong.h: Updated from GCC.
6450 2014-05-01 Will Newton <will.newton@linaro.org>
6451 Bernard Ogden <bernie.ogden@linaro.org>
6453 * NEWS: Update fixed bug list.
6456 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6458 2014-04-30 David S. Miller <davem@davemloft.net>
6460 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6461 (libc_feholdexcept_setround_sparc_ctx): New function.
6462 (libc_fesetenv_sparc_ctx): Likewise.
6463 (libc_feupdateenv_sparc_ctx): Likewise.
6464 (libc_feholdsetround_sparc_ctx): Likewise.
6465 (libc_feholdexcept_setround_ctx): Define.
6466 (libc_feholdexcept_setroundf_ctx): Likewise.
6467 (libc_feholdexcept_setroundl_ctx): Likewise.
6468 (libc_fesetenv_ctx): Likewise.
6469 (libc_fesetenvf_ctx): Likewise.
6470 (libc_fesetenvl_ctx): Likewise.
6471 (libc_feupdateenv_ctx): Likewise.
6472 (libc_feupdateenvf_ctx): Likewise.
6473 (libc_feupdateenvl_ctx): Likewise.
6474 (libc_feresetround_ctx): Likewise.
6475 (libc_feresetroundf_ctx): Likewise.
6476 (libc_feresetroundl_ctx): Likewise.
6477 (libc_feholdsetround_ctx): Likewise.
6478 (libc_feholdsetroundf_ctx): Likewise.
6479 (libc_feholdsetroundl_ctx): Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6482 with __USE_GNU instead of XOPEN cpp guards.
6484 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6488 with XOPEN cpp guards.
6490 2014-04-30 Julian Brown <julian@codesourcery.com>
6493 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6496 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6499 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6501 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6502 * sysdeps/unix/sysv/linux/configure: Regenerated.
6503 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6504 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6505 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6506 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6507 * README: Update reference to required Linux kernel version.
6508 * manual/install.texi (Linux): Update reference to required Linux
6509 kernel headers version.
6510 * INSTALL: Regenerated.
6512 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6514 [POSIX] (limits.h): Likewise.
6515 [POSIX] (math.h): Likewise.
6516 [POSIX] (sys/wait.h): Likewise.
6517 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6519 [POSIX] (stddef.h): Do not allow header inclusion.
6521 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6525 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6527 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6528 Return immediately after lll_futex_wake.
6530 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6533 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6535 (datahead_init_pos): Call datahead_init_common early.
6536 (datahead_init_neg): Likewise.
6538 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6539 datahead_init_neg): New functions.
6540 * nscd/aicache.c (addhstaiX): Use them.
6541 * nscd/grpcache.c (cache_addgr): Likewise.
6542 * nscd/hstcache.c (cache_addhst): Likewise.
6543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6544 * nscd/netgroupcache.c (do_notfound): Likewise.
6545 (addgetnetgrentX): Likewise.
6546 (addinnetgrX): Likewise.
6547 * nscd/pwdcache.c (cache_addpw): Likewise.
6548 * nscd/servicescache.c (cache_addserv): Likewise.
6550 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6551 Atsushi Onoe <atsushi@onoe.org>
6556 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6557 one response is valid.
6558 * resolv/res_send.c (send_dg): Check for validity of other
6559 response if the current response is a referral.
6561 2014-04-29 Steve Ellcey <sellcey@mips.com>
6563 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6565 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6568 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6569 Always divide by positive zero when computing -Inf result.
6570 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6571 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6573 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6576 FPSCR if value do not change.
6577 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6578 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6579 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6580 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6581 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6582 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6585 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6587 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6588 * sysdeps/unix/sysv/linux/hppa: Move directory from
6589 ports/systeps/unix/sysv/linux/hppa.
6590 * README: Update listing for hppa-*-linux-gnu.
6592 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6595 * manual/stdio.texi (Hook functions): Fix types of stream hook
6598 * socket/sys/socket.h: Fix typo in comment.
6600 2014-04-28 Wilco <wdijkstr@arm.com>
6602 * sysdeps/arm/fenv_private.h: New file.
6603 * sysdeps/arm/math_private.h: New file.
6604 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6606 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6608 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6610 (La_x86_64_retval): Likewise.
6612 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6614 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6615 fpsr if value didn't change.
6616 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6617 to fpcr if value didn't change.
6618 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6619 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6620 fpsr or fpcr if value didn't change.
6621 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6622 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6623 fpcr if value didn't change.
6624 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6625 to fpsr if value didn't change.
6627 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6629 * nptl/tst-sem3.c: Use test-skeleton.c
6630 (main): Rename to do_test. Use return instead of
6632 * nptl/tst-sem4.c: Use test-skeleton.c
6633 (main): Rename to do_test.
6635 2014-04-22 David S. Miller <davem@davemloft.net>
6637 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6638 (struct sigaction): New struct member __glibc_reserved0, change
6639 type of sa_flags to int.
6641 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6643 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6644 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6646 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6648 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6649 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6651 2014-04-22 Will Newton <will.newton@linaro.org>
6652 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6654 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6655 (__longjmp): Add longjmp and longjmp_target SystemTap
6657 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6658 (__sigsetjmp): Add setjmp SystemTap probe.
6660 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6662 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6665 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6669 * sysdeps/powerpc/fpu/fenv_private.h
6670 (libc_feholdexcept_setroundl_ctx): Define to
6671 libc_feholdexcept_setround_ppc_ctx.
6672 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6673 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6674 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6675 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6677 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6679 * sysdeps/aarch64/math-tests.h: New file.
6681 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6683 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6686 Check and set bit_AVX2_Usable.
6687 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6689 (bit_AVX2): Likewise.
6690 (index_AVX2_Usable): Likewise.
6691 (CPUID_AVX2): Likewise.
6692 (HAS_AVX2): Likewise.
6694 2014-04-17 Will Newton <will.newton@linaro.org>
6696 * manual/setjmp.texi (System V contexts): Add note that
6697 calling setcontext on a context created by a call to a
6698 signal handler is undefined. Update text to note that
6699 setcontext from a signal handler is possible but not
6703 * stdlib/tst-setcontext.c: Include signal.h.
6704 (main): Check that the signal stack before and
6705 after swapcontext is the same.
6707 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6708 Re-implement to restore registers in user code and avoid
6709 rt_sigreturn system call.
6711 2014-04-17 Wilco <wdijkstr@arm.com>
6713 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6714 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6715 * math/test-fenv.c: Skip exception trap tests on targets which only
6716 support non-stop mode.
6718 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6719 Wilco Dijkstra <wilco.dijkstra@arm.com>
6721 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6722 (libc_feholdsetround_aarch64_ctx)
6723 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6724 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6725 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6726 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6727 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6728 (libc_feresetround_noexl_ctx): Define.
6730 2014-04-16 Richard Henderson <rth@redhat.com>
6732 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6734 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6737 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6738 const from the non-libc, non-ldso copy.
6740 * sysdeps/alpha/libm-test-ulps: Regenerate.
6742 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6743 Wilco Dijkstra <wilco.dijkstra@arm.com>
6745 * sysdeps/aarch64/fpu/math_private.h: New file.
6747 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6749 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6751 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6754 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6755 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6757 Intel MPX bound registers before _dl_profile_fixup.
6758 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6759 registers after _dl_profile_fixup. Save and restore bound
6760 registers bnd0/bnd1 when calling _dl_call_pltexit.
6761 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6762 (LR_BND_OFFSET): Likewise.
6763 (LRV_BND0_OFFSET): Likewise.
6764 (LRV_BND1_OFFSET): Likewise.
6766 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6768 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6770 * sysdeps/mach/hurd/i386/tls.h: ... here.
6771 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6772 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6775 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6777 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6779 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6781 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6783 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6786 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6787 * sysdeps/s390/configure: Regenerate.
6790 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6791 Set round-to-nearest internally to reduce error accumulation.
6793 2014-04-16 Alan Modra <amodra@gmail.com>
6797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6798 * math/libm-test.inc (frexp_test_data): Add tests.
6799 * NEWS: Update fixed bug list.
6801 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6803 * benchtests/Makefile: Depend on libraries in build directory.
6804 (bench-math): Separate out math tests.
6805 (bench-pthread): Separate out pthread tests.
6806 (bench): Include math and pthread tests.
6808 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6811 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6812 _dl_debug_initialize.
6814 * configure.ac: Remove SELinux header check.
6815 * configure: Regenerate.
6816 * nscd/selinux.c (perms): Array of const char* to permission names.
6817 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6818 default policy. Call string_to_security_class and string_to_av_perm to
6819 translate strings. Enforce default policy and call avs_has_perm with
6820 results of translated strings.
6822 2014-04-13 David S. Miller <davem@davemloft.net>
6824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6826 2014-04-12 Allan McRae <allan@archlinux.org>
6829 * manual/string.texi (Collation Functions): Fix qsort argument
6831 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6833 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6835 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6836 Make the test a no-op if there are no exceptions defined.
6838 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6840 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6841 enable-hardcoded-path-in-tests
6843 2014-04-11 Will Newton <will.newton@linaro.org>
6845 * benchtests/Makefile (extra-objs): Add json-lib.o.
6846 (bench-func): Tidy up JSON output.
6847 * benchtests/bench-skeleton.c: Include json-lib.h.
6848 (main): Use JSON library functions to do output of
6850 * benchtests/bench-timing-type.c (main): Output the
6851 timing type simply, leaving formatting to the user.
6852 * benchtests/json-lib.c: New file.
6853 * benchtests/json-lib.h: Likewise.
6855 2014-04-11 Torvald Riegel <triegel@redhat.com>
6858 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6859 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6860 memory barriers. Add comments.
6861 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6862 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6863 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6864 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6865 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6866 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6868 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6870 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6871 * sysdeps/s390/s390-64/configure.ac: ... this ...
6872 * sysdeps/s390/configure.ac: ... to here.
6873 * sysdeps/s390/s390-32/configure: Delete file.
6874 * sysdeps/s390/s390-64/configure: Delete file.
6875 * sysdeps/s390/configure: Regenerate.
6877 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6879 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6881 2014-04-11 Will Newton <will.newton@linaro.org>
6883 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6884 to zero if it is not defined elsewhere. (mtrim): Test
6885 the value of MALLOC_DEBUG with #if rather than #ifdef.
6887 2014-04-10 Torvald Riegel <triegel@redhat.com>
6889 * benchtests/pthread_once-inputs: New file.
6890 * benchtests/pthread_once-source.c: New file.
6891 * benchtests/README: Update documentation.
6893 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6894 H.J. Lu <hongjiu.lu@intel.com>
6897 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6898 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6899 * sysdeps/x86_64/configure: Regenerated.
6900 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6902 (REGISTER_SAVE_RAX): Likewise.
6903 (REGISTER_SAVE_RCX): Likewise.
6904 (REGISTER_SAVE_RDX): Likewise.
6905 (REGISTER_SAVE_RSI): Likewise.
6906 (REGISTER_SAVE_RDI): Likewise.
6907 (REGISTER_SAVE_R8): Likewise.
6908 (REGISTER_SAVE_R9): Likewise.
6909 (REGISTER_SAVE_BND0): Likewise.
6910 (REGISTER_SAVE_BND1): Likewise.
6911 (REGISTER_SAVE_BND2): Likewise.
6912 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6913 bound registers when calling _dl_fixup.
6915 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6917 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6918 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6920 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6921 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6922 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6923 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6924 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6925 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6926 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6928 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6931 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6932 pathconf(_PC_NAME_MAX).
6934 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6938 (__PTHREAD_SPINS): Move definition to ...
6939 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6940 (__PTHREAD_SPINS): ... here.
6941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6942 (__PTHREAD_SPIN): Likewise.
6943 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6944 (__PTHREAD_SPIN): Likewise.
6945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6946 (__PTHREAD_SPIN): Likewise.
6947 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6948 (__PTHREAD_SPIN): Likewise.
6949 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6950 (__PTHREAD_SPIN): Likewise.
6951 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6952 (__PTHREAD_SPIN): Likewise.
6953 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6954 (__PTHREAD_SPIN): Likewise.
6955 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6956 (__PTHREAD_SPIN): Likewise.
6957 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6958 (__PTHREAD_SPIN): Likewise.
6959 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6960 (__PTHREAD_SPIN): Likewise.
6961 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6962 (__PTHREAD_SPIN): Likewise.
6963 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6964 (__PTHREAD_SPIN): Likewise.
6966 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6967 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6968 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6969 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6972 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6973 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6974 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6976 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6977 strlen symbol for non multi-arch builds.
6978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6979 missing hidden_def and weak_alias.
6981 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6983 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6985 2014-04-07 Will Newton <will.newton@linaro.org>
6987 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6988 and contents. [!_LIBC] Remove #ifndef and contents.
6989 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6990 * string/memccpy.c (__memccpy): Use ANSI prototype.
6991 * string/memfrob.c (memfrob): Likewise.
6992 * string/strcoll.c (STRCOLL): Likewise.
6993 * string/strlen.c (strlen): Likewise.
6994 * string/strtok.c (STRTOK): Likewise.
6995 * string/strcat.c: Remove unused #include of memcopy.h.
6996 (strcat): Use ANSI prototype.
6997 * string/strchr.c: Remove unused #include of memcopy.h.
6998 (strchr): Use ANSI prototype.
6999 * string/strcmp.c: Remove unused #include of memcopy.h.
7000 (strcmp): Use ANSI prototype.
7001 * string/strcpy.c: Remove unused #include of memcopy.h.
7002 (strcpy): Use ANSI prototype.
7004 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7006 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7007 * config.make.in (config-extra-cppflags): Set it from
7008 libc_extra_cppflags.
7009 * configure.ac (libc_extra_cflags): Make it accumulate over
7010 configure fragments.
7011 (libc_extra_cppflags): New flag.
7012 * configure. Regenerate.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7014 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7015 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7020 result for FE_DOWNWARD rounding mode.
7021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7025 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7027 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7028 in function argument name.
7030 2014-04-03 David Svoboda <svoboda@cert.org>
7033 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7036 2014-04-03 Roland McGrath <roland@hack.frob.com>
7038 * elf/dl-unmap-segments.h: New file.
7039 * sysdeps/generic/ldsodefs.h
7040 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7041 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7042 * elf/dl-fptr.c: Likewise.
7043 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7044 * sysdeps/aarch64/tlsdesc.c: Likewise.
7045 * sysdeps/arm/tlsdesc.c: Likewise.
7046 * sysdeps/i386/tlsdesc.c: Likewise.
7047 * sysdeps/tile/dl-runtime.c: Likewise.
7048 * sysdeps/x86_64/tlsdesc.c: Likewise.
7049 * elf/dl-load.h: New file.
7050 * elf/dl-load.c: Include it.
7051 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7052 Macros moved to dl-load.h.
7053 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7054 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7055 Use _dl_unmap_segments in place of __munmap.
7056 Break out segment-mapping loop into ...
7057 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7059 2014-04-03 Will Newton <will.newton@linaro.org>
7061 * elf/dl-lookup.c (do_lookup_x): Remove comment
7062 referring to nested function and move variable
7063 declarations down to before first use.
7065 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7069 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7071 * math/s_catanf.c (__catanf): Likewise.
7072 * math/s_catanh.c (__catanh): Likewise.
7073 * math/s_catanhf.c (__catanhf): Likewise.
7074 * math/s_catanhl.c (__catanhl): Likewise.
7075 * math/s_catanl.c (__catanl): Likewise.
7076 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7077 by positive zero when computing -Inf result.
7078 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7079 (catanh_test): Likewise.
7080 * sysdeps/i386/fpu/libm-test-ulps: Update.
7081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7085 instead of using underflowing value in computing result.
7086 * math/s_clog10.c (__clog10): Likewise.
7087 * math/s_clog10f.c (__clog10f): Likewise.
7088 * math/s_clog10l.c (__clog10l): Likewise.
7089 * math/s_clogf.c (__clogf): Likewise.
7090 * math/s_clogl.c (__clogl): Likewise.
7091 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7092 (clog10_test): Likewise.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096 2014-04-02 Alan Modra <amodra@gmail.com>
7099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7100 output when value is near a power of two. Use int64_t for lx and
7101 remove casts. Use decimal rather than hex exponent constants.
7102 Don't use long double multiplication when double will suffice.
7103 * math/libm-test.inc (nextafter_test_data): Add tests.
7104 * NEWS: Add 16739 and 16786 to bug list.
7106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7108 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7110 2014-04-01 Will Newton <will.newton@linaro.org>
7112 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7113 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7115 2014-04-01 Florian Weimer <fweimer@redhat.com>
7118 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7119 * nptl/tst-setuid2.c: New file.
7120 * nptl/Makefile (xtests): Add tst-setuid2.
7122 2014-04-01 Alan Modra <amodra@gmail.com>
7125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7127 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7131 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7132 set errno as appropriate.
7133 * math/w_scalbf.c (__scalbf): Likewise.
7134 * math/w_scalbl.c (__scalbl): Likewise.
7135 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7136 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7137 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7141 * math/w_atan2.c: Include <errno.h>.
7142 (__atan2): Set errno for result underflowing to zero.
7143 * math/w_atan2f.c: Include <errno.h>.
7144 (__atan2f): Set errno for result underflowing to zero.
7145 * math/w_atan2l.c: Include <errno.h>.
7146 (__atan2l): Set errno for result underflowing to zero.
7147 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7149 * math/auto-libm-test-out: Regenerated.
7151 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7154 Encode instruction correctly in little endian.
7155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7161 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7164 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7167 * sysdeps/unix/sysv/linux/kernel-features.h
7168 [__sparc__ && !__arch64__ && !__sparc_v9__]
7169 (__ASSUME_SET_ROBUST_LIST): Do not define.
7170 [__sparc__ && !__arch64__ && !__sparc_v9__]
7171 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7172 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7175 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7176 (__ASSUME_REQUEUE_PI): Likewise.
7177 (__ASSUME_SET_ROBUST_LIST): Likewise.
7178 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7179 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7182 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7184 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7188 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7189 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7191 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7192 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7197 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7198 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7200 2014-03-31 Will Newton <will.newton@linaro.org>
7202 * benchtests/Makefile (bench): Add ffs and ffsll to list
7204 * benchtests/ffs-inputs: New file.
7205 * benchtests/ffsll-inputs: Likewise.
7207 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7210 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7211 too large before casting to int.
7212 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7213 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7214 * math/libm-test.inc (scalb_test_data): Add more tests.
7216 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7218 * benchtests/Makefile (DETAILED_OPT): New make option.
7219 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7221 * benchtests/bench-skeleton.c: Include stdbool.h.
7222 (main): Store and print timings per input.
7223 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7224 member to each argument value.
7225 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7226 (_print_arg_data): Initialize per-input timing to 0.
7228 * benchtests/Makefile (timing-type): New binary.
7229 (bench-clean): Also remove bench-timing-type.
7230 (bench): New target for timing-type.
7231 (bench-func): Print output in JSON format.
7232 * benchtests/bench-skeleton.c (main): Print output in JSON
7234 * benchtests/bench-timing-type.c: New file.
7235 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7236 (TIMING_PRINT_STATS): Remove.
7237 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7240 * benchtests/bench-modf.c: Remove.
7241 * benchtests/modf-inputs: New inputs file.
7243 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7246 * math/s_clog10.c (M_PI_LOG10E): New macro.
7247 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7248 imaginary parts are 0.
7249 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7250 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7251 imaginary parts are 0.
7252 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7253 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7254 imaginary parts are 0.
7255 * math/libm-test.inc (clog10_test_data): Update expected results
7256 for when real and imaginary parts are 0.
7258 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7260 * elf/dl-load.c: Finish conversion of __builtin_expect into
7263 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7267 1+x for argument with exponent below -67.
7268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7270 * math/auto-libm-test-in: Add more tests of exp.
7271 * math/auto-libm-test-out: Regenerated.
7273 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7277 (nscd_getnetgrent): Use it.
7280 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7283 2014-03-27 Andi Kleen <ak@linux.intel.com>
7285 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7286 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7287 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7288 (lll_robust_unlock): Remove out of line section. Use cfi
7290 (LLL_STUB_UNWIND_INFO*): Remove.
7291 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7292 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7293 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7294 (lll_robust_unlock): Remove out of line section. Use cfi
7296 (LLL_STUB_UNWIND_INFO*): Remove.
7298 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7304 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7306 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7308 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7311 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7313 * math/test-fenv-preserve.c: New file.
7314 * math/Makefile (tests): Add test-fenv-preserve.
7316 2014-03-26 Will Newton <will.newton@linaro.org>
7318 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7320 2014-03-25 Roland McGrath <roland@hack.frob.com>
7322 * scripts/versionlist.awk: Partition the version sets and emit all
7323 GLIBC_* (sorted) before all others (sorted).
7325 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7327 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7328 GLIBC_2.2.5 version.
7330 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7332 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7335 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7340 2014-03-25 Andreas Schwab <schwab@suse.de>
7342 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7343 label to be used after in6ailist is initialized.
7345 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7347 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7348 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7350 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7354 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7356 (fp_formats): Update initializers.
7357 (init_fp_formats): Initialize new field.
7358 (output_for_one_input_case): Allow underflow for results up to
7360 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7361 * math/auto-libm-test-in: Don't mark some underflows from asin and
7363 * math/auto-libm-test-out: Regenerated.
7364 * sysdeps/i386/fpu/libm-test-ulps: Update.
7365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367 2014-03-25 Andreas Schwab <schwab@suse.de>
7369 * libio/Makefile (tst-ftell-partial-wide-ENV)
7370 (tst-ftell-active-handler-ENV): Define.
7372 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7374 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7376 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7378 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7380 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7383 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7384 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7386 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7389 * elf/dl-load.c (open_verify): Add mode parameter.
7390 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7391 (open_path): Change from boolean 'secure' to complete flag 'mode'
7392 (_dl_map_object): Adjust.
7393 * elf/Makefile (tests): Add tst-dlopen-aout.
7394 * elf/tst-dlopen-aout.c: New test.
7396 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7399 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7400 (struct stat): Rename member pad0 to __glibc_reserved0.
7403 * sysdeps/s390/s390-32/bits/wordsize.h
7404 (__WORDSIZE32_SIZE_ULONG): New define.
7405 * sysdeps/s390/s390-64/bits/wordsize.h
7406 (__WORDSIZE32_SIZE_ULONG): Likewise.
7407 * sysdeps/generic/stdint.h (SIZE_MAX):
7408 Define as UL if __WORDSIZE32_SIZE_ULONG.
7411 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7412 (__glibc_reserved0): New variable.
7413 (sa_flags): Change type to int.
7415 * posix/Makefile (before-compile): Use += before-compile instead
7418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7419 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7421 2014-03-20 Andreas Schwab <schwab@suse.de>
7424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7425 non-matching result from nscd.
7427 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7429 * scripts/bench.py: Moved to ...
7430 * benchtests/scripts/bench.py: ... here.
7431 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7433 2014-03-24 Andreas Schwab <schwab@suse.de>
7436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7437 alloca_account and account alloca use for struct in6ailist.
7439 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7443 rounding mode to recompute results that overflow to infinity or
7445 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7447 * math/auto-libm-test-out: Regenerated.
7448 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7449 (ccosh_test): Likewise.
7450 (csin_test_data): Use plus_oflow.
7451 (csin_test): Use ALL_RM_TEST.
7452 (csinh_test_data): Use plus_oflow.
7453 (csinh_test): Use ALL_RM_TEST.
7454 * sysdeps/i386/fpu/libm-test-ulps: Update.
7455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7460 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7461 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7464 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7466 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7467 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7468 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7471 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7472 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7474 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7480 * scripts/bench.pl: Remove file.
7481 * scripts/bench.py: New benchmark script.
7482 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7483 * benchtests/README: Mention python dependency.
7484 * scripts/pylintrc: New file.
7485 * scripts/pylint: New file.
7487 * bits/mathdef.h: Use #ifdef instead of #if.
7488 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7489 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7490 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7491 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7492 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7493 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7495 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7496 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7498 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7500 and strpbrk-ppc64 objects.
7501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7502 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7503 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7504 multiarch strpbrk for POWER7.
7505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7506 multiarch strpbrk for PPC64.
7507 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7509 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7512 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7514 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7515 (atan_test): Likewise.
7516 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7517 (atanh_test): Use ALL_RM_TEST.
7518 (atan2_test_data): Likewise.
7519 (cabs_test): Likewise.
7520 (cacosh_test): Likewise.
7521 (carg_test): Likewise.
7522 (casin_test): Likewise.
7523 (casinh_test): Likewise.
7524 (cbrt_test): Likewise.
7525 (csqrt_test): Likewise.
7526 (erf_test): Likewise.
7527 (erfc_test): Likewise.
7528 (pow10_test): Likewise.
7529 (exp2_test): Likewise.
7530 (hypot_test): Likewise.
7531 (j0_test): Likewise.
7532 (j1_test): Likewise.
7533 (lgamma_test): Likewise.
7534 (gamma_test): Likewise.
7535 (sincos_test): Likewise.
7536 (tanh_test): Likewise.
7537 (y0_test): Likewise.
7538 (y1_test): Likewise.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7544 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7546 and strcspn-ppc64 objects.
7547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7548 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7549 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7550 multiarch strcspn for POWER7.
7551 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7552 multiarch strcspn for PPC64.
7553 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7555 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7558 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7560 * math/gen-libm-test.pl (generate_testfile): Expect only function
7561 name as argument to AUTO_TESTS_* and pass results for all rounding
7562 modes to parse_args.
7563 (parse_auto_input): Separate inputs of automatic tests from
7564 outputs before storing in %auto_tests.
7565 * math/libm-test.inc (acos_test_data): Update call to
7567 (acos_test): Use ALL_RM_TEST.
7568 (acos_tonearest_test_data): Remove.
7569 (acos_test_tonearest): Likewise.
7570 (acos_towardzero_test_data): Likewise.
7571 (acos_test_towardzero): Likewise.
7572 (acos_downward_test_data): Likewise.
7573 (acos_test_downward): Likewise.
7574 (acos_upward_test_data): Likewise.
7575 (acos_test_upward): Likewise.
7576 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7577 (asin_test_data): Likewise.
7578 (asin_test): Use ALL_RM_TEST.
7579 (asin_tonearest_test_data): Remove.
7580 (asin_test_tonearest): Likewise.
7581 (asin_towardzero_test_data): Likewise.
7582 (asin_test_towardzero): Likewise.
7583 (asin_downward_test_data): Likewise.
7584 (asin_test_downward): Likewise.
7585 (asin_upward_test_data): Likewise.
7586 (asin_test_upward): Likewise.
7587 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7588 (atan_test_data): Likewise.
7589 (atanh_test_data): Likewise.
7590 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7591 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7592 (carg_test_data): Likewise.
7593 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7594 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7595 (ccosh_test_data): Likewise.
7596 (cexp_test_data): Likewise.
7597 (clog_test_data): Likewise.
7598 (clog10_test_data): Likewise.
7599 (cos_test_data): Update call to AUTO_TESTS_f_f.
7600 (cos_test): Use ALL_RM_TEST.
7601 (cos_tonearest_test_data): Remove.
7602 (cos_test_tonearest): Likewise.
7603 (cos_towardzero_test_data): Likewise.
7604 (cos_test_towardzero): Likewise.
7605 (cos_downward_test_data): Likewise.
7606 (cos_test_downward): Likewise.
7607 (cos_upward_test_data): Likewise.
7608 (cos_test_upward): Likewise.
7609 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7610 (cosh_test): Use ALL_RM_TEST.
7611 (cosh_tonearest_test_data): Remove.
7612 (cosh_test_tonearest): Likewise.
7613 (cosh_towardzero_test_data): Likewise.
7614 (cosh_test_towardzero): Likewise.
7615 (cosh_downward_test_data): Likewise.
7616 (cosh_test_downward): Likewise.
7617 (cosh_upward_test_data): Likewise.
7618 (cosh_test_upward): Likewise.
7619 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7620 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7621 (ctan_test_data): Likewise.
7622 (ctan_test): Use ALL_RM_TEST.
7623 (ctan_tonearest_test_data): Remove.
7624 (ctan_test_tonearest): Likewise.
7625 (ctan_towardzero_test_data): Likewise.
7626 (ctan_test_towardzero): Likewise.
7627 (ctan_downward_test_data): Likewise.
7628 (ctan_test_downward): Likewise.
7629 (ctan_upward_test_data): Likewise.
7630 (ctan_test_upward): Likewise.
7631 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7632 (ctanh_test): Use ALL_RM_TEST.
7633 (ctanh_tonearest_test_data): Remove.
7634 (ctanh_test_tonearest): Likewise.
7635 (ctanh_towardzero_test_data): Likewise.
7636 (ctanh_test_towardzero): Likewise.
7637 (ctanh_downward_test_data): Likewise.
7638 (ctanh_test_downward): Likewise.
7639 (ctanh_upward_test_data): Likewise.
7640 (ctanh_test_upward): Likewise.
7641 (erf_test_data): Update call to AUTO_TESTS_f_f.
7642 (erfc_test_data): Likewise.
7643 (exp_test_data): Likewise.
7644 (exp_test): Use ALL_RM_TEST.
7645 (exp_tonearest_test_data): Remove.
7646 (exp_test_tonearest): Likewise.
7647 (exp_towardzero_test_data): Likewise.
7648 (exp_test_towardzero): Likewise.
7649 (exp_downward_test_data): Likewise.
7650 (exp_test_downward): Likewise.
7651 (exp_upward_test_data): Likewise.
7652 (exp_test_upward): Likewise.
7653 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7654 (exp10_test): Use ALL_RM_TEST.
7655 (exp10_tonearest_test_data): Remove.
7656 (exp10_test_tonearest): Likewise.
7657 (exp10_towardzero_test_data): Likewise.
7658 (exp10_test_towardzero): Likewise.
7659 (exp10_downward_test_data): Likewise.
7660 (exp10_test_downward): Likewise.
7661 (exp10_upward_test_data): Likewise.
7662 (exp10_test_upward): Likewise.
7663 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7664 (expm1_test_data): Likewise.
7665 (expm1_test): Use ALL_RM_TEST.
7666 (expm1_tonearest_test_data): Remove.
7667 (expm1_test_tonearest): Likewise.
7668 (expm1_towardzero_test_data): Likewise.
7669 (expm1_test_towardzero): Likewise.
7670 (expm1_downward_test_data): Likewise.
7671 (expm1_test_downward): Likewise.
7672 (expm1_upward_test_data): Likewise.
7673 (expm1_test_upward): Likewise.
7674 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7675 (fma_test): Use ALL_RM_TEST.
7676 (fma_towardzero_test_data): Remove.
7677 (fma_test_towardzero): Likewise.
7678 (fma_downward_test_data): Likewise.
7679 (fma_test_downward): Likewise.
7680 (fma_upward_test_data): Likewise.
7681 (fma_test_upward): Likewise.
7682 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7683 (j0_test_data): Update call to AUTO_TESTS_f_f.
7684 (j1_test_data): Likewise.
7685 (jn_test_data): Update call to AUTO_TESTS_if_f.
7686 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7687 (log_test_data): Update call to AUTO_TESTS_f_f.
7688 (log10_test_data): Likewise.
7689 (log1p_test_data): Likewise.
7690 (log2_test_data): Likewise.
7691 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7692 (pow_tonearest_test_data): Likewise.
7693 (sin_test_data): Update call to AUTO_TESTS_f_f.
7694 (sin_test): Use ALL_RM_TEST.
7695 (sin_tonearest_test_data): Remove.
7696 (sin_test_tonearest): Likewise.
7697 (sin_towardzero_test_data): Likewise.
7698 (sin_test_towardzero): Likewise.
7699 (sin_downward_test_data): Likewise.
7700 (sin_test_downward): Likewise.
7701 (sin_upward_test_data): Likewise.
7702 (sin_test_upward): Likewise.
7703 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7704 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7705 (sinh_test): Use ALL_RM_TEST.
7706 (sinh_tonearest_test_data): Remove.
7707 (sinh_test_tonearest): Likewise.
7708 (sinh_towardzero_test_data): Likewise.
7709 (sinh_test_towardzero): Likewise.
7710 (sinh_downward_test_data): Likewise.
7711 (sinh_test_downward): Likewise.
7712 (sinh_upward_test_data): Likewise.
7713 (sinh_test_upward): Likewise.
7714 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7715 (sqrt_test): Use ALL_RM_TEST.
7716 (sqrt_tonearest_test_data): Remove.
7717 (sqrt_test_tonearest): Likewise.
7718 (sqrt_towardzero_test_data): Likewise.
7719 (sqrt_test_towardzero): Likewise.
7720 (sqrt_downward_test_data): Likewise.
7721 (sqrt_test_downward): Likewise.
7722 (sqrt_upward_test_data): Likewise.
7723 (sqrt_test_upward): Likewise.
7724 (tan_test_data): Update call to AUTO_TESTS_f_f.
7725 (tan_test): Use ALL_RM_TEST.
7726 (tan_tonearest_test_data): Remove.
7727 (tan_test_tonearest): Likewise.
7728 (tan_towardzero_test_data): Likewise.
7729 (tan_test_towardzero): Likewise.
7730 (tan_downward_test_data): Likewise.
7731 (tan_test_downward): Likewise.
7732 (tan_upward_test_data): Likewise.
7733 (tan_test_upward): Likewise.
7734 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7735 (tgamma_test_data): Likewise.
7736 (y0_test_data): Likewise.
7737 (y1_test_data): Likewise.
7738 (yn_test_data): Update call to AUTO_TESTS_if_f.
7739 (main): Do not call removed functions.
7741 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7743 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7744 (ldexp_test_data): Remove.
7745 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7747 (scalb_test): Use ALL_RM_TEST.
7749 2014-03-19 Andreas Schwab <schwab@suse.de>
7751 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7753 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7758 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7760 (__ASSUME_PREADV): Undefine.
7761 (__ASSUME_PWRITEV): Likewise.
7763 2014-03-18 Roland McGrath <roland@hack.frob.com>
7765 * bits/mman-linux.h: Add comment about non-Linux use.
7766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7767 bits/mman-linux.h resting place.
7769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7770 * bits/mman-linux.h: ... here.
7772 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774 * conform/conformtest.pl: Add standard definition when calling C
7775 preprocessor on data files.
7776 (checknamespace): Remove unused variable.
7778 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7780 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7781 minus_oflow, plus_uflow and minus_uflow in expected results.
7782 * math/libm-test.inc (scalbn_test_data): Add more tests of
7783 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7785 (scalbn_test): Use ALL_RM_TEST.
7786 (scalbln_test_data): Add more tests of negative arguments. Use
7787 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7788 (scalbln_test): Use ALL_RM_TEST.
7790 2014-03-18 Roland McGrath <roland@hack.frob.com>
7792 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7794 2014-03-18 Will Newton <will.newton@linaro.org>
7796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7799 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7801 * Makerules [!subdir] (check-abi): Exit with error status if a
7804 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7806 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7807 for rint. Include results for all rounding modes.
7808 (nearbyint_test): Use ALL_RM_TEST.
7809 (rint_test_data): Include all tests used for nearbyint.
7811 2014-03-17 Will Newton <will.newton@linaro.org>
7813 * nptl/sysdeps/pthread/pthread.h: Revert previous
7816 * sysdeps/generic/ldsodefs.h: Revert previous
7819 * libio/genops.c: Revert previous change.
7820 * libio/libioP.h: Likewise.
7821 * stdio-common/vfprintf.c: Likewise.
7823 * sysdeps/generic/math_private.h: Revert previous
7826 * sysdeps/generic/math_private.h: Check whether
7827 HAVE_RM_CTX is defined with #ifdef rather
7830 * argp/argp-fmtstream.h: Check whether
7831 __STRICT_ANSI__ is defined with #ifdef rather
7833 * argp/argp.h: Likewise.
7835 * libio/genops.c: Check whether
7836 _IO_JUMPS_OFFSET is defined with #ifdef rather
7838 * libio/libioP.h: Likewise.
7839 * stdio-common/vfprintf.c: Likewise.
7841 * sysdeps/generic/ldsodefs.h: Check whether
7842 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7845 * nptl/sysdeps/pthread/pthread.h: Check
7846 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7849 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7853 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7857 * libio/fileops.c (_IO_file_open): Seek to end of file but
7858 don't cache the offset.
7859 (get_file_offset): Remove function.
7860 (do_ftell): Use cached offset when available.
7861 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7862 don't cache the offset.
7863 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7865 (do_one_test): Call it.
7866 (do_ftell_test): Fix up expected old offset for a+ mode.
7867 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7870 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7871 up test status with function return status.
7872 (do_write_test): Likewise.
7873 (do_append_test): Likewise.
7875 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7876 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7879 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7881 * math/gen-libm-test.pl (parse_args): Handle results specified for
7882 each rounding mode separately.
7883 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7884 tests and results from lrint_tonearest_test_data,
7885 lrint_towardzero_test_data, lrint_downward_test_data and
7886 lrint_upward_test_data.
7887 (lrint_test): Use ALL_RM_TEST.
7888 (lrint_tonearest_test_data): Remove.
7889 (lrint_test_tonearest): Likewise.
7890 (lrint_towardzero_test_data): Likewise.
7891 (lrint_test_towardzero): Likewise.
7892 (lrint_downward_test_data): Likewise.
7893 (lrint_test_downward): Likewise.
7894 (lrint_upward_test_data): Likewise.
7895 (lrint_test_upward): Likewise.
7896 (llrint_test_data): Merge in per-rounding-mode tests and results
7897 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7898 llrint_downward_test_data and llrint_upward_test_data.
7899 (llrint_test): Use ALL_RM_TEST.
7900 (llrint_tonearest_test_data): Remove.
7901 (llrint_test_tonearest): Likewise.
7902 (llrint_towardzero_test_data): Likewise.
7903 (llrint_test_towardzero): Likewise.
7904 (llrint_downward_test_data): Likewise.
7905 (llrint_test_downward): Likewise.
7906 (llrint_upward_test_data): Likewise.
7907 (llrint_test_upward): Likewise.
7908 (rint_test_data): Merge in per-rounding-mode tests and results
7909 from rint_tonearest_test_data, rint_towardzero_test_data,
7910 rint_downward_test_data and rint_upward_test_data. Add
7911 per-rounding-mode results for tests not in those arrays.
7912 (rint_test): Use ALL_RM_TEST.
7913 (rint_tonearest_test_data): Remove.
7914 (rint_test_tonearest): Likewise.
7915 (rint_towardzero_test_data): Likewise.
7916 (rint_test_towardzero): Likewise.
7917 (rint_downward_test_data): Likewise.
7918 (rint_test_downward): Likewise.
7919 (rint_upward_test_data): Likewise.
7920 (rint_test_upward): Likewise.
7921 (main): Don't call removed functions.
7923 2014-03-14 Roland McGrath <roland@hack.frob.com>
7925 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7926 "Compiled on ..." crapola. It is anti-useful.
7928 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7930 * scripts/evaluate-test.sh: Handle fourth argument to determine
7931 whether test run should stop on failure.
7932 * Makeconfig (stop-on-test-failure): New variable.
7933 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7934 $(stop-on-test-failure).
7935 * Makefile (tests): Give a summary of results from testing and
7936 exit with failure status if they include an ERROR or FAIL.
7938 * manual/install.texi (Configuring and compiling): Mention
7939 stop-on-test-failure=y.
7940 * INSTALL: Regenerated.
7942 2014-03-14 Roland McGrath <roland@hack.frob.com>
7944 * scripts/versionlist.awk: New file.
7945 * Makerules [$(build-shared) = yes]
7946 (postclean-generated): Add Versions.def, not Versions.def.v and
7948 ($(common-objpfx)Versions.def.v.i): Target removed.
7949 ($(common-objpfx)Versions.def): New target.
7950 ($(common-objpfx)Versions.all): Depend on that rather that
7951 $(common-objpfx)Versions.def.v.
7952 * Versions.def: File removed.
7954 * Makeconfig (+gccwarn): Add -Wundef.
7955 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7956 a dl-sysdep.h breaking its contract.
7957 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7958 * include/stackinfo.h: New file.
7959 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7960 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7961 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7962 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7963 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7964 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7965 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7966 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7967 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7968 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7969 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7970 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7971 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7972 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7973 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7975 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7980 * math/libm-test.inc (round_test_data): Add more tests.
7983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7985 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7990 * math/libm-test.inc (ceil_test_data): Add more tests.
7992 * math/libm-test.inc (trunc_test_data): Add more tests related to
7995 2014-03-14 Roland McGrath <roland@hack.frob.com>
7997 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7998 with #if rather than #ifdef.
7999 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8001 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8003 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8004 first. Disable AVX-512 GCC support if assembler doesn't support
8006 * sysdeps/x86_64/configure: Regenerated.
8008 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8010 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8011 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8012 (__old_pthread_attr_setstack): Likewise.
8013 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8014 [!_STACK_GROWS_DOWN]: Likewise.
8016 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8018 * config.make.in (have-bash2): Delete.
8019 * configure.ac (libc_cv_have_bash2): Delete.
8020 * configure: Regenerate.
8021 * elf/Makefile (common-ldd-rewrite): Rename to ...
8022 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8023 (sh-ldd-rewrite): Delete.
8024 (bash-ldd-rewrite): Delete.
8025 (have-bash2): Delete checks.
8026 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8029 * config.make.in (have-ksh): Delete.
8031 * configure.ac (libc_cv_have_ksh): Delete.
8032 * configure: Regenerate.
8034 * elf/Makefile: Delete $(have-ksh) check.
8035 ($(objpfx)sotruss): Change KSH to BASH.
8036 * elf/sotruss.ksh: Rename to ...
8037 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8038 function style to match POSIX. Drop ksh vim mode setting.
8040 * manual/time.texi (Specifying the Time Zone with TZ): Change
8041 Tuesday to Thursday.
8043 * debug/tst-longjmp_chk2.c: Update header comment.
8044 (stackoverflow_handler): Add comment. Call assert on pass value.
8046 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8049 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8050 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8051 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8052 (La_x86_64_vector): Add zmm.
8053 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8054 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8055 ($(objpfx)tst-audit10): New target.
8056 ($(objpfx)tst-audit10.out): Likewise.
8057 (tst-audit10-ENV): New.
8058 (AVX512-CFLAGS): Likewise.
8059 (CFLAGS-tst-audit10.c): Likewise.
8060 (CFLAGS-tst-auditmod10a.c): Likewise.
8061 (CFLAGS-tst-auditmod10b.c): Likewise.
8062 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8063 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8064 * sysdeps/x86_64/configure: Regenerated.
8065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8066 AVX-512 zmm register support.
8067 (_dl_x86_64_save_sse): Likewise.
8068 (_dl_x86_64_restore_sse): Likewise.
8069 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8070 size vector registers.
8071 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8072 (ZMM_SIZE): Likewise.
8073 * sysdeps/x86_64/tst-audit10.c: New file.
8074 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8075 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8077 2014-03-13 Roland McGrath <roland@hack.frob.com>
8079 * configure.ac (HAVE_EHDR_START): New check.
8080 * configure: Regenerated.
8081 * config.h.in (HAVE_EHDR_START): New #undef.
8082 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8083 assuming the lowest-addressed segment maps the start of the file.
8085 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8087 * INSTALL: Regenerated.
8089 2014-03-13 Will Newton <will.newton@linaro.org>
8091 * manual/setjmp.texi (System V contexts): Improve
8092 clarity and grammar of documentation.
8094 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8097 * elf/Makefile (tests): Add tst-pie2.
8098 (tests-pie): Add tst-pie2.
8099 * elf/tst-pie2.c: New file.
8100 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8102 * elf/rtld.c (map_doit): Load executable as lt_executable.
8103 (dl_main): Likewise.
8105 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8109 (__ASSUME_PSELECT): Undefine.
8111 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8114 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8115 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8117 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8118 selector for static builds.
8120 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8123 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8126 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8129 IFUNC selector for static builds.
8131 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8133 * sysdeps/mips/math_private.h [__mips_hard_float]
8134 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8135 libc_feresetround_mips_ctx.
8136 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8137 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8138 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8141 * math/s_nextafter.c (__nextafter): Do not return value from
8142 overflowing computation.
8143 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8144 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8149 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8150 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8152 2014-03-11 Roland McGrath <roland@hack.frob.com>
8154 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8155 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8156 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8157 the new mov targetting sp.
8159 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8162 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8163 Define it for static builds as well.
8164 (NO_BZERO_IMPL): Likewise.
8166 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8168 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8169 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8170 multiarch strspn for PPC64.
8171 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8172 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8174 (__libc_ifunc_impl_list): Likewise.
8175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8176 multiarch optimizations
8177 * string/strspn.c (strspn): Using macro to redefine symbol name.
8179 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8180 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8183 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8184 multiarch strncat for PPC64.
8185 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8186 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8188 (__libc_ifunc_impl_list): Likewise.
8189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8190 multiarch optimizations
8192 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8195 * nscd/nscd.service: Make service type forking.
8197 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8199 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8200 sign in non default rounding modes.
8201 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8203 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8205 * math/libm-test.inc (ALL_RM_TEST): New macro.
8206 (ceil_test): Use ALL_RM_TEST.
8207 (cimag_test): Likewise.
8208 (conj_test): Likewise.
8209 (copysign_test): Likewise.
8210 (cproj_test): Likewise.
8211 (creal_test): Likewise.
8212 (fabs_test): Likewise.
8213 (floor_test): Likewise.
8214 (fmax_test): Likewise.
8215 (fmin_test): Likewise.
8216 (fmod_test): Likewise.
8217 (fpclassify_test): Likewise.
8218 (frexp_test): Likewise.
8219 (ilogb_test): Likewise.
8220 (isfinite_test): Likewise.
8221 (finite_test): Likewise.
8222 (isgreater_test): Likewise.
8223 (isgreaterequal_test): Likewise.
8224 (isinf_test): Likewise.
8225 (isless_test): Likewise.
8226 (islessequal_test): Likewise.
8227 (islessgreater_test): Likewise.
8228 (isnan_test): Likewise.
8229 (isnormal_test): Likewise.
8230 (issignaling_test): Likewise.
8231 (isunordered_test): Likewise.
8232 (logb_test): Likewise.
8233 (logb_downward_test_data): Remove.
8234 (logb_test_downward): Likewise.
8235 (lround_test): Use ALL_RM_TEST.
8236 (llround_test): Likewise.
8237 (modf_test): Likewise.
8238 (nexttoward_test): Likewise.
8239 (remainder_test): Likewise.
8240 (drem_test): Likewise.
8241 (remainder_tonearest_test_data): Likewise.
8242 (remainder_test_tonearest): Likewise.
8243 (drem_test_tonearest): Likewise.
8244 (remainder_towardzero_test_data): Likewise.
8245 (remainder_test_towardzero): Likewise.
8246 (drem_test_towardzero): Likewise.
8247 (remainder_downward_test_data): Likewise.
8248 (remainder_test_downward): Likewise.
8249 (drem_test_downward): Likewise.
8250 (remainder_upward_test_data): Likewise.
8251 (remainder_test_upward): Likewise.
8252 (drem_test_upward): Likewise.
8253 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8254 (round_test): Use ALL_RM_TEST.
8255 (signbit_test): Likewise.
8256 (trunc_test): Likewise.
8257 (significand_test): Likewise.
8258 (main): Don't call removed functions.
8260 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8263 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8265 (ILL_ILLOPN): Likewise.
8266 (ILL_ILLADR): Likewise.
8267 (ILL_ILLTRP): Likewise.
8268 (ILL_PRVOPC): Likewise.
8269 (ILL_PRVREG): Likewise.
8270 (ILL_COPROC): Likewise.
8271 (ILL_BADSTK): Likewise.
8272 (FPE_INTDIV): Likewise.
8273 (FPE_INTOVF): Likewise.
8274 (FPE_FLTDIV): Likewise.
8275 (FPE_FLTOVF): Likewise.
8276 (FPE_FLTUND): Likewise.
8277 (FPE_FLTRES): Likewise.
8278 (FPE_FLTINV): Likewise.
8279 (FPE_FLTSUB): Likewise.
8280 (SEGV_MAPERR): Likewise.
8281 (SEGV_ACCERR): Likewise.
8282 (BUS_ADRALN): Likewise.
8283 (BUS_ADRERR): Likewise.
8284 (BUS_OBJERR): Likewise.
8285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8286 (TRAP_TRACE): Likewise.
8287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8289 (CLD_KILLED): Likewise.
8290 (CLD_DUMPED): Likewise.
8291 (CLD_TRAPPED): Likewise.
8292 (CLD_STOPPED): Likewise.
8293 (CLD_CONTINUED): Likewise.
8294 (POLL_IN): Likewise.
8295 (POLL_OUT): Likewise.
8296 (POLL_MSG): Likewise.
8297 (POLL_ERR): Likewise.
8298 (POLL_PRI): Likewise.
8299 (POLL_HUP): Likewise.
8300 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8302 (ILL_ILLOPN): Likewise.
8303 (ILL_ILLADR): Likewise.
8304 (ILL_ILLTRP): Likewise.
8305 (ILL_PRVOPC): Likewise.
8306 (ILL_PRVREG): Likewise.
8307 (ILL_COPROC): Likewise.
8308 (ILL_BADSTK): Likewise.
8309 (FPE_INTDIV): Likewise.
8310 (FPE_INTOVF): Likewise.
8311 (FPE_FLTDIV): Likewise.
8312 (FPE_FLTOVF): Likewise.
8313 (FPE_FLTUND): Likewise.
8314 (FPE_FLTRES): Likewise.
8315 (FPE_FLTINV): Likewise.
8316 (FPE_FLTSUB): Likewise.
8317 (SEGV_MAPERR): Likewise.
8318 (SEGV_ACCERR): Likewise.
8319 (BUS_ADRALN): Likewise.
8320 (BUS_ADRERR): Likewise.
8321 (BUS_OBJERR): Likewise.
8322 (BUS_MCEERR_AR): Likewise.
8323 (BUS_MCEERR_AO): Likewise.
8324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8325 (TRAP_TRACE): Likewise.
8326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8328 (CLD_KILLED): Likewise.
8329 (CLD_DUMPED): Likewise.
8330 (CLD_TRAPPED): Likewise.
8331 (CLD_STOPPED): Likewise.
8332 (CLD_CONTINUED): Likewise.
8333 (POLL_IN): Likewise.
8334 (POLL_OUT): Likewise.
8335 (POLL_MSG): Likewise.
8336 (POLL_ERR): Likewise.
8337 (POLL_PRI): Likewise.
8338 (POLL_HUP): Likewise.
8339 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8340 (ILL_ILLOPN): Likewise.
8341 (ILL_ILLADR): Likewise.
8342 (ILL_ILLTRP): Likewise.
8343 (ILL_PRVOPC): Likewise.
8344 (ILL_PRVREG): Likewise.
8345 (ILL_COPROC): Likewise.
8346 (ILL_BADSTK): Likewise.
8347 (FPE_INTDIV): Likewise.
8348 (FPE_INTOVF): Likewise.
8349 (FPE_FLTDIV): Likewise.
8350 (FPE_FLTOVF): Likewise.
8351 (FPE_FLTUND): Likewise.
8352 (FPE_FLTRES): Likewise.
8353 (FPE_FLTINV): Likewise.
8354 (FPE_FLTSUB): Likewise.
8355 (SEGV_MAPERR): Likewise.
8356 (SEGV_ACCERR): Likewise.
8357 (BUS_ADRALN): Likewise.
8358 (BUS_ADRERR): Likewise.
8359 (BUS_OBJERR): Likewise.
8360 (BUS_MCEERR_AR): Likewise.
8361 (BUS_MCEERR_AO): Likewise.
8362 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8363 (TRAP_TRACE): Likewise.
8364 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8366 (CLD_KILLED): Likewise.
8367 (CLD_DUMPED): Likewise.
8368 (CLD_TRAPPED): Likewise.
8369 (CLD_STOPPED): Likewise.
8370 (CLD_CONTINUED): Likewise.
8371 (POLL_IN): Likewise.
8372 (POLL_OUT): Likewise.
8373 (POLL_MSG): Likewise.
8374 (POLL_ERR): Likewise.
8375 (POLL_PRI): Likewise.
8376 (POLL_HUP): Likewise.
8377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8379 (ILL_ILLOPN): Likewise.
8380 (ILL_ILLADR): Likewise.
8381 (ILL_ILLTRP): Likewise.
8382 (ILL_PRVOPC): Likewise.
8383 (ILL_PRVREG): Likewise.
8384 (ILL_COPROC): Likewise.
8385 (ILL_BADSTK): Likewise.
8386 (ILL_BADIADDR): Likewise.
8387 (ILL_BREAK): Likewise.
8388 (FPE_INTDIV): Likewise.
8389 (FPE_INTOVF): Likewise.
8390 (FPE_FLTDIV): Likewise.
8391 (FPE_FLTOVF): Likewise.
8392 (FPE_FLTUND): Likewise.
8393 (FPE_FLTRES): Likewise.
8394 (FPE_FLTINV): Likewise.
8395 (FPE_FLTSUB): Likewise.
8396 (FPE_DECOVF): Likewise.
8397 (FPE_DECDIV): Likewise.
8398 (FPE_DECERR): Likewise.
8399 (FPE_INVASC): Likewise.
8400 (FPE_INVDEC): Likewise.
8401 (SEGV_MAPERR): Likewise.
8402 (SEGV_ACCERR): Likewise.
8403 (SEGV_PSTKOVF): Likewise.
8404 (BUS_ADRALN): Likewise.
8405 (BUS_ADRERR): Likewise.
8406 (BUS_OBJERR): Likewise.
8407 (BUS_MCEERR_AR): Likewise.
8408 (BUS_MCEERR_AO): Likewise.
8409 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8410 (TRAP_TRACE): Likewise.
8411 (TRAP_BRANCH): Likewise.
8412 (TRAP_HWBKPT): Likewise.
8413 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8415 (CLD_KILLED): Likewise.
8416 (CLD_DUMPED): Likewise.
8417 (CLD_TRAPPED): Likewise.
8418 (CLD_STOPPED): Likewise.
8419 (CLD_CONTINUED): Likewise.
8420 (POLL_IN): Likewise.
8421 (POLL_OUT): Likewise.
8422 (POLL_MSG): Likewise.
8423 (POLL_ERR): Likewise.
8424 (POLL_PRI): Likewise.
8425 (POLL_HUP): Likewise.
8426 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8427 (ILL_ILLOPN): Likewise.
8428 (ILL_ILLADR): Likewise.
8429 (ILL_ILLTRP): Likewise.
8430 (ILL_PRVOPC): Likewise.
8431 (ILL_PRVREG): Likewise.
8432 (ILL_COPROC): Likewise.
8433 (ILL_BADSTK): Likewise.
8434 (FPE_INTDIV): Likewise.
8435 (FPE_INTOVF): Likewise.
8436 (FPE_FLTDIV): Likewise.
8437 (FPE_FLTOVF): Likewise.
8438 (FPE_FLTUND): Likewise.
8439 (FPE_FLTRES): Likewise.
8440 (FPE_FLTINV): Likewise.
8441 (FPE_FLTSUB): Likewise.
8442 (SEGV_MAPERR): Likewise.
8443 (SEGV_ACCERR): Likewise.
8444 (BUS_ADRALN): Likewise.
8445 (BUS_ADRERR): Likewise.
8446 (BUS_OBJERR): Likewise.
8447 (BUS_MCEERR_AR): Likewise.
8448 (BUS_MCEERR_AO): Likewise.
8449 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8450 (TRAP_TRACE): Likewise.
8451 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8453 (CLD_KILLED): Likewise.
8454 (CLD_DUMPED): Likewise.
8455 (CLD_TRAPPED): Likewise.
8456 (CLD_STOPPED): Likewise.
8457 (CLD_CONTINUED): Likewise.
8458 (POLL_IN): Likewise.
8459 (POLL_OUT): Likewise.
8460 (POLL_MSG): Likewise.
8461 (POLL_ERR): Likewise.
8462 (POLL_PRI): Likewise.
8463 (POLL_HUP): Likewise.
8464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8465 (ILL_ILLOPN): Likewise.
8466 (ILL_ILLADR): Likewise.
8467 (ILL_ILLTRP): Likewise.
8468 (ILL_PRVOPC): Likewise.
8469 (ILL_PRVREG): Likewise.
8470 (ILL_COPROC): Likewise.
8471 (ILL_BADSTK): Likewise.
8472 (FPE_INTDIV): Likewise.
8473 (FPE_INTOVF): Likewise.
8474 (FPE_FLTDIV): Likewise.
8475 (FPE_FLTOVF): Likewise.
8476 (FPE_FLTUND): Likewise.
8477 (FPE_FLTRES): Likewise.
8478 (FPE_FLTINV): Likewise.
8479 (FPE_FLTSUB): Likewise.
8480 (SEGV_MAPERR): Likewise.
8481 (SEGV_ACCERR): Likewise.
8482 (BUS_ADRALN): Likewise.
8483 (BUS_ADRERR): Likewise.
8484 (BUS_OBJERR): Likewise.
8485 (BUS_MCEERR_AR): Likewise.
8486 (BUS_MCEERR_AO): Likewise.
8487 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8488 (TRAP_TRACE): Likewise.
8489 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8491 (CLD_KILLED): Likewise.
8492 (CLD_DUMPED): Likewise.
8493 (CLD_TRAPPED): Likewise.
8494 (CLD_STOPPED): Likewise.
8495 (CLD_CONTINUED): Likewise.
8496 (POLL_IN): Likewise.
8497 (POLL_OUT): Likewise.
8498 (POLL_MSG): Likewise.
8499 (POLL_ERR): Likewise.
8500 (POLL_PRI): Likewise.
8501 (POLL_HUP): Likewise.
8502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8503 (ILL_ILLOPN): Likewise.
8504 (ILL_ILLADR): Likewise.
8505 (ILL_ILLTRP): Likewise.
8506 (ILL_PRVOPC): Likewise.
8507 (ILL_PRVREG): Likewise.
8508 (ILL_COPROC): Likewise.
8509 (ILL_BADSTK): Likewise.
8510 (FPE_INTDIV): Likewise.
8511 (FPE_INTOVF): Likewise.
8512 (FPE_FLTDIV): Likewise.
8513 (FPE_FLTOVF): Likewise.
8514 (FPE_FLTUND): Likewise.
8515 (FPE_FLTRES): Likewise.
8516 (FPE_FLTINV): Likewise.
8517 (FPE_FLTSUB): Likewise.
8518 (SEGV_MAPERR): Likewise.
8519 (SEGV_ACCERR): Likewise.
8520 (BUS_ADRALN): Likewise.
8521 (BUS_ADRERR): Likewise.
8522 (BUS_OBJERR): Likewise.
8523 (BUS_MCEERR_AR): Likewise.
8524 (BUS_MCEERR_AO): Likewise.
8525 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8526 (TRAP_TRACE): Likewise.
8527 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8529 (CLD_KILLED): Likewise.
8530 (CLD_DUMPED): Likewise.
8531 (CLD_TRAPPED): Likewise.
8532 (CLD_STOPPED): Likewise.
8533 (CLD_CONTINUED): Likewise.
8534 (POLL_IN): Likewise.
8535 (POLL_OUT): Likewise.
8536 (POLL_MSG): Likewise.
8537 (POLL_ERR): Likewise.
8538 (POLL_PRI): Likewise.
8539 (POLL_HUP): Likewise.
8540 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8541 (ILL_ILLOPN): Likewise.
8542 (ILL_ILLADR): Likewise.
8543 (ILL_ILLTRP): Likewise.
8544 (ILL_PRVOPC): Likewise.
8545 (ILL_PRVREG): Likewise.
8546 (ILL_COPROC): Likewise.
8547 (ILL_BADSTK): Likewise.
8548 (ILL_DBLFLT): Likewise.
8549 (ILL_HARDWALL): Likewise.
8550 (FPE_INTDIV): Likewise.
8551 (FPE_INTOVF): Likewise.
8552 (FPE_FLTDIV): Likewise.
8553 (FPE_FLTOVF): Likewise.
8554 (FPE_FLTUND): Likewise.
8555 (FPE_FLTRES): Likewise.
8556 (FPE_FLTINV): Likewise.
8557 (FPE_FLTSUB): Likewise.
8558 (SEGV_MAPERR): Likewise.
8559 (SEGV_ACCERR): Likewise.
8560 (BUS_ADRALN): Likewise.
8561 (BUS_ADRERR): Likewise.
8562 (BUS_OBJERR): Likewise.
8563 (BUS_MCEERR_AR): Likewise.
8564 (BUS_MCEERR_AO): Likewise.
8565 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8566 (TRAP_TRACE): Likewise.
8567 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8569 (CLD_KILLED): Likewise.
8570 (CLD_DUMPED): Likewise.
8571 (CLD_TRAPPED): Likewise.
8572 (CLD_STOPPED): Likewise.
8573 (CLD_CONTINUED): Likewise.
8574 (POLL_IN): Likewise.
8575 (POLL_OUT): Likewise.
8576 (POLL_MSG): Likewise.
8577 (POLL_ERR): Likewise.
8578 (POLL_PRI): Likewise.
8579 (POLL_HUP): Likewise.
8580 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8581 (ILL_ILLOPN): Likewise.
8582 (ILL_ILLADR): Likewise.
8583 (ILL_ILLTRP): Likewise.
8584 (ILL_PRVOPC): Likewise.
8585 (ILL_PRVREG): Likewise.
8586 (ILL_COPROC): Likewise.
8587 (ILL_BADSTK): Likewise.
8588 (FPE_INTDIV): Likewise.
8589 (FPE_INTOVF): Likewise.
8590 (FPE_FLTDIV): Likewise.
8591 (FPE_FLTOVF): Likewise.
8592 (FPE_FLTUND): Likewise.
8593 (FPE_FLTRES): Likewise.
8594 (FPE_FLTINV): Likewise.
8595 (FPE_FLTSUB): Likewise.
8596 (SEGV_MAPERR): Likewise.
8597 (SEGV_ACCERR): Likewise.
8598 (BUS_ADRALN): Likewise.
8599 (BUS_ADRERR): Likewise.
8600 (BUS_OBJERR): Likewise.
8601 (BUS_MCEERR_AR): Likewise.
8602 (BUS_MCEERR_AO): Likewise.
8603 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8604 (TRAP_TRACE): Likewise.
8605 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8607 (CLD_KILLED): Likewise.
8608 (CLD_DUMPED): Likewise.
8609 (CLD_TRAPPED): Likewise.
8610 (CLD_STOPPED): Likewise.
8611 (CLD_CONTINUED): Likewise.
8612 (POLL_IN): Likewise.
8613 (POLL_OUT): Likewise.
8614 (POLL_MSG): Likewise.
8615 (POLL_ERR): Likewise.
8616 (POLL_PRI): Likewise.
8617 (POLL_HUP): Likewise.
8618 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8619 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8622 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8623 before #include of <time.h>.
8624 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8625 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8626 (test-xfail-UNIX98/sched.h/conform): Likewise.
8628 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8630 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8631 error absence of trapping exception support.
8632 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8634 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8636 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8637 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8638 * timezone/Makefile (testdata): Move definition above include of
8640 (test-zones): New variable.
8641 (tests-special): Add zone files.
8642 (build-testdata): Use $(evaluate-test).
8644 * elf/Makefile (tests-special): Rename tests to end with .out.
8645 ($(objpfx)noload-mem): Likewise.
8646 ($(objpfx)tst-leaks1-mem): Likewise.
8647 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8648 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8649 $(objpfx)test-iconvconfig.out.
8650 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8651 set -e inside subshell and redirect output to file.
8652 * iconvdata/Makefile (generated): Rename tests to end with .out.
8654 (tests-special): Rename tests to end with .out.
8655 ($(objpfx)mtrace-tst-loading): Likewise.
8656 * intl/Makefile (generated): Likewise.
8657 (tests-special): Likewise.
8658 ($(objpfx)mtrace-tst-gettext): Likewise.
8659 * misc/Makefile (generated): Likewise.
8660 (tests-special): Likewise.
8661 ($(objpfx)tst-error1-mem): Likewise.
8662 * nptl/Makefile (tests-special): Likewise.
8663 ($(objpfx)tst-stack3-mem): Likewise.
8664 (generated): Likewise.
8665 * posix/Makefile (generated): Likewise.
8666 (tests-special): Likewise.
8667 (xtests-special): Likewise.
8668 ($(objpfx)tst-fnmatch-mem): Likewise.
8669 ($(objpfx)bug-regex2-mem): Likewise.
8670 ($(objpfx)bug-regex14-mem): Likewise.
8671 ($(objpfx)bug-regex21-mem): Likewise.
8672 ($(objpfx)bug-regex31-mem): Likewise.
8673 ($(objpfx)tst-vfork3-mem): Likewise.
8674 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8675 ($(objpfx)tst-pcre-mem): Likewise.
8676 ($(objpfx)tst-boost-mem): Likewise.
8677 ($(objpfx)bug-ga2-mem): Likewise.
8678 ($(objpfx)bug-glob2-mem): Likewise.
8679 * resolv/Makefile (generate): Likewise.
8680 (tests-special): Likewise.
8681 (xtests-special): Likewise.
8682 (generated): Likewise.
8683 ($(objpfx)mtrace-tst-leaks): Likewise.
8684 ($(objpfx)mtrace-tst-leaks2): Likewise.
8686 * scripts/merge-test-results.sh: New file.
8687 * Makefile (tests-special-notdir): New variable.
8688 (tests): Run merge-test-results.sh.
8690 * Rules (tests-special-notdir): New variable.
8691 (xtests-special-notdir): Likewise.
8692 (tests): Run merge-test-results.sh
8695 * Makeconfig (test-xfail-name): New variable.
8696 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8697 compute variable name for expected failures.
8698 * conform/Makefile (conformtest-headers-data): New variable.
8699 (conformtest-standards): Likewise.
8700 (conformtest-headers-ISO): Likewise.
8701 (conformtest-headers-ISO99): Likewise.
8702 (conformtest-headers-ISO11): Likewise.
8703 (conformtest-headers-POSIX): Likewise.
8704 (conformtest-headers-XPG3): Likewise.
8705 (conformtest-headers-XPG4): Likewise.
8706 (conformtest-headers-UNIX98): Likewise.
8707 (conformtest-headers-XOPEN2K): Likewise.
8708 (conformtest-headers-POSIX2008): Likewise.
8709 (conformtest-headers-XOPEN2K8): Likewise.
8710 (conformtest-header-list-base): Likewise.
8711 (conformtest-header-list-tests): Likewise.
8712 (conformtest-header-base): Likewise.
8713 (conformtest-header-tests): Likewise.
8714 (tests-special): Add $(conformtest-header-list-tests). If
8715 [$(fast-check) && !$(cross-compiling)], add
8716 $(conformtest-header-tests) instead of
8717 $(objpfx)run-conformtest.out.
8718 (generated): Add $(conformtest-header-list-base). If
8719 [$(fast-check) && !$(cross-compiling)], add
8720 $(conformtest-header-base). Remove previous setting.
8721 ($(conformtest-header-list-tests)): New target.
8722 (test-xfail-run-conformtest): Remove variable.
8723 ($(objpfx)run-conformtest.out): Remove target.
8724 (test-xfail-ISO11/complex.h/conform): New variable.
8725 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8726 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8727 (test-xfail-XPG3/varargs.h/conform): Likewise.
8728 (test-xfail-XPG4/varargs.h/conform): Likewise.
8729 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8730 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8731 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8732 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8733 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8734 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8735 (test-xfail-XPG3/ftw.h/conform): Likewise.
8736 (test-xfail-XPG3/grp.h/conform): Likewise.
8737 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8738 (test-xfail-XPG3/limits.h/conform): Likewise.
8739 (test-xfail-XPG3/pwd.h/conform): Likewise.
8740 (test-xfail-XPG3/search.h/conform): Likewise.
8741 (test-xfail-XPG3/signal.h/conform): Likewise.
8742 (test-xfail-XPG3/stdio.h/conform): Likewise.
8743 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8744 (test-xfail-XPG3/string.h/conform): Likewise.
8745 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8746 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8747 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8748 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8749 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8750 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8751 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8752 (test-xfail-XPG3/termios.h/conform): Likewise.
8753 (test-xfail-XPG3/time.h/conform): Likewise.
8754 (test-xfail-XPG3/unistd.h/conform): Likewise.
8755 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8756 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8757 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8758 (test-xfail-XPG4/netdb.h/conform): Likewise.
8759 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8760 (test-xfail-XPG4/signal.h/conform): Likewise.
8761 (test-xfail-XPG4/stdio.h/conform): Likewise.
8762 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8763 (test-xfail-XPG4/stropts.h/conform): Likewise.
8764 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8765 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8766 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8767 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8768 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8769 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8770 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8771 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8772 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8773 (test-xfail-XPG4/termios.h/conform): Likewise.
8774 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8775 (test-xfail-XPG4/unistd.h/conform): Likewise.
8776 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8777 (test-xfail-POSIX/sched.h/conform): Likewise.
8778 (test-xfail-POSIX/signal.h/conform): Likewise.
8779 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8780 (test-xfail-POSIX/tar.h/conform): Likewise.
8781 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8782 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8783 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8784 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8785 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8786 (test-xfail-UNIX98/sched.h/conform): Likewise.
8787 (test-xfail-UNIX98/signal.h/conform): Likewise.
8788 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8789 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8790 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8791 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8792 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8793 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8794 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8795 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8796 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8797 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8798 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8799 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8800 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8801 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8802 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8803 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8804 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8805 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8806 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8807 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8808 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8809 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8810 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8811 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8812 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8813 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8814 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8815 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8816 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8817 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8818 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8819 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8820 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8821 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8822 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8823 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8824 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8825 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8826 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8827 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8828 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8829 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8830 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8831 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8832 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8833 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8834 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8835 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8836 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8837 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8838 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8839 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8840 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8841 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8842 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8843 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8844 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8845 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8846 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8847 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8848 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8849 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8850 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8851 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8852 (conformtest-cc-flags): Likewise.
8853 ($(conformtest-header-tests): New target.
8854 * conform/check-header-lists.sh: New file.
8855 * conform/run-conformtest.sh: Remove.
8857 * conform/conformtest.pl: Allow ' and \ in values given for
8859 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8861 [POSIX] (sys/types.h): Likewise.
8862 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8864 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8866 * conform/data/signal.h-data (SIGIO): Remove expectation.
8867 [XPG3] (SIGBUS): Do not expect.
8868 [POSIX || XPG3] (SIGPOLL): Likewise.
8869 [POSIX || XPG3] (SIGPROF): Likewise.
8870 [POSIX || XPG3] (SIGSYS): Likewise.
8871 [XPG3] (SIGTRAP): Likewise.
8872 [POSIX || XPG3] (SIGURG): Likewise.
8873 [POSIX || XPG3] (SIGVTALRM): Likewise.
8874 [POSIX || XPG3] (SIGXCPU): Likewise.
8875 [POSIX || XPG3] (SIGXFSZ): Likewise.
8876 [POSIX] (SA_SIGINFO): Expect.
8877 [XPG3] (siginfo_t): Do not expect type or contents.
8878 [POSIX] (si_pid): Do not expect element.
8879 [POSIX] (si_uid): Likewise.
8880 [POSIX] (si_addr): Likewise.
8881 [POSIX] (si_status): Likewise.
8882 [POSIX] (si_band): Likewise.
8883 [XPG4] (si_value): Likewise.
8884 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8885 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8886 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8887 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8888 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8889 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8890 [POSIX || XPG3] (ILL_COPROC): Likewise.
8891 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8892 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8893 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8894 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8895 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8896 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8897 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8898 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8899 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8900 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8901 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8902 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8903 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8904 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8905 [POSIX || XPG3] (CLD_EXITED): Likewise.
8906 [POSIX || XPG3] (CLD_KILLED): Likewise.
8907 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8908 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8909 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8910 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8911 [POSIX || XPG3] (POLL_IN): Likewise.
8912 [POSIX || XPG3] (POLL_OUT): Likewise.
8913 [POSIX || XPG3] (POLL_MSG): Likewise.
8914 [POSIX || XPG3] (POLL_ERR): Likewise.
8915 [POSIX || XPG3] (POLL_PRI): Likewise.
8916 [POSIX || XPG3] (POLL_HUP): Likewise.
8917 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8918 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8919 (SIG*): Do not allow.
8920 [XPG3] (si_*): Likewise.
8921 [XPG3] (SI_*): Likewise.
8922 [XPG3 || XPG4] (sigev_*): Likewise.
8923 [XPG3 || XPG4] (SIGEV_*): Likewise.
8924 [XPG3 || XPG4] (sival_*): Likewise.
8925 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8926 [POSIX || XPG3] (BUS_*): Likewise.
8927 [POSIX || XPG3] (CLD_*): Likewise.
8928 [POSIX || XPG3] (FPE_*): Likewise.
8929 [POSIX || XPG3] (ILL_*): Likewise.
8930 [POSIX || XPG3] (POLL_*): Likewise.
8931 [POSIX || XPG3] (SEGV_*): Likewise.
8932 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8933 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8934 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8935 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8936 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8937 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8938 Specify type and value.
8939 (TVERSLEN): Likewise.
8940 (REGTYPE): Likewise.
8941 (AREGTYPE): Likewise.
8942 (LNKTYPE): Likewise.
8943 (SYMTYPE): Likewise.
8944 (CHRTYPE): Likewise.
8945 (BLKTYPE): Likewise.
8946 (DIRTYPE): Likewise.
8947 (FIFOTYPE): Likewise.
8948 (CONTTYPE): Likewise.
8953 (TUWRITE): Likewise.
8956 (TGWRITE): Likewise.
8959 (TOWRITE): Likewise.
8961 [POSIX] (TSVTX): Expect constant.
8963 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8965 * Makefile (tests): Change dependencies to ....
8966 (tests-special): ... additions to this variable.
8967 (tests): Depend on $(tests-special).
8968 * Makerules (check-abi-list): New variable.
8969 (check-abi): Depend on $(check-abi-list).
8970 [$(subdir) = elf] (tests-special): Add
8971 $(objpfx)check-abi-libc.out.
8972 [$(build-shared) = yes && subdir] (tests-special): Add
8974 [$(build-shared) = yes && subdir] (tests): Do not depend on
8976 * Rules (tests): Depend on $(tests-special).
8977 (xtests): Depend on $(xtests-special).
8978 * catgets/Makefile (tests): Change dependencies to ....
8979 (tests-special): ... additions to this variable.
8980 * conform/Makefile (tests): Change dependencies to ....
8981 (tests-special): ... additions to this variable.
8982 * elf/Makefile (tests): Change dependencies to ....
8983 (tests-special): ... additions to this variable.
8984 * grp/Makefile (tests): Change dependencies to ....
8985 (tests-special): ... additions to this variable.
8986 * iconv/Makefile (xtests): Change dependencies to ....
8987 (xtests-special): ... additions to this variable.
8988 * iconvdata/Makefile (tests): Change dependencies to ....
8989 (tests-special): ... additions to this variable.
8990 * intl/Makefile (tests): Change dependencies to ....
8991 (tests-special): ... additions to this variable. Also add
8992 $(objpfx)tst-gettext.out.
8993 * io/Makefile (tests): Change dependencies to ....
8994 (tests-special): ... additions to this variable.
8995 * libio/Makefile (tests): Change dependencies to ....
8996 (tests-special): ... additions to this variable.
8997 * malloc/Makefile (tests): Change dependencies to ....
8998 (tests-special): ... additions to this variable.
8999 * misc/Makefile (tests): Change dependencies to ....
9000 (tests-special): ... additions to this variable.
9001 * nptl/Makefile (tests): Change dependencies to ....
9002 (tests-special): ... additions to this variable.
9003 * nptl_db/Makefile (tests): Change dependencies to ....
9004 (tests-special): ... additions to this variable.
9005 * posix/Makefile (tests): Change dependencies to ....
9006 (tests-special): ... additions to this variable.
9007 (xtests): Change dependencies to ....
9008 (xtests-special): ... additions to this variable.
9009 * resolv/Makefile (tests): Change dependencies to ....
9010 (tests-special): ... additions to this variable.
9011 (xtests): Change dependencies to ....
9012 (xtests-special): ... additions to this variable.
9013 * stdio-common/Makefile (tests): Change dependencies to ....
9014 (tests-special): ... additions to this variable.
9015 (do-tst-unbputc): Remove target.
9016 (do-tst-printf): Likewise.
9017 * stdlib/Makefile (tests): Change dependencies to ....
9018 (tests-special): ... additions to this variable.
9019 * string/Makefile (tests): Change dependencies to ....
9020 (tests-special): ... additions to this variable.
9021 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9022 (tests-special): ... additions to this variable.
9024 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9026 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9028 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9029 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9031 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9032 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9033 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9034 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9035 * conform/data/libgen.h-data [XPG3]: Likewise.
9036 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9037 * conform/data/ndbm.h-data [XPG3]: Likewise.
9038 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9039 * conform/data/netdb.h-data [XPG3]: Likewise.
9040 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9041 * conform/data/poll.h-data [XPG3]: Likewise.
9042 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9043 * conform/data/strings.h-data [XPG3]: Likewise.
9044 * conform/data/stropts.h-data [XPG3]: Likewise.
9045 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9046 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9047 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9049 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9050 * conform/data/sys/time.h-data [XPG3]: Likewise.
9051 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9052 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9053 * conform/data/sys/un.h-data [XPG3]: Likewise.
9054 * conform/data/syslog.h-data [XPG3]: Likewise.
9055 * conform/data/ucontext.h-data [XPG3]: Likewise.
9056 * conform/data/utmpx.h-data [XPG3]: Likewise.
9057 * conform/data/varargs.h-data [UNIX98]: Enable file.
9059 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9061 * math/libm-test.inc (struct test_f_f_data): Move expected results
9062 into structure for each rounding mode.
9063 (struct test_ff_f_data): Likewise.
9064 (struct test_ff_f_data_nexttoward): Likewise.
9065 (struct test_fi_f_data): Likewise.
9066 (struct test_fl_f_data): Likewise.
9067 (struct test_if_f_data): Likewise.
9068 (struct test_fff_f_data): Likewise.
9069 (struct test_c_f_data): Likewise.
9070 (struct test_f_f1_data): Likewise.
9071 (struct test_fF_f1_data): Likewise.
9072 (struct test_ffI_f1_data): Likewise.
9073 (struct test_c_c_data): Likewise.
9074 (struct test_cc_c_data): Likewise.
9075 (struct test_f_i_data): Likewise.
9076 (struct test_ff_i_data): Likewise.
9077 (struct test_f_l_data): Likewise.
9078 (struct test_f_L_data): Likewise.
9079 (struct test_fFF_11_data): Likewise.
9081 (RM_FE_DOWNWARD): Likewise.
9082 (RM_FE_TONEAREST): Likewise.
9083 (RM_FE_TOWARDZERO): Likewise.
9084 (RM_FE_UPWARD): Likewise.
9085 (RUN_TEST_LOOP_f_f): Update references to expected results.
9086 (RUN_TEST_LOOP_2_f): Likewise.
9087 (RUN_TEST_LOOP_fff_f): Likewise.
9088 (RUN_TEST_LOOP_c_f): Likewise.
9089 (RUN_TEST_LOOP_f_f1): Likewise.
9090 (RUN_TEST_LOOP_fF_f1): Likewise.
9091 (RUN_TEST_LOOP_fI_f1): Likewise.
9092 (RUN_TEST_LOOP_ffI_f1): Likewise.
9093 (RUN_TEST_LOOP_c_c): Likewise.
9094 (RUN_TEST_LOOP_cc_c): Likewise.
9095 (RUN_TEST_LOOP_f_i): Likewise.
9096 (RUN_TEST_LOOP_f_i_tg): Likewise.
9097 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9098 (RUN_TEST_LOOP_f_b): Likewise.
9099 (RUN_TEST_LOOP_f_b_tg): Likewise.
9100 (RUN_TEST_LOOP_f_l): Likewise.
9101 (RUN_TEST_LOOP_f_L): Likewise.
9102 (RUN_TEST_LOOP_fFF_11): Likewise.
9103 * math/gen-libm-test.pl (parse_args): Output four copies of
9104 expected results for each test.
9106 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9107 (__ASSUME_UTIMES): Remove.
9108 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9109 (__ASSUME_UTIMES): Likewise.
9111 * math/gen-auto-libm-tests.c: Update comment on output format.
9112 (output_for_one_input_case): Generate before-rounding and
9113 after-rounding information as conditions on output flags not
9114 floating-point format.
9115 * math/auto-libm-test-out: Regenerated.
9116 * math/gen-libm-test.pl (cond_value): New function.
9117 (or_cond_value): Use cond_value.
9118 (generate_testfile): Handle conditional exceptions.
9120 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9122 * math/libm-test.inc (max_valid_error): New variable.
9123 (init_max_error): Take new argument specifying whether function
9124 results are exactly determined. Set max_valid_error and bound
9125 other variables for errors based on this argument.
9126 (set_max_error): Do not record results above max_valid_error.
9127 (check_float_internal): Only accept errors of up to 0.5ulps if
9128 also at most max_valid_error.
9129 (START): Take new argument EXACT and pass it to init_max_error.
9130 (acos_test): Update call to START.
9131 (acos_test_tonearest): Likewise.
9132 (acos_test_towardzero): Likewise.
9133 (acos_test_downward): Likewise.
9134 (acos_test_upward): Likewise.
9135 (acosh_test): Likewise.
9136 (asin_test): Likewise.
9137 (asin_test_tonearest): Likewise.
9138 (asin_test_towardzero): Likewise.
9139 (asin_test_downward): Likewise.
9140 (asin_test_upward): Likewise.
9141 (asinh_test): Likewise.
9142 (atan_test): Likewise.
9143 (atanh_test): Likewise.
9144 (atan2_test): Likewise.
9145 (cabs_test): Likewise.
9146 (cacos_test): Likewise.
9147 (cacosh_test): Likewise.
9148 (carg_test): Likewise.
9149 (casin_test): Likewise.
9150 (casinh_test): Likewise.
9151 (catan_test): Likewise.
9152 (catanh_test): Likewise.
9153 (cbrt_test): Likewise.
9154 (ccos_test): Likewise.
9155 (ccosh_test): Likewise.
9156 (ceil_test): Likewise.
9157 (cexp_test): Likewise.
9158 (cimag_test): Likewise.
9159 (clog_test): Likewise.
9160 (clog10_test): Likewise.
9161 (conj_test): Likewise.
9162 (copysign_test): Likewise.
9163 (cos_test): Likewise.
9164 (cos_test_tonearest): Likewise.
9165 (cos_test_towardzero): Likewise.
9166 (cos_test_downward): Likewise.
9167 (cos_test_upward): Likewise.
9168 (cosh_test): Likewise.
9169 (cosh_test_tonearest): Likewise.
9170 (cosh_test_towardzero): Likewise.
9171 (cosh_test_downward): Likewise.
9172 (cosh_test_upward): Likewise.
9173 (cpow_test): Likewise.
9174 (cproj_test): Likewise.
9175 (creal_test): Likewise.
9176 (csin_test): Likewise.
9177 (csinh_test): Likewise.
9178 (csqrt_test): Likewise.
9179 (ctan_test): Likewise.
9180 (ctan_test_tonearest): Likewise.
9181 (ctan_test_towardzero): Likewise.
9182 (ctan_test_downward): Likewise.
9183 (ctan_test_upward): Likewise.
9184 (ctanh_test): Likewise.
9185 (ctanh_test_tonearest): Likewise.
9186 (ctanh_test_towardzero): Likewise.
9187 (ctanh_test_downward): Likewise.
9188 (ctanh_test_upward): Likewise.
9189 (erf_test): Likewise.
9190 (erfc_test): Likewise.
9191 (exp_test): Likewise.
9192 (exp_test_tonearest): Likewise.
9193 (exp_test_towardzero): Likewise.
9194 (exp_test_downward): Likewise.
9195 (exp_test_upward): Likewise.
9196 (exp10_test): Likewise.
9197 (exp10_test_tonearest): Likewise.
9198 (exp10_test_towardzero): Likewise.
9199 (exp10_test_downward): Likewise.
9200 (exp10_test_upward): Likewise.
9201 (pow10_test): Likewise.
9202 (exp2_test): Likewise.
9203 (expm1_test): Likewise.
9204 (expm1_test_tonearest): Likewise.
9205 (expm1_test_towardzero): Likewise.
9206 (expm1_test_downward): Likewise.
9207 (expm1_test_upward): Likewise.
9208 (fabs_test): Likewise.
9209 (fdim_test): Likewise.
9210 (floor_test): Likewise.
9211 (fma_test): Likewise.
9212 (fma_test_towardzero): Likewise.
9213 (fma_test_downward): Likewise.
9214 (fma_test_upward): Likewise.
9215 (fmax_test): Likewise.
9216 (fmin_test): Likewise.
9217 (fmod_test): Likewise.
9218 (fpclassify_test): Likewise.
9219 (frexp_test): Likewise.
9220 (hypot_test): Likewise.
9221 (ilogb_test): Likewise.
9222 (isfinite_test): Likewise.
9223 (finite_test): Likewise.
9224 (isgreater_test): Likewise.
9225 (isgreaterequal_test): Likewise.
9226 (isinf_test): Likewise.
9227 (isless_test): Likewise.
9228 (islessequal_test): Likewise.
9229 (islessgreater_test): Likewise.
9230 (isnan_test): Likewise.
9231 (isnormal_test): Likewise.
9232 (issignaling_test): Likewise.
9233 (isunordered_test): Likewise.
9234 (j0_test): Likewise.
9235 (j1_test): Likewise.
9236 (jn_test): Likewise.
9237 (ldexp_test): Likewise.
9238 (lgamma_test): Likewise.
9239 (gamma_test): Likewise.
9240 (lrint_test): Likewise.
9241 (lrint_test_tonearest): Likewise.
9242 (lrint_test_towardzero): Likewise.
9243 (lrint_test_downward): Likewise.
9244 (lrint_test_upward): Likewise.
9245 (llrint_test): Likewise.
9246 (llrint_test_tonearest): Likewise.
9247 (llrint_test_towardzero): Likewise.
9248 (llrint_test_downward): Likewise.
9249 (llrint_test_upward): Likewise.
9250 (log_test): Likewise.
9251 (log10_test): Likewise.
9252 (log1p_test): Likewise.
9253 (log2_test): Likewise.
9254 (logb_test): Likewise.
9255 (logb_test_downward): Likewise.
9256 (lround_test): Likewise.
9257 (llround_test): Likewise.
9258 (modf_test): Likewise.
9259 (nearbyint_test): Likewise.
9260 (nextafter_test): Likewise.
9261 (nexttoward_test): Likewise.
9262 (pow_test): Likewise.
9263 (pow_test_tonearest): Likewise.
9264 (pow_test_towardzero): Likewise.
9265 (pow_test_downward): Likewise.
9266 (pow_test_upward): Likewise.
9267 (remainder_test): Likewise.
9268 (drem_test): Likewise.
9269 (remainder_test_tonearest): Likewise.
9270 (drem_test_tonearest): Likewise.
9271 (remainder_test_towardzero): Likewise.
9272 (drem_test_towardzero): Likewise.
9273 (remainder_test_downward): Likewise.
9274 (drem_test_downward): Likewise.
9275 (remainder_test_upward): Likewise.
9276 (drem_test_upward): Likewise.
9277 (remquo_test): Likewise.
9278 (rint_test): Likewise.
9279 (rint_test_tonearest): Likewise.
9280 (rint_test_towardzero): Likewise.
9281 (rint_test_downward): Likewise.
9282 (rint_test_upward): Likewise.
9283 (round_test): Likewise.
9284 (scalb_test): Likewise.
9285 (scalbn_test): Likewise.
9286 (scalbln_test): Likewise.
9287 (signbit_test): Likewise.
9288 (sin_test): Likewise.
9289 (sin_test_tonearest): Likewise.
9290 (sin_test_towardzero): Likewise.
9291 (sin_test_downward): Likewise.
9292 (sin_test_upward): Likewise.
9293 (sincos_test): Likewise.
9294 (sinh_test): Likewise.
9295 (sinh_test_tonearest): Likewise.
9296 (sinh_test_towardzero): Likewise.
9297 (sinh_test_downward): Likewise.
9298 (sinh_test_upward): Likewise.
9299 (sqrt_test): Likewise.
9300 (sqrt_test_tonearest): Likewise.
9301 (sqrt_test_towardzero): Likewise.
9302 (sqrt_test_downward): Likewise.
9303 (sqrt_test_upward): Likewise.
9304 (tan_test): Likewise.
9305 (tan_test_tonearest): Likewise.
9306 (tan_test_towardzero): Likewise.
9307 (tan_test_downward): Likewise.
9308 (tan_test_upward): Likewise.
9309 (tanh_test): Likewise.
9310 (tgamma_test): Likewise.
9311 (trunc_test): Likewise.
9312 (y0_test): Likewise.
9313 (y1_test): Likewise.
9314 (yn_test): Likewise.
9315 (significand_test): Likewise.
9317 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9318 individual tests in comment.
9319 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9320 (prev_max_error): New variable.
9321 (prev_real_max_error): Likewise.
9322 (prev_imag_max_error): Likewise.
9323 (compare_ulp_data): Don't refer to test names in comment.
9324 (find_test_ulps): Remove function.
9325 (find_function_ulps): Likewise.
9326 (find_complex_function_ulps): Likewise.
9327 (init_max_error): Take function name as argument. Look up ulps
9329 (print_ulps): Remove function.
9330 (print_max_error): Use prev_max_error instead of calling
9332 (print_complex_max_error): Use prev_real_max_error and
9333 prev_imag_max_error instead of calling find_complex_function_ulps.
9334 (check_float_internal): Take max_ulp parameter instead of calling
9335 find_test_ulps. Don't call print_ulps.
9336 (check_float): Update call to check_float_internal.
9337 (check_complex): Update calls to check_float_internal.
9338 (START): Pass argument to init_max_error.
9339 * math/gen-libm-test.pl (%results): Don't include "kind"
9341 (parse_ulps): Don't handle ulps of individual tests.
9342 (print_ulps_file): Likewise.
9343 (output_ulps): Likewise.
9344 * math/README.libm-test: Update.
9345 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9347 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9348 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9349 * sysdeps/arm/libm-test-ulps: Likewise.
9350 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9351 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9352 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9353 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9354 * sysdeps/microblaze/libm-test-ulps: Likewise.
9355 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9356 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9358 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9359 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9360 * sysdeps/sh/libm-test-ulps: Likewise.
9361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9362 * sysdeps/tile/libm-test-ulps: Likewise.
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9365 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9367 * math/libm-test.inc (print_complex_max_error): Check separately
9368 whether real and imaginary errors are within allowed range and
9369 pass 0 to print_complex_function_ulps instead of value within
9372 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9374 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9376 (get_handles_fopen): Likewise.
9377 (do_write_test): Likewise.
9379 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9381 * libio/fileops.c (do_ftell): Use cached offset when
9383 * libio/iofwide.c (do_ftell_wide): Likewise.
9384 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9386 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9389 * libio/libioP.h (get_file_offset): New function.
9390 * libio/fileops.c (get_file_offset): Likewise.
9391 (do_ftell): Likewise.
9392 (_IO_new_file_seekoff): Split out ftell logic.
9393 * libio/wfileops.c (do_ftell_wide): Likewise.
9394 (_IO_wfile_seekoff): Split out ftell logic.
9395 * libio/tst-ftell-active-handler.c: New test case.
9396 * libio/Makefile (tests): Add it.
9398 2014-03-03 Roland McGrath <roland@hack.frob.com>
9400 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9401 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9403 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9406 * nscd/connections.c (nscd_init): Call do_exit.
9407 (start_threads): Call do_exit and notify_parent.
9408 (begin_drop_privileges): Call do_exit.
9409 (finish_drop_privileges): Likewise.
9410 * nscd/selinux.c (preserve_capabilities): Likewise.
9411 (install_real_capabilities): Likewise.
9412 (nscd_selinux_enabled): Likewise.
9413 (avc_create_thread): Likewise.
9414 (avc_alloc_lock): Likewise.
9415 (nscd_avc_init): Likewise.
9416 * nscd/nscd.c (parent_fd): New static variable.
9417 (main): Create a pipe between parent and child processes.
9418 Skip closing parent_fd.
9419 (monitor_child): New function.
9420 (do_exit): Likewise.
9421 (notify_parent): Likewise.
9422 * nscd/nscd.h (notify_parent): Likewise.
9423 (do_exit): Likewise.
9425 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9427 * malloc/malloc.c (__libc_calloc): Revert last change.
9429 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9433 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9435 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9439 (__libc_ifunc_impl_list): Likewise.
9440 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9442 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9443 * string/strrchr.c: Define STRRCHR.
9445 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9447 * benchtest/bench-strtok.c (simple_strtok): Delete.
9448 (strtok_string): Use as benchmark.
9449 * string/strtok (STRTOK): New macro.
9451 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9453 * manual/threads.texi: Add header and standard comments to all
9456 * elf/dl-lookup.c (check_match): New function.
9457 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9458 (do_lookup_x): Remove nested function check_match. Use non-nested
9459 function check_match.
9461 2014-02-28 Roland McGrath <roland@hack.frob.com>
9463 * csu/Makefile (generated, before-compile): Use += rather than =.
9464 * catgets/Makefile (generated, generated-dirs): Likewise.
9465 * debug/Makefile (generated): Likewise.
9466 * dlfcn/Makefile (generated): Likewise.
9467 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9468 * iconvdata/Makefile (before-compile, generated): Likewise.
9469 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9470 * libio/Makefile (generated): Likewise.
9471 * malloc/Makefile (generated): Likewise.
9472 * manual/Makefile (generated, generated-dirs): Likewise.
9473 * misc/Makefile (generated): Likewise.
9474 * posix/Makefile (generated): Likewise.
9475 * resolv/Makefile (generated): Likewise.
9476 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9477 * timezone/Makefile (generated, generated-dirs): Likewise.
9479 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9481 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9484 power8 implementation.
9485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9486 file: POWER8 llround ifunc implementation.
9487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9488 (__lllround): Add POWER8 implementation.
9489 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9490 POWER8 llround implementation.
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9493 power8 implementation.
9494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9495 file: POWER8 llrint ifunc implementation.
9496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9497 Add POWER8 implementation.
9498 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9499 POWER8 llrint implementation.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9502 power8 implementation.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9504 file: POWER8 finite ifunc implementation.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9506 Add POWER8 implementation.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9509 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9510 POWER8 finite implementation.
9511 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9514 power8 implementation.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9516 file: POWER8 isinf ifunc implementation.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9518 POWER8 implementation.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9522 isinf implementation.
9523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9525 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9526 (INIT_ARCH): Add hwcap2 initialization.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9528 power8 implementation.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9530 file: POWER8 isnan ifunc implementation.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9532 POWER8 implementation.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9536 isnan implementation.
9537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9539 2014-02-27 Joey Ye <joey.ye@arm.com>
9541 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9542 (_FP_NANFRAC_Q): Set to zero.
9544 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * math/auto-libm-test-in: New test inputs.
9548 * math/auto-libm-test-out: Regenerate.
9549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9552 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9554 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9556 * scripts/evaluate-test.sh: Take new argument indicating whether
9557 failure is expected.
9558 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9559 indicating whether failure is expected.
9560 * conform/Makefile (test-xfail-run-conformtest): New variable.
9561 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9563 * posix/Makefile (test-xfail-annexc): New variable.
9564 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9566 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9568 * argp/Makefile: Include Makeconfig immediately after defining
9570 * assert/Makefile: Likewise.
9571 * benchtests/Makefile: Likewise.
9572 * catgets/Makefile: Likewise.
9573 * conform/Makefile: Likewise.
9574 * crypt/Makefile: Likewise.
9575 * csu/Makefile: Likewise.
9576 (all): Remove target.
9577 * ctype/Makefile: Include Makeconfig immediately after defining
9579 * debug/Makefile: Likewise.
9580 * dirent/Makefile: Likewise.
9581 * dlfcn/Makefile: Likewise.
9582 * gmon/Makefile: Likewise.
9583 * gnulib/Makefile: Likewise.
9584 * grp/Makefile: Likewise.
9585 * gshadow/Makefile: Likewise.
9586 * hesiod/Makefile: Likewise.
9587 * hurd/Makefile: Likewise.
9588 (all): Remove target.
9589 * iconvdata/Makefile: Include Makeconfig immediately after
9591 * inet/Makefile: Likewise.
9592 * intl/Makefile: Likewise.
9593 * io/Makefile: Likewise.
9594 * libio/Makefile: Likewise.
9595 (all): Remove target.
9596 * locale/Makefile: Include Makeconfig immediately after defining
9598 * login/Makefile: Likewise.
9599 * mach/Makefile: Likewise.
9600 (all): Remove target.
9601 * malloc/Makefile: Include Makeconfig immediately after defining
9603 (all): Remove target.
9604 * manual/Makefile: Include Makeconfig immediately after defining
9606 * math/Makefile: Likewise.
9607 * misc/Makefile: Likewise.
9608 * nis/Makefile: Likewise.
9609 * nss/Makefile: Likewise.
9610 * po/Makefile: Likewise.
9611 (all): Remove target.
9612 * posix/Makefile: Include Makeconfig immediately after defining
9614 * pwd/Makefile: Likewise.
9615 * resolv/Makefile: Likewise.
9616 * resource/Makefile: Likewise.
9617 * rt/Makefile: Likewise.
9618 * setjmp/Makefile: Likewise.
9619 * shadow/Makefile: Likewise.
9620 * signal/Makefile: Likewise.
9621 * socket/Makefile: Likewise.
9622 * soft-fp/Makefile: Likewise.
9623 * stdio-common/Makefile: Likewise.
9624 * stdlib/Makefile: Likewise.
9625 * streams/Makefile: Likewise.
9626 * string/Makefile: Likewise.
9627 * sunrpc/Makefile: Likewise.
9628 (all): Remove target.
9629 * sysvipc/Makefile: Include Makeconfig immediately after defining
9631 * termios/Makefile: Likewise.
9632 * time/Makefile: Likewise.
9633 * timezone/Makefile: Likewise.
9634 (all): Remove target.
9635 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9637 * wctype/Makefile: Likewise.
9639 2014-02-26 Steve Ellcey <sellcey@mips.com>
9641 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9642 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9643 (libc_feholdexcept_setround_mips): Ditto.
9644 (libc_feholdsetround): New.
9645 (libc_feholdsetroundf): New.
9646 (libc_feholdsetroundl): New.
9647 (libc_feupdateenv_test_mips): New.
9648 (libc_feupdateenv_test): New.
9649 (libc_feupdateenv_testf): New.
9650 (libc_feupdateenv_testl): New.
9651 (libc_feresetround): New.
9652 (libc_feresetroundf): New.
9653 (libc_feresetroundl): New.
9654 (libc_fetestexcept_mips): New.
9655 (libc_fetestexcept): New.
9656 (libc_fetestexceptf): New.
9657 (libc_fetestexceptl): New.
9659 (libc_feholdexcept_setround_mips_ctx): New.
9660 (libc_feholdexcept_setround_ctx): New.
9661 (libc_feholdexcept_setroundf_ctx): New.
9662 (libc_feholdexcept_setroundl_ctx): New.
9663 (libc_fesetenv_mips_ctx): New.
9664 (libc_fesetenv_ctx): New.
9665 (libc_fesetenv_ctxf): New.
9666 (libc_fesetenv_ctxl): New.
9667 (libc_feupdateenv_mips_ctx): New.
9668 (libc_feupdateenv_ctx): New.
9669 (libc_feupdateenvf_ctx): New.
9670 (libc_feupdateenvl_ctx): New.
9671 (libc_feholdsetround_mips_ctx): New.
9672 (libc_feholdsetround_ctx): New.
9673 (libc_feholdsetroundf_ctx): New.
9674 (libc_feholdsetroundl_ctx): New.
9675 (libc_feresetround_mips_ctx): New.
9676 (libc_feresetround_ctx): New.
9677 (libc_feresetroundf_ctx): New.
9678 (libc_feresetroundl_ctx): New.
9680 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9682 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9684 * manual/ipc.texi: New file.
9685 * manual/Makefile (chapters): Add ipc.
9686 * manual/job.texi: Add "Inter-Process Communication" to next.
9687 * manual/process.texi: Add "Inter-Process Communication" to prev.
9689 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9693 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9695 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9697 * manual/arith.texi: Fix spaces after sentences.
9698 * manual/charset.texi: Likewise.
9699 * manual/errno.texi: Likewise.
9700 * manual/install.texi: Likewise.
9701 * manual/llio.texi: Likewise.
9702 * manual/locale.texi: Likewise.
9703 * manual/maint.texi: Likewise.
9704 * manual/math.texi: Likewise.
9705 * manual/memory.texi: Likewise.
9706 * manual/message.texi: Likewise.
9707 * manual/probes.texi: Likewise.
9708 * manual/resource.texi: Likewise.
9709 * manual/signal.texi: Likewise.
9710 * manual/socket.texi: Likewise.
9711 * manual/stdio.texi: Likewise.
9712 * manual/string.texi: Likewise.
9713 * manual/time.texi: Likewise.
9714 * manual/users.texi: Likewise.
9716 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9719 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9720 _DEFAULT_SOURCE is defined.
9722 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9723 Carlos O'Donell <carlos@redhat.com>
9726 * elf/dl-tls.c (_dl_count_modids): New function.
9727 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9728 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9729 audit library and increment generation counter.
9730 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9731 * elf/tst-audit9.c: New file.
9732 * elf/tst-auditmod9a.c: New file.
9733 * elf/tst-auditmod9b.c: New file.
9734 * elf/Makefile: Add rules to build and run tst-audit9.
9736 2014-02-25 Florian Weimer <fweimer@redhat.com>
9739 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9741 2014-02-25 Will Newton <will.newton@linaro.org>
9743 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9744 (__longjmp): Restore sp and lr before restoring callee
9745 saved registers. Add longjmp and longjmp_target
9746 SystemTap probe point.
9747 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9748 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9749 Define to zero to match jmpbuf layout.
9750 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9751 (__sigsetjmp): Save sp and lr before saving callee
9752 saved registers. Add setjmp SystemTap probe point.
9754 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9758 2014-02-24 Andreas Schwab <schwab@suse.de>
9761 * elf/pldd.c (wait_for_ptrace_stop): New function.
9762 (main): Call it after attaching.
9764 2014-02-22 Roland McGrath <roland@hack.frob.com>
9766 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9767 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9768 Versions files is now verboten.
9769 * hurd/Versions (libc: GLIBC_2.0):
9770 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9771 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9772 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9773 * mach/Versions: Likewise.
9775 * csu/Versions: Remove unused %include.
9776 * resolv/Versions: Likewise.
9778 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9780 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9781 ($(objpfx)check-local-headers.out): Likewise.
9782 ($(objpfx)begin-end-check.out): Likewise.
9783 * Makerules (check-abi-%.out): Likewise.
9784 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9785 ($(objpfx)test2.cat): Likewise.
9786 ($(objpfx)de/libc.cat): Likewise.
9787 ($(objpfx)test-gencat.out): Likewise.
9788 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9789 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9790 ($(objpfx)noload-mem): Likewise.
9791 ($(objpfx)tst-pathopt.out): Likewise.
9792 ($(objpfx)tst-rtld-load-self.out): Likewise.
9793 ($(objpfx)tst-array1-cmp.out): Likewise.
9794 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9795 ($(objpfx)tst-array2-cmp.out): Likewise.
9796 ($(objpfx)tst-array3-cmp.out): Likewise.
9797 ($(objpfx)tst-array4-cmp.out): Likewise.
9798 ($(objpfx)tst-array5-cmp.out): Likewise.
9799 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9800 ($(objpfx)check-textrel.out): Likewise.
9801 ($(objpfx)check-execstack.out): Likewise.
9802 ($(objpfx)check-localplt.out): Likewise.
9803 ($(objpfx)order2-cmp.out): Likewise.
9804 ($(objpfx)tst-leaks1-mem): Likewise.
9805 ($(objpfx)tst-leaks1-static-mem): Likewise.
9806 ($(objpfx)tst-initorder-cmp.out): Likewise.
9807 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9808 ($(objpfx)tst-unused-dep.out): Likewise.
9809 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9810 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9811 * iconv/Makefile (test-iconvconfig): Likewise.
9812 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9813 ($(objpfx)iconv-test.out): Likewise.
9814 ($(objpfx)tst-tables.out): Likewise.
9815 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9816 ($(objpfx)tst-gettext.out): Likewise.
9817 ($(objpfx)tst-translit.out): Likewise.
9818 ($(objpfx)tst-gettext2.out): Likewise.
9819 ($(objpfx)tst-gettext4.out): Likewise.
9820 ($(objpfx)tst-gettext6.out): Likewise.
9821 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9822 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9823 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9824 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9826 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9827 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9828 ($(objpfx)wordexp-tst.out): Likewise.
9829 ($(objpfx)annexc.out): Likewise.
9830 ($(objpfx)tst-fnmatch-mem): Likewise.
9831 ($(objpfx)bug-regex2-mem): Likewise.
9832 ($(objpfx)bug-regex14-mem): Likewise.
9833 ($(objpfx)bug-regex21-mem): Likewise.
9834 ($(objpfx)bug-regex31-mem): Likewise.
9835 ($(objpfx)tst-vfork3-mem): Likewise.
9836 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9837 ($(objpfx)tst-pcre-mem): Likewise.
9838 ($(objpfx)tst-boost-mem): Likewise.
9839 ($(objpfx)tst-getconf.out): Likewise.
9840 ($(objpfx)bug-ga2-mem): Likewise.
9841 ($(objpfx)bug-glob2-mem): Likewise.
9842 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9843 ($(objpfx)mtrace-tst-leaks2): Likewise.
9844 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9845 ($(objpfx)tst-printf.out): Likewise.
9846 ($(objpfx)tst-setvbuf1.out): Likewise.
9847 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9848 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9849 ($(objpfx)tst-fmtmsg.out): Likewise.
9850 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9851 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9853 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9854 * bits/sigaction.h [__USE_MISC]: Likewise.
9855 * bits/waitstatus.h: Update #endif comments.
9856 * ctype/ctype.h: Likewise.
9857 * dirent/dirent.h: Likewise.
9858 [__USE_MISC]: Remove redundant conditionals.
9859 * grp/grp.h: Update #endif comments.
9860 [__USE_GNU]: Remove redundant conditionals.
9861 [__USE_MISC]: Likewise.
9862 * inet/netinet/in.h [__USE_GNU]: Likewise.
9863 * io/sys/stat.h [__USE_MISC]: Likewise.
9864 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9865 * libio/bits/stdio.h: Update #endif comments.
9866 [__USE_MISC]: Remove redundant conditionals.
9867 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9868 * libio/stdio.h: Update #endif comments.
9869 [__USE_MISC]: Remove redundant conditionals.
9870 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9871 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9872 * math/math.h: Update #else and #endif comments.
9873 [__USE_MISC]: Remove redundant conditionals.
9874 * misc/sys/uio.h: Update #endif comments.
9875 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9876 * posix/glob.h [__USE_MISC]: Likewise.
9877 * posix/sys/types.h: Update #endif comments.
9878 [__USE_MISC]: Remove redundant conditionals.
9879 * posix/sys/wait.h: Update #endif comments.
9880 [__USE_MISC]: Remove redundant conditionals.
9881 * posix/unistd.h: Update #endif comments.
9882 [__USE_MISC]: Remove redundant conditionals.
9883 * pwd/pwd.h [__USE_GNU]: Likewise.
9884 [__USE_MISC]: Likewise.
9885 * resolv/netdb.h [__USE_GNU]: Likewise.
9886 * signal/signal.h: Update #endif comments.
9887 [__USE_MISC]: Remove redundant conditionals.
9888 * stdlib/stdlib.h: Update #else and #endif comments.
9889 [__USE_MISC]: Remove redundant conditionals.
9890 [__USE_GNU]: Likewise.
9891 * string/bits/string2.h [__USE_MISC]: Likewise.
9892 * string/string.h: Update #endif comments.
9893 [__USE_MISC]: Remove redundant conditionals.
9894 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9896 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9897 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9898 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9900 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9904 [__USE_MISC]: Remove redundant conditionals.
9905 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9906 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9907 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9908 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9909 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9911 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9912 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9914 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9917 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9919 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9920 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9922 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9924 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9925 * sysdeps/x86/bits/string.h: Update #endif comments.
9926 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9928 * time/sys/time.h: Update #endif comments.
9929 * time/time.h: Likewise.
9930 [__USE_MISC]: Remove redundant conditionals.
9932 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9935 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9937 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9939 * Versions.def (librt): Add GLIBC_2.17.
9941 2014-02-21 Adam Conrad <adconrad@0c3.net>
9943 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9944 synonym for _SYS_AUXV_H to allow direct inclusion.
9945 * sysdeps/sparc/bits/hwcap.h: Likewise.
9946 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9947 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9948 * sysdeps/sparc/sysdep.h: Likewise.
9950 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9952 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9954 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9956 * benchtests/bench-strrchr.c: Print length instead of position.
9958 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9961 * sysdeps/unix/sysv/linux/kernel-features.h
9962 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9963 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9964 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9965 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9967 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9968 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9969 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9970 (__ASSUME_SENDMMSG): Define instead of using previous
9971 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9972 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9973 (__ASSUME_SENDMMSG_SYSCALL): Define.
9974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9975 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9978 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9981 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9983 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9984 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9985 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9986 [__ASSUME_SENDMMSG]: Change conditionals to
9987 [__ASSUME_SENDMMSG_SOCKETCALL].
9988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9989 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9991 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9992 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9994 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9995 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9996 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9997 [!__ASSUME_SENDMMSG]: Change conditional to
9998 [!__ASSUME_SENDMMSG_SOCKETCALL].
9999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10000 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10004 * sysdeps/unix/sysv/linux/kernel-features.h
10005 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10006 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10007 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10008 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10009 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10010 [__i386__ || __sparc__]
10011 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10012 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10013 (__ASSUME_RECVMMSG): Define instead of using previous
10014 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10015 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10016 (__ASSUME_RECVMMSG_SYSCALL): Define.
10017 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10020 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10023 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10026 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10027 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10028 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10029 [__ASSUME_RECVMMSG]: Change condition to
10030 [__ASSUME_RECVMMSG_SOCKETCALL].
10031 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10032 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10034 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10035 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10036 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10038 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10039 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10040 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10041 [!__ASSUME_RECVMMSG]: Change condition to
10042 [!__ASSUME_RECVMMSG_SOCKETCALL].
10043 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10044 (__ASSUME_RECVMMSG_SYSCALL): Define.
10047 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10048 __powerpc__ || __s390__ || __sh__ || __sparc__]
10049 (__ASSUME_SOCKETCALL): Define.
10050 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10051 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10052 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10053 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10054 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10055 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10056 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10057 (__ASSUME_ACCEPT4): Define instead of using previous
10058 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10059 __powerpc__ || __sparc__ || __s390__)] condition.
10060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10061 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10062 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10063 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10064 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10065 [!__ASSUME_ACCEPT4]: Change condition to
10066 [!__ASSUME_ACCEPT4_SOCKETCALL].
10067 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10068 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10069 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10070 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10071 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10072 __ASSUME_ACCEPT4_SYSCALL.
10073 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10074 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10076 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10077 __ASSUME_ACCEPT4_SYSCALL.
10078 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10079 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10080 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10081 [__ASSUME_ACCEPT4]: Change condition to
10082 [__ASSUME_ACCEPT4_SOCKETCALL].
10083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10084 (__ASSUME_SOCKETCALL): Define.
10085 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10087 (__ASSUME_SOCKETCALL): Define.
10088 (__ASSUME_ACCEPT4): Remove.
10089 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10091 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10092 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10094 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10095 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10097 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10099 (HWCAP_ARM_LPAE): Likewise.
10100 (HWCAP_ARM_EVTSTRM): Likewise.
10101 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10102 Add vpfd32, lpae and evtstrm.
10103 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10106 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10108 * math/auto-libm-test-in: Add tests of clog10.
10109 * math/auto-libm-test-out: Regenerated.
10110 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10111 * sysdeps/i386/fpu/libm-test-ulps: Update.
10112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114 2014-02-18 Andreas Schwab <schwab@suse.de>
10117 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10118 Store non-zero if the second buffer was newly allocated.
10119 (send_dg): Likewise.
10120 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10121 to send_vc and send_dg.
10122 (res_nsend): Pass NULL for ansp2_malloced.
10123 * resolv/res_query.c (__libc_res_nquery): Add parameter
10124 answerp2_malloced and pass it down to __libc_res_nsend.
10125 (res_nquery): Pass additional NULL to __libc_res_nquery.
10126 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10127 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10128 second answer buffer if answerp2_malloced was set.
10129 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10130 (__libc_res_nquerydomain): Add parameter
10131 answerp2_malloced and pass it down to __libc_res_nquery.
10132 (res_nquerydomain): Pass additional NULL to
10133 __libc_res_nquerydomain.
10134 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10135 additional NULL to __libc_res_nsend and __libc_res_nquery.
10136 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10137 additional NULL to __libc_res_nsearch.
10138 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10139 parameter of __libc_res_nsearch to check for separately allocated
10141 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10143 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10144 additional NULL to __libc_res_nquery.
10145 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10146 __libc_res_nsearch.
10147 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10148 * include/resolv.h: Update prototypes of __libc_res_nquery,
10149 __libc_res_nsearch, __libc_res_nsend.
10151 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10153 * math/auto-libm-test-in: Add tests of fma.
10154 * math/auto-libm-test-out: Regenerated.
10155 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10156 (fma_towardzero_test_data): Likewise.
10157 (fma_downward_test_data): Likewise.
10158 (fma_upward_test_data): Likewise.
10159 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10161 (rounding_modes): Add values for new field.
10162 (func_calc_method): Add value mpfr_fff_f.
10163 (func_calc_desc): Add mpfr_fff_f union field.
10164 (test_function): Add field exact_args.
10165 (FUNC): Add macro argument EXACT_ARGS.
10166 (FUNC_mpfr_f_f): Update call to FUNC.
10167 (FUNC_mpfr_f_f): Likewise.
10168 (FUNC_mpfr_ff_f): Likewise.
10169 (FUNC_mpfr_if_f): Likewise.
10170 (FUNC_mpc_c_f): Likewise.
10171 (FUNC_mpc_c_c): Likewise.
10172 (test_functions): Add fma. Update calls to FUNC.
10173 (handle_input_arg): Add argument exact_args.
10174 (add_test): Update call to handle_input_arg.
10175 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10176 (output_for_one_input_case): Update call to calc_generic_results.
10177 Recalculate exact zero results in each rounding mode.
10179 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10180 non-negative before setting low bit.
10181 * math/auto-libm-test-in: Mark one asin test possibly having
10182 spurious underflow.
10183 * math/auto-libm-test-out: Regenerated.
10184 * sysdeps/i386/fpu/libm-test-ulps: Update.
10185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10187 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10189 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10190 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10191 ports/sysdeps/unix/sysv/linux/microblaze.
10192 * README: Add missing listing for microblaze*-*-linux-gnu.
10194 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10199 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10201 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10202 * sysdeps/unix/sysv/linux/ia64: Move directory from
10203 ports/sysdeps/unix/sysv/linux/ia64.
10204 * README: Update listing for ia64-*-linux-gnu.
10206 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10207 Joseph Myers <joseph@codesourcery.com>
10209 * Makeconfig (test-name): New variable.
10210 (evaluate-test): Likewise.
10211 * Makerules (do-test-clean): Remove .test-result files.
10212 (common-mostlyclean): Likewise.
10213 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10214 * scripts/evaluate-test.sh: New file.
10216 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10218 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10219 separate $(objpfx)tst-fopenloc-cmp.out and
10220 $(objpfx)tst-fopenloc-mem.out targets.
10221 (tests): Update dependencies.
10222 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10223 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10224 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10225 (tst-rxspencer-no-utf8-ARGS): New variable.
10226 (tst-rxspencer-no-utf8-ENV): Likewise.
10227 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10228 instead of $(objpfx)tst-rxspencer-mem.
10229 ($(objpfx)tst-rxspencer-mem): Change target to
10230 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10231 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10232 * posix/tst-rxspencer-no-utf8.c: New file.
10234 * elf/Makefile ($(objpfx)order.out): Remove rule.
10235 [$(run-built-tests) = yes] (tests): Depend on
10236 $(objpfx)order-cmp.out.
10237 ($(objpfx)order-cmp.out): New rule.
10238 [$(run-built-tests) = yes] (tests): Depend on
10239 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10240 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10241 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10242 $(objpfx)tst-array5-static-cmp.out.
10243 ($(objpfx)tst-array1.out): Remove rule.
10244 ($(objpfx)tst-array1-cmp.out): New rule.
10245 ($(objpfx)tst-array1-static.out): Remove rule.
10246 ($(objpfx)tst-array1-static-cmp.out): New rule.
10247 ($(objpfx)tst-array2.out): Remove rule.
10248 ($(objpfx)tst-array2-cmp.out): New rule.
10249 ($(objpfx)tst-array3.out): Remove rule.
10250 ($(objpfx)tst-array3-cmp.out): New rule.
10251 ($(objpfx)tst-array4.out): Remove rule.
10252 ($(objpfx)tst-array4-cmp.out): New rule.
10253 ($(objpfx)tst-array5.out): Remove rule.
10254 ($(objpfx)tst-array5-cmp.out): New rule.
10255 ($(objpfx)tst-array5-static.out): Remove rule.
10256 ($(objpfx)tst-array5-static-cmp.out): New rule.
10257 [$(run-built-tests) = yes] (tests): Depend on
10258 $(objpfx)order2-cmp.out.
10259 ($(objpfx)order2.out): Remove rule.
10260 ($(objpfx)order2-cmp.out): New rule.
10261 ($(objpfx)tst-initorder.out): Remove rule.
10262 [$(run-built-tests) = yes] (tests): Depend on
10263 $(objpfx)tst-initorder-cmp.out.
10264 ($(objpfx)tst-initorder-cmp.out): New rule.
10265 ($(objpfx)tst-initorder2.out): Remove rule.
10266 [$(run-built-tests) = yes] (tests): Depend on
10267 $(objpfx)tst-initorder2-cmp.out.
10268 ($(objpfx)tst-initorder2-cmp.out): New rule.
10269 [$(run-built-tests) = yes] (tests): Depend on
10270 $(objpfx)tst-unused-dep-cmp.out.
10271 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10272 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10273 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10274 on $(objpfx)tst-setvbuf1-cmp.out.
10275 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10276 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10277 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10278 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10279 ($(objpfx)tst-svc.out): Remove rule.
10280 ($(objpfx)tst-svc-cmp.out): New rule.
10282 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10284 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10285 * ctype/ctype.h [__USE_MISC]: Likewise.
10286 * dirent/dirent.h [__USE_MISC]: Likewise.
10287 * grp/grp.h [__USE_MISC]: Likewise.
10288 * io/fcntl.h [__USE_MISC]: Likewise.
10289 * io/sys/stat.h [__USE_MISC]: Likewise.
10290 * libio/stdio.h [__USE_MISC]: Likewise.
10291 * posix/unistd.h [__USE_MISC]: Likewise.
10292 * pwd/pwd.h [__USE_MISC]: Likewise.
10293 * stdlib.h [__USE_MISC]: Likewise.
10294 * string/bits/string2.h [__USE_MISC]: Likewise.
10295 * string/string.h [__USE_MISC]: Likewise.
10296 * time/time.h [__USE_MISC]: Likewise.
10298 2014-02-13 Andreas Schwab <schwab@suse.de>
10301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10302 second answer buffer if it was separately allocated.
10304 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/mips/math-tests.h: Include <features.h>.
10307 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10308 (ROUNDING_TESTS_long_double): Do not define.
10309 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10310 (EXCEPTION_TESTS_long_double): Likewise.
10311 * sysdeps/mips/mips64/libm-test-ulps: Update.
10313 * include/features.h (__USE_BSD): Remove macro definitions.
10314 (__USE_SVID): Likewise.
10315 (_BSD_SOURCE): Likewise.
10316 (_SVID_SOURCE): Likewise.
10317 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10318 from definition of _DEFAULT_SOURCE.
10319 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10321 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10322 * bits/mman.h [__USE_BSD]: Likewise.
10323 * bits/termios.h [__USE_BSD]: Likewise.
10324 * bits/waitstatus.h [__USE_BSD]: Likewise.
10325 * ctype/ctype.h [__USE_SVID]: Likewise.
10326 * dirent/dirent.h [__USE_BSD]: Likewise.
10327 * grp/grp.h [__USE_SVID]: Likewise.
10328 [__USE_BSD]: Likewise.
10329 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10330 * io/fcntl.h [__USE_BSD]: Likewise.
10331 * io/ftw.h [__USE_BSD]: Likewise.
10332 * io/sys/stat.h [__USE_BSD]: Likewise.
10333 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10334 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10335 * libio/stdio.h [__USE_SVID]: Likewise.
10336 [__USE_BSD]: Likewise.
10337 * math/math.h [__USE_SVID]: Likewise.
10338 [__USE_BSD]: Likewise.
10339 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10340 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10341 * misc/search.h [__USE_SVID]: Likewise.
10342 * misc/sys/mman.h [__USE_BSD]: Likewise.
10343 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10344 * misc/sys/uio.h [__USE_BSD]: Likewise.
10345 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10346 * posix/glob.h [__USE_BSD]: Likewise.
10347 * posix/regex.h [__USE_BSD]: Likewise.
10348 * posix/sys/types.h [__USE_BSD]: Likewise.
10349 [__USE_SVID]: Likewise.
10350 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10351 * posix/sys/wait.h [__USE_BSD]: Likewise.
10352 [__USE_SVID]: Likewise.
10353 * posix/unistd.h [__USE_BSD]: Likewise.
10354 [__USE_SVID]: Likewise.
10355 * pwd/pwd.h [__USE_SVID]: Likewise.
10356 * resolv/netdb.h [__USE_BSD]: Likewise.
10357 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10358 * signal/signal.h [__USE_BSD]: Likewise.
10359 [__USE_SVID]: Likewise.
10360 * socket/sys/socket.h [__USE_BSD]: Likewise.
10361 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10362 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10363 [__USE_SVID]: Likewise.
10364 * string/bits/string2.h [__USE_BSD]: Likewise.
10365 [__USE_SVID]: Likewise.
10366 * string/bits/string3.h [__USE_BSD]: Likewise.
10367 * string/endian.h [__USE_BSD]: Likewise.
10368 * string/string.h [__USE_SVID]: Likewise.
10369 [__USE_BSD]: Likewise.
10370 * string/strings.h [__USE_BSD]: Likewise.
10371 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10372 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10373 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10374 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10375 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10376 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10380 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10381 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10383 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10384 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10386 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10388 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10389 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10392 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10394 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10395 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10396 * termios/termios.h [__USE_BSD]: Likewise.
10397 * time/sys/time.h [__USE_BSD]: Likewise.
10398 * time/time.h [__USE_BSD]: Likewise.
10399 [__USE_SVID]: Likewise.
10401 * Makefile (subdir_targets): Remove subdir_lint.out.
10403 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10404 (do-tst-printf): Likewise.
10405 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10406 $(objpfx)tst-printf.out.
10408 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10410 * Makerules (check-abi-%): Change target to
10411 $(objpfx)check-abi-%.out.
10412 (check-abi target): Update dependencies.
10413 (check-abi-pattern variable): Redirect output of diff to $@.
10414 (check-abi variable): Likewise.
10415 * elf/Makefile (check-abi): Update dependencies.
10417 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10419 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10420 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10422 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10423 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10424 value has largest subnormal exponent.
10425 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10426 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10427 * sysdeps/aarch64/soft-fp/sfp-machine.h
10428 (_FP_TININESS_AFTER_ROUNDING): New macro.
10429 * sysdeps/alpha/soft-fp/sfp-machine.h
10430 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10431 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10433 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10434 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10435 * sysdeps/mips/soft-fp/sfp-machine.h
10436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10437 * sysdeps/powerpc/soft-fp/sfp-machine.h
10438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10439 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10441 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10442 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10443 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10445 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10448 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10454 2014-02-12 Richard Henderson <rth@redhat.com>
10456 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10457 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10458 * sysdeps/unix/sysv/linux/alpha: Move directory from
10459 ports/sysdeps/unix/sysv/linux/alpha.
10460 * README: Update listing for alpha-*-linux-gnu.
10462 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10464 * include/features.h: Update comment documenting feature test
10466 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10468 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10469 (_SVID_SOURCE): Likewise.
10470 (_DEFAULT_SOURCE): Update description of default features.
10471 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10473 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10474 (S_ISVTX): Likewise.
10475 * manual/math.texi (Mathematical Constants): Likewise.
10476 * manual/signal.texi (Interrupted Primitives): Likewise.
10477 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10478 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10479 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10480 Don't refer to _SVID_SOURCE in warning text.
10482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10484 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10486 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10487 * sysdeps/mips/dl-lookup.c: Remove.
10488 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10490 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10493 * math/auto-libm-test-in: Add testcase for expl.
10494 * math/auto-libm-test-out: Regenerate.
10495 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10496 calculation of unsafe.
10497 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10499 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10501 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10502 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10503 ports/sysdeps/unix/sysv/linux/aarch64.
10504 * README: Update listing for aarch64*-*-linux-gnu.
10506 2014-02-11 Will Newton <will.newton@linaro.org>
10508 * manual/probes.texi (Mathematical Function Probes): Use
10509 "triggered" instead of "hit".
10511 * manual/probes.texi (Internal Probes): Add documentation
10512 of setjmp, longjmp and longjmp_target probes.
10514 * include/stap-probe.h: Add comment about probe argument
10517 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10518 definition. (tr_where, tr_freehook, tr_mallochook,
10519 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10521 2014-02-11 David S. Miller <davem@davemloft.net>
10523 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10524 processing int_tests.
10526 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10528 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10529 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10530 * sysdeps/unix/sysv/linux/mips: Move directory from
10531 ports/sysdeps/unix/sysv/linux/mips.
10532 * README: Update listing for mips-*-linux-gnu and
10533 mips64-*-linux-gnu.
10535 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10537 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10538 * sysdeps/unix/sysv/linux/m68k: Move directory from
10539 ports/sysdeps/unix/sysv/linux/m68k.
10540 * README: Update listing for m68k-*-linux-gnu.
10542 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10544 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10545 * sysdeps/unix/sysv/linux/generic: Move directory from
10546 ports/sysdeps/unix/sysv/linux/generic.
10547 * sysdeps/unix/sysv/linux/tile: Move directory from
10548 ports/sysdeps/unix/sysv/linux/tile.
10549 * README: Update listing for tile*-*-linux-gnu.
10551 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10553 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10555 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10556 * catgets/open_catalog.c (__open_catalog): Likewise.
10557 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10558 * debug/confstr_chk.c: Likewise.
10559 * debug/fread_chk.c (__fread_chk): Likewise.
10560 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10561 * debug/getgroups_chk.c: Likewise.
10562 * debug/mbsnrtowcs_chk.c: Likewise.
10563 * debug/mbsrtowcs_chk.c: Likewise.
10564 * debug/mbstowcs_chk.c: Likewise.
10565 * debug/memcpy_chk.c: Likewise.
10566 * debug/memmove_chk.c: Likewise.
10567 * debug/mempcpy_chk.c: Likewise.
10568 * debug/memset_chk.c: Likewise.
10569 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10570 * debug/strcat_chk.c (__strcat_chk): Likewise.
10571 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10572 * debug/strncat_chk.c (__strncat_chk): Likewise.
10573 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10574 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10575 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10576 * debug/wcpncpy_chk.c: Likewise.
10577 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10578 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10579 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10580 * debug/wcsncpy_chk.c: Likewise.
10581 * debug/wcsnrtombs_chk.c: Likewise.
10582 * debug/wcsrtombs_chk.c: Likewise.
10583 * debug/wcstombs_chk.c: Likewise.
10584 * debug/wmemcpy_chk.c: Likewise.
10585 * debug/wmemmove_chk.c: Likewise.
10586 * debug/wmempcpy_chk.c: Likewise.
10587 * debug/wmemset_chk.c: Likewise.
10588 * dirent/scandirat.c (SCANDIRAT): Likewise.
10589 * dlfcn/dladdr1.c (dladdr1): Likewise.
10590 * dlfcn/dladdr.c (dladdr): Likewise.
10591 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10592 * dlfcn/dlerror.c (__dlerror): Likewise.
10593 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10594 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10595 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10596 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10597 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10598 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10599 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10600 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10602 * elf/dl-conflict.c: Likewise.
10603 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10604 * elf/dl-dst.h: Likewise.
10605 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10606 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10607 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10608 * elf/dl-init.c (call_init, _dl_init): Likewise.
10609 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10610 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10611 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10613 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10615 * elf/dl-minimal.c (__libc_memalign): Likewise.
10616 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10617 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10618 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10619 * elf/dl-sym.c (do_sym): Likewise.
10620 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10621 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10622 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10623 * elf/dl-writev.h (_dl_writev): Likewise.
10624 * elf/ldconfig.c (search_dir): Likewise.
10625 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10626 (dl_main): Likewise.
10627 * elf/setup-vdso.h (setup_vdso): Likewise.
10628 * grp/compat-initgroups.c (compat_call): Likewise.
10629 * grp/fgetgrent.c (fgetgrent): Likewise.
10630 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10631 * grp/putgrent.c (putgrent): Likewise.
10632 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10634 * hurd/hurdinit.c: Likewise.
10635 * iconvdata/8bit-gap.c (struct): Likewise.
10636 * iconvdata/ansi_x3.110.c : Likewise.
10637 * iconvdata/big5.c : Likewise.
10638 * iconvdata/big5hkscs.c : Likewise.
10639 * iconvdata/cp1255.c: Likewise.
10640 * iconvdata/cp1258.c : Likewise.
10641 * iconvdata/cp932.c : Likewise.
10642 * iconvdata/euc-cn.c: Likewise.
10643 * iconvdata/euc-jisx0213.c : Likewise.
10644 * iconvdata/euc-jp.c: Likewise.
10645 * iconvdata/euc-jp-ms.c : Likewise.
10646 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10647 * iconvdata/gb18030.c : Likewise.
10648 * iconvdata/gbbig5.c (const): Likewise.
10649 * iconvdata/gbgbk.c: Likewise.
10650 * iconvdata/gbk.c : Likewise.
10651 * iconvdata/ibm1364.c : Likewise.
10652 * iconvdata/ibm930.c : Likewise.
10653 * iconvdata/ibm932.c: Likewise.
10654 * iconvdata/ibm933.c : Likewise.
10655 * iconvdata/ibm935.c : Likewise.
10656 * iconvdata/ibm937.c : Likewise.
10657 * iconvdata/ibm939.c : Likewise.
10658 * iconvdata/ibm943.c: Likewise.
10659 * iconvdata/iso_11548-1.c: Likewise.
10660 * iconvdata/iso-2022-cn.c : Likewise.
10661 * iconvdata/iso-2022-cn-ext.c : Likewise.
10662 * iconvdata/iso-2022-jp-3.c: Likewise.
10663 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10664 * iconvdata/iso-2022-kr.c : Likewise.
10665 * iconvdata/iso646.c (gconv_end): Likewise.
10666 * iconvdata/iso_6937-2.c : Likewise.
10667 * iconvdata/iso_6937.c : Likewise.
10668 * iconvdata/iso8859-1.c: Likewise.
10669 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10670 * iconvdata/shift_jisx0213.c : Likewise.
10671 * iconvdata/sjis.c : Likewise.
10672 * iconvdata/t.61.c : Likewise.
10673 * iconvdata/tcvn5712-1.c : Likewise.
10674 * iconvdata/tscii.c: Likewise.
10675 * iconvdata/uhc.c : Likewise.
10676 * iconvdata/unicode.c (gconv_end): Likewise.
10677 * iconvdata/utf-16.c (gconv_end): Likewise.
10678 * iconvdata/utf-32.c (gconv_end): Likewise.
10679 * iconvdata/utf-7.c (base64): Likewise.
10680 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10681 * iconv/gconv_close.c (__gconv_close): Likewise.
10682 * iconv/gconv_open.c (__gconv_open): Likewise.
10683 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10684 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10685 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10686 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10687 (ucs4le_internal_loop_single): Likewise.
10688 * iconv/iconv.c (iconv): Likewise.
10689 * iconv/iconv_close.c: Likewise.
10690 * iconv/loop.c (SINGLE): Likewise.
10691 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10692 * include/atomic.h: Likewise.
10693 * inet/inet6_option.c (option_alloc): Likewise.
10694 * intl/bindtextdom.c (set_binding_values): Likewise.
10695 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10696 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10697 * intl/localealias.c (read_alias_file): Likewise.
10698 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10699 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10700 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10701 * libio/fmemopen.c (fmemopen): Likewise.
10702 * libio/iofgets.c (_IO_fgets): Likewise.
10703 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10704 * libio/iofgetws.c (fgetws): Likewise.
10705 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10706 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10707 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10708 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10709 * locale/findlocale.c (_nl_find_locale): Likewise.
10710 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10711 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10713 * locale/setlocale.c (setlocale): Likewise.
10714 * login/programs/pt_chown.c (main): Likewise.
10715 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10716 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10717 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10718 (mmap, mmap64, mremap, munmap): Likewise.
10719 * math/e_exp2l.c: Likewise.
10720 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10721 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10722 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10723 * math/s_catan.c (__catan): Likewise.
10724 * math/s_catanf.c (__catanf): Likewise.
10725 * math/s_catanh.c (__catanh): Likewise.
10726 * math/s_catanhf.c (__catanhf): Likewise.
10727 * math/s_catanhl.c (__catanhl): Likewise.
10728 * math/s_catanl.c (__catanl): Likewise.
10729 * math/s_ccosh.c (__ccosh): Likewise.
10730 * math/s_ccoshf.c (__ccoshf): Likewise.
10731 * math/s_ccoshl.c (__ccoshl): Likewise.
10732 * math/s_cexp.c (__cexp): Likewise.
10733 * math/s_cexpf.c (__cexpf): Likewise.
10734 * math/s_cexpl.c (__cexpl): Likewise.
10735 * math/s_clog10.c (__clog10): Likewise.
10736 * math/s_clog10f.c (__clog10f): Likewise.
10737 * math/s_clog10l.c (__clog10l): Likewise.
10738 * math/s_clog.c (__clog): Likewise.
10739 * math/s_clogf.c (__clogf): Likewise.
10740 * math/s_clogl.c (__clogl): Likewise.
10741 * math/s_csin.c (__csin): Likewise.
10742 * math/s_csinf.c (__csinf): Likewise.
10743 * math/s_csinh.c (__csinh): Likewise.
10744 * math/s_csinhf.c (__csinhf): Likewise.
10745 * math/s_csinhl.c (__csinhl): Likewise.
10746 * math/s_csinl.c (__csinl): Likewise.
10747 * math/s_csqrt.c (__csqrt): Likewise.
10748 * math/s_csqrtf.c (__csqrtf): Likewise.
10749 * math/s_csqrtl.c (__csqrtl): Likewise.
10750 * math/s_ctan.c (__ctan): Likewise.
10751 * math/s_ctanf.c (__ctanf): Likewise.
10752 * math/s_ctanh.c (__ctanh): Likewise.
10753 * math/s_ctanhf.c (__ctanhf): Likewise.
10754 * math/s_ctanhl.c (__ctanhl): Likewise.
10755 * math/s_ctanl.c (__ctanl): Likewise.
10756 * math/w_pow.c: Likewise.
10757 * math/w_powf.c: Likewise.
10758 * math/w_powl.c: Likewise.
10759 * math/w_scalb.c (sysv_scalb): Likewise.
10760 * math/w_scalbf.c (sysv_scalbf): Likewise.
10761 * math/w_scalbl.c (sysv_scalbl): Likewise.
10762 * misc/error.c (error_tail): Likewise.
10763 * misc/pselect.c (__pselect): Likewise.
10764 * nis/nis_callback.c (__nis_create_callback): Likewise.
10765 * nis/nis_call.c (__nisfind_server): Likewise.
10766 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10767 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10768 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10769 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10770 * nis/nis_lookup.c (nis_lookup): Likewise.
10771 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10772 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10773 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10774 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10775 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10776 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10777 * nis/nss_compat/compat-initgroups.c (add_group)
10778 (internal_getgrent_r): Likewise.
10779 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10780 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10781 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10782 (internal_getspnam_r): Likewise.
10783 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10784 (_nss_nis_getaliasbyname_r): Likewise.
10785 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10786 (_nss_nis_getntohost_r): Likewise.
10787 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10788 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10789 (_nss_nis_getgrgid_r): Likewise.
10790 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10791 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10792 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10793 (_nss_nis_gethostbyname4_r): Likewise.
10794 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10795 (initgroups_netid): Likewise.
10796 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10797 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10798 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10799 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10800 (_nss_nis_getprotobynumber_r): Likewise.
10801 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10802 (_nss_nis_getsecretkey): Likewise.
10803 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10804 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10805 (_nss_nis_getpwuid_r): Likewise.
10806 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10807 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10808 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10809 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10810 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10811 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10812 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10814 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10815 (_nss_nisplus_getntohost_r): Likewise.
10816 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10817 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10818 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10819 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10821 * nis/nss_nisplus/nisplus-initgroups.c
10822 (_nss_nisplus_initgroups_dyn): Likewise.
10823 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10824 (_nss_nisplus_getnetbyaddr_r): Likewise.
10825 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10826 (_nss_nisplus_getprotobynumber_r): Likewise.
10827 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10828 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10829 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10831 * nis/nss_nisplus/nisplus-service.c
10832 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10833 (_nss_nisplus_getservbyport_r): Likewise.
10834 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10835 (_nss_nisplus_getspnam_r): Likewise.
10836 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10838 * nscd/aicache.c (addhstaiX): Likewise.
10839 * nscd/cache.c (cache_search, prune_cache): Likewise.
10840 * nscd/connections.c (register_traced_file, send_ro_fd)
10841 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10842 (main_loop_epoll): Likewise.
10843 * nscd/grpcache.c (addgrbyX): Likewise.
10844 * nscd/hstcache.c (addhstbyX): Likewise.
10845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10846 * nscd/mem.c (gc, mempool_alloc): Likewise.
10847 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10848 (addinnetgrX): Likewise.
10849 * nscd/nscd-client.h (__nscd_acquire_maplock)
10850 (__nscd_drop_map_ref): Likewise.
10851 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10852 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10853 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10855 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10857 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10858 (__nscd_get_map_ref): Likewise.
10859 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10860 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10862 * nscd/pwdcache.c (addpwbyX): Likewise.
10863 * nscd/selinux.c (preserve_capabilities): Likewise.
10864 * nscd/servicescache.c (addservbyX): Likewise.
10865 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10866 * posix/fnmatch.c (fnmatch): Likewise.
10867 * posix/getopt.c (_getopt_internal_r): Likewise.
10868 * posix/glob.c (glob, glob_in_dir): Likewise.
10869 * posix/wordexp.c (exec_comm_child): Likewise.
10870 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10871 (getanswer_r, gaih_getanswer_slice): Likewise.
10872 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10873 * resolv/res_init.c: Likewise.
10874 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10875 * resolv/res_query.c (__libc_res_nquery): Likewise.
10876 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10878 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10879 * stdio-common/perror.c (perror): Likewise.
10880 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10881 * stdio-common/tmpnam.c (tmpnam): Likewise.
10882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10883 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10884 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10886 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10887 * stdlib/putenv.c (putenv): Likewise.
10888 * stdlib/setenv.c (__add_to_environ): Likewise.
10889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10890 * stdlib/strtol_l.c (INTERNAL): Likewise.
10891 * string/memmem.c (memmem): Likewise.
10892 * string/strerror.c (strerror): Likewise.
10893 * string/strnlen.c (__strnlen): Likewise.
10894 * string/test-memmem.c (simple_memmem): Likewise.
10895 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10896 * sunrpc/pm_getport.c (__get_socket): Likewise.
10897 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10898 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10899 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10900 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10902 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10903 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10904 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10905 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10906 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10907 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10909 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10911 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10912 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10913 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10914 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10915 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10917 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10918 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10919 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10920 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10921 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10922 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10924 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10926 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10931 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10932 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10933 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10934 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10943 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10949 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10953 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10955 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10956 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10957 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10958 * sysdeps/posix/sleep.c: Likewise.
10959 * sysdeps/posix/tempname.c: Likewise.
10960 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10961 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10963 * sysdeps/powerpc/powerpc32/dl-machine.h
10964 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10965 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10967 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10968 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10970 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10972 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10974 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10975 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10976 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10977 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10978 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10979 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10981 (elf_machine_lazy_rel): Likewise.
10982 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10984 (elf_machine_lazy_rel): Likewise.
10985 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10986 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10987 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10988 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10989 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10990 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10991 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10994 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10995 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10996 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10997 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10998 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10999 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11000 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11001 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11002 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11003 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11004 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11006 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11007 (__posix_fallocate64_l64): Likewise.
11008 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11009 (posix_fallocate): Likewise.
11010 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11012 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11013 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11014 (getifaddrs_internal): Likewise.
11015 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11016 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11017 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11018 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11019 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11020 (__posix_fallocate64_l64): Likewise.
11021 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11023 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11025 (__get_clockfreq): Likewise.
11026 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11027 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11028 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11031 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11032 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11033 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11035 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11036 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11037 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11039 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11040 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11041 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11043 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11044 (posix_fallocate): Likewise.
11045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11046 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11047 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11048 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11049 (elf_machine_rela, elf_machine_rela_relative)
11050 (elf_machine_lazy_rel): Likewise.
11051 * time/asctime.c (asctime_internal): Likewise.
11052 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11053 * time/tzset.c (__tzset_parse_tz): Likewise.
11054 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11055 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11056 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11057 * wcsmbs/wcsmbsload.h: Likewise.
11060 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11062 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11063 (arena_get2): Remove THREAD_STATS conditionals.
11064 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11065 (__malloc_stats, int): Likewise.
11067 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11069 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11070 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11072 * manual/setjmp.texi: Fix typos/grammar errors.
11074 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11075 Only return early when n is <= 0. Delete unused return statement.
11077 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11078 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11079 * debug/tst-longjmp_chk3.c: New file.
11081 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11082 (test_main): Replace code with set_fortify_handler call.
11083 * debug/test-strcpy_chk.c: Likewise.
11084 * debug/tst-chk1.c: Likewise.
11085 * debug/tst-longjmp_chk.c: Likewise.
11086 * test-skeleton.c: Include fcntl.h & paths.h
11087 (set_fortify_handler): Define.
11089 * debug/tst-longjmp_chk.c: Add header comment and include
11090 ../test-skeleton.c.
11091 (do_test): Mark static.
11092 (TEST_FUNCTION): Define.
11094 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11095 (IP_PMTUDISC_INTERFACE): Likewise.
11096 (IP_MULTICAST_IF): Likewise.
11097 (IP_MULTICAST_TTL): Likewise.
11098 (IP_MULTICAST_LOOP): Likewise.
11099 (IP_ADD_MEMBERSHIP): Likewise.
11100 (IP_DROP_MEMBERSHIP): Likewise.
11101 (IP_UNBLOCK_SOURCE): Likewise.
11102 (IP_BLOCK_SOURCE): Likewise.
11103 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11104 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11105 (IP_MSFILTER): Likewise.
11106 (MCAST_JOIN_GROUP): Likewise.
11107 (MCAST_BLOCK_SOURCE): Likewise.
11108 (MCAST_UNBLOCK_SOURCE): Likewise.
11109 (MCAST_LEAVE_GROUP): Likewise.
11110 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11111 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11112 (MCAST_MSFILTER): Likewise.
11113 (IP_MULTICAST_ALL): Likewise.
11114 (IP_UNICAST_IF): Likewise.
11116 * timezone/Makefile: Delete $(have-ksh) check.
11117 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11118 * timezone/tzselect.ksh: Add +x mode bits.
11120 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11121 (ANON_INODE_FS_MAGIC): Likewise.
11122 (BDEVFS_MAGIC): Likewise.
11123 (BINFMTFS_MAGIC): Likewise.
11124 (BTRFS_TEST_MAGIC): Likewise.
11125 (CRAMFS_MAGIC_WEND): Likewise.
11126 (DEBUGFS_MAGIC): Likewise.
11127 (ECRYPTFS_SUPER_MAGIC): Likewise.
11128 (EXT3_SUPER_MAGIC): Likewise.
11129 (EXT4_SUPER_MAGIC): Likewise.
11130 (FUTEXFS_SUPER_MAGIC): Likewise.
11131 (HOSTFS_SUPER_MAGIC): Likewise.
11132 (HUGETLBFS_MAGIC): Likewise.
11133 (MINIX3_SUPER_MAGIC): Likewise.
11134 (MTD_INODE_FS_MAGIC): Likewise.
11135 (NILFS_SUPER_MAGIC): Likewise.
11136 (OPENPROM_SUPER_MAGIC): Likewise.
11137 (PIPEFS_MAGIC): Likewise.
11138 (PSTOREFS_MAGIC): Likewise.
11139 (QNX6_SUPER_MAGIC): Likewise.
11140 (RAMFS_MAGIC): Likewise.
11141 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11142 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11143 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11144 (SECURITYFS_MAGIC): Likewise.
11145 (SELINUX_MAGIC): Likewise.
11146 (SMACK_MAGIC): Likewise.
11147 (SOCKFS_MAGIC): Likewise.
11148 (SQUASHFS_MAGIC): Likewise.
11149 (STACK_END_MAGIC): Likewise.
11150 (TMPFS_MAGIC): Likewise.
11151 (USBDEVICE_SUPER_MAGIC): Likewise.
11152 (V9FS_MAGIC): Likewise.
11153 (XENFS_SUPER_MAGIC): Likewise.
11154 (CRAMFS_MAGIC): Fix typo in comment.
11155 (EXT2_SUPER_MAGIC): Update comment.
11156 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11158 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11160 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11161 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11162 * sysdeps/unix/sysv/linux/arm: Move directory from
11163 ports/sysdeps/unix/sysv/linux/arm.
11164 * README: Update listing for arm-*-linux-gnueabi.
11166 * README: Remove mention of am33.
11168 2014-02-07 Roland McGrath <roland@hack.frob.com>
11170 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11171 than the comma operator, to avoid "rhs of comma has no effect"
11173 (__sigfillset, __sigandset, __sigorset): Likewise.
11174 * include/signal.h (__sigemptyset): Likewise.
11175 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11177 2014-02-07 Allan McRae <allan@archlinux.org>
11179 * version.h (RELEASE): Set to "development".
11180 (VERSION): Set to "2.19.90"
11181 * NEWS: Add 2.20 section.
11183 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11186 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11188 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * manual/contrib.texi: Update entry for Carlos O'Donell,
11191 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11193 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11195 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11197 * sysdeps/unix/sysv/linux/kernel-features.h
11198 [__LINUX_KERNEL_VERSION >= 0x020621]
11199 (__ASSUME_PROC_PID_TASK_COMM): Define.
11201 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11204 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11205 conversion when destination buffer does not have enough space.
11206 * libio/tst-ftell-partial-wide.c: New test case.
11207 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11209 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11210 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11211 Leonard and Allan McRae.
11213 2014-02-04 David S. Miller <davem@davemloft.net>
11215 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11218 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11247 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11249 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11250 * shlib-versions: Likewise.
11252 2014-02-04 Roland McGrath <roland@hack.frob.com>
11253 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11256 (abilist-pattern): New variable, set to %-le.abilist.
11258 * Makerules (abilist-pattern): New variable.
11259 (vpath): Use $(abilist-pattern) in place of %.abilist.
11260 (check-abi-% pattern rule): Likewise.
11261 (check-abi, update-abi): Likewise.
11263 2014-02-04 Eric Wong <normalperson@yhbt.net>
11265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11267 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11269 * manual/startup.texi: Add next, previous, and top entries for
11270 the `Program Arguments' and `Environment Variables' nodes.
11272 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11274 * manual/macros.texi: Add comments before MTASC-safety macros.
11276 * manual/users.texi: Document MTASC-safety properties.
11278 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11279 (pthread_getspecific, pthread_setspecific): Format with
11280 @deftypefun, and add @safety note.
11281 * manual/signal.texi: Move comments that analyze the above
11282 functions to their home place.
11284 2014-02-03 Allan McRae <allan@archlinux.org>
11286 * po/sl.po: Update Slovenian translation from translation project.
11288 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11290 * manual/time.texi (timegm): Add missing blank after @c.
11291 Reported by Joseph Myers <joseph@codesourcery.com>.
11293 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11295 * manual/check-safety.sh: New.
11296 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11298 * manual/terminal.texi: Document MTASC-safety properties.
11300 * manual/filesys.texi: Document MTASC-safety properties.
11302 * manual/errno.texi: Document MTASC-safety properties.
11304 * manual/intro.texi: Document safety identifiers and
11307 * manual/string.texi (wcstok): Fix prototype.
11308 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11310 * manual/time.texi: Document MTASC-safety properties.
11312 * manual/string.texi: Document MTASC-safety properties.
11314 * manual/threads.texi: Document MTASC-safety properties.
11316 * manual/stdio.texi: Document MTASC-safety properties.
11318 * manual/syslog.texi: Document MTASC-safety properties.
11320 * manual/sysinfo.texi: Document MTASC-safety properties.
11322 * manual/startup.texi: Document MTASC-safety properties.
11324 * manual/socket.texi: Document MTASC-safety properties.
11326 * manual/signal.texi: Document MTASC-safety properties.
11328 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11330 * manual/setjmp.texi: Document MTASC-safety properties.
11332 * manual/search.texi: Document MTASC-safety properties.
11334 * manual/resource.texi: Document MTASC-safety properties.
11336 * manual/process.texi: Document MTASC-safety properties.
11338 * manual/platform.texi: Document MTASC-safety properties.
11340 * manual/pipe.texi: Document MTASC-safety properties.
11342 * manual/pattern.texi: Document MTASC-safety properties.
11344 * manual/message.texi: Document MTASC-safety properties.
11347 * manual/memory.texi: Document MTASC-safety properties.
11349 * manual/math.texi: Document MTASC-safety properties.
11351 * manual/locale.texi: Document MTASC-safety properties.
11353 * manual/llio.texi: Document MTASC-safety properties.
11355 * manual/libdl.texi: New.
11357 * manual/lang.texi: Document MTASC-safety properties.
11359 * manual/job.texi: Document MTASC-safety properties.
11361 * manual/getopt.texi: Document MTASC-safety properties.
11363 * manual/ctype.texi: Document MTASC-safety properties.
11365 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11368 * csu/libc-tls.c (static_map): Remove variable.
11369 (__libc_setup_tls): Use main executable's link map for TLS data.
11370 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11371 casing for LM_ID_BASE and GL(dl_nns).
11372 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11373 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11374 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11375 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11376 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11378 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11381 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11383 * manual/debug.texi: Document MTASC-safety properties.
11385 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11388 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11389 of __x86_64__ when disabling x87 inline functions.
11391 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11393 * manual/charset.texi: Document MTASC-safety properties.
11395 * manual/crypt.texi: Document MTASC-safety properties.
11397 * manual/conf.texi: Document MTASC-safety properties.
11399 * manual/arith.texi: Document MTASC-safety properties.
11401 * manual/argp.texi: Document MTASC-safety properties.
11403 * manual/macros.texi: Introduce macros to document multi
11404 thread, asynchronous signal and asynchronous cancellation
11406 * manual/intro.texi: Introduce the properties themselves.
11408 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11410 * sysdeps/sh/sh4/Makefile: New file.
11412 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11414 * math/gen-libm-test.pl ($srcdir): New variable.
11415 ($auto_input): Use it.
11417 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11420 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11421 access beyond array bounds when parsing netgroups file.
11423 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11424 the old buffer before realloc.
11426 2014-01-27 Allan McRae <allan@archlinux.org>
11428 * po/fr.po: Update French translation from translation project.
11430 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11432 * sysdeps/sh/libm-test-ulps: Regenerate.
11434 2014-01-24 David S. Miller <davem@davemloft.net>
11436 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11438 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11440 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11441 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11443 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11446 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11447 string pointers after reallocation.
11449 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11451 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11452 __SH4A__ instead of __SH_FPU_ANY__.
11454 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11456 * sysdeps/sh/fpu_control.h: New file.
11457 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11458 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11459 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11460 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11461 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11462 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11463 * sysdeps/sh/sys/ucontext.h: Remove.
11464 * sysdeps/sh/sys: Remove directory.
11466 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11468 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11469 s390/sys/ucontext.h.
11470 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11473 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11476 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11478 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11482 Adjust the vDSO correctly for internal calls.
11483 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11485 2014-01-20 Allan McRae <allan@archlinux.org>
11487 * po/ca.po: Update Catalan translation from translation project.
11489 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11491 * sysdeps/s390/sotruss-lib.c: New file.
11493 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11497 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11498 local calls issues by not having a PLT stub required for IFUNC calls.
11499 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11501 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11503 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11504 * math/test-fpucw-static.c: Likewise.
11506 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11509 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11511 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11513 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11514 implementation for powerpc.
11516 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11519 * sysdeps/posix/system.c (__libc_system): Do not enable
11520 asynchronous cancellation.
11522 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11525 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11526 handling only for numbers special also in the IEEE case.
11528 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11532 2014-01-11 Allan McRae <allan@archlinux.org>
11534 * po/bg.po: Update Bulgarian translation from translation project.
11536 * po/de.po: Update German translation from translation project.
11538 2014-01-10 Roland McGrath <roland@hack.frob.com>
11540 * sysdeps/generic/gcc-compat.h: New file.
11542 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11544 * benchtests/asin-inputs: Correct slow inputs.
11545 * benchtests/acos-inputs: Likewise.
11547 2014-01-10 Allan McRae <allan@archlinux.org>
11549 * po:sv.po: Update Swedish translation from translation project.
11551 * po/vi.po: Update Vietnamese translation from translation project.
11553 * po/eo.po: Update Esperanto translation from translation project.
11555 * po/cs.po: Update Czech translation from translation project.
11557 * po/nl.po: Update Dutch translation from translation project.
11559 * po/pl.po: Update Polish translation from translation project.
11561 * po/ru.po: Update Russian translation from translation project.
11563 * po/uk.po: Update Ukrainian translation from translation project.
11565 2014-01-08 Brooks Moses <bmoses@google.com>
11567 * elf/dl-load.c: Fix comment typo.
11569 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11571 * po/header.pot: Rename to...
11572 * po/pot.header: ... this.
11573 * po/Makefile: Use pot.header.
11575 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11576 Maxim Kuvyrkov <maxim@kugelworks.com>
11579 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11580 SRC and DEST against LEN.
11582 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11585 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11587 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11589 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11593 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11597 for large positive arguments.
11599 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11603 * math/auto-libm-test-in: Mark various tests with
11604 xfail-rounding:ldbl-128ibm.
11605 * math/auto-libm-test-out: Regenerated.
11608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11609 Increase overflow threshold.
11611 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11614 * stdio-common/vfprintf.c: Check for integer overflow.
11616 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11618 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11619 the first argument and return value of __tls_get_addr_internal.
11621 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11623 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11624 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11626 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11628 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11629 * sysdeps/s390/rtld-global-offsets.sym: New file.
11630 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11632 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11633 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11634 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11636 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11637 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11643 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11644 halfs of GPRs for high_gprs contexts.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11646 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11648 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11650 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11652 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11653 for high GPRs (uc_high_gprs) and for future extensions
11655 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11656 for future extensions (__reserved).
11657 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11659 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11660 SC_HIGHGPRS offset definition.
11661 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11662 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11664 * Versions.def: Add GLIBC_2.19 for libpthread.
11665 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11666 siglongjmp for libpthread with GLIBC_2.19 symver.
11667 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11668 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11669 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11670 * sysdeps/s390/__longjmp.c: New file.
11671 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11672 * sysdeps/s390/longjmp.c: New file.
11673 * sysdeps/s390/setjmp.S: New file.
11674 * sysdeps/s390/sigjmp.S: New file.
11675 * sysdeps/s390/v1-longjmp.c: New file.
11676 * sysdeps/s390/v1-setjmp.h: New file.
11677 * sysdeps/s390/v1-sigjmp.c: New file.
11678 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11679 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11680 GLIBC_2.19 version.
11681 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11682 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11683 versioned symbols for ____longjmp_chk.
11684 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11694 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11695 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11696 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11697 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11698 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11699 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11700 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11701 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11702 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11703 * sysdeps/s390/rtld-__longjmp.c: New file.
11704 * sysdeps/s390/rtld-setjmp.S: New file.
11706 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11710 Return -__logl (x) for small positive arguments without evaluating
11713 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11715 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11717 (__ptrace_peeksiginfo_args): ... this.
11718 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11722 2014-01-06 Allan McRae <allan@archlinux.org>
11724 * inet/netinet/in.h: Fix typo in comment.
11726 2014-01-05 Andreas Jaeger <aj@suse.de>
11728 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 2014-01-05 Allan McRae <allan@archlinux.org>
11732 * po/libc.pot: Regenerated.
11734 * malloc/memusagestat.c: Fix gettext call formatting.
11736 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11738 * nscd/nscd.c: Improve usage() output.
11740 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11742 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11743 * sysdeps/unix/sysv/linux/configure: Regenerated.
11744 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11745 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11747 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11750 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11751 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11753 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11756 extra tokens at end of #undef directive.
11757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11758 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11759 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11761 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11763 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11765 * math/auto-libm-test-in: Mark various tests with
11766 xfail-rounding:ldbl-128ibm.
11767 * math/auto-libm-test-out: Regenerated.
11769 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11773 numbers with subnormal high part when calculating exponent.
11776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11782 (__ieee754_acoshl): Use __log1pl not __log1p.
11784 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11786 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11787 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11788 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11789 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11790 (reused_arena, arena_get2): Convert to GNU style.
11791 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11792 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11793 (memalign_check, __malloc_set_state): Likewise.
11794 * malloc/mallocbug.c (main): Likewise.
11795 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11796 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11797 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11798 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11799 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11800 (__posix_memalign, malloc_info): Likewise.
11801 * malloc/malloc.h: Likewise.
11802 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11803 (mallochook, memalignhook, reallochook, mabort): Likewise.
11804 * malloc/mcheck.h: Likewise.
11805 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11806 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11807 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11808 * malloc/morecore.c (__default_morecore): Likewise.
11809 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11810 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11811 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11812 (print_and_abort): Likewise.
11813 * malloc/obstack.h: Likewise.
11814 * malloc/set-freeres.c (__libc_freeres): Likewise.
11815 * malloc/tst-mallocstate.c (main): Likewise.
11816 * malloc/tst-mtrace.c (main): Likewise.
11817 * malloc/tst-realloc.c (do_test): Likewise.
11819 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * nscd/netgroupcache.c (do_notfound): New function.
11823 (addgetnetgrentX): Use it.
11826 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11827 NSS_STATUS_NOTFOUND.
11829 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11831 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11834 2014-01-01 Allan McRae <allan@archlinux.org>
11836 * scripts/update-copyrights: Update configure input file suffix.
11838 * NEWS: Update copyright year.
11839 * catgets/gencat.c: Likewise.
11840 * csu/version.c: Likewise.
11841 * debug/catchsegv.sh: Likewise.
11842 * debug/pcprofiledump.c: Likewise.
11843 * debug/xtrace.sh: Likewise.
11844 * elf/ldconfig.c: Likewise.
11845 * elf/ldd.bash.in: Likewise.
11846 * elf/pldd.c: Likewise.
11847 * elf/sotruss.ksh: Likewise.
11848 * elf/sprof.c: Likewise.
11849 * iconv/iconv_prog.c: Likewise.
11850 * iconv/iconvconfig.c: Likewise.
11851 * locale/programs/locale.c: Likewise.
11852 * locale/programs/localedef.c: Likewise.
11853 * login/programs/pt_chown.c: Likewise.
11854 * malloc/memusage.sh: Likewise.
11855 * malloc/memusagestat.c: Likewise.
11856 * malloc/mtrace.pl: Likewise.
11857 * manual/libc.texinfo: Likewise.
11858 * nscd/nscd.c: Likewise.
11859 * nss/getent.c: Likewise.
11860 * nss/makedb.c: Likewise.
11861 * posix/getconf.c: Likewise.
11862 * scripts/test-installation.pl: Likewise.
11864 * All files with FSF copyright notices: Update copyright dates
11865 using scripts/update-copyrights.
11866 * intl/plural.c: Regenerated.
11867 * locale/programs/charmap-kw.h: Likewise.
11868 * locale/programs/locfile-kw.h: Likewise.
11870 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11872 * sysdeps/unix/sysv/linux/configure: Regenerated.
11873 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11874 the linux/fanotify.h header.
11875 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11876 HAVE_LINUX_FANOTIFY_H is defined.
11878 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11880 * benchtests/cos-inputs: New inputs.
11881 * benchtests/sin-inputs: Likewise.
11883 * benchtests/atan-inputs: New inputs. Fix name of multiple
11884 precision fallback inputs.
11886 * benchtests/atanh-inputs: New inputs.
11887 * benchtests/tanh-inputs: Likewise.
11889 * benchtests/acosh-inputs: New inputs.
11890 * benchtests/asinh-inputs: Likewise.
11892 * benchtests/cosh-inputs: New inputs.
11893 * benchtests/sinh-inputs: Likewise.
11895 * benchtests/acos-inputs: Add more inputs.
11896 * benchtests/asin-inputs: Likewise.
11898 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11901 * manual/arith.texi: Fix spelling.
11902 * manual/charset.texi: Likewise.
11903 * manual/errno.texi: Likewise.
11904 * manual/filesys.texi: Likewise.
11905 * manual/lang.texi: Likewise.
11906 * manual/llio.texi: Likewise.
11907 * manual/locale.texi: Likewise.
11908 * manual/message.texi: Likewise.
11909 * manual/resource.texi: Likewise.
11910 * manual/search.texi: Likewise.
11911 * manual/setjmp.texi: Likewise.
11912 * manual/stdio.texi: Likewise.
11913 * manual/string.texi: Likewise.
11914 * manual/sysinfo.texi: Likewise.
11915 * manual/time.texi: Likewise.
11917 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11919 * po/sl.po: New file.
11921 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11923 * .gitignore: Add core/.gdbinit/.gdb_history.
11925 2013-12-27 Allan McRae <allan@archlinux.org>
11928 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11929 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11931 2013-12-24 Brooks Moses <bmoses@google.com>
11933 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11934 all compilers that claim C++98 compliance, not just GCC.
11935 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11938 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11940 * NEWS: Restore accidentally deleted bug-fix entries.
11942 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11943 Ondřej Bílka <neleai@seznam.cz>
11946 * malloc/malloc.c (_int_free): Perform sanity check only if we
11949 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11952 * manual/stdio.texi (String Input Conversions): Clarify that character
11953 classes are not supported.
11955 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11959 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11962 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11963 Calculate results for small negative arguments directly rather
11964 than using reflection formula with special underflow handling.
11966 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11967 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11968 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11969 (fchflags): Likewise.
11970 (revoke): Likewise.
11971 (setlogin): Likewise.
11972 (sigaltstack): Likewise.
11974 (sigblock): Remove.
11975 (sigsetmask): Likewise.
11977 (waitpid): Likewise.
11978 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11979 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11981 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11982 * sysdeps/unix/bsd/Makefile: ... here.
11983 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11984 * sysdeps/unix/bsd/Versions: ... here.
11985 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11986 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11987 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11988 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11989 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11990 * sysdeps/unix/bsd/sigblock.c: ... here.
11991 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11992 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11993 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11994 * sysdeps/unix/bsd/sigvec.c: ... here.
11995 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11996 * sysdeps/unix/bsd/tcdrain.c: ... here.
11997 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11998 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11999 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12000 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12001 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12002 * sysdeps/unix/bsd/wait.c: ... here.
12003 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12004 * sysdeps/unix/bsd/wait3.c: ... here.
12005 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12006 * sysdeps/unix/bsd/waitpid.c: ... here.
12008 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12012 round-to-nearest for [!USE_AS_EXPM1L].
12013 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12014 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12015 more tests of exp and exp10. Expect some exp10 tests to miss
12016 exceptions or fail in directed rounding modes.
12017 * math/auto-libm-test-out: Regenerated.
12018 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12019 (exp10_test_tonearest): New function.
12020 (exp10_towardzero_test_data): New array.
12021 (exp10_test_towardzero): New function.
12022 (exp10_downward_test_data): New array.
12023 (exp10_test_downward): New function.
12024 (exp10_upward_test_data): New array.
12025 (exp10_test_upward): New function.
12026 (main): Call the new functions.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12032 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12033 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12034 * math/auto-libm-test-out: Regenerated.
12035 * math/libm-test.inc (acosh_test_data): Add more tests.
12036 (atanh_test_data): Likewise.
12037 (ceil_test_data): Likewise.
12038 (copysign_test_data): Likewise.
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042 * timezone/checktab.awk: Update from tzcode 2013i.
12043 * timezone/private.h: Likewise.
12044 * timezone/scheck.c: Likewise.
12045 * timezone/tzfile.h: Likewise.
12046 * timezone/tzselect.ksh: Likewise.
12047 * timezone/zdump.c: Likewise.
12048 * timezone/zic.c: Likewise.
12050 * math/auto-libm-test-in: Add tests of cpow.
12051 * math/auto-libm-test-out: Regenerated.
12052 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12053 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12055 (func_calc_desc): Add mpc_cc_c union field.
12056 (test_functions): Add cpow.
12057 (special_fill_2pi): New function.
12058 (special_real_inputs): Add 2pi.
12059 (calc_generic_results): Handle mpc_cc_c.
12060 * sysdeps/i386/fpu/libm-test-ulps: Update.
12061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12063 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12064 csqrt, ctan and ctanh.
12065 * math/auto-libm-test-out: Regenerated.
12066 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12067 (TEST_COND_x86): Likewise.
12068 (ccos_test_data): Use AUTO_TESTS_c_c.
12069 (ccosh_test_data): Likewise.
12070 (cexp_test_data): Likewise.
12071 (clog_test_data): Likewise.
12072 (csqrt_test_data): Likewise.
12073 (ctan_test_data): Likewise.
12074 (ctan_tonearest_test_data): Likewise.
12075 (ctan_towardzero_test_data): Likewise.
12076 (ctan_downward_test_data): Likewise.
12077 (ctan_upward_test_data): Likewise.
12078 (ctanh_test_data): Likewise.
12079 (ctanh_tonearest_test_data): Likewise.
12080 (ctanh_towardzero_test_data): Likewise.
12081 (ctanh_downward_test_data): Likewise.
12082 (ctanh_upward_test_data): Likewise.
12083 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12085 (func_calc_desc): Add mpc_c_c union field.
12086 (FUNC_mpc_c_c): New macro.
12087 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12088 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12090 (special_fill_min_subnorm_p120): New function.
12091 (special_real_inputs): Add min_subnorm_p120.
12092 (calc_generic_results): Handle mpc_c_c.
12093 * sysdeps/i386/fpu/libm-test-ulps: Update.
12094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12096 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12098 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12099 (do_sin_slow): New functions.
12100 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12101 (cslow2, csloww1, csloww2): Use the new functions.
12103 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12104 Use M to change sign of result instead of X. Assume X is
12106 (csloww1): Likewise.
12110 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12111 arguments A and DA.
12115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12117 (sloww1): Don't adjust sign of DX.
12118 (csloww1): Likewise.
12119 (sloww2): Use X directly and don't adjust sign of DX.
12120 (csloww2): Likewise.
12122 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12124 * math/auto-libm-test-in: Add tests of cabs and carg.
12125 * math/auto-libm-test-out: Regenerated.
12126 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12127 (carg_test_data): Likewise.
12128 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12130 (func_calc_desc): Add mpc_c_f union field.
12131 (test_functions): Add cabs and carg.
12132 (calc_generic_results): Handle mpc_c_f.
12134 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12135 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12136 as a macro and a compat symbol.
12137 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12138 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12139 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12140 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12141 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12148 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12150 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12152 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12154 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12155 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12158 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12162 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12164 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12165 trailing whitespace removed.
12166 * scripts/config.guess: Update to version 2013-11-29.
12167 * scripts/config.sub: Update to version 2013-10-01.
12169 * math/auto-libm-test-in: Add tests of sincos.
12170 * math/auto-libm-test-out: Regenerated.
12171 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12174 (func_calc_desc): Add mpfr_f_11 union field.
12175 (test_functions): Add sincos.
12176 (calc_generic_results): Handle mpfr_f_11.
12177 * sysdeps/i386/fpu/libm-test-ulps: Update.
12178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12180 2013-12-19 Andreas Schwab <schwab@suse.de>
12182 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12186 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12188 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12190 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12191 * sysdeps/i386/fpu/libm-test-ulps: Update.
12192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12196 round-to-nearest mode when using frndint.
12197 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12198 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12199 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12201 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12203 * math/auto-libm-test-out: Regenerated.
12204 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12205 (TEST_COND_x86): Likewise.
12206 (expm1_tonearest_test_data): New array.
12207 (expm1_test_tonearest): New function.
12208 (expm1_towardzero_test_data): New array.
12209 (expm1_test_towardzero): New function.
12210 (expm1_downward_test_data): New array.
12211 (expm1_test_downward): New function.
12212 (expm1_upward_test_data): New array.
12213 (expm1_test_upward): New function.
12214 (main): Run the new test functions.
12215 * sysdeps/i386/fpu/libm-test-ulps: Update.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12218 * include/features.h: Update comment documenting feature test
12219 macros. Mention _DEFAULT_SOURCE in comment.
12220 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12221 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12222 _BSD_SOURCE and _SVID_SOURCE.
12223 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12224 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12225 !_SVID_SOURCE]: Likewise.
12226 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12227 (__USE_POSIX_IMPLICITLY): Define.
12228 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12229 (_POSIX_SOURCE): Undefine and redefine.
12230 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12231 (_POSIX_C_SOURCE): Likewise.
12232 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12233 (Feature Test Macros): Update documentation of default features.
12235 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12237 * benchtests/Makefile: Add bench-strtok.
12238 * benchtests/bench-strtok.c: New file: strtok benchtest.
12240 2013-12-19 Allan McRae <allan@archlinux.org>
12242 * manual/install.texi: Suppress menu for plain text output.
12243 * INSTALL: Regenerated.
12245 2013-12-18 Brooks Moses <bmoses@google.com>
12248 * misc/getauxval.c: Include errno.h.
12249 (__getauxval): Set errno to ENOENT if the requested type is not
12251 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12252 don't declare with __attribute_const__.
12253 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12254 * manual/startup.texi: Document that getauxval sets errno.
12256 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12258 * math/auto-libm-test-in: Add tests of jn and yn.
12259 * math/auto-libm-test-out: Regenerated.
12260 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12261 (yn_test_data): Likewise.
12262 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12264 (func_calc_desc): Add mpfr_if_f union field.
12265 (FUNC_mpfr_if_f): New macro.
12266 (test_functions): Add jn and yn.
12267 (calc_generic_results): Assert type of second input for
12268 mpfr_ff_f. Handle mpfr_if_f.
12269 (output_for_one_input_case): Disable all checking for arguments
12270 fitting floating-point types in case of an integer argument.
12271 * sysdeps/i386/fpu/libm-test-ulps: Update.
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12275 Don't expect fegetround reference in libm.so.
12277 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12279 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12280 $(config-cflags-nofma).
12282 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12284 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12285 * math/auto-libm-test-out: Regenerated.
12288 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12289 to determine exponent and adjust argument to have exponent of -1.
12290 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12292 * math/auto-libm-test-out: Regenerated.
12293 * sysdeps/i386/fpu/libm-test-ulps: Update.
12294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12296 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12298 * manual/probes.texi: Remove cases when per-thread arenas are
12301 2013-12-18 Andreas Schwab <schwab@suse.de>
12303 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12304 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12305 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12306 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12307 * sysdeps/i386/i686/multiarch/Makefile: Update.
12308 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12310 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12312 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12313 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12315 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12318 Support TZ transition times < 00:00:00.
12319 This is needed for version-3 tz-format files; it supports time
12320 stamps past 2037 for America/Godthab (the only entry in the tz
12321 database for which this change is relevant).
12322 * manual/time.texi (TZ Variable): Document transition times
12323 from -167:59:59 through -00:00:01.
12324 * time/tzset.c (tz_rule): Time of day is now signed.
12325 (__tzset_parse_tz): Parse negative time of day.
12327 Document TZ transition times >= 25:00:00.
12328 * manual/time.texi (TZ Variable): Document transition times from
12329 25:00:00 through 167:59:59. These are already supported, and this
12330 support will help with version-3 tz-format files.
12332 * manual/time.texi (TZ Variable): Modernize North America example
12333 to reflect current (i.e., 2007-and-later) daylight saving rules.
12335 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12337 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12339 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12340 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12343 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12344 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12345 * sysdeps/unix/bsd/clock.c: Likewise.
12346 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12347 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12348 * sysdeps/unix/bsd/init-posix.c: Likewise.
12349 * sysdeps/unix/bsd/poll.c: Likewise.
12350 * sysdeps/unix/bsd/ptsname.c: Likewise.
12351 * sysdeps/unix/bsd/seekdir.c: Likewise.
12352 * sysdeps/unix/bsd/setegid.c: Likewise.
12353 * sysdeps/unix/bsd/seteuid.c: Likewise.
12354 * sysdeps/unix/bsd/setgid.c: Likewise.
12355 * sysdeps/unix/bsd/setrgid.c: Likewise.
12356 * sysdeps/unix/bsd/setruid.c: Likewise.
12357 * sysdeps/unix/bsd/setsid.c: Likewise.
12358 * sysdeps/unix/bsd/setuid.c: Likewise.
12359 * sysdeps/unix/bsd/sigaction.c: Likewise.
12360 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12361 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12362 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12363 * sysdeps/unix/bsd/telldir.c: Likewise.
12364 * sysdeps/unix/bsd/times.c: Likewise.
12365 * sysdeps/unix/bsd/usleep.c: Likewise.
12367 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12368 ($(objpfx)libbsd-compat.a): Remove rule.
12370 * include/features.h (__FAVOR_BSD): Do not define.
12371 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12372 features conflicting with POSIX.
12373 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12374 (_BSD_SOURCE): Remove description of not being a subset of other
12375 feature test macros.
12376 * manual/job.texi (getpgrp): Do not document BSD version.
12377 (getpgid): Do not document by reference to BSD getpgrp.
12378 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12379 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12380 * signal/signal.h [__FAVOR_BSD]: Likewise.
12381 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12382 instead of making contents conditional on [__FAVOR_BSD].
12383 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12385 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12389 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12393 values below 2**-450, not 2**-500.
12394 * math/auto-libm-test-in: Don't allow spurious underflow from
12396 * math/auto-libm-test-out: Regenerated.
12400 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12401 values of ha and hb and sort them after adjusting subnormal
12403 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12405 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12406 values of ea and eb and sort them after adjusting subnormal
12408 * math/auto-libm-test-in: Do not expect some hypot tests of
12409 subnormals to fail. Add more hypot tests.
12410 * math/auto-libm-test-out: Regenerated.
12412 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12415 * sysdeps/sh/s_fma.c: New file.
12416 * sysdeps/sh/s_fmaf.c: New file.
12417 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12419 * sysdeps/sh/Implies: Add sh/soft-fp.
12421 2013-12-16 Roland McGrath <roland@hack.frob.com>
12423 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12424 level of indirection to members `objname', `errstring', `malloced'.
12425 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12426 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12427 it as the __longjmp argument (just pass 1 instead).
12428 (_dl_catch_error): Initialize C with argument pointers and address of
12429 volatile local ERRCODE rather than copying values out of C at return.
12431 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12433 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12434 * math/auto-libm-test-out: Regenerated.
12435 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12436 (hypot_test_data): Likewise.
12437 (pow_test_data): Likewise.
12438 (pow_tonearest_test_data): Likewise.
12439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12441 (func_calc_desc): Add mpfr_ff_f union field.
12442 (FUNC_mpfr_ff_f): New macro.
12443 (test_functions): Add atan2, hypot and pow.
12444 (special_fill_min): New function.
12445 (special_fill_minus_min): Likewise.
12446 (special_fill_min_subnorm): Likewise.
12447 (special_fill_minus_min_subnorm): Likewise.
12448 (special_real_inputs): Add min, -min, min_subnorm and
12450 (calc_generic_results): Handle mpfr_ff_f.
12451 * sysdeps/i386/fpu/libm-test-ulps: Update.
12452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454 2013-12-16 Will Newton <will.newton@linaro.org>
12456 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12457 (Aligned Memory Blocks): Add documentation for aligned_alloc
12458 and suggest it as an alternative to posix_memalign.
12459 (Hooks for Malloc): Document __memalign_hook is also called
12460 for aligned_alloc. (Summary of Malloc): Add summary for
12461 aligned alloc. Document __memalign_hook is also called
12464 2013-12-16 Will Newton <will.newton@linaro.org>
12466 * manual/memory.texi (Malloc Examples): Clarify default
12467 alignment documentation. Suggest posix_memalign rather
12468 than memalign or valloc.
12469 (Aligned Memory Blocks): Remove suggestion to use memalign
12470 or valloc. Remove obsolete comment about BSD.
12471 Document memalign errno values and mark the function obsolete.
12472 Document posix_memalign returned error codes. Mark valloc
12473 as obsolete. (Hooks for Malloc): __memalign_hook is also
12474 called for posix_memalign and valloc.
12475 (Summary of Malloc): Add posix_memalign to function summary.
12476 __memalign_hook is also called for posix_memalign and valloc.
12478 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12480 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12484 (sloww): Use mynumber union. Expand ternary operator into
12485 if-else statements.
12486 (cslow): use mynumber union.
12488 2013-12-16 Allan McRae <allan@archlinux.org>
12490 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12491 * configure: Regenerated.
12493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12496 * configure.ac: Added --enable-maintainer-mode. Check for
12497 autoconf when enabled.
12498 * configure: Regenerated.
12500 * nscd/nscd.service: New file.
12501 * nscd/nscd.tmpfiles: New file.
12503 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12506 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12507 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12508 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12509 (strstr): Add __strstr_sse2_unaligned ifunc.
12510 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12511 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12512 (strcasestr): Remove __strcasestr_sse42 ifunc.
12513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12517 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12519 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12520 * sysdeps/sh/bits/fenv.h: ... here.
12521 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12523 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12525 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12528 hypotf multiarch implementations.
12529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12532 multiarch hypot for PPC64.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12536 multiarch hypotf for PPC64.
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12539 modff multiarch implementations.
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12543 multiarch modf for PPC64.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12547 multiarch modff for PPC64.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12550 and logl multiarch implementations.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12554 multiarch logb for PPC64.
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12558 multiarch logb for PPC64.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12562 multiarch logb for PPC64.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12565 isinff multiarch implementation.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12570 multiarch isinf for PPC64.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12574 multiarch isinff for PPC64.
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12577 finitef multiarch implementation.
12578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12582 multiarch finite for PPC64.
12583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12586 multiarch finitef for PPC64.
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12589 lrint multiarch implementation.
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12594 multiarch llrint for PPC64.
12595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12596 multiarch lrint for PPC64.
12598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12599 copysignf multiarch implementation.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12605 multiarch copysign for PPC64.
12606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12607 multiarch copysignf for PPC64.
12609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12610 multiarch implementation.
12611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12619 multiarch llround for PPC64.
12620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12621 multiarch trunc for PPC64.
12622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12623 multiarch truncf for PPC64.
12625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12626 multiarch implementation.
12627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12635 multiarch llround for PPC64.
12636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12637 multiarch round for PPC64.
12638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12639 multiarch roundf for PPC64.
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12642 multiarch implementation.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12651 multiarch llround for PPC64.
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12653 multiarch floor for PPC64.
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12655 multiarch floorf for PPC64.
12657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12658 multiarch implementation.
12659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12667 multiarch llround for PPC64.
12668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12669 multiarch ceil for PPC64.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12671 multiarch ceilf for PPC64.
12673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12674 multiarch implementation.
12675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12682 multiarch llround for PPC64.
12683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12684 multiarch lround for PPC64.
12686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12687 multiarch implementation.
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12695 multiarch isnan for PPC64.
12696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12697 multiarch isnanf for PPC64.
12699 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12700 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12701 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12702 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12703 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12706 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12707 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12709 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12712 multiarch implementations.
12713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12714 (__libc_ifunc_impl_list): Likewise.
12715 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12716 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12717 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12718 multiarch stpcpy for PPC64.
12720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12721 multiarch implementations.
12722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12723 (__libc_ifunc_impl_list): Likewise.
12724 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12725 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12726 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12727 multiarch strcpy for PPC64.
12729 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12730 redefine function name.
12731 (_wordcopy_fwd_dest_aligned): Likewise.
12732 (_wordcopy_bwd_aligned): Likewise.
12733 (_wordcopy_bwd_dest_aligned): Likewise.
12734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12735 multiarch implementations.
12736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12737 (__libc_ifunc_impl_list): Likewise.
12738 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12739 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12740 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12741 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12742 multiarch wcscpy for PPC64.
12744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12745 multiarch implementations.
12746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12747 (__libc_ifunc_impl_list): Likewise.
12748 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12749 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12751 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12752 multiarch wcscpy for PPC64.
12754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12755 multiarch implementations.
12756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12757 (__libc_ifunc_impl_list): Likewise.
12758 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12759 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12761 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12762 multiarch wcsrchr for PPC64.
12764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12765 multiarch implementations.
12766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12767 (__libc_ifunc_impl_list): Likewise.
12768 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12769 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12770 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12771 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12772 multiarch wcschr for PPC64.
12774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12775 multiarch implementations.
12776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12777 (__libc_ifunc_impl_list): Likewise.
12778 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12779 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12780 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12781 multiarch strchrnul for PPC64.
12783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12786 (__libc_ifunc_impl_list): Likewise.
12787 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12789 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12790 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12796 (__libc_ifunc_impl_list): Likewise.
12797 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12798 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12804 multiarch implementations.
12805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12806 (__libc_ifunc_impl_list): Likewise.
12807 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12808 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12809 strncasecmp for PPC64.
12810 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12811 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12812 multiarch strncasecmp_l for PPC64.
12814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12815 multiarch implementations.
12816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12817 (__libc_ifunc_impl_list): Likewise.
12818 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12819 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12820 multiarch strcasecmp for PPC64.
12821 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12823 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12824 multiarch strcasecmp_l for PPC64.
12826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12829 (__libc_ifunc_impl_list): Likewise.
12830 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12831 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12832 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12838 (__libc_ifunc_impl_list): Likewise.
12839 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12841 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12847 (__libc_ifunc_impl_list): Likewise.
12848 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12849 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12850 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12851 rawmemrchr for PPC64.
12853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12856 (__libc_ifunc_impl_list): Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12858 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12859 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12866 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12867 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12868 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12874 (__libc_ifunc_impl_list): Likewise.
12875 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12876 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12877 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12880 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12881 avoid cretion of __bzero symbol.
12882 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12884 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12886 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12889 multiarch implementations.
12890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12891 (__libc_ifunc_impl_list): Likewise.
12892 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12893 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12894 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12895 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12897 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12898 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12899 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12900 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12901 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12903 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12905 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12909 (__libc_ifunc_impl_list): Likewise.
12910 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12911 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12912 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12913 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12917 multiarch for POWER/PPC64.
12918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12919 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12924 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12925 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12926 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12929 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12930 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12931 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12932 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12933 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12934 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12935 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12936 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12937 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12938 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12939 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12940 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12941 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12942 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12943 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12952 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12956 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12958 * benchtests/Makefile (bench): Add exp2 and log2.
12959 (LDLIBS-bench-exp2): Add -lm.
12960 (LDLIBS-bench-log2): Likewise.
12961 * benchtests/exp2-inputs: New inputs file.
12962 * benchtests/log2-inputs: New inputs file.
12963 * benchtests/log-inputs: Add new inputs.
12964 * benchtests/tan-inputs: Likewise.
12966 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12968 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12970 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12971 (csloww2): ... from here.
12973 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12974 instead of structures.
12975 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12976 (POLYNOMIAL): Likewise.
12977 (TAYLOR_SLOW): Likewise.
12983 (sloww1); Likewise.
12984 (sloww2): Likewise.
12985 (bsloww1): Likewise.
12986 (bsloww2): Likewise.
12987 (cslow2): Likewise.
12988 (csloww): Likewise.
12989 (csloww1): Likewise.
12990 (csloww2): Likewise.
12992 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12994 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12995 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12996 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12997 * malloc/hooks.c (realloc_check): Likewise.
12999 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13000 * malloc/arena.c: Remove PER_THREAD conditional.
13001 [!PER_THREAD]: Remove code.
13002 (ptmalloc_unlock_all2): Likewise.
13003 (ptmalloc_init): Likewise.
13004 (_int_new_arena): Likewise.
13005 (arena_get2): Likewise.
13006 * malloc/hooks.c (__malloc_get_state): Likewise.
13007 (__malloc_set_state): Likewise.
13008 * malloc/malloc.c: Likewise.
13009 (struct malloc_state): Likewise.
13010 (struct malloc_par): Likewise.
13011 (__libc_realloc): Likewise.
13012 (__libc_mallopt): Likewise.
13014 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13016 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13018 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13020 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13021 macro to a function. Check for zero perturb_byte.
13022 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13024 * malloc/malloc.c: (force_reg): Remove.
13025 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13026 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13027 force_reg by atomic_forced_read.
13028 * malloc/arena.c (ptmalloc_init): Likewise.
13029 * malloc/hooks.c (top_check): Likewise.
13031 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13035 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13039 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13041 * math/auto-libm-test-in: Add tests of lgamma.
13042 * math/auto-libm-test-out: Regenerated.
13043 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13044 (M_LOG_2_SQRT_PIl): Likewise.
13045 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13046 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13048 (func_calc_desc): Add mpfr_f_f1 union field.
13049 (ARGS1): New macro.
13057 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13058 (test_functions): Add lgamma.
13059 (calc_generic_results): Handle mpfr_f_f1.
13060 * sysdeps/i386/fpu/libm-test-ulps: Update.
13061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13065 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13066 __mpn_add_n for PowerPC64/POWER7.
13067 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13068 __mpn_sub_n for PowerPC64/POWER7.
13070 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13071 __mpn_addmul_1 for PowerPC64.
13072 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13073 __mpn_submul_1 for PowerPC64.
13074 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13076 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13079 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13082 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13084 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13086 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13088 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13089 add multiarch folders.
13090 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13109 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13115 multiarch __ieee754_hypot for PowerPC32.
13116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13121 multiarch __ieee754_hypotf for PowerPC32.
13123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13124 long_double_symbol only if __logbl is defined.
13125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13126 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13128 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13130 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13131 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13132 path for implementation.
13133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13134 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13136 logb, and logbl multiarch implementations for PowerPC32.
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13142 multiarch logb for PowerPC32.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13148 multiarch logbf for PowerPC32.
13149 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13153 multiarch logbl implementation for PowerPC32.
13155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13156 and modff multiarch implementations.
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13162 multiarch modf for PowerPC32.
13163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13168 multiarch modff for PowerPC32.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13171 and lrintf multiarch implementations.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13177 multiarch lrint for PowerPC32.
13178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13179 file: multiarch lrintf for PowerPC32.
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13182 and lroundf multiarch implementations.
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13190 multiarch lround for PowerPC32.
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13192 file: multiarch lroundf for PowerPC32.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13195 copysign and copysignf multiarch implementations.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13201 file: multiarch copysign for PowerPC32.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13203 file: multiarch copysignf for PowerPC32.
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13206 and truncf multiarch implementations.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13212 multiarch trunc for PowerPC32.
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13218 multiarch truncf for PowerPC32.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13221 and roundf multiarch implementations.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13227 multiarch round for PowerPC32.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13233 multiarch roundf for PowerPC32.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13236 and floorf multiarch implementations.
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13242 multiarch floor for PowerPC32.
13243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13248 multiarch floorf for PowerPC32.
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13251 and ceilf multiarch implementations.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13257 multiarch ceil for PowerPC32.
13258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13263 multiarch ceilf for PowerPC32.
13265 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13267 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13268 FINITEF is defined.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13270 and finitef multiarch implementations.
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13276 multiarch finite for PowerPC32.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13280 file: multiarch finitef for PowerPC32.
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13283 and isinff multiarch implementations.
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13289 multiarch isinf for PowerPC32.
13290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13293 multiarch isinff for PowerPC32.
13295 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13296 alias when __isnan is defined.
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13298 and isnanf multiarch implementations.
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13308 multiarch isnan for PowerPC32.
13309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13314 multiarch isnanf for PowerPC32.
13316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13317 and sqrtf multiarch implementations.
13318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13323 multiarch sqrt for PowerPC32.
13324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13329 multiarch sqrtf for PowerPC32.
13331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13332 and llroundf multiarch implementations.
13333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13340 file: multiarch llround for PowerPC32.
13341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13342 file: multiarch llroundf for PowerPC32.
13344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13345 multiarch PowerPC32 fpu implementations.
13346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13351 multiarch llrint for PowerPC32.
13352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13363 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13365 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13367 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13368 multiarch wordcopy for PPC32.
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13372 (__libc_ifunc_impl_list): Likewise.
13373 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13374 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13376 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13378 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13380 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13388 multiarch wcscpy for PPC32.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13392 (__libc_ifunc_impl_list): Likewise.
13393 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13394 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13395 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13396 sysdeps/powerpc/power6/wcscpy.c.
13398 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13406 multiarch wcsrchr for PPC32.
13407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13410 (__libc_ifunc_impl_list): Likewise.
13411 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13412 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13413 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13414 sysdeps/powerpc/power6/wcsrchr.c.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13422 multiarch wcschr for PPc32.
13423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13426 (__libc_ifunc_impl_list): Likewise.
13427 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13428 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13429 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13430 sysdeps/powerpc/power6/wcschr.c.
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13433 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13436 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13437 file: multiarch strchr for PPC32.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13441 (__libc_ifunc_impl_list): Likewise.
13443 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13445 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13450 multiarch strchrnul for PPC32.
13451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13454 (__libc_ifunc_impl_list): Likewise.
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13459 multiarch strncasecmp for PPC32.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13463 multiarch strncasecmp_l for PPC32.
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13465 strncasecmp multiarch objects.
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13467 (__libc_ifunc_impl_list): Likewise.
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13472 multiarch strncasecmp for PPC32.
13473 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13475 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13476 multiarch strcasecmp_l for PPC32.
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13480 (__libc_ifunc_impl_list): Likewise.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13487 multiarch strncmp for PPC32.
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13491 (__libc_ifunc_impl_list): Likewise.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13494 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13496 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13501 (__libc_ifunc_impl_list): Likewise.
13503 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13505 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13507 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13511 (__libc_ifunc_impl_list): Likewise.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13518 multiarch rawmemchr for PPC32.
13519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13522 (__libc_ifunc_impl_list): Likewise.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13529 file: memrchr multiarch for PPC32.
13530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13533 (__libc_ifunc_impl_list): Likewise.
13535 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13536 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13540 multiarch memchr for PPC32.
13541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13544 (__libc_ifunc_impl_list): Likewise.
13546 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13547 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13549 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13551 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13552 file: multiarch mempcpy for PPC32.
13553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13556 (__libc_ifunc_impl_list): Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13559 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13561 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13562 multiarch bzero for PPC32.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13567 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13568 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13569 file: multiarch memset for PPC32.
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13572 memset multiarch objects.
13573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13574 (__libc_ifunc_impl_list): Likewise.
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13579 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13581 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13585 (__libc_ifunc_impl_list): Likewise.
13587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13596 multiarch memcpy for PPC32.
13597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13600 (__libc_ifunc_impl_list): Likewise.
13602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13603 support multiarch for POWER/PPC32.
13604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13608 Implies file to make multiarch folder appers before the fpu and
13609 default folder for power4 configuration.
13611 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * scripts/bench.pl: Append volatile keyword to type.
13615 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13617 * sysdeps/sh/sotruss-lib.c: New file.
13618 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13620 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13624 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13627 * math/w_tgamma.c: Include <errno.h>.
13628 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13629 * math/w_tgammaf.c: Include <errno.h>.
13630 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13631 * math/w_tgammal.c: Include <errno.h>.
13632 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13633 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13634 underflow. Add more tgamma tests.
13635 * math/auto-libm-test-out: Regenerated.
13636 * sysdeps/i386/fpu/libm-test-ulps: Update.
13637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13639 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13640 sin, sinh, tan, tanh, tgamma, y0 and y1.
13641 * math/auto-libm-test-out: Regenerated.
13642 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13643 (TEST_COND_x86): Likewise.
13644 (M_E2l): Remove macro.
13646 (M_2_SQRT_PIl): Likewise.
13647 (M_SQRT_PIl): Likewise.
13648 (M_1_DIV_El): Likewise.
13649 (log_test_data): Use AUTO_TESTS_f_f.
13650 (log10_test_data): Likewise.
13651 (log1p_test_data): Likewise.
13652 (log2_test_data): Likewise.
13653 (sin_test_data): Likewise.
13654 (sin_tonearest_test_data): Likewise.
13655 (sin_towardzero_test_data): Likewise.
13656 (sin_downward_test_data): Likewise.
13657 (sin_upward_test_data): Likewise.
13658 (sinh_test_data): Likewise.
13659 (sinh_tonearest_test_data): Likewise.
13660 (sinh_towardzero_test_data): Likewise.
13661 (sinh_downward_test_data): Likewise.
13662 (sinh_upward_test_data): Likewise.
13663 (tan_test_data): Likewise.
13664 (tan_tonearest_test_data): Likewise.
13665 (tan_towardzero_test_data): Likewise.
13666 (tan_downward_test_data): Likewise.
13667 (tan_upward_test_data): Likewise.
13668 (tanh_test_data): Likewise.
13669 (tgamma_test_data): Likewise.
13670 (y0_test_data): Likewise.
13671 (y1_test_data): Likewise.
13672 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13673 (special_real_inputs): Add pi/4.
13674 * sysdeps/i386/fpu/libm-test-ulps: Update.
13675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13677 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13679 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13680 "longjmp_target" static probes.
13681 (__longjmp): Rename to __longjmp_symbol.
13682 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13683 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13684 on which longjmp to generate.
13685 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13688 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13689 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13690 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13691 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13692 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13693 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13695 __longjmp_symbol based on which __longjmp to generate.
13696 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13698 (setjmp): Rename to setjmp_symbol.
13699 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13700 (_setjmp): Rename to _setjmp_symbol.
13701 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13702 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13703 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13704 which setjmp to generate.
13705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13706 "longjmp_target" static probes.
13708 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13710 * benchtests/README: Add note about output arguments.
13711 * benchtests/bench-sincos.c: Remove file.
13712 * benchtests/sincos-inputs: New file.
13713 * scripts/bench.pl: Identify output arguments and define
13714 static variables for them.
13716 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13719 * Makefile (INSTALL): Add install-plain.texi as the primary
13721 * manual/install-plain.texi: New file.
13722 * manual/install.texi: Include node directive only for
13723 non-plaintext output.
13725 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13727 * stdlib/longlong.h: Update from GCC.
13731 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13732 * math/w_j0f.c (y0f): Likewise.
13733 * math/w_j0l.c (__y0l): Likewise.
13734 * math/w_j1.c (y1): Likewise.
13735 * math/w_j1f.c (y1f): Likewise.
13736 * math/w_j1l.c (__y1l): Likewise
13737 * math/w_jn.c (yn): Likewise.
13738 * math/w_jnf.c (ynf): Likewise.
13739 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13740 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13741 value for Bessel function domain errors outside _SVID_ mode.
13742 Adjust sign of return value for yn (negative integer, 0).
13743 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13744 by zero in return for negative x and set sign appropriately for
13746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13747 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13748 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13749 expectations in error cases.
13750 (y1_test_data): Likewise.
13751 (yn_test_data): Likewise.
13752 * sysdeps/i386/fpu/libm-test-ulps: Update.
13753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13755 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13757 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13758 "64" to "64-v1". Add "64-v2".
13759 (abi-64-options): Rename to ...
13760 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13761 (abi-64-condition): Rename to ...
13762 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13763 (abi-64-ld-soname): Rename to ...
13764 (abi-64-v1-ld-soname): ... this.
13765 (abi-64-v2-options): Define.
13766 (abi-64-v2-condition): Likewise.
13767 (abi-64-v2-ld-soname): Likewise.
13768 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13774 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13775 Alan Modra <amodra@gmail.com>
13777 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13778 New versions for use with the ELFv2 ABI.
13779 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13780 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13782 (struct La_ppc64v2_retval): Likewise.
13783 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13784 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13785 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13786 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13787 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13788 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13789 Do not save or restore CR.
13790 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13791 (_dl_profile_resolve): Do no save or restore CR. Support extended
13792 return values for ELFv2 ABI. Fix location of FPR return registers.
13793 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13794 updated values for _CALL_ELF == 2.
13795 (La_regs, La_retval, int_retval): Likewise.
13797 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13799 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13800 (FRAME_MIN_SIZE_PARM): Likewise.
13801 (FRAME_BACKCHAIN): Likewise.
13802 (FRAME_CR_SAVE): Likewise.
13803 (FRAME_LR_SAVE): Likewise.
13804 (FRAME_TOC_SAVE): Likewise.
13805 (FRAME_PARM_SAVE): Likewise.
13806 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13807 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13808 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13809 (call_mcount_parm_offset): New macro.
13810 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13811 (PROF): Use symbolic stack frame offsets.
13812 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13813 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13814 Redefine in terms of FRAME_MIN_SIZE.
13815 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13816 (_dl_profile_resolve): Likewise. Update comment.
13817 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13818 symbols stack frame offsets.
13819 (__sigsetjmp): Likewise.
13820 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13821 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13822 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13823 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13826 (FRAME_BACKCHAIN): Remove.
13827 (FRAME_CR_SAVE): Likewise.
13828 (FRAME_LR_SAVE): Likewise.
13829 (FRAME_COMPILER_DW): Likewise.
13830 (FRAME_LINKER_DW): 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13837 (CHECK_SP): Use symbolic stack frame offsets.
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13839 zone" instead of caller's parameter save area for temp storage.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13841 Likewise. Also, use symbolic stack frame offsets.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13843 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13844 our own stack frame instead of the caller's.
13845 (__socket): Use symbolic stack frame offsets.
13847 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13848 Alan Modra <amodra@gmail.com>
13850 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13852 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13853 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13854 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13856 (elf_machine_fixup_plt): Call it.
13857 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13859 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13860 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13861 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13862 r2 before calling target.
13864 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13865 Alan Modra <amodra@gmail.com>
13867 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13868 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13869 versions of macros to support ELFv2 ABI.
13870 (LOCALENTRY): New macro.
13871 (ENTRY, EALIGN): Use it.
13872 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13873 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13874 fall through into ENTRY entry point.
13875 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13876 Only define if _CALL_ELF != 2.
13878 (elf_machine_matches_host): Verify ABI version matches.
13879 (RTLD_START): Use LOCALENTRY.
13880 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13881 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13882 (PLT_ENTRY_WORDS): New macro.
13883 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13884 (elf_machine_runtime_setup): Support ELFv2 ABI.
13885 (elf_machine_fixup_plt): Likewise.
13886 (elf_machine_plt_conflict): Likewise.
13887 (resolve_ifunc): Likewise.
13888 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13889 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13892 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13894 (makecontext): Support ELFv2 ABI.
13895 * elf/elf.h (EF_PPC64_ABI): Define.
13897 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13899 * sysdeps/powerpc/powerpc64/sysdep.h
13900 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13901 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13902 (ENTRY) [ASSEMBLER]: ... but instead here ...
13903 (EALIGN) [ASSEMBLER]: ... and here.
13904 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13905 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13906 (ENTRY_2) [!ASSEMBLER]: Use it.
13907 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13908 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13909 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13910 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13911 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13913 Use PPC64_LOAD_FUNCPTR.
13915 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13917 2013-12-04 Alan Modra <amodra@gmail.com>
13919 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13920 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13921 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13922 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13925 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13926 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13927 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13928 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13929 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13931 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13934 (__makecontext): Fix incorrect CFI when backtracing out of
13935 context created via makecontext.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13937 (__setcontext): Fix incorrect CFI during switch to new context.
13938 (__novec_setcontext): Likewise.
13940 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13943 * time/strptime_l.c (__strptime_internal): Allow modifiers
13945 * time/tst-strptime.c (day_tests): Add testcase.
13947 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13949 * scripts/bench.pl: Skip over blank lines.
13951 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13954 * manual/time.texi (Calendar Time): Clarify what timezone functions
13957 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13961 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13963 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13965 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13966 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13967 * debug/memset_chk.c (__memset_chk): Likewise.
13968 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13969 * debug/strncpy_chk.c: Likewise.
13971 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13975 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13976 (__ieee754_exp): For possibly underflowing results, check size of
13977 result and force underflow exception if required.
13978 * math/auto-libm-test-in: Add more tests of exp.
13979 * math/auto-libm-test-out: Regenerated.
13980 * sysdeps/i386/fpu/libm-test-ulps: Update.
13981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13984 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13985 * math/w_exp2f.c (__exp2f): Likewise.
13986 * math/w_exp2l.c (__exp2l): Likewise.
13987 * math/auto-libm-test-in: Do not allow missing errno on exp2
13989 * math/auto-libm-test-out: Regenerated.
13991 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13994 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13995 handle filename validation.
13996 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13999 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14002 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14003 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14004 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14006 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14008 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14010 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14012 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14013 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14014 Add more erfc tests.
14015 * math/auto-libm-test-out: Regenerated.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14020 exp2, expm1, j0 and j1.
14021 * math/auto-libm-test-out: Regenerated.
14022 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14023 (erfc_test_data): Likewise.
14024 (exp_test_data): Likewise.
14025 (exp_tonearest_test_data): Likewise.
14026 (exp_towardzero_test_data): Likewise.
14027 (exp_downward_test_data): Likewise.
14028 (exp_upward_test_data): Likewise.
14029 (exp10_test_data): Likewise.
14030 (exp2_test_data): Likewise.
14031 (expm1_test_data): Likewise.
14032 (j0_test_data): Likewise.
14033 (j1_test_data): Likewise.
14034 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14035 (input_flag_type): Add flag_xfail_rounding.
14036 (input_flags): Add xfail-rounding.
14037 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14038 (output_for_one_input_case): Handle flag_xfail_rounding.
14039 * sysdeps/i386/fpu/libm-test-ulps: Update.
14040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14042 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14045 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14048 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14051 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14052 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14053 (STAP_PROBE0): New macro.
14054 (STAP_PROBE1): Likewise.
14055 (STAP_PROBE2): Likewise.
14056 (STAP_PROBE3): Likewise.
14057 (STAP_PROBE4): Likewise.
14059 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14061 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14063 2013-12-02 Steve Ellcey <sellcey@mips.com>
14065 * benchtests/Makefile (bench): Add sqrt.
14066 (LDLIBS-bench-sqrt): New.
14067 * benchtests/sqrt-input: New.
14069 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14071 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14072 (GAIH_EAI): Likewise.
14073 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14074 (gaih_inet): Likewise.
14075 (getaddrinfo): Don't use GAIH_EAI.
14077 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14078 (struct gaih): Remove definition.
14080 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14082 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14083 Use HERRNOP directly.
14085 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14089 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14091 * math/gen-auto-libm-tests.c (test_functions): Add more
14092 single-argument functions.
14093 (special_fill_pi_2): New function.
14094 (special_fill_minus_pi_2): Likewise.
14095 (special_fill_pi_6): Likewise.
14096 (special_fill_minus_pi_6): Likewise.
14097 (special_fill_pi_3): Likewise.
14098 (special_fill_2pi_3): Likewise.
14099 (special_fill_e): Likewise.
14100 (special_fill_1_e): Likewise.
14101 (special_fill_e_minus_1): Likewise.
14102 (special_real_inputs): Add more special inputs.
14103 (output_for_one_input_case): Do not require ERANGE on underflow to
14104 zero if round-to-nearest result does not underflow to zero, unless
14105 exact results required.
14106 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14107 atan, atanh, cbrt, cos and cosh.
14108 * math/auto-libm-test-out: Regenerated.
14109 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14110 (acos_tonearest_test_data): Likewise.
14111 (acos_towardzero_test_data): Likewise.
14112 (acos_downward_test_data): Likewise.
14113 (acos_upward_test_data): Likewise.
14114 (acosh_test_data): Likewise.
14115 (asin_test_data): Likewise.
14116 (asin_tonearest_test_data): Likewise.
14117 (asin_towardzero_test_data): Likewise.
14118 (asin_upward_test_data): Likewise.
14119 (asinh_test_data): Likewise.
14120 (atan_test_data): Likewise.
14121 (atanh_test_data): Likewise.
14122 (cbrt_test_data): Likewise.
14123 (cos_test_data): Likewise.
14124 (cos_tonearest_test_data): Likewise.
14125 (cos_towardzero_test_data): Likewise.
14126 (cos_downward_test_data): Likewise.
14127 (cos_upward_test_data): Likewise.
14128 (cosh_test_data): Likewise.
14129 (cosh_tonearest_test_data): Likewise.
14130 (cosh_towardzero_test_data): Likewise.
14131 (cosh_downward_test_data): Likewise.
14132 (cosh_upward_test_data): Likewise.
14133 * sysdeps/i386/fpu/libm-test-ulps: Update.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14139 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14140 * math/w_exp10f.c (__exp10f): Likewise.
14141 * math/w_exp10l.c (__exp10l): Likewise.
14142 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14143 errno settings in existing tests.
14146 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14147 precision control set to double precision.
14148 * sysdeps/i386/fpu/w_sqrt.c: New file.
14149 * math/auto-libm-test-in: Add more tests.
14150 * math/auto-libm-test-out: Update.
14152 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14153 (sqrt_test_tonearest): New function.
14154 (sqrt_towardzero_test_data): New variable.
14155 (sqrt_test_towardzero): New function.
14156 (sqrt_downward_test_data): New variable.
14157 (sqrt_test_downward): New function.
14158 (sqrt_upward_test_data): New variable.
14159 (sqrt_test_upward): New function.
14160 (main): Call the new functions.
14162 * math/gen-auto-libm-tests.c: New file.
14163 * math/auto-libm-test-in: Likewise.
14164 * math/auto-libm-test-out: New generated file.
14165 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14167 (%beautify): Add generated representations of zero.
14168 (top level): Set $auto_input and call parse_auto_input.
14169 (beautify): Remove trailing "f" from hex float constants.
14170 (parse_args): Handle XFAIL_TEST.
14171 (convert_condition): New function.
14172 (or_value): Likewise.
14173 (or_cond_value): Likewise.
14174 (generate_testfile): Handle AUTO_TESTS_* lines.
14175 (parse_auto_input): New function.
14176 * math/libm-test.inc (XFAIL_TEST): New macro.
14177 (ERRNO_UNCHANGED): Update value.
14178 (ERRNO_EDOM): Likewise.
14179 (ERRNO_ERANGE): Likewise.
14180 (IGNORE_RESULT): Likewise.
14181 (TEST_COND_flt_32): New macro.
14182 (TEST_COND_dbl_64): Likewise.
14183 (TEST_COND_ldbl_96_intel): Likewise.
14184 (TEST_COND_ldbl_96_m68k): Likewise.
14185 (TEST_COND_ldbl_128): Likewise.
14186 (TEST_COND_ldbl_128ibm): Likewise.
14187 (TEST_COND_long32): Likewise.
14188 (TEST_COND_long64): Likewise.
14189 (TEST_COND_before_rounding): Likewise.
14190 (TEST_COND_after_rounding): Likewise.
14191 (enable_test): Handle XFAIL_TEST flag.
14192 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14193 with finite results.
14194 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14195 auto-libm-test-out.
14197 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14198 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14201 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14202 __tls_get_addr_internal instead of __tls_get_offset in order to
14203 avoid GOT pointer dependency. Make rtld export
14204 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14205 __tls_get_addr since we are a __tls_get_offset platform.
14206 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14207 GOT pointer being set up before.
14208 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14210 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14212 * manual/math.texi (Errors in Math Functions): Document accuracy
14216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14217 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14224 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14225 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14233 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14234 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14235 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14236 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14237 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14239 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14241 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14243 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14244 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14245 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14246 atomic-feupdateenv and flt-rounds.
14247 * sysdeps/powerpc/nofpu/Versions (libc): Add
14248 __atomic_feholdexcept, __atomic_feclearexcept,
14249 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14250 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14251 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14252 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14253 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14258 * manual/arith.texi (FP Exceptions): Document that exceptions may
14259 not be raised when matherr is used.
14260 (Math Error Reporting): Document overflow in directed rounding
14261 modes. Document that errno may not be set when finite values are
14262 returned on overflow. Document intent to set errno on underflow
14263 only for underflow to zero.
14266 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14267 round-to-nearest then adjust result for other rounding modes.
14268 * include/fenv.h (fegetround): Use libm_hidden_proto.
14269 * math/fegetround.c (fegetround): Use libm_hidden_def.
14270 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14271 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14272 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14275 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14276 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14277 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14278 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14280 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14283 * nss/Versions (libnss_files): Add
14284 _nss_files_gethostbyname3_r.
14285 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14287 (HOST_DB_LOOKUP): Remove macro.
14288 (_nss_files_gethostbyname_r): Implement function without the
14289 HOST_DB_LOOKUP macro.
14290 (_nss_files_gethostbyname2_r): Likewise.
14292 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14294 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14296 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14298 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14299 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14302 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14304 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14305 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14306 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14307 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14308 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14309 __fe_nomask_env_priv and attribute_hidden.
14310 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14311 (libc_feupdateenv_test_ppc): Likewise.
14312 (libc_feresetround_ppc): Likewise.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14314 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14315 compat_symbol macro.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14317 (__fe_nomask_env): Likewise.
14318 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14320 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14322 * string/Makefile: Remove ifunc tests.
14323 * string/test-string.h: Define TEST_IFUNC.
14324 * string/test-bcopy-ifunc.c: Remove.
14325 * string/test-bzero-ifunc.c: Likewise.
14326 * string/test-memccpy-ifunc.c: Likewise.
14327 * string/test-memchr-ifunc.c: Likewise.
14328 * string/test-memcmp-ifunc.c: Likewise.
14329 * string/test-memcpy-ifunc.c: Likewise.
14330 * string/test-memmem-ifunc.c: Likewise.
14331 * string/test-memmove-ifunc.c: Likewise.
14332 * string/test-mempcpy-ifunc.c: Likewise.
14333 * string/test-memrchr-ifunc.c: Likewise.
14334 * string/test-memset-ifunc.c: Likewise.
14335 * string/test-rawmemchr-ifunc.c: Likewise.
14336 * string/test-stpcpy-ifunc.c: Likewise.
14337 * string/test-stpncpy-ifunc.c: Likewise.
14338 * string/test-strcasecmp-ifunc.c: Likewise.
14339 * string/test-strcasestr-ifunc.c: Likewise.
14340 * string/test-strcat-ifunc.c: Likewise.
14341 * string/test-strchr-ifunc.c: Likewise.
14342 * string/test-strchrnul-ifunc.c: Likewise.
14343 * string/test-strcmp-ifunc.c: Likewise.
14344 * string/test-strcpy-ifunc.c: Likewise.
14345 * string/test-strcspn-ifunc.c: Likewise.
14346 * string/test-strlen-ifunc.c: Likewise.
14347 * string/test-strncasecmp-ifunc.c: Likewise.
14348 * string/test-strncat-ifunc.c: Likewise.
14349 * string/test-strncmp-ifunc.c: Likewise.
14350 * string/test-strncpy-ifunc.c: Likewise.
14351 * string/test-strnlen-ifunc.c: Likewise.
14352 * string/test-strpbrk-ifunc.c: Likewise.
14353 * string/test-strrchr-ifunc.c: Likewise.
14354 * string/test-strspn-ifunc.c: Likewise.
14355 * string/test-strstr-ifunc.c: Likewise.
14357 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14359 * benchtests/Makefile: Remove ifunc tests.
14360 * benchtests/bench-string.h: Define TEST_IFUNC.
14361 * benchtests/bench-bcopy-ifunc.c: Remove.
14362 * benchtests/bench-bzero-ifunc.c: Likewise.
14363 * benchtests/bench-memccpy-ifunc.c: Likewise.
14364 * benchtests/bench-memchr-ifunc.c: Likewise.
14365 * benchtests/bench-memcmp-ifunc.c: Likewise.
14366 * benchtests/bench-memcpy-ifunc.c: Likewise.
14367 * benchtests/bench-memmem-ifunc.c: Likewise.
14368 * benchtests/bench-memmove-ifunc.c: Likewise.
14369 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14370 * benchtests/bench-memrchr-ifunc.c: Likewise.
14371 * benchtests/bench-memset-ifunc.c: Likewise.
14372 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14373 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14374 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14375 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14376 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14377 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14378 * benchtests/bench-strcat-ifunc.c: Likewise.
14379 * benchtests/bench-strchr-ifunc.c: Likewise.
14380 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14381 * benchtests/bench-strcmp-ifunc.c: Likewise.
14382 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14383 * benchtests/bench-strcpy-ifunc.c: Likewise.
14384 * benchtests/bench-strcspn-ifunc.c: Likewise.
14385 * benchtests/bench-strlen-ifunc.c: Likewise.
14386 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14387 * benchtests/bench-strncat-ifunc.c: Likewise.
14388 * benchtests/bench-strncmp-ifunc.c: Likewise.
14389 * benchtests/bench-strncpy-ifunc.c: Likewise.
14390 * benchtests/bench-strnlen-ifunc.c: Likewise.
14391 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14392 * benchtests/bench-strrchr-ifunc.c: Likewise.
14393 * benchtests/bench-strsep-ifunc.c: Likewise.
14394 * benchtests/bench-strspn-ifunc.c: Likewise.
14395 * benchtests/bench-strstr-ifunc.c: Likewise.
14397 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14399 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14401 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14403 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14404 * rt/aio.h: Likewise.
14405 * sysdeps/gnu/bits/utmp.h: Likewise.
14406 * sysdeps/gnu/bits/utmpx.h: Likewise.
14407 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14408 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14409 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14410 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14411 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14412 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14413 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14414 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14415 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14417 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14418 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14419 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14422 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14423 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14426 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14427 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14430 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14431 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14433 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14434 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14435 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14438 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14439 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14440 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14441 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14442 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14443 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14444 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14445 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14446 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14447 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14448 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14450 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14453 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14454 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14456 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14458 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14459 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14462 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14465 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14466 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14467 (__fesetround): Remove define.
14468 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14469 rounding and exceptions handling.
14470 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14471 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14472 (__fe_nomask_env): Likewise.
14473 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14474 __fegetround instead of fegetround.
14475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14478 2013-11-21 Roland McGrath <roland@hack.frob.com>
14480 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14483 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14485 2013-11-21 Meador Inge <meadori@codesourcery.com>
14488 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14489 (encrypt_r): Likewise.
14490 * malloc/obstack.h (obstack_free): Likewise.
14491 * posix/unistd.h (encrypt): Likewise.
14493 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14495 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14496 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14497 DL_CALL_DT_FINI() that call the functions directly.
14498 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14499 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14500 * elf/dl-fini.c: Likewise.
14502 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14504 * malloc/hooks.c (memalign_check): Add alignment rounding.
14505 * malloc/malloc.c (_mid_memalign): New function.
14506 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14507 Implement by calling _mid_memalign.
14508 * manual/probes.texi (Memory Allocation Probes): Remove
14509 memory_valloc_retry and memory_pvalloc_retry.
14511 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * locale/programs/locarchive.c (open_archive): Add const
14514 qualifier to ARCHIVEFNAME and copy default fname to
14518 * libio/tst-widetext.input: Rename Oriya to Odia.
14519 * locale/iso-639.def: Likewise.
14521 * manual/probes.texi (Mathematical Function Probes): Add
14522 documentation for sin, cos, asin and acos probes.
14523 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14524 (__sin32): Add slowasin probe.
14525 (__cos32): Add slowacos probe.
14526 (__mpsin): Add slowsin probe.
14527 (__mpcos): Add slowcos probe.
14529 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14532 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14533 thread-local __sim_exceptions_thread and global
14534 __sim_exceptions_global.
14535 (__sim_disabled_exceptions): Change to thread-local
14536 __sim_disabled_exceptions_thread and global
14537 __sim_disabled_exceptions_global.
14538 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14539 and global __sim_round_mode_global.
14540 (__simulate_exceptions): Use thread-local floating-point state and
14541 set global state from it as needed.
14542 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14543 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14544 __sim_round_mode_thread.
14545 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14546 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14547 and global __sim_exceptions_global.
14548 (__sim_disabled_exceptions): Change to thread-local
14549 __sim_disabled_exceptions_thread and global
14550 __sim_disabled_exceptions_global.
14551 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14552 and global __sim_round_mode_global.
14553 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14554 (SIM_SET_GLOBAL): Likewise.
14555 * sysdeps/powerpc/soft-fp/sfp-machine.h
14556 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14557 __sim_round_mode_thread.
14558 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14559 __sim_disabled_exceptions_thread.
14560 (__sim_exceptions): Change to __sim_exceptions_thread.
14561 (__sim_disabled_exceptions): Change to
14562 __sim_disabled_exceptions_thread.
14563 (__sim_round_mode): Change to __sim_round_mode_thread.
14564 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14565 thread-local floating-point state and set global state from it as
14567 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14568 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14569 (__sim_disabled_exceptions): Remove extern declaration.
14570 (feenableexcept): Use thread-local floating-point state and set
14571 global state from it as needed.
14572 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14573 extern declaration.
14574 (__sim_disabled_exceptions): Likewise.
14575 (__sim_round_mode): Likewise.
14576 (__fegetenv): Use thread-local floating-point state.
14577 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14578 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14579 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14580 floating-point state and set global state from it as needed.
14581 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14582 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14583 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14585 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14586 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14588 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14589 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14590 Use __sim_round_mode_thread.
14591 * math/test-fenv-tls.c: New file.
14592 * math/Makefile (tests): Add test-fenv-tls.
14593 ($(objpfx)test-fenv-tls): Depend on
14594 $(common-objpfx)nptl/libpthread.so.
14596 2013-11-19 Andreas Schwab <schwab@suse.de>
14598 * locale/programs/locale.c (show_info): Decode wordarray elements.
14599 * locale/categories.def (LC_MONETARY): Add element for
14600 _NL_MONETARY_CRNCYSTR.
14601 * locale/C-monetary.c (conversion_rate): New variable.
14602 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14605 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14607 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14608 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14610 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14612 * elf/Makefile (tst-auxv): New test.
14613 * elf/tst-auxv.c: New
14614 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14616 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14618 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14619 (hidden_proto): Caller changed.
14620 (hidden_tls_proto): New macro.
14621 (libc_hidden_tls_proto): Likewise.
14622 (rtld_hidden_tls_proto): Likewise.
14623 (libm_hidden_tls_proto): Likewise.
14624 (libresolv_hidden_tls_proto): Likewise.
14625 (librt_hidden_tls_proto): Likewise.
14626 (libdl_hidden_tls_proto): Likewise.
14627 (libnss_files_hidden_tls_proto): Likewise.
14628 (libnsl_hidden_tls_proto): Likewise.
14629 (libnss_nisplus_hidden_tls_proto): Likewise.
14630 (libutil_hidden_tls_proto): Likewise.
14632 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14635 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14636 (decompose_rpath): Defer expansion to fillin_rpath.
14637 (_dl_init_paths): Pass linkmap to fillin_rpath.
14639 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14641 * benchtests/Makefile: Add strsep.
14642 * benchtests/bench-strsep.c: New file: strsep benchtest.
14643 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14645 2013-11-18 Andreas Schwab <schwab@suse.de>
14647 * locale/programs/locale.c (show_info) [case byte]: Check for
14648 '\377' instead of '\177'.
14649 * locale/C-monetary.c (not_available): Always use "\377".
14650 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14651 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14652 detect unavailable sign_posn locale elements.
14653 * locale/localeconv.c (__localeconv): For grouping and
14654 mon_grouping handle "\177" and "\377" like no grouping.
14655 (INT_ELEM): New macro. Use it to set all numeric members.
14656 * locale/programs/ld-monetary.c (monetary_read)
14657 <tok_mon_grouping>: Normalize single -1 to the empty string.
14658 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14661 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14665 when we match (nil).
14666 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14668 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14670 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14671 (NO_TEST_INLINE): Update value.
14672 (ERRNO_UNCHANGED): Likewise.
14673 (ERRNO_EDOM): Likewise.
14674 (ERRNO_ERANGE): Likewise.
14675 (IGNORE_RESULT): Likewise.
14676 (check_float_internal): Check signs of NaN results if
14677 TEST_NAN_SIGN used.
14678 (check_complex): Pass TEST_NAN_SIGN flag through to second
14679 check_float_internal call.
14680 (copysign_test_data): Add tests with quiet NaNs as second
14681 argument. Use TEST_NAN_SIGN.
14682 (fabs_test_data): Add test of negative quiet NaN argument. Use
14684 (signbit_test_data): Add tests of quiet NaN argument.
14685 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14687 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14689 (parse_args): Handle function results specified as IGNORE.
14690 * math/libm-test.inc (IGNORE_RESULT): New macro.
14691 (check_float_internal): Do not check numerical result if flag
14693 (check_complex): Pass through IGNORE_RESULT to second
14694 check_float_internal call.
14695 (check_int): Do not check numerical result if flag IGNORE_RESULT
14697 (check_long): Likewise.
14698 (check_bool): Likewise.
14699 (check_longlong): Likewise.
14700 (lrint_test_data): Add tests of infinite and NaN arguments.
14701 (lrint_tonearest_test_data): Likewise.
14702 (lrint_towardzero_test_data): Likewise.
14703 (lrint_downward_test_data): Likewise.
14704 (lrint_upward_test_data): Likewise.
14705 (llrint_test_data): Likewise.
14706 (llrint_tonearest_test_data): Likewise.
14707 (llrint_towardzero_test_data): Likewise.
14708 (llrint_downward_test_data): Likewise.
14709 (llrint_upward_test_data): Likewise.
14710 (lround_test_data): Likewise.
14711 (llround_test_data): Likewise.
14713 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14714 (ERRNO_UNCHANGED): Update value.
14715 (ERRNO_EDOM): Likewise.
14716 (ERRNO_ERANGE): Likewise.
14717 (NO_TEST_INLINE_FLOAT): New macro.
14718 (NO_TEST_INLINE_DOUBLE): Likewise.
14719 (enable_test): New function.
14720 (RUN_TEST_f_f): Check enable_test before running test.
14721 (RUN_TEST_2_f): Likewise.
14722 (RUN_TEST_fff_f): Likewise.
14723 (RUN_TEST_c_f): Likewise.
14724 (RUN_TEST_f_f1): Likewise.
14725 (RUN_TEST_fF_f1): Likewise.
14726 (RUN_TEST_fI_f1): Likewise.
14727 (RUN_TEST_ffI_f1): Likewise.
14728 (RUN_TEST_c_c): Likewise.
14729 (RUN_TEST_cc_c): Likewise.
14730 (RUN_TEST_f_i): Likewise.
14731 (RUN_TEST_f_i_tg): Likewise.
14732 (RUN_TEST_ff_i_tg): Likewise.
14733 (RUN_TEST_f_b): Likewise.
14734 (RUN_TEST_f_b_tg): Likewise.
14735 (RUN_TEST_f_l): Likewise.
14736 (RUN_TEST_f_L): Likewise.
14737 (RUN_TEST_fFF_11): Likewise.
14738 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14740 (cosh_test_data): Likewise.
14741 (exp_test_data): Likewise.
14742 (expm1_test_data): Likewise.
14743 (hypot_test_data): Likewise.
14744 (pow_test_data): Likewise.
14745 (sinh_test_data): Likewise.
14746 (tanh_test_data): Likewise.
14747 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14750 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14751 tests with quiet NaN input and output.
14752 (acosh_test_data): Likewise.
14753 (asin_test_data): Likewise.
14754 (asinh_test_data): Likewise.
14755 (atan_test_data): Likewise.
14756 (atanh_test_data): Likewise.
14757 (atan2_test_data): Likewise.
14758 (cbrt_test_data): Likewise.
14759 (cos_test_data): Likewise.
14760 (cosh_test_data): Likewise.
14761 (erf_test_data): Likewise.
14762 (erfc_test_data): Likewise.
14763 (exp_test_data): Likewise.
14764 (exp10_test_data): Likewise.
14765 (exp2_test_data): Likewise.
14766 (expm1_test_data): Likewise.
14767 (hypot_test_data): Likewise.
14768 (j0_test_data): Likewise.
14769 (j1_test_data): Likewise.
14770 (jn_test_data): Likewise.
14771 (lgamma_test_data): Likewise.
14772 (log_test_data): Likewise.
14773 (log10_test_data): Likewise.
14774 (log1p_test_data): Likewise.
14775 (log2_test_data): Likewise.
14776 (pow_test_data): Likewise.
14777 (scalb_test_data): Likewise.
14778 (sin_test_data): Likewise.
14779 (sincos_test_data): Likewise.
14780 (sinh_test_data): Likewise.
14781 (tan_test_data): Likewise.
14782 (tanh_test_data): Likewise.
14783 (tgamma_test_data): Likewise.
14784 (y0_test_data): Likewise.
14785 (y1_test_data): Likewise.
14786 (yn_test_data): Likewise.
14789 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14790 argument being NaN and avoid computations with second argument in
14792 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14793 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14794 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14796 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14798 * locale/iso-639.def: Add Chitwani Tharu (the).
14800 2013-11-14 Andreas Schwab <schwab@suse.de>
14802 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14803 word instead of empty string.
14805 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14808 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14810 (__fe_nomask_env): Likewise.
14812 2013-11-13 Steve Ellcey <sellcey@mips.com>
14814 * benchtests/bench-timing.h: Include time.h.
14816 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14819 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14821 * sysdeps/unix/sysv/linux/configure: Regenerated.
14823 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14826 * stdlib/strtod_l.c (round_and_return): Do not consider
14827 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14828 exponent one less than half the least subnormal exponent.
14829 * stdlib/test-strtod-round-data: Add more tests.
14830 * stdlib/tst-strtod-round.c (tests): Regenerated.
14832 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14835 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14836 (__fe_mask_env): Likewise.
14837 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14838 libm_hidden_proto and add function prototype.
14839 (__fe_mask_env): Add function prototype.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14841 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14843 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14845 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14847 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14849 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14850 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14852 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14854 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14855 of htab_find_slot().
14857 2013-11-11 David S. Miller <davem@davemloft.net>
14860 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14861 symbol in the non-vis3 case in static builds.
14862 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14863 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14864 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14865 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14867 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14870 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14873 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14875 * benchtests/Makefile: Add bench-strtod.
14876 * benchtests/bench-strtod.c: New file: strtod benchtest
14878 2013-11-11 Andreas Schwab <schwab@suse.de>
14881 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14882 terminating NUL in key length.
14884 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14886 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14887 Add artificial ODP entry for vDSO symbol for PPC64.
14888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14889 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14891 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14894 * nss/getent.c (services_keys): Recognize services starting with digit.
14896 2013-11-06 David S. Miller <davem@davemloft.net>
14899 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14900 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14902 2013-11-06 Will Newton <will.newton@linaro.org>
14904 * manual/memory.texi (Malloc Examples): Remove register
14905 keyword from examples.
14907 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14909 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14911 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14914 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14915 depending on [__GCC_IEC_559 > 0].
14916 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14917 depending on [__GCC_IEC_559_COMPLEX > 0].
14919 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14921 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14924 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14926 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14928 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14931 * malloc/malloc (malloc_info): Do not handle first bin as
14934 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14936 * locale/iso-639.def: Add Central Nahuatl (nhn).
14938 2013-11-01 Bruno Haible <bruno@clisp.org>
14941 * manual/math.texi (BSD Random): Specify range upper bound as
14944 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14946 * locale/iso-639.def: Add Meadow Mari (mhr).
14948 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14950 [BZ #14752], [BZ #15763]
14951 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14953 * rt/tst_shm.c: Add test for escaping directory.
14955 2013-10-31 Andreas Schwab <schwab@suse.de>
14958 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14959 followed by 'x' as part of digit sequence.
14960 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14962 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14965 * configure.ac: allow GNU Make 4.0 and greater.
14966 * configure: Regenerated.
14968 2013-10-30 Will Newton <will.newton@linaro.org>
14971 * malloc/hooks.c (memalign_check): Limit alignment to the
14972 maximum representable power of two.
14973 * malloc/malloc.c (__libc_memalign): Likewise.
14974 * malloc/tst-memalign.c (do_test): Add test for very
14975 large alignment values.
14976 * malloc/tst-posix_memalign.c (do_test): Likewise.
14978 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14981 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14982 (munmap_chunk): Likewise.
14983 (mremap_chunk): Likewise.
14985 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14988 * stdlib/div.c (div): Remove obsolete code.
14989 * stdlib/ldiv.c (ldiv): Likewise.
14990 * stdlib/lldiv.c (lldiv): Likewise.
14992 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14995 * nss/nss_files/files-XXX.c (get_contents_ret): New
14997 (get_contents): New function.
14998 (internal_getent): Use it. Expand size of LINEBUFLEN.
15000 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15002 * configure.in: Moved to ...
15003 * configure.ac: ... here. Change reference to configure.in
15005 * sysdeps/arm/preconfigure.ac: ... here.
15006 configure.in to configure.ac.
15007 * sysdeps/gnu/configure.in: Moved to ...
15008 * sysdeps/gnu/configure.ac: ... here.
15009 * sysdeps/i386/configure.in: Moved to ...
15010 * sysdeps/i386/configure.ac: ... here.
15011 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15012 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15013 * sysdeps/mach/configure.in: Moved to ...
15014 * sysdeps/mach/configure.ac: ... here.
15015 * sysdeps/mach/hurd/configure.in: Moved to ...
15016 * sysdeps/mach/hurd/configure.ac: ... here.
15017 * sysdeps/powerpc/configure.in: Moved to ...
15018 * sysdeps/powerpc/configure.ac: ... here.
15019 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15020 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15021 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15022 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15023 * sysdeps/s390/s390-32/configure.in: Moved to ...
15024 * sysdeps/s390/s390-32/configure.ac: ... here.
15025 * sysdeps/s390/s390-64/configure.in: Moved to ...
15026 * sysdeps/s390/s390-64/configure.ac: ... here.
15027 * sysdeps/sh/configure.in: Moved to ...
15028 * sysdeps/sh/configure.ac: ... here.
15029 * sysdeps/sparc/configure.in: Moved to ...
15030 * sysdeps/sparc/configure.ac: ... here.
15031 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15032 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15033 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15034 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15035 * sysdeps/x86_64/configure.in: Moved to ...
15036 * sysdeps/x86_64/configure.ac: ... here.
15037 * sysdeps/x86_64/preconfigure.in: Moved to ...
15038 * sysdeps/x86_64/preconfigure.ac: ... here.
15039 * aclocal.m4: Change reference to configure.in to configure.ac.
15040 * config.h.in: Likewise.
15041 * manual/install.texi: Likewise.
15042 * manual/maint.texi: Likewise.
15043 * Makefile: Likewise.
15044 * malloc/Makefile: Likewise.
15045 * nscd/Makefile: Likewise.
15046 * Makeconfig: Change reference to configure.in and
15047 preconfigure.in to configure.ac and preconfigure.ac
15049 * INSTALL: Regenerated.
15050 * configure: Likewise.
15051 * sysdeps/gnu/configure: Likewise.
15052 * sysdeps/i386/configure: Likewise.
15053 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15054 * sysdeps/mach/configure: Likewise.
15055 * sysdeps/mach/hurd/configure: Likewise.
15056 * sysdeps/powerpc/configure: Likewise.
15057 * sysdeps/powerpc/powerpc32/configure: Likewise.
15058 * sysdeps/powerpc/powerpc64/configure: Likewise.
15059 * sysdeps/s390/s390-32/configure: Likewise.
15060 * sysdeps/s390/s390-64/configure: Likewise.
15061 * sysdeps/sh/configure: Likewise.
15062 * sysdeps/sparc/configure: Likewise.
15063 * sysdeps/unix/sysv/linux/configure: Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15065 * sysdeps/x86_64/configure: Likewise.
15066 * sysdeps/x86_64/preconfigure: Likewise.
15068 2013-10-29 Andreas Schwab <schwab@suse.de>
15070 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15072 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15074 * benchtests/pow-inputs: Add new inputs.
15076 * benchtests/exp-inputs: Add new inputs.
15078 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15079 conditional check for return value.
15080 (__cos32): Likewise.
15082 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15084 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15085 to provide a boost for large inputs with word alignment.
15086 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15087 implementation based on optimized PPC64 strcpy.
15088 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15089 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15090 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15091 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15093 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15096 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15098 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15101 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15102 * time/tst-strptime.c (day_tests): Add testcase.
15104 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15107 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15109 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15112 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15113 MAP_FAILED on error.
15115 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15118 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15119 heap for large requests.
15121 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15124 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15125 result if the result has no associated interface.
15126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15127 interface for all 127.X.Y.Z addresses.
15129 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15131 * locale/iso-639.def: Add Ligurian (lij)
15133 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15136 * sunrpc/rpc_main.c: Document rpcgen -5.
15138 2013-10-19 Michael Stahl <mstahl@redhat.com>
15140 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15142 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15145 * posix/glob.c: Match only directories when trailing slash is present.
15146 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15147 (main): Add testcase.
15149 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15152 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15154 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15156 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15157 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15158 AUTH_DES and cindex for FIPS 140-2.
15159 (DES Encryption): Add cindex FIPS 46-3.
15161 * locale/locarchive.h (struct locarhandle): Add fname.
15162 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15163 if an optional argument was specified to --list-archive,
15165 * locale/programs/locarchive.c (show_archive_content): Take new
15166 argument fname and pass it via ah.fname to open_archive.
15167 * locale/programs/localedef.h: Update decl.
15168 (open_archive): If AH->fname is non-null, open that file
15169 rather than the default file name, and don't ignore ENOENT.
15170 (create_archive): Set AH.fname to NULL.
15171 (delete_locales_from_archive): Likewise.
15172 (add_locales_to_archive): Likewise.
15173 * locale/programs/locfile.c (write_all_categories): Likewise.
15175 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15176 Aldy Hernandez <aldyh@redhat.com>
15178 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15179 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15180 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15181 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15182 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15186 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15187 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15189 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15190 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15191 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15198 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15200 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15203 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15204 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15205 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15206 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15208 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15209 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15210 * sysdeps/powerpc/preconfigure: Likewise.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15213 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15214 Replace contents of file by #include of <fenv_libc.h>.
15215 * sysdeps/powerpc/soft-fp/sfp-machine.h
15216 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15218 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15231 Allow copysignl PLT reference to be missing.
15233 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15234 Joseph Myers <joseph@codesourcery.com
15237 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15239 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15241 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15244 * elf/tst-tls1.c: Likewise.
15245 * elf/tst-tls10.h: Likewise.
15246 * elf/tst-tls14.c: Likewise.
15247 * elf/tst-tls2.c: Likewise.
15248 * elf/tst-tls3.c: Likewise.
15249 * elf/tst-tls4.c: Likewise.
15250 * elf/tst-tls5.c: Likewise.
15251 * elf/tst-tls6.c: Likewise.
15252 * elf/tst-tls7.c: Likewise.
15253 * elf/tst-tls8.c: Likewise.
15254 * elf/tst-tls9.c: Likewise.
15255 * elf/tst-tlsmod1.c: Likewise.
15256 * elf/tst-tlsmod13.c: Likewise.
15257 * elf/tst-tlsmod13a.c: Likewise.
15258 * elf/tst-tlsmod14a.c: Likewise.
15259 * elf/tst-tlsmod16a.c: Likewise.
15260 * elf/tst-tlsmod16b.c: Likewise.
15261 * elf/tst-tlsmod2.c: Likewise.
15262 * elf/tst-tlsmod3.c: Likewise.
15263 * elf/tst-tlsmod4.c: Likewise.
15264 * elf/tst-tlsmod5.c: Likewise.
15265 * elf/tst-tlsmod6.c: Likewise.
15267 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15270 * malloc/malloc.c: remove checks for statistics.
15272 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15275 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15276 * inet/tst-network.c: Add testcase.
15278 2013-10-17 Andreas Schwab <schwab@suse.de>
15281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15282 to determine canonical name.
15284 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15286 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15287 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15310 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15311 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15345 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15348 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15349 make result into a quiet NaN.
15351 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15353 * soft-fp/adddf3.c: Fix horizontal whitespace.
15354 * soft-fp/addsf3.c: Likewise.
15355 * soft-fp/addtf3.c: Likewise.
15356 * soft-fp/divdf3.c: Likewise.
15357 * soft-fp/divsf3.c: Likewise.
15358 * soft-fp/divtf3.c: Likewise.
15359 * soft-fp/double.h: Likewise.
15360 * soft-fp/eqdf2.c: Likewise.
15361 * soft-fp/eqsf2.c: Likewise.
15362 * soft-fp/eqtf2.c: Likewise.
15363 * soft-fp/extenddftf2.c: Likewise.
15364 * soft-fp/extended.h: Likewise.
15365 * soft-fp/extendsfdf2.c: Likewise.
15366 * soft-fp/extendsftf2.c: Likewise.
15367 * soft-fp/extendxftf2.c: Likewise.
15368 * soft-fp/fixdfdi.c: Likewise.
15369 * soft-fp/fixdfsi.c: Likewise.
15370 * soft-fp/fixdfti.c: Likewise.
15371 * soft-fp/fixsfdi.c: Likewise.
15372 * soft-fp/fixsfsi.c: Likewise.
15373 * soft-fp/fixsfti.c: Likewise.
15374 * soft-fp/fixtfdi.c: Likewise.
15375 * soft-fp/fixtfsi.c: Likewise.
15376 * soft-fp/fixtfti.c: Likewise.
15377 * soft-fp/fixunsdfdi.c: Likewise.
15378 * soft-fp/fixunsdfsi.c: Likewise.
15379 * soft-fp/fixunsdfti.c: Likewise.
15380 * soft-fp/fixunssfdi.c: Likewise.
15381 * soft-fp/fixunssfsi.c: Likewise.
15382 * soft-fp/fixunssfti.c: Likewise.
15383 * soft-fp/fixunstfdi.c: Likewise.
15384 * soft-fp/fixunstfsi.c: Likewise.
15385 * soft-fp/fixunstfti.c: Likewise.
15386 * soft-fp/floatdidf.c: Likewise.
15387 * soft-fp/floatdisf.c: Likewise.
15388 * soft-fp/floatditf.c: Likewise.
15389 * soft-fp/floatsidf.c: Likewise.
15390 * soft-fp/floatsisf.c: Likewise.
15391 * soft-fp/floatsitf.c: Likewise.
15392 * soft-fp/floattidf.c: Likewise.
15393 * soft-fp/floattisf.c: Likewise.
15394 * soft-fp/floattitf.c: Likewise.
15395 * soft-fp/floatundidf.c: Likewise.
15396 * soft-fp/floatundisf.c: Likewise.
15397 * soft-fp/floatunditf.c: Likewise.
15398 * soft-fp/floatunsidf.c: Likewise.
15399 * soft-fp/floatunsisf.c: Likewise.
15400 * soft-fp/floatunsitf.c: Likewise.
15401 * soft-fp/floatuntidf.c: Likewise.
15402 * soft-fp/floatuntisf.c: Likewise.
15403 * soft-fp/floatuntitf.c: Likewise.
15404 * soft-fp/fmadf4.c: Likewise.
15405 * soft-fp/fmasf4.c: Likewise.
15406 * soft-fp/fmatf4.c: Likewise.
15407 * soft-fp/gedf2.c: Likewise.
15408 * soft-fp/gesf2.c: Likewise.
15409 * soft-fp/getf2.c: Likewise.
15410 * soft-fp/ledf2.c: Likewise.
15411 * soft-fp/lesf2.c: Likewise.
15412 * soft-fp/letf2.c: Likewise.
15413 * soft-fp/muldf3.c: Likewise.
15414 * soft-fp/mulsf3.c: Likewise.
15415 * soft-fp/multf3.c: Likewise.
15416 * soft-fp/negdf2.c: Likewise.
15417 * soft-fp/negsf2.c: Likewise.
15418 * soft-fp/negtf2.c: Likewise.
15419 * soft-fp/op-1.h: Likewise.
15420 * soft-fp/op-2.h: Likewise.
15421 * soft-fp/op-4.h: Likewise.
15422 * soft-fp/op-8.h: Likewise.
15423 * soft-fp/op-common.h: Likewise.
15424 * soft-fp/quad.h: Likewise.
15425 * soft-fp/single.h: Likewise.
15426 * soft-fp/soft-fp.h: Likewise.
15427 * soft-fp/sqrtdf2.c: Likewise.
15428 * soft-fp/sqrtsf2.c: Likewise.
15429 * soft-fp/sqrttf2.c: Likewise.
15430 * soft-fp/subdf3.c: Likewise.
15431 * soft-fp/subsf3.c: Likewise.
15432 * soft-fp/subtf3.c: Likewise.
15433 * soft-fp/truncdfsf2.c: Likewise.
15434 * soft-fp/trunctfdf2.c: Likewise.
15435 * soft-fp/trunctfsf2.c: Likewise.
15436 * soft-fp/trunctfxf2.c: Likewise.
15437 * soft-fp/unorddf2.c: Likewise.
15438 * soft-fp/unordsf2.c: Likewise.
15439 * soft-fp/unordtf2.c: Likewise.
15441 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15443 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15444 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15446 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15448 * elf/dl-libc.c: Clear initfini list after freeing.
15450 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15452 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15453 * soft-fp/addsf3.c: Likewise.
15454 * soft-fp/addtf3.c: Likewise.
15455 * soft-fp/divdf3.c: Likewise.
15456 * soft-fp/divsf3.c: Likewise.
15457 * soft-fp/divtf3.c: Likewise.
15458 * soft-fp/double.h: Likewise.
15459 * soft-fp/eqdf2.c: Likewise.
15460 * soft-fp/eqsf2.c: Likewise.
15461 * soft-fp/eqtf2.c: Likewise.
15462 * soft-fp/extenddftf2.c: Likewise.
15463 * soft-fp/extended.h: Likewise.
15464 * soft-fp/extendsfdf2.c: Likewise.
15465 * soft-fp/extendsftf2.c: Likewise.
15466 * soft-fp/extendxftf2.c: Likewise.
15467 * soft-fp/fixdfdi.c: Likewise.
15468 * soft-fp/fixdfsi.c: Likewise.
15469 * soft-fp/fixdfti.c: Likewise.
15470 * soft-fp/fixsfdi.c: Likewise.
15471 * soft-fp/fixsfsi.c: Likewise.
15472 * soft-fp/fixsfti.c: Likewise.
15473 * soft-fp/fixtfdi.c: Likewise.
15474 * soft-fp/fixtfsi.c: Likewise.
15475 * soft-fp/fixtfti.c: Likewise.
15476 * soft-fp/fixunsdfdi.c: Likewise.
15477 * soft-fp/fixunsdfsi.c: Likewise.
15478 * soft-fp/fixunsdfti.c: Likewise.
15479 * soft-fp/fixunssfdi.c: Likewise.
15480 * soft-fp/fixunssfsi.c: Likewise.
15481 * soft-fp/fixunssfti.c: Likewise.
15482 * soft-fp/fixunstfdi.c: Likewise.
15483 * soft-fp/fixunstfsi.c: Likewise.
15484 * soft-fp/fixunstfti.c: Likewise.
15485 * soft-fp/floatdidf.c: Likewise.
15486 * soft-fp/floatdisf.c: Likewise.
15487 * soft-fp/floatditf.c: Likewise.
15488 * soft-fp/floatsidf.c: Likewise.
15489 * soft-fp/floatsisf.c: Likewise.
15490 * soft-fp/floatsitf.c: Likewise.
15491 * soft-fp/floattidf.c: Likewise.
15492 * soft-fp/floattisf.c: Likewise.
15493 * soft-fp/floattitf.c: Likewise.
15494 * soft-fp/floatundidf.c: Likewise.
15495 * soft-fp/floatundisf.c: Likewise.
15496 * soft-fp/floatunsidf.c: Likewise.
15497 * soft-fp/floatunsisf.c: Likewise.
15498 * soft-fp/floatuntidf.c: Likewise.
15499 * soft-fp/floatuntisf.c: Likewise.
15500 * soft-fp/floatuntitf.c: Likewise.
15501 * soft-fp/fmadf4.c: Likewise.
15502 * soft-fp/fmasf4.c: Likewise.
15503 * soft-fp/fmatf4.c: Likewise.
15504 * soft-fp/gedf2.c: Likewise.
15505 * soft-fp/gesf2.c: Likewise.
15506 * soft-fp/getf2.c: Likewise.
15507 * soft-fp/ledf2.c: Likewise.
15508 * soft-fp/lesf2.c: Likewise.
15509 * soft-fp/letf2.c: Likewise.
15510 * soft-fp/muldf3.c: Likewise.
15511 * soft-fp/mulsf3.c: Likewise.
15512 * soft-fp/multf3.c: Likewise.
15513 * soft-fp/negdf2.c: Likewise.
15514 * soft-fp/negsf2.c: Likewise.
15515 * soft-fp/negtf2.c: Likewise.
15516 * soft-fp/op-1.h: Likewise.
15517 * soft-fp/op-2.h: Likewise.
15518 * soft-fp/op-4.h: Likewise.
15519 * soft-fp/op-8.h: Likewise.
15520 * soft-fp/op-common.h: Likewise.
15521 * soft-fp/quad.h: Likewise.
15522 * soft-fp/single.h: Likewise.
15523 * soft-fp/soft-fp.h: Likewise.
15524 * soft-fp/sqrtdf2.c: Likewise.
15525 * soft-fp/sqrtsf2.c: Likewise.
15526 * soft-fp/sqrttf2.c: Likewise.
15527 * soft-fp/subdf3.c: Likewise.
15528 * soft-fp/subsf3.c: Likewise.
15529 * soft-fp/subtf3.c: Likewise.
15530 * soft-fp/truncdfsf2.c: Likewise.
15531 * soft-fp/trunctfdf2.c: Likewise.
15532 * soft-fp/trunctfsf2.c: Likewise.
15533 * soft-fp/trunctfxf2.c: Likewise.
15534 * soft-fp/unorddf2.c: Likewise.
15535 * soft-fp/unordsf2.c: Likewise.
15536 * soft-fp/unordtf2.c: Likewise.
15538 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15541 * misc/error.c (error_tail): Fix possible buffer overflow.
15543 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15546 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15549 2013-10-14 P. J. McDermott <pj@pehjota.net>
15552 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15553 testing pipefail option.
15555 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15557 * soft-fp/double.h: Indent preprocessor directives inside #if.
15558 * soft-fp/extended.h: Likewise.
15559 * soft-fp/op-2.h: Likewise.
15560 * soft-fp/op-4.h: Likewise.
15561 * soft-fp/op-common.h: Likewise.
15562 * soft-fp/quad.h: Likewise.
15563 * soft-fp/single.h: Likewise.
15564 * soft-fp/soft-fp.h: Likewise.
15566 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15568 * iconv/iconv_prog.c: Fix typos.
15569 * stdio-common/psiginfo-data.h: Likewise.
15571 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15574 * locale/setlocale.c: Fix typo.
15576 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15579 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15580 signaling NaN arguments.
15581 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15582 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15585 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15586 unordered operands.
15587 * soft-fp/gesf2.c (__gesf2): Likewise.
15588 * soft-fp/getf2.c (__getf2): Likewise.
15589 * soft-fp/ledf2.c (__ledf2): Likewise.
15590 * soft-fp/lesf2.c (__lesf2): Likewise.
15591 * soft-fp/letf2.c (__letf2): Likewise.
15593 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15594 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15595 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15596 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15597 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15598 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15599 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15600 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15601 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15602 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15603 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15604 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15605 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15606 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15607 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15608 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15609 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15610 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15611 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15612 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15613 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15614 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15615 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15616 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15617 * soft-fp/floattidf.c (__floattidf): Likewise.
15618 * soft-fp/floattisf.c (__floattisf): Likewise.
15619 * soft-fp/floattitf.c (__floattitf): Likewise.
15620 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15621 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15622 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15623 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15624 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15625 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15626 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15627 * soft-fp/gesf2.c (__gesf2): Likewise.
15628 * soft-fp/getf2.c (__getf2): Likewise.
15629 * soft-fp/ledf2.c (__ledf2): Likewise.
15630 * soft-fp/lesf2.c (__lesf2): Likewise.
15631 * soft-fp/letf2.c (__letf2): Likewise.
15633 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15634 Undefine and redefine.
15635 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15636 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15637 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15638 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15639 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15640 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15641 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15642 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15643 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15644 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15645 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15646 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15647 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15648 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15649 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15652 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15653 without decrementing exponent if mantissa >= that for the
15654 denominator, not >.
15655 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15656 denominator, not >. Decrement exponent in < case instead of
15657 incrementing in >= case.
15658 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15659 without decrementing exponent if mantissa >= that for the
15660 denominator, not >.
15662 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15663 computing saturated result for unsigned overflow.
15665 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15666 Jeff Law <law@redhat.com>
15668 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15669 (atan2Mp): Add systemtap probe marker.
15670 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15671 (__ieee754_log): Add systemtap probe marker.
15672 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15673 (atanMp): Add systemtap probe marker.
15674 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15675 (tanMp): Add systemtap probe marker.
15676 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15677 (__slowexp): Add systemtap probe marker.
15678 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15679 (__slowpow): Add systemtap probe marker.
15680 * manual/probes.texi: Document probes.
15682 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15685 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15687 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15689 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15690 written to buffer but not flushed.
15691 * libio/iofwrite_u.c: Likewise.
15692 * libio/iopadn.c: Return bytes returned even if EOF was
15694 * libio/iowpadn.c: Likewise.
15695 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15696 if _IO_padn does not write the whole buffer.
15697 [!COMPILE_WPRINTF] (PAD): Likewise.
15699 2013-10-10 David S. Miller <davem@davemloft.net>
15701 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15704 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15706 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15707 instead of FSF address.
15708 * soft-fp/fixdfti.c: Likewise.
15709 * soft-fp/fixsfti.c: Likewise.
15710 * soft-fp/fixtfti.c: Likewise.
15711 * soft-fp/fixunsdfti.c: Likewise.
15712 * soft-fp/fixunssfti.c: Likewise.
15713 * soft-fp/fixunstfti.c: Likewise.
15714 * soft-fp/floattidf.c: Likewise.
15715 * soft-fp/floattisf.c: Likewise.
15716 * soft-fp/floattitf.c: Likewise.
15717 * soft-fp/floatuntidf.c: Likewise.
15718 * soft-fp/floatuntisf.c: Likewise.
15719 * soft-fp/floatuntitf.c: Likewise.
15720 * soft-fp/trunctfxf2.c: Likewise.
15722 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15723 * soft-fp/fixdfti.c: Likewise.
15724 * soft-fp/fixsfti.c: Likewise.
15725 * soft-fp/fixtfti.c: Likewise.
15726 * soft-fp/fixunsdfti.c: Likewise.
15727 * soft-fp/fixunssfti.c: Likewise.
15728 * soft-fp/fixunstfti.c: Likewise.
15729 * soft-fp/floattidf.c: Likewise.
15730 * soft-fp/floattisf.c: Likewise.
15731 * soft-fp/floattitf.c: Likewise.
15732 * soft-fp/floatuntidf.c: Likewise.
15733 * soft-fp/floatuntisf.c: Likewise.
15734 * soft-fp/floatuntitf.c: Likewise.
15735 * soft-fp/trunctfxf2.c: Likewise.
15737 2013-10-10 David S. Miller <davem@davemloft.net>
15739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15741 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15743 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15744 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15745 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15752 for NaNs before doing comparisons on argument.
15753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15756 2013-10-10 Will Newton <will.newton@linaro.org>
15758 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15759 passed to _int_memalign does not overflow.
15761 2013-10-10 Torvald Riegel <triegel@redhat.com>
15763 * scripts/bench.pl: Add include-sources directive.
15764 * benchtests/README: Update documentation.
15766 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15768 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15769 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15770 instead of FP_INIT_ROUNDMODE.
15771 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15772 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15775 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15776 copy class of input value.
15777 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15778 not handle exceptions.
15779 * soft-fp/negsf2.c (__negsf2): Likewise.
15780 * soft-fp/negtf2.c (__negtf2): Likewise.
15781 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15783 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15785 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15786 semicolon. From Linux kernel.
15788 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15790 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15792 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15795 * manual/socket.texi: Added statement about buffer
15796 for gethostbyname2_r.
15798 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15800 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15801 Use .p2align directive instead, throughout.
15802 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15803 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15804 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15805 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15807 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15808 * sysdeps/x86_64/strchr.S: Likewise.
15809 * sysdeps/x86_64/strrchr.S: Likewise.
15811 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15813 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15815 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15817 * sysdeps/generic/math_private.h (__mpsin1): Remove
15819 (__mpcos1): Likewise.
15820 (__mpsin): New argument __range_reduce.
15821 (__mpcos): Likewise.
15822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15823 (slow): Use __mpsin and __mpcos.
15827 (sloww1): Likewise.
15828 (sloww2): Likewise.
15829 (bsloww): Likewise.
15830 (bsloww1): Likewise.
15831 (bsloww2): Likewise.
15832 (cslow2): Likewise.
15833 (csloww): Likewise.
15834 (csloww1): Likewise.
15835 (csloww2): Likewise.
15836 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15837 range_reduce. Merge in __mpsin1.
15838 (__mpcos): Likewise.
15839 (__mpsin1): Remove.
15840 (__mpcos1): Likewise.
15842 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15844 * locale/loadlocale.c (_nl_intern_locale_data): Use
15846 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15847 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15848 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15849 obstack data is appropriately aligned.
15850 (obstack_int32_grow_fast): Likewise.
15851 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15852 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15853 (add_locale_uint32_array): Likewise.
15855 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * benchtests/Makefile: Remove ARGLIST and RET variables.
15858 ($(objpfx)bench-%.c): Pass only function name to the script.
15859 * benchtests/README: Update documentation.
15860 * benchtests/acos-inputs: Add new directives.
15861 * benchtests/acosh-inputs: Likewise.
15862 * benchtests/asin-inputs: Likewise.
15863 * benchtests/asinh-inputs: Likewise.
15864 * benchtests/atan-inputs: Likewise.
15865 * benchtests/atanh-inputs: Likewise.
15866 * benchtests/cos-inputs: Likewise.
15867 * benchtests/cosh-inputs: Likewise.
15868 * benchtests/exp-inputs: Likewise.
15869 * benchtests/log-inputs: Likewise.
15870 * benchtests/pow-inputs: Likewise.
15871 * benchtests/rint-inputs: Likewise.
15872 * benchtests/sin-inputs: Likewise.
15873 * benchtests/sinh-inputs: Likewise.
15874 * benchtests/tan-inputs: Likewise.
15875 * benchtests/tanh-inputs: Likewise.
15876 * scripts/bench.pl: Add support for new directives.
15878 2013-10-07 Alan Modra <amodra@gmail.com>
15880 * README: Fix careless merge.
15882 2013-10-05 Alan Modra <amodra@gmail.com>
15884 * NEWS: Mention powerpc64le support and bugs fixed.
15885 * README: Both big-endian and little-endian powerpc64 supported.
15887 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15889 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15890 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15891 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15892 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15894 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15896 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15899 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15901 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15902 Move -mhard-float appending from
15903 ports/sysdeps/powerpc/powerpc32/Makefile.
15904 [$(with-fp) = yes] (ASFLAGS): Likewise.
15905 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15906 * sysdeps/powerpc/nofpu: Move directory from
15907 ports/sysdeps/powerpc/nofpu.
15908 * sysdeps/powerpc/soft-fp: Move directory from
15909 ports/sysdeps/powerpc/soft-fp.
15910 * sysdeps/powerpc/powerpc32/405: Move directory from
15911 ports/sysdeps/powerpc/powerpc32/405.
15912 * sysdeps/powerpc/powerpc32/440: Move directory from
15913 ports/sysdeps/powerpc/powerpc32/440.
15914 * sysdeps/powerpc/powerpc32/464: Move directory from
15915 ports/sysdeps/powerpc/powerpc32/464.
15916 * sysdeps/powerpc/powerpc32/476: Move directory from
15917 ports/sysdeps/powerpc/powerpc32/476.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15927 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15928 * README: Update for powerpc-*-linux-gnu software floating point
15931 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15932 case to powerpc/powerpc32*.
15933 * sysdeps/unix/sysv/linux/configure: Regenerated.
15935 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15936 (_FPU_MASK_OM): Define as 0x04.
15937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15948 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15951 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15952 and setcontext_e500.
15954 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15956 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15958 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15960 * manual/threads.texi (Default Thread Attributes): Fix typo.
15962 2013-10-04 Will Newton <will.newton@linaro.org>
15964 * malloc/Makefile: Add tst-memalign.
15965 * malloc/tst-memalign.c: New file.
15967 * malloc/tst-posix_memalign.c: Add comments.
15968 (do_test): Add comments and call free on all potentially
15969 allocated pointers. Add space after cast.
15971 * malloc/tst-pvalloc.c: Add comments.
15972 (do_test): Add comments and call free on all potentially
15973 allocated pointers. Remove duplicate check for NULL pointer.
15974 Add space after cast.
15976 * malloc/tst-valloc.c: Add comments.
15977 (do_test): Add comments and call free on all potentially
15978 allocated pointers. Remove duplicate check for NULL pointer.
15979 Add space after cast.
15981 2013-10-04 Alan Modra <amodra@gmail.com>
15983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15984 Use stdint types in rather than __attribute__((mode())).
15985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15987 2013-10-04 Alan Modra <amodra@gmail.com>
15989 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15990 Correct handling of unaligned relocs for little-endian.
15991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15993 2013-10-04 Alan Modra <amodra@gmail.com>
15995 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15996 * configure: Regenerate.
15997 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15998 * shlib-versions: Likewise.
16000 2013-10-04 Alan Modra <amodra@gmail.com>
16002 * string/tester.c (test_memrchr): Increment reported test cycle.
16004 2013-10-04 Alan Modra <amodra@gmail.com>
16006 * string/test-memcpy.c (do_one_test): When reporting errors, print
16007 string address and don't overrun end of string.
16009 2013-10-04 Alan Modra <amodra@gmail.com>
16011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16012 insrdi. Make better use of reg selection to speed exit slightly.
16013 Schedule entry path a little better. Remove useless "are we done"
16014 checks on entry to main loop. Handle wrapping around zero address.
16015 Correct main loop count. Handle single left-over word from main
16016 loop inline rather than by using loop_small. Remove extra word
16017 case in loop_small caused by wrong loop count. Add little-endian
16019 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16024 support. Avoid rlwimi.
16025 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16027 2013-10-04 Alan Modra <amodra@gmail.com>
16029 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16030 insrdi. Formatting.
16031 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16032 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16033 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16035 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16036 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16038 2013-10-04 Alan Modra <amodra@gmail.com>
16040 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16049 use of regs. Use power7 mtocrf. Tidy function tails.
16051 2013-10-04 Alan Modra <amodra@gmail.com>
16053 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16054 Formatting. Consistently use rXXX register defines or rN defines.
16055 Use early exit labels that avoid restoring unused non-volatile regs.
16056 Make cr field use more consistent with rWORDn compares. Rename
16057 regs used as shift registers for unaligned loop, using rN defines
16058 for short lifetime/multiple use regs.
16059 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16061 addi 1,1,64 to pop stack frame. Simplify return value code.
16062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16064 2013-10-04 Alan Modra <amodra@gmail.com>
16066 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16067 support. Correct typos, formatting. Optimize tail. Use insrdi
16068 rather than rlwimi.
16069 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16070 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16071 little-endian support. Correct typos.
16072 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16073 rather than rlwimi.
16074 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16075 in loop and entry code to keep "and." results.
16076 (strchr): Add little-endian support. Comment. Move cntlzd
16078 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16080 2013-10-04 Alan Modra <amodra@gmail.com>
16082 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16083 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16084 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16085 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16087 2013-10-04 Alan Modra <amodra@gmail.com>
16089 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16090 (rTMP): Define as r11.
16091 (strcmp): Add little-endian support. Optimise tail.
16092 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16093 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16094 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16095 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16100 2013-10-04 Alan Modra <amodra@gmail.com>
16102 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16103 little-endian support. Remove unnecessary "are we done" tests.
16104 Handle "s" wrapping around zero and extremely large "size".
16105 Correct main loop count. Handle single left-over word from main
16106 loop inline rather than by using small_loop. Correct comments.
16107 Delete "zero" tail, use "end_max" instead.
16108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16110 2013-10-04 Alan Modra <amodra@gmail.com>
16112 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16113 support. Don't branch over align.
16114 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16115 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16116 support. Rearrange tmp reg use to suit. Comment.
16117 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16119 2013-10-04 Alan Modra <amodra@gmail.com>
16121 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16123 2013-10-04 Alan Modra <amodra@gmail.com>
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16126 conditional form of branch and link when obtaining pc.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16129 2013-10-04 Alan Modra <amodra@gmail.com>
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16136 2013-10-04 Alan Modra <amodra@gmail.com>
16138 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16139 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16140 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16141 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16142 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16143 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16145 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16146 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16147 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16149 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16150 Alistair Popple <alistair@ozlabs.au.ibm.com>
16151 Alan Modra <amodra@gmail.com>
16154 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16155 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16156 _dl_hwcap access for little-endian.
16157 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16158 destroy vmx regs when saving unaligned.
16159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16160 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16161 destroy vmx regs when saving unaligned.
16163 2013-10-04 Alan Modra <amodra@gmail.com>
16165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16166 Don't use a union to pack hi/low value.
16168 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16170 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16172 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16174 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16176 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16178 2013-10-04 Alan Modra <amodra@gmail.com>
16180 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16181 constants to usual value for .cst8 section, and remove redundant
16183 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16184 constant for 0x1p52. Load little-endian words of double from
16185 correct stack offsets.
16187 2013-10-04 Alan Modra <amodra@gmail.com>
16189 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16190 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16191 words of double from correct stack offsets.
16192 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16193 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16194 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16197 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16199 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16200 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16204 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16205 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16206 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16207 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16208 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16210 2013-10-04 Alan Modra <amodra@gmail.com>
16212 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16213 64-bit int/double union.
16214 (_FPU_SETCW): Likewise.
16215 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16216 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16218 2013-10-04 Alan Modra <amodra@gmail.com>
16220 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16221 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16223 2013-10-04 Alan Modra <amodra@gmail.com>
16225 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16226 use vector int constants.
16227 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16229 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16231 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16232 array with long long.
16233 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16234 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16235 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16236 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16237 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16238 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16239 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16240 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16241 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16242 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16243 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16244 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16245 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16247 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16249 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16250 (__signbit): Likewise. Correct for little-endian.
16251 (__signbitl): Call __signbit.
16252 (lrint): Correct for little-endian.
16253 (lrintf): Call lrint.
16255 2013-10-04 Alan Modra <amodra@gmail.com>
16257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16258 union 32-bit int array member with 64-bit int array.
16259 (t515, tm256): Double rather than long double.
16260 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16262 2013-10-04 Alan Modra <amodra@gmail.com>
16264 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16266 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16268 version of math_ldbl.h.
16270 2013-10-04 Alan Modra <amodra@gmail.com>
16272 [BZ #15734], [BZ #15735]
16273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16274 all uses of ieee875 long double macros and unions. Simplify test
16275 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16276 ldbl_extract_mantissa value for ix,iy exponents. Properly
16277 normalize after ldbl_extract_mantissa, and don't add hidden bit
16278 already handled. Don't treat low word of ieee854 mantissa like
16279 low word of IBM long double and mask off bit when testing for
16281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16282 all uses of ieee875 long double macros and unions. Simplify tests
16283 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16284 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16285 two1022, instead use their values. Recognise that tests for large
16286 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16288 Rewrite all uses of ieee875 long double macros and unions. Simplify
16289 test for 0.0L and nan. Correct negation.
16290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16291 ieee875 long double macros and unions. Correct output for large
16292 magnitude x. Correct absolute value calculation.
16293 (__erfcl): Likewise.
16294 * math/libm-test.inc: Add tests for errors discovered in IBM long
16295 double versions of fmodl, remainderl, erfl and erfcl.
16297 2013-10-04 Alan Modra <amodra@gmail.com>
16299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16300 all uses of ieee854 long double macros and unions. Simplify tests
16301 for long doubles that are fully specified by the high double.
16302 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16304 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16305 Remove dead code too.
16306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16307 (__ieee754_ynl): Likewise.
16308 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16311 Remove dead code too.
16312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16322 Comment on variable precision.
16323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16326 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16332 2013-10-04 Alan Modra <amodra@gmail.com>
16334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16335 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16336 all uses of ieee854 long double macros and unions.
16337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16350 Simplify sign and nan test too.
16351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16356 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16366 2013-10-04 Alan Modra <amodra@gmail.com>
16368 * stdio-common/printf_size.c (__printf_size): Don't use
16369 union ieee854_long_double in fpnum union.
16370 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16371 signbit macro to retrieve sign from long double.
16372 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16373 retrieve sign from long double.
16374 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16375 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16377 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16378 * math/test-misc.c (main): Don't use union ieee854_long_double.
16380 2013-10-04 Alan Modra <amodra@gmail.com>
16383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16385 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16386 calculation. Remove unnecessary test for denormal exponent.
16387 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16388 Correct handling of denormals. Avoid undefined shift behaviour.
16389 Correct normalisation of low mantissa when low double is denormal.
16390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16391 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16392 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16393 Correct normalisation of low mantissa. Test for overflow of high
16394 mantissa and normalise.
16395 (ldbl_nearbyint): Use more readable constant for two52.
16396 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16397 (__mpn_construct_long_double): Fix test for overflow of high
16398 mantissa and correct normalisation. Avoid undefined shift.
16400 2013-10-04 Alan Modra <amodra@gmail.com>
16402 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16403 (union ibm_extended_long_double): Define as an array of ieee754_double.
16404 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16405 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16406 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16407 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16416 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16418 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16419 page size instead of calling getpagesize.
16421 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16422 (LOCFILE_ALIGN_MASK): Likewise.
16423 (LOCFILE_ALIGN_UP): Likewise.
16424 (LOCFILE_ALIGNED_P): Likewise.
16425 * locale/programs/ld-collate.c (collate_output): Use the new
16426 macros instead of __alignof__ (int32_t).
16427 * locale/weight.h (findidx): Likewise.
16429 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16432 * manual/string.texi: Fix strncat and wcsncat.
16434 2013-10-03 Brooks Moses <bmoses@google.com>
16437 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16438 * Makerules: ...here, and adjust associated comments.
16440 2013-10-02 Will Newton <will.newton@linaro.org>
16442 * malloc/Makefile: Add tst-pvalloc.
16443 * malloc/tst-pvalloc.c: New file.
16445 2013-10-02 Will Newton <will.newton@linaro.org>
16447 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16448 improve test coverage.
16450 2013-10-02 Will Newton <will.newton@linaro.org>
16452 * malloc/Makefile: Add tst-posix_memalign.
16453 * malloc/tst-posix_memalign.c: New file.
16455 2013-10-01 Eric Blake <eblake@redhat.com>
16457 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16458 Use __THROWNL rather than __THROW on static functions.
16460 2013-09-30 Petr Machata <pmachata@redhat.com>
16462 * elf/elf.h (R_AARCH64_ABS16): New macro.
16463 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16464 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16465 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16466 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16467 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16468 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16469 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16470 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16471 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16472 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16473 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16474 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16475 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16476 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16477 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16478 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16479 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16480 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16481 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16482 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16483 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16484 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16485 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16486 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16487 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16488 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16489 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16490 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16491 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16492 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16493 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16494 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16495 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16496 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16497 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16498 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16499 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16500 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16501 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16502 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16503 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16504 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16505 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16506 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16507 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16508 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16509 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16510 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16511 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16512 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16513 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16514 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16515 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16516 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16517 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16518 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16519 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16520 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16521 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16522 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16523 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16524 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16525 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16526 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16527 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16528 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16529 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16530 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16531 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16532 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16533 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16534 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16535 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16536 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16537 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16538 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16539 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16540 (R_AARCH64_TLSDESC_LDR): Likewise.
16541 (R_AARCH64_TLSDESC_ADD): Likewise.
16542 (R_AARCH64_TLSDESC_CALL): Likewise.
16544 2013-09-30 Andreas Schwab <schwab@suse.de>
16547 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16548 the nss database lookup.
16549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16552 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16554 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16556 2013-09-28 P. J. McDermott <pj@pehjota.net>
16558 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16559 ${Bash-specific parameter/pattern/string} parameter expansion.
16560 * sysdeps/unix/make-syscalls.sh: Likewise.
16562 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16564 * sysdeps/sh/stackguard-macros.h: New file.
16566 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16570 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16573 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16575 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16577 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16578 Fix thread ID register.
16580 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16582 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16583 [POSIX || UNIX98]: Require rather than permitting all symbols from
16585 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16586 element of struct sched_param.
16587 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16588 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16589 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16590 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16593 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16595 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16596 argument calculation.
16598 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16600 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16602 [POSIX] (pthread_attr_t): Do not require type.
16603 [POSIX] (pthread_cond_t): Likewise.
16604 [POSIX] (pthread_condattr_t): Likewise.
16605 [POSIX] (pthread_key_t): Likewise.
16606 [POSIX] (pthread_mutex_t): Likewise.
16607 [POSIX] (pthread_mutexattr_t): Likewise.
16608 [POSIX] (pthread_once_t): Likewise.
16609 [POSIX] (pthread_t): Likewise.
16610 [POSIX-based standards] (pthread_atfork): Expect function.
16612 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16613 Richard Sandiford <richard@codesourcery.com>
16615 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16616 (swap_endianness_p): New extern variable.
16617 (set_big_endian): New inline function.
16618 (maybe_swap_uint32): Likewise.
16619 (maybe_swap_uint32_array): Likewise.
16620 (maybe_swap_uint32_obstack): Likewise.
16621 * locale/programs/locfile.c: Include <stdbool.h>.
16622 (swap_endianness_p): New variable.
16623 (add_locale_uint32): Call maybe_swap_uint32.
16624 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16625 (write_locale_data): Call maybe_swap_uint32_array.
16626 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16628 (obstack_int32_grow_fast): Likewise.
16629 (output_weightwc): Call maybe_swap_uint32_obstack.
16630 (collate_output): Likewise.
16631 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16632 (OPT_LITTLE_ENDIAN): Likewise.
16633 (options): Add --little-endian and --big-endian options.
16634 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16635 * locale/programs/locarchive.c: Include "locfile.h".
16639 (create_archive): Use the new macros to access fields of
16640 structures directly mapped from or written to locale archives.
16641 (oldlocrecentcmp): Likewise.
16642 (enlarge_archive): Likewise.
16643 (insert_name): Likewise.
16644 (add_alias): Likewise.
16645 (add_locale): Likewise.
16646 (delete_locales_from_archive): Likewise.
16647 (show_archive_content): Likewise.
16648 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16651 2013-09-24 Roland McGrath <roland@hack.frob.com>
16653 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16654 http://www.gnu.org/doc/freemanuals.texi.
16655 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16657 2013-09-24 Will Newton <will.newton@linaro.org>
16659 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16662 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16664 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16667 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16669 * manual/threads.texi (POSIX Threads): Fix a typo.
16671 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16674 * string/tst-strcoll-overflow.c: New test case.
16675 * string/Makefile (xtests): Add tst-strcoll-overflow.
16676 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16677 cache if string sizes may cause integer overflow.
16680 * string/strcoll_l.c (coll_seq): New members rule, idx,
16681 save_idx and back_us.
16682 (get_next_seq_nocache): New function.
16683 (do_compare_nocache): New function.
16684 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16687 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16690 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16691 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16692 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16695 * elf/Makefile (tests): Add tst-ptrguard1.
16696 (tests-static): Add tst-ptrguard1-static.
16697 (tst-ptrguard1-ARGS): Define.
16698 (tst-ptrguard1-static-ARGS): Define.
16699 * elf/tst-ptrguard1.c: New file.
16700 * elf/tst-ptrguard1-static.c: New file.
16701 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16702 * sysdeps/i386/stackguard-macros.h: Likewise.
16703 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16704 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16705 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16706 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16707 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16708 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16710 2013-09-23 Hector Marco <hecmargi@upv.es>
16711 Ismael Ripoll <iripoll@disca.upv.es>
16712 Carlos O'Donell <carlos@redhat.com>
16715 * sysdeps/generic/stackguard-macros.h: Define
16716 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16717 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16718 Define __pointer_chk_guard_local.
16719 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16720 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16722 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16725 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16727 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16729 * include/string.h (__ffs): Declare as hidden.
16730 * string/ffs.c (__ffs): Define as hidden.
16731 * sysdeps/i386/ffs.c (__ffs): Likewise.
16732 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16733 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16734 * sysdeps/s390/ffs.c (__ffs): Likewise.
16735 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16737 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16739 * NEWS: Mention malloc probes.
16741 * malloc/arena.c (new_heap): New memory_heap_new probe.
16742 (grow_heap): New memory_heap_more probe.
16743 (shrink_heap): New memory_heap_less probe.
16744 (heap_trim): New memory_heap_free probe.
16745 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16746 (systrim): New memory_sbrk_less probe.
16747 * manual/probes.texi: Document them.
16749 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16750 * manual/probes.texi: Document it.
16752 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16753 (__libc_realloc): Add memory_realloc_retry probe.
16754 (__libc_memalign): Add memory_memalign_retry probe.
16755 (__libc_valloc): Add memory_valloc_retry probe.
16756 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16757 (__libc_calloc): Add memory_calloc_retry probe.
16758 * manual/probes.texi: Document them.
16760 * malloc/arena.c (get_free_list): Add probe
16761 memory_arena_reuse_free_list.
16762 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16763 and memory_arena_reuse.
16764 (arena_get2) [!PER_THREAD]: Likewise.
16765 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16766 memory_arena_reuse_realloc.
16767 * manual/probes.texi: Document them.
16769 * malloc/malloc.c (__libc_free): Add
16770 memory_mallopt_free_dyn_thresholds probe.
16771 (__libc_mallopt): Add multiple memory_mallopt probes.
16772 * manual/probes.texi: Document them.
16774 * malloc/malloc.c: Include stap-probe.h.
16775 (__libc_mallopt): Add memory_mallopt probe.
16776 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16777 * manual/probes.texi: New.
16778 * manual/Makefile (chapters): Add probes.
16779 * manual/threads.texi: Set next node.
16781 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16783 [BZ #15963, #13985]
16784 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16785 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16786 Add `Chinese' to `nan' entry name.
16788 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16790 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16791 (POLYNOMIAL): Likewise.
16792 (TAYLOR_SINCOS): Likewise.
16793 (TAYLOR_SLOW): Likewise.
16794 (__sin): Use TAYLOR_SINCOS.
16796 (slow): Use TAYLOR_SLOW.
16798 (bsloww): Likewise.
16799 (csloww): Likewise.
16801 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16803 * stdlib/strtod_l.c: Fix buffer overrun.
16805 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16807 * benchtests/Makefile (bench): Add sincos.
16808 * benchtests/bench-sincos.c: New file.
16810 * math/libm-test.inc (cos_test_data): New test inputs.
16811 (sin_test_data): Likewise.
16813 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16819 (sloww1): Likewise.
16820 (sloww2): Likewise.
16821 (bsloww1): Likewise.
16822 (bsloww2): Likewise.
16823 (cslow2): Likewise.
16824 (csloww1): Likewise.
16825 (csloww2): Likewise.
16827 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16836 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16838 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16839 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16840 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16841 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16842 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16843 * elf/cache.c (print_entry): Handle the new cache flags.
16845 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16846 Aldy Hernandez <aldyh@redhat.com>
16848 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16849 Change condition to [_SOFT_FLOAT].
16850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16862 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16865 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16868 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16870 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16871 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16872 (__longjmp): Use LOAD_GP to load saved GPRs.
16873 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16874 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16875 (__sigsetjmp): Use SAVE_GP to save GPRs.
16877 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16878 Do not append -msoft-float.
16879 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16881 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16883 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16885 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16888 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16889 (_FPU_GETCW): Use initial "__" on variable and field names but not
16890 on macro parameter name.
16891 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16892 parentheses around reference to macro parameter.
16894 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16896 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16898 (ctype_startup): Use uint32_t in cast and sizeof for
16901 2013-09-11 Jia Liu <proljc@gmail.com>
16903 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16905 [__FreeBSD__]: Likewise.
16907 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16910 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16911 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16912 (strchr): Remove __strchr_sse42 ifunc selection.
16913 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16914 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16916 2013-09-11 Will Newton <will.newton@linaro.org>
16918 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16919 parameter to RES. Remove hardcoded 1000 value.
16920 * benchtests/bench-skeleton.c (main): Pass RES parameter
16921 to TIMING_INIT and multiply result by 1000.
16923 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16927 2013-09-11 Andreas Schwab <schwab@suse.de>
16929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16931 (O_TMPFILE) [__USE_GNU]: Define.
16932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16935 2013-09-11 Will Newton <will.newton@linaro.org>
16938 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16941 2013-09-11 Will Newton <will.newton@linaro.org>
16944 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16947 2013-09-11 Will Newton <will.newton@linaro.org>
16950 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16953 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16955 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16961 2013-09-10 Allan McRae <allan@archlinux.org>
16964 * manual/arith.texi (Parsing of Floats): Clarify
16968 * manual/install.texi (Running make install): Mention
16970 * INSTALL: Regenerated.
16972 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16974 * csu/init-first.c (_init): Remove the !SHARED condition around
16975 FPU control word initialization.
16976 * elf/dl-support.c (_dl_fpu_control): New variable.
16977 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16978 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16979 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16980 * math/test-fpucw-static.c: New file.
16981 * math/test-fpucw-ieee.c: New file.
16982 * math/test-fpucw-ieee-static.c: New file.
16983 * math/Makefile (tests): Add `test-fpucw-ieee' and
16985 (tests-static): New variable.
16986 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16988 [($(build-shared),yes)]
16989 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16991 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16994 2013-09-09 Allan McRae <allan@archlinux.org>
16997 * manual/string.texi (Collation Functions): Fix typo in
16999 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17002 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17005 * libio/memstream.c (open_memstream): Fix memory leak.
17006 * libio/wmemstream.c (open_wmemstream): Likewise.
17009 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17011 2013-09-09 Will Newton <will.newton@linaro.org>
17013 * malloc/Makefile: Add tst-realloc to tests.
17014 * malloc/tst-realloc.c: New file.
17016 2013-09-09 Allan McRae <allan@archlinux.org>
17019 * COPYING: Update from GNU website to fix FSF address.
17020 * COPYING.LIB: Likewise.
17022 2013-09-06 David S. Miller <davem@davemloft.net>
17024 * po/zh_TW.po: Update Chinese (traditional) translation from
17025 translation project.
17027 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17028 Joseph Myers <joseph@codesourcery.com>
17030 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17032 (obstack_chunk_alloc): New macro.
17033 (obstack_chunk_free): Likewise.
17034 (record_offset): New function.
17035 (init_locale_data): Likewise.
17036 (align_locale_data): Likewise.
17037 (add_locale_empty): Likewise.
17038 (add_locale_raw_data): Likewise.
17039 (add_locale_raw_obstack): Likewise.
17040 (add_locale_string): Likewise.
17041 (add_locale_wstring): Likewise.
17042 (add_locale_uint32): Likewise.
17043 (add_locale_uint32_array): Likewise.
17044 (add_locale_char): Likewise.
17045 (start_locale_structure): Likewise.
17046 (end_locale_structure): Likewise.
17047 (start_locale_prelude): Likewise.
17048 (end_locale_prelude): Likewise.
17049 (write_locale_data): Take locale_file structure rather than an
17051 * locale/programs/locfile.h: Include "obstack.h".
17052 (struct locale_file): Change to store locale file contents instead
17054 (init_locale_data): New prototype.
17055 (align_locale_data): Likewise.
17056 (add_locale_empty): Likewise.
17057 (add_locale_raw_data): Likewise.
17058 (add_locale_raw_obstack): Likewise.
17059 (add_locale_string): Likewise.
17060 (add_locale_wstring): Likewise.
17061 (add_locale_uint32): Likewise.
17062 (add_locale_uint32_array): Likewise.
17063 (add_locale_char): Likewise.
17064 (start_locale_structure): Likewise.
17065 (end_locale_structure): Likewise.
17066 (start_locale_prelude): Likewise.
17067 (end_locale_prelude): Likewise.
17068 (write_locale_data): Update prototype.
17069 * locale/programs/3level.h (struct TABLE): Remove result field.
17070 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17071 Use new locale_file interface.
17072 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17073 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17074 * locale/programs/ld-address.c (address_output): Use new
17075 locale_file interface.
17076 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17078 (collate_finish): Don't call collseq_table_finalize.
17079 (collate_output): Use new locale_file interface.
17080 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17082 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17083 (TABLE): Move defines earlier in file.
17084 (ELEMENT): Likewise.
17085 (DEFAULT): Likewise.
17086 (wctrans_table_add): Move macro and inline function earlier in
17088 (struct wctype_table): Move type earlier in file.
17089 (add_locale_wctype_table): New static prototype.
17090 (struct locale_ctype_t): Use logical types instead of struct iovec
17091 pointers for members.
17092 (ctype_output): Use new locale_file interface.
17093 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17094 new locale_file interface.
17095 (allocate_arrays): Update for use of new locale_file interface.
17096 * locale/programs/ld-identification.c (identification_output): Use
17097 new locale_file interface.
17098 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17099 * locale/programs/ld-messages.c (messages_output): Likewise.
17100 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17101 * locale/programs/ld-name.c (name_output): Likewise.
17102 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17103 * locale/programs/ld-paper.c (paper_output): Likewise.
17104 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17105 * locale/programs/ld-time.c (time_output): Likewise.
17107 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17109 * benchtests/Makefile: Add memrchr benchmark.
17110 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17111 benchmark as memrchr.
17112 * benchtests/bench-memrchr-ifunc.c: New file.
17113 * benchtests/bench-memrchr.c: New file.
17115 2013-09-06 Will Newton <will.newton@linaro.org>
17117 * benchtests/Makefile (string-bench): Add memcpy.
17119 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17120 Cong Wang <amwang@redhat.com>
17123 * sysdeps/unix/sysv/linux/bits/in.h
17124 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17125 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17126 before __USE_KERNEL_IPV6_DEFS uses.
17127 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17129 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17130 sockaddr_in6, or ipv6_mreq.
17132 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17134 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17135 memory access for final bytes in some large inputs.
17136 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17138 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140 * string/test-memrchr.c: New file.
17141 * string/test-memrchr-ifunc.c: New file.
17142 * string/Makefile: Add new memrchr testcase.
17144 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17146 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17147 fanotify_init returns EPERM.
17149 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17151 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17153 (top level): Treat second token from macro or constant entries for
17154 allowed headers as allowed.
17155 * include/complex.h: Condition internal declarations on
17157 * include/fenv.h: Condition include of <stdbool.h> and internal
17158 declarations on [!_ISOMAC].
17160 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17163 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17165 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17167 * configure.in (--enable-versioning): Remove configure option.
17168 (libc_cv_asm_symver_directive): Remove configure test.
17169 (libc_cv_ld_version_script_option): Likewise.
17170 (VERSIONING): Remove variable and AC_SUBST.
17171 (DO_VERSIONING): Remove AC_DEFINE.
17172 * configure: Regenerated.
17173 * config.h.in (DO_VERSIONING): Remove macro.
17174 * Makerules [$(versioning) = yes]: Change conditionals to
17175 [$(build-shared) = yes].
17176 * config.make.in (versioning): Remove variable.
17177 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17178 [$(build-shared) = yes].
17179 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17180 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17181 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17182 [$(build-shared) = yes].
17183 * extra-lib.mk [$(versioning) = yes]: Likewise.
17184 * hurd/Makefile [$(versioning) = yes]: Likewise.
17185 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17187 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17189 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17190 [SHARED && !NO_HIDDEN].
17191 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17193 [SHARED && DO_VERSIONING]: Likewise..
17194 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17195 [$(build-shared) = yes].
17196 * manual/install.texi (--disable-versioning): Remove
17198 * INSTALL: Regenerated.
17199 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17201 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17202 [$(build-shared) = yes].
17203 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17204 * sysdeps/i386/i686/multiarch/strstr-c.c
17205 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17206 [SHARED && !NO_HIDDEN].
17207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17208 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17209 * sysdeps/powerpc/powerpc32/dl-machine.c
17210 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17211 * sysdeps/powerpc/powerpc32/sysdep.h
17212 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17213 to [SHARED && PIC && !NO_HIDDEN].
17214 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17215 conditional to [SHARED].
17217 2013-09-04 Will Newton <will.newton@linaro.org>
17219 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17220 * benchtests/bench-string.h: Include bench-timing.h instead
17221 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17222 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17223 call to HP_TIMING_DIFF_INIT.
17224 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17225 instead of hp-timing.h macros.
17226 * benchtests/bench-memchr.c: Likewise.
17227 * benchtests/bench-memcmp.c: Likewise.
17228 * benchtests/bench-memcpy.c: Likewise.
17229 * benchtests/bench-memmem.c: Likewise.
17230 * benchtests/bench-memmove.c: Likewise.
17231 * benchtests/bench-memset.c: Likewise.
17232 * benchtests/bench-rawmemchr.c: Likewise.
17233 * benchtests/bench-strcasecmp.c: Likewise.
17234 * benchtests/bench-strcasestr.c: Likewise.
17235 * benchtests/bench-strcat.c: Likewise.
17236 * benchtests/bench-strchr.c: Likewise.
17237 * benchtests/bench-strcmp.c: Likewise.
17238 * benchtests/bench-strcpy.c: Likewise.
17239 * benchtests/bench-strcpy_chk.c: Likewise.
17240 * benchtests/bench-strlen.c: Likewise.
17241 * benchtests/bench-strncasecmp.c: Likewise.
17242 * benchtests/bench-strncat.c: Likewise.
17243 * benchtests/bench-strncmp.c: Likewise.
17244 * benchtests/bench-strncpy.c: Likewise.
17245 * benchtests/bench-strnlen.c: Likewise.
17246 * benchtests/bench-strpbrk.c: Likewise.
17247 * benchtests/bench-strrchr.c: Likewise.
17248 * benchtests/bench-strspn.c: Likewise.
17249 * benchtests/bench-strstr.c: Likewise.
17251 2013-09-04 Will Newton <will.newton@linaro.org>
17253 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17255 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17259 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17260 * math/libm-test.inc (lgamma_test_data): Add more tests.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17266 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17270 Add strcmp-sse2-unaligned
17271 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17273 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17275 * Versions.def (libc): Add GLIBC_2.19.
17277 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17279 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17282 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17286 intermediate calculations in recurrence.
17287 (__ieee754_ynf): Likewise.
17288 * math/libm-test.inc (jn_test_data): Do not allow spurious
17289 underflow exception. Add more tests.
17290 (yn_test_data): Add more tests.
17291 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17294 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17298 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17300 * csu/init-first.c: Fix then/than typos.
17301 * locale/programs/ld-collate.c: Likewise.
17302 * locale/programs/linereader.h: Likewise.
17303 * manual/charset.texi: Likewise.
17304 * manual/filesys.texi: Likewise.
17305 * manual/stdio.texi: Likewise.
17306 * manual/string.texi: Likewise.
17307 * stdlib/fmtmsg.c: Likewise.
17308 * sysdeps/i386/stpncpy.S: Likewise.
17309 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17314 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17316 * elf/dl-open.c: Fix typos.
17317 * iconvdata/gbbig5.c: Likewise.
17318 * iconvdata/iso-2022-jp.c: Likewise.
17319 * iconv/gconv_int.h: Likewise.
17320 * iconv/loop.c: Likewise.
17321 * nis/rpcsvc/nis.h: Likewise.
17322 * resolv/ns_name.c: Likewise.
17323 * stdio-common/vfscanf.c: Likewise.
17324 * streams/stropts.h: Likewise.
17325 * sunrpc/rpc_thread.c: Likewise.
17326 * sysdeps/i386/strpbrk.S: Likewise.
17327 * sysdeps/ieee754/k_standard.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17330 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17331 * sysdeps/mach/hurd/profil.c: Likewise.
17332 * sysdeps/s390/dl-procinfo.h: Likewise.
17333 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17336 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17339 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17341 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17344 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17347 aix specific files.
17348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17353 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17357 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17358 Roland McGrath <roland@hack.frob.com>
17360 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17363 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17365 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17366 __executable_start symbol instead of _start.
17368 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17370 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17371 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17373 * sysdeps/gnu/ldsodefs.h: ... this new file.
17375 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17376 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17377 instead of ELFOSABI_LINUX.
17379 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17380 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17381 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17382 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17384 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17385 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17388 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17389 (ibm_extended_long_double): Add ieee_nan member.
17390 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17391 (do_test): New function.
17393 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17395 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17396 functions, renamed from truncdfsf_test, trunctfsf_test,
17398 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17400 (do_test): Run all these.
17402 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17404 * argp/argp-help.c: Fix typos.
17405 * argp/argp-parse.c: Likewise.
17406 * debug/backtracesyms.c: Likewise.
17407 * elf/elf.h: Likewise.
17408 * malloc/malloc.c: Likewise.
17409 * nis/nis_print.c: Likewise.
17410 * resolv/res_comp.c: Likewise.
17411 * stdlib/stdlib.h: Likewise.
17412 * sunrpc/clnt_tcp.c: Likewise.
17413 * sunrpc/clnt_udp.c: Likewise.
17414 * sunrpc/clnt_unix.c: Likewise.
17415 * sysdeps/unix/bsd/ptsname.c: Likewise.
17416 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17426 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17428 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17431 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17434 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17435 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17436 ($(objpfx)bug-dl-leaf): New rule.
17437 ($(objpfx)bug-dl-leaf.so): Likewise.
17438 ($(objpfx)bug-dl-leaf.out): Likewise.
17439 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17440 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17441 * dlfcn/bug-dl-leaf.c: New test.
17442 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17443 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17444 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17445 (dlclose): Likewise.
17446 (dlmopen): Likewise.
17448 2013-08-27 Roland McGrath <roland@hack.frob.com>
17450 * include/netdb.h [!_ISOMAC]:
17451 Don't include <tls.h>.
17452 (h_errno, __libc_h_errno): Move declaration and macros out of
17455 * include/resolv.h [_RESOLV_H_]:
17456 Don't include <tls.h>.
17457 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17458 * resolv/res_libc.c: Don't include <tls.h>.
17459 (_res): Use __attribute__ ((nocommon)) in place of
17460 __attribute__ ((section (".bss"))).
17462 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17463 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17465 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17467 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17468 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17470 * resolv/res_mkquery.c: Include <sys/time.h>.
17472 * inet/ifreq.c: Moved to ...
17473 * sysdeps/unix/ifreq.c: ... here.
17474 * inet/ifreq.c: New file, true stub version.
17476 * socket/sa_len.c: New file.
17477 * socket/Makefile (aux): Add it.
17478 * sysdeps/unix/sysv/linux/Makefile
17479 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17480 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17481 and #include <socket/sa_len.c>.
17482 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17483 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17485 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17486 * bits/socket.h: ... here.
17488 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17489 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17490 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17492 2013-08-27 Andreas Schwab <schwab@suse.de>
17495 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17496 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17497 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17498 * string/test-strcasecmp.c (test_main): Run tests in several
17500 * string/test-strncasecmp.c (test_main): Likewise.
17502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17503 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17504 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17506 (__strncasecmp_ssse3) [PIC]: Likewise.
17508 2013-08-26 Roland McGrath <roland@hack.frob.com>
17510 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17512 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17513 instead of explicitly declaring xdecrypt.
17514 * nis/nss_nis/nis-publickey.c: Likewise.
17516 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17519 * nscd/aicache.c: Include res_hconf.h.
17520 (addhstaiX): Initialize res_hconf.
17522 2013-08-26 Andreas Schwab <schwab@suse.de>
17524 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17525 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17527 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17529 * nscd/aicache.c (addhstaiX): Fix indentation.
17531 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17533 * configure.ac: Quote $build_pt_chown test.
17534 * configure: Regenerated.
17536 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17539 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17540 * math/s_cexpf.c (__cexpf): Likewise.
17541 * math/s_cexpl.c (__cexpl): Likewise.
17542 * math/libm-test.inc (cexp_test_data): Correct expected return
17543 value for NaN + i0. Add another test.
17545 2013-08-22 David S. Miller <davem@davemloft.net>
17547 * po/ca.po: Update Catalan translation from translation project.
17548 * po/uk.po: Add Ukrainian translations from translation project.
17550 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17553 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17554 is infinite, not alongside NaN test.
17555 * math/s_fdimf.c (__fdimf): Likewise.
17556 * math/s_fdiml.c (__fdiml): Likewise.
17557 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17558 errno is unchanged.
17560 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17562 * argp/argp-help.c: Fix typos.
17563 * crypt/speeds.c: Likewise.
17564 * csu/check_fds.c: Likewise.
17565 * elf/dl-load.c: Likewise.
17566 * elf/dl-open.c: Likewise.
17567 * elf/reldep3.c: Likewise.
17568 * elf/reldep.c: Likewise.
17569 * elf/sprof.c: Likewise.
17570 * iconv/iconv_charmap.c: Likewise.
17571 * iconv/skeleton.c: Likewise.
17572 * iconv/strtab.c: Likewise.
17573 * io/lockf64.c: Likewise.
17574 * libio/libioP.h: Likewise.
17575 * resolv/gai_notify.c: Likewise.
17576 * resolv/ns_name.c: Likewise.
17577 * resolv/ns_samedomain.c: Likewise.
17578 * resolv/res_send.c: Likewise.
17579 * stdlib/random.c: Likewise.
17580 * sunrpc/rpc/xdr.h: Likewise.
17581 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17589 * sysdeps/mach/hurd/check_fds.c: Likewise.
17590 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17592 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17595 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17596 * sysdeps/pthread/aio_notify.c: Likewise.
17597 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17598 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17601 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17603 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17605 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17606 version if bit_Slow_SSE4_2 is set.
17607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17613 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17614 trampoline stack frame information.
17615 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17617 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17618 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17619 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17620 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17621 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17622 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17624 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17625 interrupting a syscall and set with option SA_SIGINFO.
17627 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17630 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17631 argument is infinite.
17632 * math/s_cprojf.c (__cprojf): Likewise.
17633 * math/s_cprojl.c (__cprojl): Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17635 * math/libm-test.inc (cproj_test_data): Add more tests.
17637 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17639 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17640 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17641 size. Use __ffs to determine corresponding shift.
17643 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17644 Roland McGrath <roland@hack.frob.com>
17646 * Makefile (INSTALL): Remove trailing blank lines from output of
17649 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17651 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17652 Align 32 bit compat elf_greg to 8 bytes.
17654 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17656 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17658 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17660 * string/strcoll_l.c (coll_seq): New structure.
17661 (get_next_seq_cached): New function.
17662 (get_next_seq): New function.
17663 (do_compare): New function.
17664 (STRCOLL): Use GNU style definition. Simplify implementation
17665 by using get_next_seq, get_next_seq_cached and do_compare.
17667 2013-08-16 Florian Weimer <fweimer@redhat.com>
17671 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17673 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17675 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17676 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17677 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17679 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17680 GETDENTS_64BIT_ALIGNED.
17681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17682 * manual/filesys.texi (Reading/Closing Directory): Document
17683 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17685 * manual/conf.texi (Limits for Files): Add portability note to
17686 NAME_MAX, PATH_MAX.
17687 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17689 2013-08-13 Andreas Schwab <schwab@suse.de>
17692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17694 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17695 LDBL_MAX_EXP >= 16384]: Add tests for it.
17697 2013-08-12 David S. Miller <davem@davemloft.net>
17699 * version.h (RELEASE): Set to "development".
17700 (VERSION): Set to "2.18.90".
17701 * NEWS: Add 2.19 section.
17703 2013-08-03 David S. Miller <davem@davemloft.net>
17705 * po/ko.po: Update Korean translation from translation project.
17707 2013-08-01 David S. Miller <davem@davemloft.net>
17709 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17710 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17713 2013-07-30 David S. Miller <davem@davemloft.net>
17715 * po/fr.po: Update French translation from translation project.
17717 2013-07-28 David S. Miller <davem@davemloft.net>
17719 * po/cs.po: Update Czech translation from translation project.
17721 * po/sv.po: Update Swedish translation from translation project.
17723 2013-07-27 David S. Miller <davem@davemloft.net>
17725 * po/eo.po: Update Esperanto translation from translation project.
17727 * po/vi.po: Update Vietnamese translation from translation project.
17729 * po/de.po: Update German translation from translation project.
17731 2013-07-26 David S. Miller <davem@davemloft.net>
17733 * po/bg.po: Update Bulgarian translation from translation project.
17735 * po/nl.po: Update Dutch translation from translation project.
17736 * po/pl.po: Update Polish translation from translation project.
17737 * po/ru.po: Update Russian translation from translation project.
17739 2013-07-24 David S. Miller <davem@davemloft.net>
17741 * po/libc.pot: Update.
17743 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17745 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17746 variable page size.
17747 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17748 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17749 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17751 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17753 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17755 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17756 Andreas Schwab <schwab@suse.de>
17757 Roland McGrath <roland@hack.frob.com>
17758 Joseph Myers <joseph@codesourcery.com>
17759 Carlos O'Donell <carlos@redhat.com>
17762 * config.h.in: Define HAVE_PT_CHOWN.
17763 * config.make.in (build-pt-chown): New variable.
17764 * configure.in (--enable-pt_chown): New configure option.
17765 * configure: Regenerate.
17766 * login/Makefile: Include Makeconfig. Build pt_chown only if
17767 build-pt-chown is enabled.
17768 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17769 pt_chown to fix pty ownership.
17770 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17772 * manual/install.texi (Configuring and compiling): Mention
17773 --enable-pt_chown. Add @findex for grantpt.
17774 * INSTALL: Regenerate.
17776 2013-07-20 David S. Miller <davem@davemloft.net>
17778 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17779 difference between 32-bit and 64-bit.
17781 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17784 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17785 Avoid system header dependency with -ffreestanding.
17786 ($(objpfx)bits/syscall%d): Likewise.
17788 2013-07-13 David S. Miller <davem@davemloft.net>
17790 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17791 underflows from atanl/atan2l due to bug 15319.
17792 (casinh_test_data): Likewise.
17794 2013-07-07 David S. Miller <davem@davemloft.net>
17796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17798 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17805 * configure.in (--enable-lock-elision): Fix message text.
17806 * INSTALL: Regenerate.
17807 * configure: Regenerate.
17809 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17813 2013-07-03 Andreas Jaeger <aj@suse.de>
17815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17817 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17818 (ptrace_peeksiginfo_args): Add.
17819 (__ptrace_peeksiginfo_flags): Add.
17820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17824 2013-07-03 Allan McRae <allan@archlinux.org>
17826 * sysdeps/i386/fpu/libm-test-ulps: Update.
17828 2013-07-02 David S. Miller <davem@davemloft.net>
17830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17832 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17836 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17841 2013-07-02 Andi Kleen <ak@linux.intel.com>
17843 * config.h.in (ENABLE_LOCK_ELISION): Add.
17844 * configure.in (--enable-lock-elision): Add option.
17845 * manual/install.texi: Document --enable lock elision.
17846 * configure: Regenerate
17847 * INSTALL: Regenerate.
17849 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17851 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17852 SSE4.2 strcasecmp for libc.a.
17853 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17855 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17858 * soft-fp/op-common.h (_FP_FMA): New macro.
17859 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17860 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17861 (_FP_MUL_MEAT_1_imm): ... here.
17862 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17863 (_FP_MUL_MEAT_1_wide): ... here.
17864 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17865 (_FP_MUL_MEAT_1_hard): ... here.
17866 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17867 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17868 (_FP_MUL_MEAT_2_wide): ... here.
17869 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17870 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17871 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17872 (_FP_MUL_MEAT_2_gmp): ... here.
17873 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17874 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17875 (_FP_MUL_MEAT_4_wide): ... here.
17876 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17877 (_FP_MUL_MEAT_4_gmp): ... here.
17878 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17879 (_FP_WFRACBITS_DW_S): Likewise.
17880 (_FP_WFRACXBITS_DW_S): Likewise.
17881 (_FP_HIGHBIT_DW_S): Likewise.
17882 (FP_FMA_S): Likewise.
17883 (_FP_FRAC_HIGH_DW_S): Likewise.
17884 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17885 (_FP_WFRACBITS_DW_D): Likewise.
17886 (_FP_WFRACXBITS_DW_D): Likewise.
17887 (_FP_HIGHBIT_DW_D): Likewise.
17888 (FP_FMA_D): Likewise.
17889 (_FP_FRAC_HIGH_DW_D): Likewise.
17890 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17891 (_FP_WFRACBITS_DW_E): Likewise.
17892 (_FP_WFRACXBITS_DW_E): Likewise.
17893 (_FP_HIGHBIT_DW_E): Likewise.
17894 (FP_FMA_E): Likewise.
17895 (_FP_FRAC_HIGH_DW_E): Likewise.
17896 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17897 (_FP_WFRACBITS_DW_Q): Likewise.
17898 (_FP_WFRACXBITS_DW_Q): Likewise.
17899 (_FP_HIGHBIT_DW_Q): Likewise.
17900 (FP_FMA_Q): Likewise.
17901 (_FP_FRAC_HIGH_DW_Q): Likewise.
17902 * soft-fp/fmasf4.c: New file.
17903 * soft-fp/fmadf4.c: Likewise.
17904 * soft-fp/fmatf4.c: Likewise.
17906 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17909 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17913 (index_Slow_SSE4_2): Likewise.
17914 (index_Prefer_PMINUB_for_stringop): Likewise.
17915 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17916 bit_Slow_SSE4_2 is set.
17917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17920 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17922 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17923 rtld_global._dl_hwcap2.
17924 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17927 POWER8 feature descriptions defined in _dl_hwcap2.
17928 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17929 string handling for POWER8 feature bits.
17930 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17931 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17932 _dl_powerpc_cap_flags.
17933 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17934 * sysdeps/powerpc/rtld-global-offsets.sym
17935 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17936 _dl_hwcap2 in the rtld_global_ro structure.
17938 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17940 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17941 hardware capabilities in support of AT_HWCAP2.
17942 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17943 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17945 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17946 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17947 explicitly the unknown a_type display mechanism is used.
17948 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17949 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17951 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17952 to macro prototype for AT_HWCAP2 support.
17953 * sysdeps/i386/dl-procinfo.h: Likewise.
17954 * sysdeps/s390/dl-procinfo.h: Likewise.
17955 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17956 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17957 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17958 return -1 for unknown a_type display fallback.
17959 * sysdeps/sparc/dl-procinfo.h: Likewise.
17960 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17961 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17963 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17966 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17968 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17971 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17972 mprotect making __stack_prot writable.
17974 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17975 Joseph Myers <joseph@codesourcery.com>
17977 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17978 as being properly aligned.
17980 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17982 * dlfcn/modstatic5.c: New file.
17983 * dlfcn/tststatic5.c: New file.
17984 * dlfcn/Makefile (tests): Add tststatic5.
17985 (tests-static): Likewise.
17986 (modules-names): Add modstatic5.
17987 (tststatic5-ENV): New variable.
17988 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17991 * elf/dl-support.c (_dl_main_map): New variable.
17992 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17993 (_dl_nns, _dl_load_adds): Set to 1.
17994 (_dl_initial_searchlist): Refer to _dl_main_map.
17995 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17996 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17997 call to _dl_get_origin.
17998 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18000 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18001 * dlfcn/modstatic3.c: New file.
18002 * dlfcn/tststatic3.c: New file.
18003 * dlfcn/tststatic4.c: New file.
18004 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18005 (tests-static): Likewise.
18006 (modules-names): Add modstatic3.
18007 (tststatic3-ENV, tststatic4-ENV): New variables.
18008 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18009 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18011 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18013 * configure.in (CC): Require GCC version 4.4 or later.
18014 * configure: Regenerated.
18015 * manual/install.texi (Tools for Compilation): Update GCC version
18017 * INSTALL: Regenerated.
18019 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18022 * string/test-memcmp.c (check2): New.
18023 (main): Call check2.
18025 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18027 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18030 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18032 (dl_open_worker) [!SHARED]: ... here.
18034 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18036 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18038 2013-06-25 Richard Henderson <rth@redhat.com>
18040 * locale/programs/locarchive.c: Include <libc-internal.h>
18042 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18044 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18045 trailing whitespace removed.
18047 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18050 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18051 * locale/programs/locarchive.c: Include libc-mmap.h.
18052 (prepare_address_space): Take two new outputs (the mmap base and len).
18053 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18055 (create_archive): Declare new mmap base and len values for
18056 prepare_address_space, and store the result in ah.
18057 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18058 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18060 Declare new mmap base and len values for
18061 prepare_address_space, and store the result in new_ah.
18062 (open_archive): Declare new mmap base and len values for
18063 prepare_address_space, and store the result in ah.
18064 (close_archive): If ah->mmap_base is not NULL, use that and
18065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18066 * sysdeps/generic/libc-mmap.h: New file.
18068 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18070 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18071 (ALIGN_UP): Likewise.
18072 (PTR_ALIGN_DOWN): Likewise.
18073 (PTR_ALIGN_UP): Likewise.
18075 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18077 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18078 entry mapped to PPC_PLATFORM_POWER8.
18079 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18081 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18082 (_dl_string_platform): Add case for exporting platform position for
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18085 search path to sysdeps/powerpc/powerpc32/power8 directory.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18087 search path to sysdeps/powerpc/powerpc64/power8 directory.
18088 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18089 power7 directories.
18090 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18091 power7 directories.
18093 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18095 * INSTALL: Regenerate.
18097 * nscd/connections.c (nscd_init): Fix comment.
18099 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18101 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18104 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18105 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18107 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18109 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18111 (DL_DST_REQ_STATIC): Remove macro.
18113 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18116 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18117 with a shift of 0 bits.
18119 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18121 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18124 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18127 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18129 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18131 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18132 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18133 accepts -fno-tree-loop-distribute-patterns.
18134 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18135 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18137 * string/memset.c (memset): Likewise.
18138 * string/test-memmove.c (simple_memmove): Disable loop transformation
18140 * string/test-memset.c (simple_memset): Likewise.
18141 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18142 * benchtests/bench-memset.c (simple_memset): Likewise.
18143 * configure: Regenerated.
18145 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18147 * math/test-misc.c (main): Ignore fesetround failure when failures
18148 of subsequent rounding tests would be ignored.
18151 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18152 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18153 * math/fegetenv.c (__fegetenv): Return 0.
18154 * math/fegetexcept.c (fegetexcept): Return 0.
18155 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18157 * math/feholdexcpt.c (feholdexcept): Return 0.
18158 * math/fesetenv.c (__fesetenv): Return 0.
18159 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18160 argument FE_TONEAREST.
18161 * math/feupdateenv.c (__feupdateenv): Return 0.
18162 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18164 2013-06-18 Roland McGrath <roland@hack.frob.com>
18166 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18167 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18168 ($(objpfx)rtld-%.os rules): Use them.
18170 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18172 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18175 2013-06-17 Roland McGrath <roland@hack.frob.com>
18177 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18178 length of target pattern, then descending length of dependency pattern.
18179 * configure.in (AWK): Require gawk 3.1.2 or newer.
18180 * manual/install.texi (Tools for Compilation): Say that we do.
18181 * configure: Regenerated.
18183 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18184 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18185 * scripts/sysd-rules.awk: ... this new script.
18186 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18187 than a glob-style pattern.
18189 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18191 * math/test-misc.c (main): Do not treat incorrectly rounded
18192 conversions as failure unless ROUNDING_TESTS passes.
18194 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18198 restore exception state around main square root computation, then
18199 check for inexactness explicitly.
18201 * math/libm-test.inc (fma_test_data): Add another test.
18203 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18205 * manual/threads.texi (Non-POSIX Extensions): New document
18206 node. Document pthread_getattr_default_np and
18207 pthread_setattr_default_np.
18209 * Versions.def (libpthread): Add GLIBC_2.18.
18210 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18230 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18233 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18235 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18236 H.J. Lu <hjl.tools@gmail.com>
18239 * sysdeps/x86_64/rtld-memset.c: Remove file.
18240 * sysdeps/x86_64/rtld-memset.S: New file.
18242 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18244 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18245 (test_in_one_mode): Take arguments for whether the rounding mode
18246 is supported for each floating-point type.
18247 (do_test): Pass new arguments to test_in_one_mode using
18250 2013-06-13 Roland McGrath <roland@hack.frob.com>
18252 * posix/tst-waitid.c (do_test): Distinguish different instances of
18253 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18254 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18255 before entering the kernel for waitpid.
18257 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18259 * NEWS: Fix note on clock function precision. Text by Roland
18262 2013-06-13 Roland McGrath <roland@hack.frob.com>
18264 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18265 it into place only when and if the sanity check passes.
18267 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18269 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18270 output for whether conversion result is exact. Take argument
18271 indicating whether type is IBM long double.
18272 (round_for_all): Change need_exact field to ibm_ld.
18273 * stdlib/tst-strtod-round.c (struct exactness): New type.
18274 (struct test): Change bool ld_ok field to struct exactness exact.
18275 (TEST): Update all definitions for change to field.
18276 (tests): Regenerate array contents.
18277 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18278 field value. Check for IBM long double here.
18279 (do_test): Update calls to test_in_one_mode.
18281 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18284 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18285 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18287 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18290 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18291 generated by the compiler on loop optimizations.
18292 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18293 general definitions.
18295 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18297 * math/bug-nextafter.c: Include <math-tests.h>.
18298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18300 * math/bug-nexttoward.c: Include <math-tests.h>.
18301 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18303 * math/test-misc.c: Include <math-tests.h>.
18304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18307 2013-06-12 Andreas Jaeger <aj@suse.de>
18309 * po/ia.po: Update Interlingua translation from translation
18312 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18314 * include/fenv.h: Include stdbool.h.
18315 (struct rm_ctx): New structure.
18316 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18318 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18319 (SET_RESTORE_ROUNDF): Likewise.
18320 (SET_RESTORE_ROUNDL): Likewise.
18321 (SET_RESTORE_ROUND_NOEX): Likewise.
18322 (SET_RESTORE_ROUND_NOEXF): Likewise.
18323 (SET_RESTORE_ROUND_NOEXL): Likewise.
18324 (SET_RESTORE_ROUND_53BIT): Likewise.
18325 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18326 (libc_feresetround_noexf_ctx): Likewise.
18327 (libc_feresetround_noexl_ctx): Likewise.
18328 (libc_feholdsetround_53bit_ctx): Likewise.
18329 (libc_feresetround_53bit_ctx): Likewise.
18330 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18331 (libc_feholdexcept_setround_sse_ctx): New function.
18332 (libc_fesetenv_sse_ctx): Likewise.
18333 (libc_feupdateenv_sse_ctx): Likewise.
18334 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18335 (libc_feholdexcept_setround_387_ctx): Likewise.
18336 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18337 (libc_feholdsetround_387_prec_ctx): Likewise.
18338 (libc_feholdsetround_387_ctx): Likewise.
18339 (libc_feholdsetround_387_53bit_ctx): Likewise.
18340 (libc_feholdsetround_sse_ctx): Likewise.
18341 (libc_feresetround_sse_ctx): Likewise.
18342 (libc_feresetround_387_ctx): Likewise.
18343 (libc_feupdateenv_387_ctx): Likewise.
18344 (libc_feholdexcept_setroundf_ctx): Define macro.
18345 (libc_fesetenvf_ctx): Likewise.
18346 (libc_feupdateenvf_ctx): Likewise.
18347 (libc_feholdsetroundf_ctx): Likewise.
18348 (libc_feresetroundf_ctx): Likewise.
18349 (libc_feholdexcept_setround_ctx): Likewise.
18350 (libc_fesetenv_ctx): Likewise.
18351 (libc_feupdateenv_ctx): Likewise.
18352 (libc_feholdsetround_ctx): Likewise.
18353 (libc_feresetround_ctx): Likewise.
18354 (libc_feholdexcept_setroundl_ctx): Likewise.
18355 (libc_feupdateenvl_ctx): Likewise.
18356 (libc_feholdsetroundl_ctx): Likewise.
18357 (libc_feresetroundl_ctx): Likewise.
18358 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18359 (libc_feresetround_53bit_ctx): Likewise.
18361 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18363 * locale/iso-639.def: Convert to UTF-8.
18365 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18367 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18368 (EXCEPTION_TESTS_double): Likewise.
18369 (EXCEPTION_TESTS_long_double): Likewise.
18370 (EXCEPTION_TESTS): Likewise.
18371 * math/libm-test.inc (test_exceptions): Only test exceptions if
18372 EXCEPTION_TESTS (FLOAT).
18374 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18376 * benchtests/Makefile (string-bench): Add strcpy_chk and
18378 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18379 * benchtests/bench-stpcpy_chk.c: New file.
18380 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18381 * benchtests/bench-strcpy_chk.c: New file.
18382 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18384 (do_test): Likewise.
18386 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18389 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18390 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18391 with tabs where appropriate.
18392 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18394 [PPC_PLATFORM_PPC440]: Likewise.
18395 [PPC_PLATFORM_PPC464]: Likewise.
18396 [PPC_PLATFORM_PPC476]: Likewise.
18397 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18398 ppc464, and ppc476 platform strings merging from ports/
18401 2013-06-11 Andreas Schwab <schwab@suse.de>
18404 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18405 (from_ucs4_idx): Regenerate.
18406 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18407 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18408 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18409 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18410 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18411 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18412 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18413 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18414 from FROM_LOOP and TO_LOOP specific macros.
18415 (BODY): Handle combining characters.
18416 * iconvdata/BIG5HKSCS.irreversible: Update.
18417 * iconvdata/BIG5HKSCS.precomposed: New file.
18418 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18420 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18424 * include/sys/time.h: Fix indentation and add copyright header.
18426 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18427 (do_test): Likewise.
18428 * string/test-memchr.c (do_one_test): Likewise.
18429 (do_test): Likewise.
18430 * string/test-memcmp.c (do_one_test): Likewise.
18431 (do_test): Likewise.
18432 * string/test-memcpy.c (do_one_test): Likewise.
18433 (do_test): Likewise.
18434 * string/test-memmem.c (do_one_test): Likewise.
18435 (do_test): Likewise.
18436 (do_random_tests): Likewise.
18437 * string/test-memmove.c (do_one_test): Likewise.
18438 (do_test): Likewise.
18439 * string/test-memset.c (do_one_test): Likewise.
18440 (do_test): Likewise.
18441 * string/test-rawmemchr.c (do_one_test): Likewise.
18442 (do_test): Likewise.
18443 * string/test-strcasecmp.c (do_one_test): Likewise.
18444 (do_test): Likewise.
18445 * string/test-strcasestr.c (do_one_test): Likewise.
18446 (do_test): Likewise.
18447 * string/test-strcat.c (do_one_test): Likewise.
18448 (do_test): Likewise.
18449 * string/test-strchr.c (do_one_test): Likewise.
18450 (do_test): Likewise.
18451 * string/test-strcmp.c (do_one_test): Likewise.
18452 (do_test): Likewise.
18453 * string/test-strcpy.c (do_one_test): Likewise.
18454 (do_test): Likewise.
18455 * string/test-string.h: Likewise.
18456 (test_init): Likewise.
18457 * string/test-strlen.c (do_one_test): Likewise.
18458 (do_test): Likewise.
18459 * string/test-strncasecmp.c (do_one_test): Likewise.
18460 (do_test): Likewise.
18461 * string/test-strncat.c (do_one_test): Likewise.
18462 (do_test): Likewise.
18463 * string/test-strncmp.c (do_one_test): Likewise.
18464 (do_test_limit): Likewise.
18465 (do_test): Likewise.
18466 * string/test-strncpy.c (do_one_test): Likewise.
18467 (do_test): Likewise.
18468 * string/test-strnlen.c (do_one_test): Likewise.
18469 (do_test): Likewise.
18470 * string/test-strpbrk.c (do_one_test): Likewise.
18471 (do_test): Likewise.
18472 * string/test-strrchr.c (do_one_test): Likewise.
18473 (do_test): Likewise.
18474 * string/test-strspn.c (do_one_test): Likewise.
18475 (do_test): Likewise.
18476 * string/test-strstr.c (do_one_test): Likewise.
18477 (do_test): Likewise.
18479 * benchtests/Makefile (string-bench): Add string benchmarks.
18480 * benchtests/bench-bcopy-ifunc.c: New file.
18481 * benchtests/bench-bcopy.c: New file.
18482 * benchtests/bench-bzero-ifunc.c: New file.
18483 * benchtests/bench-bzero.c: New file.
18484 * benchtests/bench-memccpy-ifunc.c: New file.
18485 * benchtests/bench-memccpy.c: New file.
18486 * benchtests/bench-memchr-ifunc.c: New file.
18487 * benchtests/bench-memchr.c: New file.
18488 * benchtests/bench-memcmp-ifunc.c: New file.
18489 * benchtests/bench-memcmp.c: New file.
18490 * benchtests/bench-memmem-ifunc.c: New file.
18491 * benchtests/bench-memmem.c: New file.
18492 * benchtests/bench-memmove-ifunc.c: New file.
18493 * benchtests/bench-memmove.c: New file.
18494 * benchtests/bench-mempcpy-ifunc.c: New file.
18495 * benchtests/bench-mempcpy.c: New file.
18496 * benchtests/bench-memset-ifunc.c: New file.
18497 * benchtests/bench-memset.c: New file.
18498 * benchtests/bench-rawmemchr-ifunc.c: New file.
18499 * benchtests/bench-rawmemchr.c: New file.
18500 * benchtests/bench-stpcpy-ifunc.c: New file.
18501 * benchtests/bench-stpcpy.c: New file.
18502 * benchtests/bench-stpncpy-ifunc.c: New file.
18503 * benchtests/bench-stpncpy.c: New file.
18504 * benchtests/bench-strcasecmp-ifunc.c: New file.
18505 * benchtests/bench-strcasecmp.c: New file.
18506 * benchtests/bench-strcasestr-ifunc.c: New file.
18507 * benchtests/bench-strcasestr.c: New file.
18508 * benchtests/bench-strcat-ifunc.c: New file.
18509 * benchtests/bench-strcat.c: New file.
18510 * benchtests/bench-strchr-ifunc.c: New file.
18511 * benchtests/bench-strchr.c: New file.
18512 * benchtests/bench-strchrnul-ifunc.c: New file.
18513 * benchtests/bench-strchrnul.c: New file.
18514 * benchtests/bench-strcmp-ifunc.c: New file.
18515 * benchtests/bench-strcmp.c: New file.
18516 * benchtests/bench-strcpy-ifunc.c: New file.
18517 * benchtests/bench-strcpy.c: New file.
18518 * benchtests/bench-strcspn-ifunc.c: New file.
18519 * benchtests/bench-strcspn.c: New file.
18520 * benchtests/bench-strlen-ifunc.c: New file.
18521 * benchtests/bench-strlen.c: New file.
18522 * benchtests/bench-strncasecmp-ifunc.c: New file.
18523 * benchtests/bench-strncasecmp.c: New file.
18524 * benchtests/bench-strncat-ifunc.c: New file.
18525 * benchtests/bench-strncat.c: New file.
18526 * benchtests/bench-strncmp-ifunc.c: New file.
18527 * benchtests/bench-strncmp.c: New file.
18528 * benchtests/bench-strncpy-ifunc.c: New file.
18529 * benchtests/bench-strncpy.c: New file.
18530 * benchtests/bench-strnlen-ifunc.c: New file.
18531 * benchtests/bench-strnlen.c: New file.
18532 * benchtests/bench-strpbrk-ifunc.c: New file.
18533 * benchtests/bench-strpbrk.c: New file.
18534 * benchtests/bench-strrchr-ifunc.c: New file.
18535 * benchtests/bench-strrchr.c: New file.
18536 * benchtests/bench-strspn-ifunc.c: New file.
18537 * benchtests/bench-strspn.c: New file.
18538 * benchtests/bench-strstr-ifunc.c: New file.
18539 * benchtests/bench-strstr.c: New file.
18541 * benchtests/Makefile: Disable parallel execution of targets.
18542 (string-bench): Add memcpy.
18543 (benchset): New variable to store a list of benchmark sets.
18544 (bench-func): Renamed from bench.
18545 (bench-set): New target.
18546 (bench): Depend on bench-func and bench-set.
18547 * benchtests/README: Add section on benchmark sets.
18548 * benchtests/bench-memcpy-ifunc.c: New file.
18549 * benchtests/bench-memcpy.c: New file.
18550 * benchtests/bench-string.h: New file.
18552 2013-06-11 Andreas Schwab <schwab@suse.de>
18555 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18556 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18557 values in the triple.
18558 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18559 terminator in the group key.
18561 2013-06-11 Andreas Jaeger <aj@suse.de>
18563 * po/zh_TW.po: Update Chinese (traditional) translation from
18564 translation project.
18566 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18568 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18569 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18570 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18572 (clock_getcpuclockid): Likewise.
18573 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18574 Add weak_alias and libc_hidden_def.
18575 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18576 * rt/clock_gettime.c (clock_gettime): Rename to
18577 __clock_gettime. Add weak_alias and libc_hidden_def.
18578 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18579 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18580 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18581 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18582 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18584 * rt/clock_settime.c (clock_settime): Rename to
18585 __clock_settime. Add weak_alias and libc_hidden_def.
18586 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18588 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18590 * mach/err_boot.sub: Remove trailing whitespace.
18591 * mach/err_ipc.sub: Likewise.
18592 * mach/err_mach.sub: Likewise.
18594 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18595 (ROUNDING_TESTS_double): Likewise.
18596 (ROUNDING_TESTS_long_double): Likewise.
18597 (ROUNDING_TESTS): Likewise.
18598 * math/libm-test.inc: Include <math-tests.h>.
18599 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18604 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18606 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18609 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18612 otherwise empty TRANS lines.
18613 * sysdeps/gnu/errlist.c: Regenerated.
18615 * catgets/gencat.c (error_print): Use (void) in function
18617 * crypt/crypt_util.c (__init_des): Likewise.
18618 * crypt/speeds.c (Stop): Likewise.
18620 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18621 * inet/ruserpass.c (token): Likewise.
18622 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18623 * intl/localealias.c (extend_alias_table): Likewise.
18624 * intl/plural-exp.c (init_germanic_plural): Likewise.
18625 * libio/fcloseall.c (__fcloseall): Likewise.
18626 * libio/genops.c (_IO_flush_all): Likewise.
18627 (_IO_flush_all_linebuffered): Likewise.
18628 (_IO_cleanup): Likewise.
18629 (_IO_iter_begin): Likewise.
18630 (_IO_iter_end): Likewise.
18631 (_IO_list_lock): Likewise.
18632 (_IO_list_unlock): Likewise.
18633 (_IO_list_resetlock): Likewise.
18634 * libio/getchar.c (getchar): Likewise.
18635 * libio/getchar_u.c (getchar_unlocked): Likewise.
18636 * libio/getwchar.c (getwchar): Likewise.
18637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18638 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18639 * login/getpt.c (__getpt): Likewise.
18640 * login/tst-utmp.c (main): Likewise.
18641 * malloc/hooks.c (__malloc_check_init): Likewise.
18642 * malloc/malloc.c (__malloc_stats): Likewise.
18643 * malloc/mtrace.c (tr_break): Likewise.
18644 (mtrace): Likewise.
18645 (muntrace): Likewise.
18646 * misc/fstab.c (endfsent): Likewise.
18647 * misc/getclktck.c (__getclktck): Likewise.
18648 * misc/getdtsz.c (__getdtablesize): Likewise.
18649 * misc/gethostid.c (gethostid): Likewise.
18650 * misc/getpagesize.c (__getpagesize): Likewise.
18651 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18652 (__get_nprocs): Likewise.
18653 (__get_phys_pages): Likewise.
18654 (__get_avphys_pages): Likewise.
18655 * misc/getttyent.c (getttyent): Likewise.
18656 (setttyent): Likewise.
18657 (endttyent): Likewise.
18658 * misc/getusershell.c (getusershell): Likewise.
18659 (endusershell): Likewise.
18660 (setusershell): Likewise.
18661 (initshells): Likewise.
18662 * misc/hsearch.c (__hdestroy): Likewise.
18663 * misc/sync.c (sync): Likewise.
18664 * misc/syslog.c (closelog_internal): Likewise.
18665 (closelog): Likewise.
18666 * misc/ttyslot.c (ttyslot): Likewise.
18667 * misc/vhangup.c (vhangup): Likewise.
18668 * posix/fork.c (__fork): Likewise.
18669 * posix/getegid.c (__getegid): Likewise.
18670 * posix/geteuid.c (__geteuid): Likewise.
18671 * posix/getgid.c (__getgid): Likewise.
18672 * posix/getpid.c (__getpid): Likewise.
18673 * posix/getppid.c (__getppid): Likewise.
18674 * posix/getuid.c (__getuid): Likewise.
18675 * posix/pause.c (pause): Likewise.
18676 * posix/setpgrp.c (setpgrp): Likewise.
18677 * posix/setsid.c (__setsid): Likewise.
18678 * posix/test-vfork.c (noop): Likewise.
18679 * resolv/gethnamaddr.c (_endhtent): Likewise.
18680 (_gethtent): Likewise.
18681 (ht_endhostent): Likewise.
18682 (gethostent): Likewise.
18683 (dns_service): Likewise.
18684 * stdlib/drand48.c (drand48): Likewise.
18685 * stdlib/lrand48.c (lrand48): Likewise.
18686 * stdlib/mrand48.c (mrand48): Likewise.
18687 * stdlib/rand.c (rand): Likewise.
18688 * stdlib/random.c (__random): Likewise.
18689 * stdlib/setenv.c (clearenv): Likewise.
18690 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18691 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18692 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18693 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18694 (__get_nprocs): Likewise.
18695 (__get_phys_pages): Likewise.
18696 (__get_avphys_pages): Likewise.
18697 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18698 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18699 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18700 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18701 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18702 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18703 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18704 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18705 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18706 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18707 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18708 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18709 * sysdeps/posix/clock.c (clock): Likewise.
18710 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18711 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18712 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18713 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18714 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18716 (__get_nprocs_conf): Likewise.
18717 (__get_phys_pages): Likewise.
18718 (__get_avphys_pages): Likewise.
18719 * time/clock.c (clock): Likewise.
18720 * time/tzset.c (__tzname_max): Likewise.
18722 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18724 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18725 (__bswap_32): Do not use "register".
18726 * crypt/crypt.c (_ufc_doit_r): Likewise.
18727 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18728 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18729 * gmon/gmon.c (__monstartup): Likewise.
18730 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18731 * hurd/hurdmalloc.c (more_memory): Likewise.
18732 (malloc): Likewise.
18734 (realloc): Likewise.
18735 (malloc_fork_prepare): Likewise.
18736 (malloc_fork_parent): Likewise.
18737 (malloc_fork_child): Likewise.
18738 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18739 (_svcauth_des): Likewise.
18740 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18741 * inet/inet_net.c (inet_network): Likewise.
18742 * inet/inet_netof.c (inet_netof): Likewise.
18743 * inet/rcmd.c (__validuser2_sa): Likewise.
18744 * io/fts.c (fts_open): Likewise.
18745 (fts_load): Likewise.
18746 (fts_close): Likewise.
18747 (fts_read): Likewise.
18748 (fts_children): Likewise.
18749 (fts_build): Likewise.
18750 (fts_stat): Likewise.
18751 (fts_sort): Likewise.
18752 (fts_alloc): Likewise.
18753 (fts_lfree): Likewise.
18754 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18755 (_IO_file_xsgetn): Likewise.
18756 (_IO_file_xsgetn_mmap): Likewise.
18757 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18758 (_IO_cookie_write): Likewise.
18759 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18760 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18761 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18762 * malloc/obstack.c (_obstack_begin): Likewise.
18763 (_obstack_begin_1): Likewise.
18764 (_obstack_newchunk): Likewise.
18765 (_obstack_allocated_p): Likewise.
18766 (obstack_free): Likewise.
18767 (_obstack_memory_used): Likewise.
18768 * misc/getttyent.c (getttynam): Likewise.
18769 (getttyent): Likewise.
18772 * misc/getusershell.c (initshells): Likewise.
18773 * misc/syslog.c (__vsyslog_chk): Likewise.
18774 * misc/ttyslot.c (ttyslot): Likewise.
18775 * nis/nis_hash.c (__nis_hash): Likewise.
18776 * posix/fnmatch_loop.c (FCT): Likewise.
18777 * posix/getconf.c (print_all): Likewise.
18779 * posix/getopt.c (exchange): Likewise.
18780 * posix/glob.c (globfree): Likewise.
18781 (prefix_array): Likewise.
18782 (__glob_pattern_type): Likewise.
18783 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18784 (NS_GET32): Likewise.
18785 (NS_PUT16): Likewise.
18786 (NS_PUT32): Likewise.
18787 * resolv/gethnamaddr.c (getanswer): Likewise.
18788 (gethostbyname2): Likewise.
18789 (gethostbyaddr): Likewise.
18790 (_gethtent): Likewise.
18791 (_gethtbyname2): Likewise.
18792 (_gethtbyaddr): Likewise.
18793 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18795 * resolv/res_init.c (__res_vinit): Likewise.
18796 (net_mask): Likewise.
18797 * resolv/res_mkquery.c (outchar): Likewise.
18799 * stdio-common/printf_fp.c (outchar): Likewise.
18801 * stdio-common/printf_fphex.c (outchar): Likewise.
18803 * stdio-common/printf_size.c (outchar): Likewise.
18805 * stdio-common/test_rdwr.c (main): Likewise.
18806 * stdio-common/tfformat.c (matches): Likewise.
18807 * stdio-common/vfprintf.c (outchar): Likewise.
18808 (printf_unknown): Likewise.
18809 (buffered_vfprintf): Likewise.
18810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18811 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18812 (ReadFile): Likewise.
18813 * stdlib/qsort.c (SWAP): Likewise.
18814 (_quicksort): Likewise.
18815 * stdlib/setenv.c (__add_to_environ): Likewise.
18816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18817 * stdlib/strtol_l.c (__strtol_l): Likewise.
18818 * stdlib/tst-strtod.c (main): Likewise.
18819 * stdlib/tst-strtol.c (main): Likewise.
18820 * stdlib/tst-strtoll.c (main): Likewise.
18821 * string/bits/string2.h (__strcmp_cc): Likewise.
18822 (__strcmp_cg): Likewise.
18823 (__strcspn_c1): Likewise.
18824 (__strcspn_c2): Likewise.
18825 (__strcspn_c3): Likewise.
18826 (__strspn_c1): Likewise.
18827 (__strspn_c2): Likewise.
18828 (__strspn_c3): Likewise.
18829 (__strsep_1c): Likewise.
18830 (__strsep_2c): Likewise.
18831 (__strsep_3c): Likewise.
18832 * string/memccpy.c (__memccpy): Likewise.
18833 * string/stpcpy.c (__stpcpy): Likewise.
18834 * string/strcmp.c (strcmp): Likewise.
18835 * string/strrchr.c (strrchr): Likewise.
18836 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18838 * sysdeps/mach/hurd/getcwd.c
18839 (_hurd_canonicalize_directory_name_internal): Likewise.
18840 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18841 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18843 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18844 Likewise, in both definitions.
18845 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18847 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18848 64] (__bswap_64): Likewise.
18849 * time/test_time.c (main): Likewise.
18850 * time/tzfile.c (__tzfile_read): Likewise.
18851 (__tzfile_compute): Likewise.
18852 * time/tzset.c (__tzset_parse_tz): Likewise.
18853 (tzset_internal): Likewise.
18854 (compute_change): Likewise.
18855 * wcsmbs/wcscat.c (__wcscat): Likewise.
18856 * wcsmbs/wcschr.c (wcschr): Likewise.
18857 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18858 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18859 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18860 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18861 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18862 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18863 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18865 * wcsmbs/wmemset.c (wmemset): Likewise.
18867 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18869 * scripts/config.guess: Update to version 2013-05-16.
18870 * scripts/config.sub: Update to version 2013-04-24.
18871 * scripts/install-sh: Update to version 2011-11-20.07.
18872 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18873 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18875 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18877 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18878 * elf/sln.c: Likewise.
18879 * hurd/hurd/ioctl.h: Likewise.
18880 * hurd/hurdmalloc.c: Likewise.
18881 * hurd/xattr.c: Likewise.
18882 * include/shlib-compat.h: Likewise.
18883 * inet/ruserpass.c: Likewise.
18884 * libio/iofgets_u.c: Likewise.
18885 * libio/iofgetws_u.c: Likewise.
18886 * locale/programs/ld-identification.c: Likewise.
18887 * locale/programs/ld-time.c: Likewise.
18888 * mach/msg-destroy.c: Likewise.
18889 * nss/nss_files/files-netgrp.c: Likewise.
18890 * resolv/res_data.c: Likewise.
18891 * soft-fp/op-1.h: Likewise.
18892 * soft-fp/op-2.h: Likewise.
18893 * soft-fp/op-4.h: Likewise.
18894 * soft-fp/op-common.h: Likewise.
18895 * stdio-common/printf_fphex.c: Likewise.
18896 * stdlib/strtod_l.c: Likewise.
18897 * sunrpc/rpc/clnt.h: Likewise.
18898 * sysdeps/generic/framestate.c: Likewise.
18899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18900 * sysdeps/i386/bsd-setjmp.S: Likewise.
18901 * sysdeps/i386/__longjmp.S: Likewise.
18902 * sysdeps/i386/setjmp.S: Likewise.
18903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18904 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18921 * sysdeps/ieee754/support.c: Likewise.
18922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18923 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18924 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18925 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18926 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18927 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18933 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18934 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18941 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18943 * posix/transbug.c: Remove executable mode.
18945 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18947 * crypt/speeds.c: Remove trailing whitespace.
18948 * dlfcn/default.c: Likewise.
18949 * elf/ifuncdep2.c: Likewise.
18950 * elf/ifuncmain1.c: Likewise.
18951 * elf/ifuncmain1vis.c: Likewise.
18952 * elf/testobj.h: Likewise.
18953 * elf/tst-stackguard1.c: Likewise.
18954 * gmon/sys/gmon.h: Likewise.
18955 * hurd/hurdmsg.c: Likewise.
18956 * hurd/new-fd.c: Likewise.
18957 * hurd/ports-get.c: Likewise.
18958 * iconvdata/ibm1008_420.c: Likewise.
18959 * inet/tst-getni1.c: Likewise.
18960 * inet/tst-getni2.c: Likewise.
18961 * libio/ioungetc.c: Likewise.
18962 * libio/wfiledoalloc.c: Likewise.
18963 * manual/libm-err-tab.pl: Likewise.
18964 * math/w_dremf.c: Likewise.
18965 * misc/ftruncate.c: Likewise.
18966 * posix/bug-glob2.c: Likewise.
18967 * posix/tst-pcre.c: Likewise.
18968 * posix/wait4.c: Likewise.
18969 * resolv/README: Likewise.
18970 * resolv/res_debug.h: Likewise.
18971 * resolv/tst-inet_ntop.c: Likewise.
18972 * setjmp/bug269-setjmp.c: Likewise.
18973 * soft-fp/extended.h: Likewise.
18974 * soft-fp/op-1.h: Likewise.
18975 * soft-fp/op-2.h: Likewise.
18976 * soft-fp/op-4.h: Likewise.
18977 * soft-fp/op-8.h: Likewise.
18978 * soft-fp/testit.c: Likewise.
18979 * stdio-common/bug16.c: Likewise.
18980 * stdlib/random.c: Likewise.
18981 * sunrpc/rpcsvc/rquota.x: Likewise.
18982 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19011 * sysdeps/ieee754/s_lib_version.c: Likewise.
19012 * sysdeps/mach/hurd/check_fds.c: Likewise.
19013 * sysdeps/mach/hurd/getsockname.c: Likewise.
19014 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19015 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19016 * sysdeps/powerpc/bits/link.h: Likewise.
19017 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19018 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19019 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19020 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19023 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19024 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19025 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19026 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19028 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19030 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19031 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19038 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19051 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19055 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19056 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19057 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19058 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19059 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19062 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19064 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19065 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19066 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19072 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19073 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19077 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19081 * sysdeps/powerpc/sysdep.h: Likewise.
19082 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19083 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19084 * sysdeps/sh/dl-trampoline.S: Likewise.
19085 * sysdeps/sh/memset.S: Likewise.
19086 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19087 * sysdeps/sh/strlen.S: Likewise.
19088 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19089 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19090 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19091 * sysdeps/sparc/sparc32/rem.S: Likewise.
19092 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19094 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19095 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19096 * sysdeps/sparc/sparc32/urem.S: Likewise.
19097 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19099 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19100 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19102 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19103 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19104 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19105 * sysdeps/unix/bsd/times.c: Likewise.
19106 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19107 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19111 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19113 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19115 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19118 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19123 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19124 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19125 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19126 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19127 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19129 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19130 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19131 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19132 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19134 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19135 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19136 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19137 * sysdeps/x86_64/strcspn.S: Likewise.
19139 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19141 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19142 generated file. Regenerate properly from gen-translit.pl.
19143 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19144 locale/C-translit.h.
19146 2013-06-05 Andreas Schwab <schwab@suse.de>
19149 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19150 week as 6 instead of -1.
19151 * time/tst-strptime.c (day_tests): Add test case.
19153 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19155 * sysdeps/generic/math_private.h
19156 (libc_feholdexcept_setround_53bit): Replace with
19157 libc_feholdsetround_53bit.
19158 (libc_feupdateenv_53bit): Replace with
19159 libc_feresetround_53bit.
19160 (SET_RESTORE_ROUND_53BIT): Adjust.
19162 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19164 * string/test-strchrnul.c: Add copyright header.
19166 * posix/tst-getaddrinfo4.c: Increase test timeout.
19168 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19171 * math/libm-test.inc (MAX_EXP): Remove
19173 (ulp): Use MIN_EXP - MANT_DIG.
19174 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19176 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19178 * po/be.po: Revert last change.
19179 * po/zh_CN.po: Likewise.
19180 * po/header.pot: Likewise.
19182 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19184 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19185 link-libc-deps to empty as target-specific variable.
19186 * Makerules (link-libc-args): New variable.
19187 (libc-for-link): Likewise.
19188 (link-libc-deps): Likewise.
19189 (lib%.so): Depend on $(link-libc-deps). Link with
19191 (build-module): Link with $(link-libc-args).
19192 (build-module-asneeded): Likewise.
19193 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19195 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19196 target-specific variable.
19197 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19198 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19199 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19201 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19203 ($(objpfx)libpcprofile.so): Likewise.
19204 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19206 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19207 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19210 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19211 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19212 * login/Makefile ($(objpfx)libutil.so): Likewise.
19213 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19214 * math/Makefile ($(objpfx)libm.so): Likewise.
19215 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19216 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19217 variable instead of depending directly on libc.
19218 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19219 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19221 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19223 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19224 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19225 ($(objpfx)libanl.so): Likewise.
19226 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19228 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19230 * sysdeps/i386/fpu/Makefile: Remove file.
19231 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19232 ($(objpfx)libm.so): Remove dependency on ld.so.
19234 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19237 * nis/yp_xdr.c (XDRMAXNAME): Define.
19238 (XDRMAXRECORD): Define.
19239 (xdr_domainname): Use XDRMAXNAME.
19240 (xdr_mapname): Likewise.
19241 (xdr_peername): Likewise.
19242 (xdr_keydat): Use XDRMAXRECORD.
19243 (xdr_valdat): Likewise.
19245 2013-05-30 Jeff Law <law@redhat.com>
19248 * manual/errno.texi (ESTALE): Update to account for more than
19249 just NFS file systems.
19250 * sysdeps/gnu/errlist.c: Regenerated.
19252 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19255 * elf/Makefile (tests): Add tst-null-argv.
19256 (modules-names): Add tst-null-argv-lib.
19257 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19258 (tst-null-argv-ENV): Set environment for tst-null-argv.
19259 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19260 (RTLD_PROGNAME): New macro.
19261 * elf/tst-null-argv.c: New test case.
19262 * elf/tst-null-argv-lib.c: Library for test case.
19263 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19264 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19265 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19266 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19267 * elf/dl-init.c (call_init): Likewise.
19268 (_dl_init): Likewise.
19269 * elf/dl-load.c (print_search_path): Likewise.
19270 (_dl_map_object): Likewise.
19271 * elf/dl-lookup.c (do_lookup_x): Likewise.
19272 (add_dependency): Likewise.
19273 (_dl_lookup_symbol_x): Likewise.
19274 (_dl_debug_bindings): Likewise.
19275 * elf/dl-open.c (_dl_show_scope): Likewise.
19276 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19277 * elf/dl-version.c (match_symbol): Likewise.
19278 (_dl_check_map_versions): Likewise.
19279 * elf/rtld.c (dl_main): Likewise.
19280 (print_unresolved): Use RTLD_PROGNAME.
19281 (print_missing_version): Likewise.
19282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19283 (elf_machine_rela): Likewise.
19284 * sysdeps/powerpc/powerpc32/dl-machine.c
19285 (__process_machine_rela): Likewise.
19286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19299 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19301 * po/be.po: Add descriptive title.
19302 * po/zh_CN.po: Likewise.
19303 * po/header.pot: Likewise.
19305 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19307 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19309 (enlarge_archive): Likewise.
19311 2013-05-28 Ben North <ben@redfrontdoor.org>
19313 * manual/arith.texi (frexp): It is the magnitude of the return
19314 value which lies in [0.5, 1), not the return value itself.
19316 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19320 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19322 * stdio-common/bug26.c (main): Correct fscanf template.
19324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19325 declare _dl_skip_args.
19327 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19330 * manual/platform.texi: Add missing @end deftypefun.
19332 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19336 bit of mantissa of 2^16382.
19337 * math/libm-test.inc (hypot_test_data): Add more tests.
19339 * math/libm-test.inc: Add drem and pow10 to list of tested
19341 (pow10_test): New function.
19342 (drem_test): Likewise.
19343 (drem_test_tonearest): Likewise.
19344 (drem_test_towardzero): Likewise.
19345 (drem_test_downward): Likewise.
19346 (drem_test_upward): Likewise.
19347 (main): Call the new functions.
19349 * math/libm-test.inc (finite_test_data): Remove.
19350 (finite_test): Run tests from isfinite_test_data.
19351 (gamma_test_data): Remove.
19352 (gamma_test): Run tests from lgamma_test_data.
19353 * sysdeps/i386/fpu/libm-test-ulps: Update.
19354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19356 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19358 * manual/platform.texi: Add PowerPC PPR function set documentation.
19359 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19362 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19364 * math/libm-test.inc (MAX_EXP): Define.
19366 (ulp): New function.
19367 (check_float_internal): Use ULPDIFF.
19368 (cpow_test): Disable failing test.
19369 (check_ulp): Test ulp() implemetnation.
19370 (main): Call check_ulp before starting tests.
19372 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19374 * math/gen-libm-test.pl (generate_testfile): Do not handle
19375 START_DATA and END_DATA.
19376 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19378 (acos_tonearest_test_data): Likewise.
19379 (acos_towardzero_test_data): Likewise.
19380 (acos_downward_test_data): Likewise.
19381 (acos_upward_test_data): Likewise.
19382 (acosh_test_data): Likewise.
19383 (asin_test_data): Likewise.
19384 (asin_tonearest_test_data): Likewise.
19385 (asin_towardzero_test_data): Likewise.
19386 (asin_downward_test_data): Likewise.
19387 (asin_upward_test_data): Likewise.
19388 (asinh_test_data): Likewise.
19389 (atan_test_data): Likewise.
19390 (atanh_test_data): Likewise.
19391 (atan2_test_data): Likewise.
19392 (cabs_test_data): Likewise.
19393 (cacos_test_data): Likewise.
19394 (cacosh_test_data): Likewise.
19395 (carg_test_data): Likewise.
19396 (casin_test_data): Likewise.
19397 (casinh_test_data): Likewise.
19398 (catan_test_data): Likewise.
19399 (catanh_test_data): Likewise.
19400 (cbrt_test_data): Likewise.
19401 (ccos_test_data): Likewise.
19402 (ccosh_test_data): Likewise.
19403 (ceil_test_data): Likewise.
19404 (cexp_test_data): Likewise.
19405 (cimag_test_data): Likewise.
19406 (clog_test_data): Likewise.
19407 (clog10_test_data): Likewise.
19408 (conj_test_data): Likewise.
19409 (copysign_test_data): Likewise.
19410 (cos_test_data): Likewise.
19411 (cos_tonearest_test_data): Likewise.
19412 (cos_towardzero_test_data): Likewise.
19413 (cos_downward_test_data): Likewise.
19414 (cos_upward_test_data): Likewise.
19415 (cosh_test_data): Likewise.
19416 (cosh_tonearest_test_data): Likewise.
19417 (cosh_towardzero_test_data): Likewise.
19418 (cosh_downward_test_data): Likewise.
19419 (cosh_upward_test_data): Likewise.
19420 (cpow_test_data): Likewise.
19421 (cproj_test_data): Likewise.
19422 (creal_test_data): Likewise.
19423 (csin_test_data): Likewise.
19424 (csinh_test_data): Likewise.
19425 (csqrt_test_data): Likewise.
19426 (ctan_test_data): Likewise.
19427 (ctan_tonearest_test_data): Likewise.
19428 (ctan_towardzero_test_data): Likewise.
19429 (ctan_downward_test_data): Likewise.
19430 (ctan_upward_test_data): Likewise.
19431 (ctanh_test_data): Likewise.
19432 (ctanh_tonearest_test_data): Likewise.
19433 (ctanh_towardzero_test_data): Likewise.
19434 (ctanh_downward_test_data): Likewise.
19435 (ctanh_upward_test_data): Likewise.
19436 (erf_test_data): Likewise.
19437 (erfc_test_data): Likewise.
19438 (exp_test_data): Likewise.
19439 (exp_tonearest_test_data): Likewise.
19440 (exp_towardzero_test_data): Likewise.
19441 (exp_downward_test_data): Likewise.
19442 (exp_upward_test_data): Likewise.
19443 (exp10_test_data): Likewise.
19444 (exp2_test_data): Likewise.
19445 (expm1_test_data): Likewise.
19446 (fabs_test_data): Likewise.
19447 (fdim_test_data): Likewise.
19448 (finite_test_data): Likewise.
19449 (floor_test_data): Likewise.
19450 (fma_test_data): Likewise.
19451 (fma_towardzero_test_data): Likewise.
19452 (fma_downward_test_data): Likewise.
19453 (fma_upward_test_data): Likewise.
19454 (fmax_test_data): Likewise.
19455 (fmin_test_data): Likewise.
19456 (fmod_test_data): Likewise.
19457 (fpclassify_test_data): Likewise.
19458 (frexp_test_data): Likewise.
19459 (gamma_test_data): Likewise.
19460 (hypot_test_data): Likewise.
19461 (ilogb_test_data): Likewise.
19462 (isfinite_test_data): Likewise.
19463 (isgreater_test_data): Likewise.
19464 (isgreaterequal_test_data): Likewise.
19465 (isinf_test_data): Likewise.
19466 (isless_test_data): Likewise.
19467 (islessequal_test_data): Likewise.
19468 (islessgreater_test_data): Likewise.
19469 (isnan_test_data): Likewise.
19470 (isnormal_test_data): Likewise.
19471 (issignaling_test_data): Likewise.
19472 (isunordered_test_data): Likewise.
19473 (j0_test_data): Likewise.
19474 (j1_test_data): Likewise.
19475 (jn_test_data): Likewise.
19476 (ldexp_test_data): Likewise.
19477 (lgamma_test_data): Likewise.
19478 (lrint_test_data): Likewise.
19479 (lrint_tonearest_test_data): Likewise.
19480 (lrint_towardzero_test_data): Likewise.
19481 (lrint_downward_test_data): Likewise.
19482 (lrint_upward_test_data): Likewise.
19483 (llrint_test_data): Likewise.
19484 (llrint_tonearest_test_data): Likewise.
19485 (llrint_towardzero_test_data): Likewise.
19486 (llrint_downward_test_data): Likewise.
19487 (llrint_upward_test_data): Likewise.
19488 (log_test_data): Likewise.
19489 (log10_test_data): Likewise.
19490 (log1p_test_data): Likewise.
19491 (log2_test_data): Likewise.
19492 (logb_test_data): Likewise.
19493 (logb_downward_test_data): Likewise.
19494 (lround_test_data): Likewise.
19495 (llround_test_data): Likewise.
19496 (modf_test_data): Likewise.
19497 (nearbyint_test_data): Likewise.
19498 (nextafter_test_data): Likewise.
19499 (nexttoward_test_data): Likewise.
19500 (pow_test_data): Likewise.
19501 (pow_tonearest_test_data): Likewise.
19502 (pow_towardzero_test_data): Likewise.
19503 (pow_downward_test_data): Likewise.
19504 (pow_upward_test_data): Likewise.
19505 (remainder_test_data): Likewise.
19506 (remainder_tonearest_test_data): Likewise.
19507 (remainder_towardzero_test_data): Likewise.
19508 (remainder_downward_test_data): Likewise.
19509 (remainder_upward_test_data): Likewise.
19510 (remquo_test_data): Likewise.
19511 (rint_test_data): Likewise.
19512 (rint_tonearest_test_data): Likewise.
19513 (rint_towardzero_test_data): Likewise.
19514 (rint_downward_test_data): Likewise.
19515 (rint_upward_test_data): Likewise.
19516 (round_test_data): Likewise.
19517 (scalb_test_data): Likewise.
19518 (scalbn_test_data): Likewise.
19519 (scalbln_test_data): Likewise.
19520 (signbit_test_data): Likewise.
19521 (sin_test_data): Likewise.
19522 (sin_tonearest_test_data): Likewise.
19523 (sin_towardzero_test_data): Likewise.
19524 (sin_downward_test_data): Likewise.
19525 (sin_upward_test_data): Likewise.
19526 (sincos_test_data): Likewise.
19527 (sinh_test_data): Likewise.
19528 (sinh_tonearest_test_data): Likewise.
19529 (sinh_towardzero_test_data): Likewise.
19530 (sinh_downward_test_data): Likewise.
19531 (sinh_upward_test_data): Likewise.
19532 (sqrt_test_data): Likewise.
19533 (tan_test_data): Likewise.
19534 (tan_tonearest_test_data): Likewise.
19535 (tan_towardzero_test_data): Likewise.
19536 (tan_downward_test_data): Likewise.
19537 (tan_upward_test_data): Likewise.
19538 (tanh_test_data): Likewise.
19539 (tgamma_test_data): Likewise.
19540 (trunc_test_data): Likewise.
19541 (y0_test_data): Likewise.
19542 (y1_test_data): Likewise.
19543 (yn_test_data): Likewise.
19544 (significand_test_data): Likewise.
19546 * math/gen-libm-test.pl (@functions): Remove variable.
19547 (generate_testfile): Don't handle START and END lines.
19548 * math/libm-test.inc (START): New macro.
19550 (END_COMPLEX): Likewise.
19551 (acos_test): Use END macro without arguments.
19552 (acos_test_tonearest): Likewise.
19553 (acos_test_towardzero): Likewise.
19554 (acos_test_downward): Likewise.
19555 (acos_test_upward): Likewise.
19556 (acosh_test): Likewise.
19557 (asin_test): Likewise.
19558 (asin_test_tonearest): Likewise.
19559 (asin_test_towardzero): Likewise.
19560 (asin_test_downward): Likewise.
19561 (asin_test_upward): Likewise.
19562 (asinh_test): Likewise.
19563 (atan_test): Likewise.
19564 (atanh_test): Likewise.
19565 (atan2_test): Likewise.
19566 (cabs_test): Likewise.
19567 (cacos_test): Use END_COMPLEX macro without arguments.
19568 (cacosh_test): Likewise.
19569 (carg_test): Use END macro without arguments.
19570 (casin_test): Use END_COMPLEX macro without arguments.
19571 (casinh_test): Likewise.
19572 (catan_test): Likewise.
19573 (catanh_test): Likewise.
19574 (cbrt_test): Use END macro without arguments.
19575 (ccos_test): Use END_COMPLEX macro without arguments.
19576 (ccosh_test): Likewise.
19577 (ceil_test): Use END macro without arguments.
19578 (cexp_test): Use END_COMPLEX macro without arguments.
19579 (cimag_test): Use END macro without arguments.
19580 (clog_test): Use END_COMPLEX macro without arguments.
19581 (clog10_test): Likewise.
19582 (conj_test): Likewise.
19583 (copysign_test): Use END macro without arguments.
19584 (cos_test): Likewise.
19585 (cos_test_tonearest): Likewise.
19586 (cos_test_towardzero): Likewise.
19587 (cos_test_downward): Likewise.
19588 (cos_test_upward): Likewise.
19589 (cosh_test): Likewise.
19590 (cosh_test_tonearest): Likewise.
19591 (cosh_test_towardzero): Likewise.
19592 (cosh_test_downward): Likewise.
19593 (cosh_test_upward): Likewise.
19594 (cpow_test): Use END_COMPLEX macro without arguments.
19595 (cproj_test): Likewise.
19596 (creal_test): Use END macro without arguments.
19597 (csin_test): Use END_COMPLEX macro without arguments.
19598 (csinh_test): Likewise.
19599 (csqrt_test): Likewise.
19600 (ctan_test): Likewise.
19601 (ctan_test_tonearest): Likewise.
19602 (ctan_test_towardzero): Likewise.
19603 (ctan_test_downward): Likewise.
19604 (ctan_test_upward): Likewise.
19605 (ctanh_test): Likewise.
19606 (ctanh_test_tonearest): Likewise.
19607 (ctanh_test_towardzero): Likewise.
19608 (ctanh_test_downward): Likewise.
19609 (ctanh_test_upward): Likewise.
19610 (erf_test): Use END macro without arguments.
19611 (erfc_test): Likewise.
19612 (exp_test): Likewise.
19613 (exp_test_tonearest): Likewise.
19614 (exp_test_towardzero): Likewise.
19615 (exp_test_downward): Likewise.
19616 (exp_test_upward): Likewise.
19617 (exp10_test): Likewise.
19618 (exp2_test): Likewise.
19619 (expm1_test): Likewise.
19620 (fabs_test): Likewise.
19621 (fdim_test): Likewise.
19622 (finite_test): Likewise.
19623 (floor_test): Likewise.
19624 (fma_test): Likewise.
19625 (fma_test_towardzero): Likewise.
19626 (fma_test_downward): Likewise.
19627 (fma_test_upward): Likewise.
19628 (fmax_test): Likewise.
19629 (fmin_test): Likewise.
19630 (fmod_test): Likewise.
19631 (fpclassify_test): Likewise.
19632 (frexp_test): Likewise.
19633 (gamma_test): Likewise.
19634 (hypot_test): Likewise.
19635 (ilogb_test): Likewise.
19636 (isfinite_test): Likewise.
19637 (isgreater_test): Likewise.
19638 (isgreaterequal_test): Likewise.
19639 (isinf_test): Likewise.
19640 (isless_test): Likewise.
19641 (islessequal_test): Likewise.
19642 (islessgreater_test): Likewise.
19643 (isnan_test): Likewise.
19644 (isnormal_test): Likewise.
19645 (issignaling_test): Likewise.
19646 (isunordered_test): Likewise.
19647 (j0_test): Likewise.
19648 (j1_test): Likewise.
19649 (jn_test): Likewise.
19650 (ldexp_test): Likewise.
19651 (lgamma_test): Likewise.
19652 (lrint_test): Likewise.
19653 (lrint_test_tonearest): Likewise.
19654 (lrint_test_towardzero): Likewise.
19655 (lrint_test_downward): Likewise.
19656 (lrint_test_upward): Likewise.
19657 (llrint_test): Likewise.
19658 (llrint_test_tonearest): Likewise.
19659 (llrint_test_towardzero): Likewise.
19660 (llrint_test_downward): Likewise.
19661 (llrint_test_upward): Likewise.
19662 (log_test): Likewise.
19663 (log10_test): Likewise.
19664 (log1p_test): Likewise.
19665 (log2_test): Likewise.
19666 (logb_test): Likewise.
19667 (logb_test_downward): Likewise.
19668 (lround_test): Likewise.
19669 (llround_test): Likewise.
19670 (modf_test): Likewise.
19671 (nearbyint_test): Likewise.
19672 (nextafter_test): Likewise.
19673 (nexttoward_test): Likewise.
19674 (pow_test): Likewise.
19675 (pow_test_tonearest): Likewise.
19676 (pow_test_towardzero): Likewise.
19677 (pow_test_downward): Likewise.
19678 (pow_test_upward): Likewise.
19679 (remainder_test): Likewise.
19680 (remainder_test_tonearest): Likewise.
19681 (remainder_test_towardzero): Likewise.
19682 (remainder_test_downward): Likewise.
19683 (remainder_test_upward): Likewise.
19684 (remquo_test): Likewise.
19685 (rint_test): Likewise.
19686 (rint_test_tonearest): Likewise.
19687 (rint_test_towardzero): Likewise.
19688 (rint_test_downward): Likewise.
19689 (rint_test_upward): Likewise.
19690 (round_test): Likewise.
19691 (scalb_test): Likewise.
19692 (scalbn_test): Likewise.
19693 (scalbln_test): Likewise.
19694 (signbit_test): Likewise.
19695 (sin_test): Likewise.
19696 (sin_test_tonearest): Likewise.
19697 (sin_test_towardzero): Likewise.
19698 (sin_test_downward): Likewise.
19699 (sin_test_upward): Likewise.
19700 (sincos_test): Likewise.
19701 (sinh_test): Likewise.
19702 (sinh_test_tonearest): Likewise.
19703 (sinh_test_towardzero): Likewise.
19704 (sinh_test_downward): Likewise.
19705 (sinh_test_upward): Likewise.
19706 (sqrt_test): Likewise.
19707 (tan_test): Likewise.
19708 (tan_test_tonearest): Likewise.
19709 (tan_test_towardzero): Likewise.
19710 (tan_test_downward): Likewise.
19711 (tan_test_upward): Likewise.
19712 (tanh_test): Likewise.
19713 (tgamma_test): Likewise.
19714 (trunc_test): Likewise.
19715 (y0_test): Likewise.
19716 (y1_test): Likewise.
19717 (yn_test): Likewise.
19718 (significand_test): Likewise.
19720 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19723 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19725 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19728 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19729 __ppc_mdoio and __ppc_mdoom.
19730 * manual/platform.texi: Document new functions __ppc_yield,
19731 __ppc_mdoio and __ppc_mdoom.
19733 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19735 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19736 (main): Mention "tls" pseudo-hwcap is legacy.
19737 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19739 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19741 * math/gen-libm-test.pl (parse_args): Output only string of
19742 arguments as text for test name, not full call or descriptions of
19743 tests for extra outputs.
19744 (generate_testfile): Do not pass function name to parse_args.
19745 Generate this_func variable from START.
19746 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19748 (struct test_ff_f_data): Likewise.
19749 (test_ff_f_data_nexttoward): Likewise.
19750 (struct test_fi_f_data): Likewise.
19751 (struct test_fl_f_data): Likewise.
19752 (struct test_if_f_data): Likewise.
19753 (struct test_fff_f_data): Likewise.
19754 (struct test_c_f_data): Likewise.
19755 (struct test_f_f1_data): Likewise. Remove field extra_name.
19756 (struct test_fF_f1_data): Likewise.
19757 (struct test_ffI_f1_data): Likewise.
19758 (struct test_c_c_data): Rename test_name field to arg_str.
19759 (struct test_cc_c_data): Likewise.
19760 (struct test_f_i_data): Likewise.
19761 (struct test_ff_i_data): Likewise.
19762 (struct test_f_l_data): Likewise.
19763 (struct test_f_L_data): Likewise.
19764 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19766 (COMMON_TEST_SETUP): New macro.
19767 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19768 (COMMON_TEST_CLEANUP): Likewise.
19769 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19770 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19772 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19773 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19775 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19776 (RUN_TEST_fff_f): Take argument string. Call new setup and
19778 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19779 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19781 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19782 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19784 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19785 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19787 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19788 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19790 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19791 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19793 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19794 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19796 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19797 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19799 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19800 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19802 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19803 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19805 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19806 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19808 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19809 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19811 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19812 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19814 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19815 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19817 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19818 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19820 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19821 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19823 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19825 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19827 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19828 to _sifields.sigfault.
19829 (si_addr_lsb): Define new macro.
19830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19834 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19837 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19839 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19841 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19842 loading the domain.
19844 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19846 * math/gen-libm-test.pl (parse_args): Do not include expected
19847 result in test name.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19857 * benchtests/Makefile: Sort function entries.
19859 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19860 tanh, asinh, acosh, atanh.
19861 * benchtests/acos-inputs: New file.
19862 * benchtests/acosh-inputs: New file.
19863 * benchtests/asin-inputs: New file.
19864 * benchtests/asinh-inputs: New file.
19865 * benchtests/atanh-inputs: New file.
19866 * benchtests/cosh-inputs: New file.
19867 * benchtests/log-inputs: New file.
19868 * benchtests/sinh-inputs: New file.
19869 * benchtests/tanh-inputs: New file.
19871 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19874 * posix/tst-getaddrinfo4.c: New test.
19875 * posix/Makefile (tests): Add it.
19877 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19880 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19881 when no services were used.
19882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19883 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19885 2013-05-21 Andreas Schwab <schwab@suse.de>
19888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19889 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19891 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19892 redundant variable declarations and reallocation of buffer when
19893 parsing as IPv6 address. Always set NSS status when called from
19894 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19895 buffer too small. Correct computation of needed size.
19896 * nss/Makefile (tests): Add test-digits-dots.
19897 * nss/test-digits-dots.c: New test.
19899 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19901 * benchtests/Makefile: Remove instructions for adding
19903 * benchtests/README: New file to explain how to execute and
19904 enhance the benchmark tests.
19906 2013-05-21 Andreas Schwab <schwab@suse.de>
19909 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19910 * setjmp/tst-sigsetjmp.c: New test.
19912 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19914 * sysdeps/x86_64/memset.S (memset): New implementation.
19915 (__bzero): Likewise.
19916 (__memset_tail): New function.
19918 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19920 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19921 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19922 __memcpy_sse2_unaligned ifunc selection.
19923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19924 Add memcpy-sse2-unaligned.S.
19925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19926 Add: __memcpy_sse2_unaligned.
19928 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19931 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19932 math_force_eval before restoring floating-point envrionment.
19933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19938 (__nearbyintl): Use math_force_eval before restoring
19939 floating-point environment.
19940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19942 * math/gen-libm-test.pl (special_functions): Remove.
19943 (parse_args): Don't handle TEST_extra. Handle functions with no
19945 * math/libm-test.inc (struct test_sincos_data): Replace with
19946 struct test_fFF_11_data.
19947 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19948 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19949 (sincos_test_data): Change element type to struct
19950 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19951 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19952 RUN_TEST_LOOP_sincos.
19953 * math/README.libm-test: Don't mention special handling of
19954 individual functions.
19955 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19962 * math/gen-libm-test.pl (get_variable): Remove function.
19963 (parse_args): Don't show pointer parameters to call in test
19964 names. Use "extra output N" in test names for extra outputs
19965 rather than naming variables.
19967 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19970 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19971 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19972 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19974 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19976 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19979 * math/gen-libm-test.pl (@tests): Remove variable.
19980 ($count): Likewise.
19981 (new_test): Remove function.
19982 (show_exceptions): New function.
19983 (special_functions): Use show_exceptions instead of new_test.
19984 (parse_args): Likewise.
19985 (generate_testfile): Pass only function name in generated call to
19986 print_max_error or print_complex_max_error.
19987 (get_ulps): Do not handle complex tests specially.
19988 (output_test): Rename to ...
19989 (get_all_ulps_for_test): ... this. Return a string rather than
19990 printing to a file. Require ulps to be present.
19991 (output_ulps): Generate arrays rather than #defines.
19992 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19993 (struct ulp_data): New type.
19994 (BUILD_COMPLEX_ULP): Remove macro.
19995 (compare_ulp_data): New function.
19996 (find_ulps): Likewise.
19997 (find_test_ulps): Likewise.
19998 (find_function_ulps): Likewise.
19999 (find_complex_function_ulps): Likewise.
20000 (print_max_error): Determine allowed ulps using
20001 find_function_ulps.
20002 (print_complex_max_error): Determine allowed ulps using
20003 find_complex_function_ulps.
20004 (check_float_internal): Determine max ulps using find_test_ulps.
20005 (check_float): Do not take max_ulp parameter. Update call to
20006 check_float_internal.
20007 (check_complex): Likewise.
20008 (check_int): Do not take max_ulp parameter.
20009 (check_long): Likewise.
20010 (check_bool): Likewise.
20011 (check_longlong): Likewise.
20012 (struct test_f_f_data): Remove max_ulp field.
20013 (struct test_ff_f_data): Likewise.
20014 (struct test_ff_f_data_nexttoward): Likewise.
20015 (struct test_fi_f_data): Likewise.
20016 (struct test_fl_f_data): Likewise.
20017 (struct test_if_f_data): Likewise.
20018 (struct test_fff_f_data): Likewise.
20019 (struct test_c_f_data): Likewise.
20020 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20021 (struct test_fF_f1_data): Likewise.
20022 (struct test_ffI_f1_data): Likewise.
20023 (struct test_c_c_data): Remove max_ulp field.
20024 (struct test_cc_c_data): Likewise.
20025 (struct test_f_i_data): Likewise.
20026 (struct test_ff_i_data): Likewise.
20027 (struct test_f_l_data): Likewise.
20028 (struct test_f_L_data): Likewise.
20029 (struct test_sincos_data): Likewise.
20030 (RUN_TEST_f_f): Do not handle ulps.
20031 (RUN_TEST_LOOP_f_f): Likewise.
20032 (RUN_TEST_2_f): Likewise.
20033 (RUN_TEST_LOOP_2_f): Likewise.
20034 (RUN_TEST_fff_f): Likewise.
20035 (RUN_TEST_LOOP_fff_f): Likewise.
20036 (RUN_TEST_c_f): Likewise.
20037 (RUN_TEST_LOOP_c_f): Likewise.
20038 (RUN_TEST_f_f1): Likewise.
20039 (RUN_TEST_LOOP_f_f1): Likewise.
20040 (RUN_TEST_fF_f1): Likewise.
20041 (RUN_TEST_LOOP_fF_f1): Likewise.
20042 (RUN_TEST_fI_f1): Likewise.
20043 (RUN_TEST_LOOP_fI_f1): Likewise.
20044 (RUN_TEST_ffI_f1): Likewise.
20045 (RUN_TEST_LOOP_ffI_f1): Likewise.
20046 (RUN_TEST_c_c): Likewise.
20047 (RUN_TEST_LOOP_c_c): Likewise.
20048 (RUN_TEST_cc_c): Likewise.
20049 (RUN_TEST_LOOP_cc_c): Likewise.
20050 (RUN_TEST_f_i): Likewise.
20051 (RUN_TEST_LOOP_f_i): Likewise.
20052 (RUN_TEST_f_i_tg): Likewise.
20053 (RUN_TEST_LOOP_f_i_tg): Likewise.
20054 (RUN_TEST_ff_i_tg): Likewise.
20055 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20056 (RUN_TEST_f_b): Likewise.
20057 (RUN_TEST_LOOP_f_b): Likewise.
20058 (RUN_TEST_f_b_tg): Likewise.
20059 (RUN_TEST_LOOP_f_b_tg): Likewise.
20060 (RUN_TEST_f_l): Likewise.
20061 (RUN_TEST_LOOP_f_l): Likewise.
20062 (RUN_TEST_f_L): Likewise.
20063 (RUN_TEST_LOOP_f_L): Likewise.
20064 (RUN_TEST_sincos): Likewise.
20065 (RUN_TEST_LOOP_sincos): Likewise.
20067 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20072 main case of finite arguments, set rounding mode to FE_TONEAREST
20073 and discard exceptions.
20074 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20076 (remainder_tonearest_test_data): New variable.
20077 (remainder_test_tonearest): New function.
20078 (remainder_towardzero_test_data): New variable.
20079 (remainder_test_towardzero): New function.
20080 (remainder_downward_test_data): New variable.
20081 (remainder_test_downward): New function.
20082 (remainder_upward_test_data): New variable.
20083 (remainder_test_upward): New function.
20084 (main): Call the new test functions.
20086 * math/libm-test.inc (struct test_f_f1_data): Remove field
20088 (struct test_fF_f1_data): Likewise.
20089 (struct test_ffI_f1_data): Likewise.
20090 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20091 based on value of EXTRA_EXPECTED.
20092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20093 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20094 EXTRA_VAR based on value of EXTRA_EXPECTED.
20095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20096 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20097 EXTRA_VAR based on value of EXTRA_EXPECTED.
20098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20099 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20100 EXTRA_VAR based on value of EXTRA_EXPECTED.
20101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20102 * math/gen-libm-test.pl (parse_args): Don't output initializers
20103 for extra output values.
20105 * math/libm-test.inc (check_int): Expect result to be exactly
20106 equal to expected value and do not handle ulps.
20107 (check_long): Likewise.
20108 (check_longlong): Likewise.
20110 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20112 (cimag_test_data): Likewise.
20113 (conj_test_data): Likewise.
20114 (copysign_test_data): Likewise.
20115 (cproj_test_data): Likewise.
20116 (creal_test_data): Likewise.
20117 (fabs_test_data): Likewise.
20118 (fdim_test_data): Likewise.
20119 (finite_test_data): Likewise.
20120 (floor_test_data): Likewise.
20121 (fmax_test_data): Likewise.
20122 (fmin_test_data): Likewise.
20123 (fmod_test_data): Likewise.
20124 (fpclassify_test_data): Likewise.
20125 (frexp_test_data): Likewise.
20126 (ilogb_test_data): Likewise.
20127 (isfinite_test_data): Likewise.
20128 (isgreater_test_data): Likewise.
20129 (isgreaterequal_test_data): Likewise.
20130 (isinf_test_data): Likewise.
20131 (isless_test_data): Likewise.
20132 (islessequal_test_data): Likewise.
20133 (islessgreater_test_data): Likewise.
20134 (isnan_test_data): Likewise.
20135 (isnormal_test_data): Likewise.
20136 (issignaling_test_data): Likewise.
20137 (isunordered_test_data): Likewise.
20138 (ldexp_test_data): Likewise.
20139 (lrint_test_data): Likewise.
20140 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20141 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20142 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20143 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20144 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20145 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20147 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20148 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20149 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20150 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20152 (lrint_downward_test_data): Test for "inexact" exceptions.
20153 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20154 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20155 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20157 (lrint_upward_test_data): Test for "inexact" exceptions.
20158 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20160 (llrint_test_data): Test for "inexact" exceptions.
20161 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20162 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20163 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20164 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20165 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20166 (llrint_downward_test_data): Test for "inexact" exceptions.
20167 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20168 (llrint_upward_test_data): Test for "inexact" exceptions.
20169 (logb_test_data): Likewise.
20170 (logb_downward_test_data): Likewise.
20171 (nextafter_test_data): Likewise.
20172 (nexttoward_test_data): Likewise.
20173 (remainder_test_data): Likewise.
20174 (remquo_test_data): Likewise.
20175 (scalbn_test_data): Likewise.
20176 (scalbln_test_data): Likewise.
20177 (signbit_test_data): Likewise.
20178 (sqrt_test_data): Likewise.
20179 (significand_test_data): Likewise.
20181 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20184 * benchtests/bench-modf.c (struct args): Mark arg0 as
20186 * scripts/bench.pl: Mark members of struct args as volatile.
20188 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20191 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20192 negative infinity on POWER6 or lower.
20193 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20195 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20198 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20199 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20200 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20201 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20202 (_FP_SETQNAN): New macro.
20203 (_FP_SETQNAN_SEMIRAW): Likewise.
20204 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20205 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20206 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20207 (FP_EXTEND): Use _FP_FRAC_SNANP.
20208 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20209 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20216 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20218 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20219 with DIVIDE_BY_ZERO_EXCEPTION.
20220 (gamma_test_data): Likewise.
20221 (lgamma_test_data): Likewise.
20222 (log_test_data): Likewise.
20223 (log10_test_data): Likewise.
20224 (log2_test_data): Likewise.
20225 (tgamma_test_data): Likewise.
20227 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20228 (acos_test_tonearest): Likewise.
20229 (acos_test_towardzero): Likewise.
20230 (acos_test_downward): Likewise.
20231 (acos_test_upward): Likewise.
20232 (acosh_test): Likewise.
20233 (asin_test): Likewise.
20234 (asin_test_tonearest): Likewise.
20235 (asin_test_towardzero): Likewise.
20236 (asin_test_downward): Likewise.
20237 (asin_test_upward): Likewise.
20238 (asinh_test): Likewise.
20239 (atan_test): Likewise.
20240 (atanh_test): Likewise.
20241 (atan2_test): Likewise.
20242 (cabs_test): Likewise.
20243 (cacos_test): Likewise.
20244 (cacosh_test): Likewise.
20245 (casin_test): Likewise.
20246 (casinh_test): Likewise.
20247 (catan_test): Likewise.
20248 (catanh_test): Likewise.
20249 (cbrt_test): Likewise.
20250 (ccos_test): Likewise.
20251 (ccosh_test): Likewise.
20252 (cexp_test): Likewise.
20253 (clog_test): Likewise.
20254 (clog10_test): Likewise.
20255 (cos_test): Likewise.
20256 (cos_test_tonearest): Likewise.
20257 (cos_test_towardzero): Likewise.
20258 (cos_test_downward): Likewise.
20259 (cos_test_upward): Likewise.
20260 (cosh_test): Likewise.
20261 (cosh_test_tonearest): Likewise.
20262 (cosh_test_towardzero): Likewise.
20263 (cosh_test_downward): Likewise.
20264 (cosh_test_upward): Likewise.
20265 (cpow_test): Likewise.
20266 (csin_test): Likewise.
20267 (csinh_test): Likewise.
20268 (csqrt_test): Likewise.
20269 (ctan_test): Likewise.
20270 (ctan_test_tonearest): Likewise.
20271 (ctan_test_towardzero): Likewise.
20272 (ctan_test_downward): Likewise.
20273 (ctan_test_upward): Likewise.
20274 (ctanh_test): Likewise.
20275 (ctanh_test_tonearest): Likewise.
20276 (ctanh_test_towardzero): Likewise.
20277 (ctanh_test_downward): Likewise.
20278 (ctanh_test_upward): Likewise.
20279 (erf_test): Likewise.
20280 (erfc_test): Likewise.
20281 (exp_test): Likewise.
20282 (exp_test_tonearest): Likewise.
20283 (exp_test_towardzero): Likewise.
20284 (exp_test_downward): Likewise.
20285 (exp_test_upward): Likewise.
20286 (exp10_test): Likewise.
20287 (exp2_test): Likewise.
20288 (expm1_test): Likewise.
20289 (fmod_test): Likewise.
20290 (gamma_test): Likewise.
20291 (hypot_test): Likewise.
20292 (j0_test): Likewise.
20293 (j1_test): Likewise.
20294 (jn_test): Likewise.
20295 (lgamma_test): Likewise.
20296 (log_test): Likewise.
20297 (log10_test): Likewise.
20298 (log1p_test): Likewise.
20299 (log2_test): Likewise.
20300 (logb_test_downward): Likewise.
20301 (pow_test): Likewise.
20302 (pow_test_tonearest): Likewise.
20303 (pow_test_towardzero): Likewise.
20304 (pow_test_downward): Likewise.
20305 (pow_test_upward): Likewise.
20306 (remainder_test): Likewise.
20307 (remquo_test): Likewise.
20308 (sin_test): Likewise.
20309 (sin_test_tonearest): Likewise.
20310 (sin_test_towardzero): Likewise.
20311 (sin_test_downward): Likewise.
20312 (sin_test_upward): Likewise.
20313 (sincos_test): Likewise.
20314 (sinh_test): Likewise.
20315 (sinh_test_tonearest): Likewise.
20316 (sinh_test_towardzero): Likewise.
20317 (sinh_test_downward): Likewise.
20318 (sinh_test_upward): Likewise.
20319 (sqrt_test): Likewise.
20320 (tan_test): Likewise.
20321 (tan_test_tonearest): Likewise.
20322 (tan_test_towardzero): Likewise.
20323 (tan_test_downward): Likewise.
20324 (tan_test_upward): Likewise.
20325 (tanh_test): Likewise.
20326 (tgamma_test): Likewise.
20327 (y0_test): Likewise.
20328 (y1_test): Likewise.
20329 (yn_test): Likewise.
20331 * math/gen-libm-test.pl (adjust_arg): Remove function.
20332 (special_function): Remove argument $in_func. Only handle
20333 generating output for tables of tests, not inside functions.
20334 (parse_args): Likewise.
20335 (generate_testfile): Remove variable $in_func. Update call to
20337 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20338 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20339 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20340 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20341 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20342 (MAX_VALUE_INIT): Rename macro to max_value.
20343 (MIN_VALUE_INIT): Rename macro to min_value.
20344 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20345 (plus_zero): Remove variable.
20346 (minus_zero): Likewise.
20347 (plus_infty): Likewise.
20348 (minus_infty): Likewise.
20349 (qnan_value): Likewise.
20350 (max_value): Likewise.
20351 (min_value): Likewise.
20352 (min_subnorm_value): Likewise.
20354 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20356 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20357 uint64_t or uint32_t usage.
20358 * crypt/sha256-block.c: Likewise.
20359 * crypt/sha256-crypt.c: Likewise.
20360 * crypt/sha256.c: Likewise.
20361 * crypt/sha512-block.c: Likewise.
20362 * crypt/sha512-crypt.c: Likewise.
20363 * crypt/sha512.c: Likewise.
20364 * debug/backtrace-tst.c: Likewise.
20365 * debug/pcprofiledump.c: Likewise.
20366 * elf/cache.c: Likewise.
20367 * elf/dl-cache.c: Likewise.
20368 * elf/dl-misc.c: Likewise.
20369 * elf/dl-profile.c: Likewise.
20370 * elf/dl-support.c: Likewise.
20371 * elf/ldconfig.c: Likewise.
20372 * elf/sprof.c: Likewise.
20373 * iconv/dummy-repertoire.c: Likewise.
20374 * iconv/iconv_charmap.c: Likewise.
20375 * iconv/skeleton.c: Likewise.
20376 * iconvdata/8bit-generic.c: Likewise.
20377 * iconvdata/cp737.h: Likewise.
20378 * iconvdata/cp775.h: Likewise.
20379 * iconvdata/ibm1008.h: Likewise.
20380 * iconvdata/ibm1025.h: Likewise.
20381 * iconvdata/ibm1046.h: Likewise.
20382 * iconvdata/ibm1097.h: Likewise.
20383 * iconvdata/ibm1112.h: Likewise.
20384 * iconvdata/ibm1122.h: Likewise.
20385 * iconvdata/ibm1123.h: Likewise.
20386 * iconvdata/ibm1124.h: Likewise.
20387 * iconvdata/ibm1129.h: Likewise.
20388 * iconvdata/ibm1130.h: Likewise.
20389 * iconvdata/ibm1132.h: Likewise.
20390 * iconvdata/ibm1133.h: Likewise.
20391 * iconvdata/ibm1137.h: Likewise.
20392 * iconvdata/ibm1140.h: Likewise.
20393 * iconvdata/ibm1141.h: Likewise.
20394 * iconvdata/ibm1142.h: Likewise.
20395 * iconvdata/ibm1143.h: Likewise.
20396 * iconvdata/ibm1144.h: Likewise.
20397 * iconvdata/ibm1145.h: Likewise.
20398 * iconvdata/ibm1146.h: Likewise.
20399 * iconvdata/ibm1147.h: Likewise.
20400 * iconvdata/ibm1148.h: Likewise.
20401 * iconvdata/ibm1149.h: Likewise.
20402 * iconvdata/ibm1153.h: Likewise.
20403 * iconvdata/ibm1154.h: Likewise.
20404 * iconvdata/ibm1155.h: Likewise.
20405 * iconvdata/ibm1156.h: Likewise.
20406 * iconvdata/ibm1157.h: Likewise.
20407 * iconvdata/ibm1158.h: Likewise.
20408 * iconvdata/ibm1160.h: Likewise.
20409 * iconvdata/ibm1161.h: Likewise.
20410 * iconvdata/ibm1162.h: Likewise.
20411 * iconvdata/ibm1163.h: Likewise.
20412 * iconvdata/ibm1164.h: Likewise.
20413 * iconvdata/ibm1166.h: Likewise.
20414 * iconvdata/ibm1167.h: Likewise.
20415 * iconvdata/ibm12712.h: Likewise.
20416 * iconvdata/ibm1390.h: Likewise.
20417 * iconvdata/ibm1399.h: Likewise.
20418 * iconvdata/ibm16804.h: Likewise.
20419 * iconvdata/ibm4517.h: Likewise.
20420 * iconvdata/ibm4899.h: Likewise.
20421 * iconvdata/ibm4909.h: Likewise.
20422 * iconvdata/ibm4971.h: Likewise.
20423 * iconvdata/ibm5347.h: Likewise.
20424 * iconvdata/ibm803.h: Likewise.
20425 * iconvdata/ibm856.h: Likewise.
20426 * iconvdata/ibm901.h: Likewise.
20427 * iconvdata/ibm902.h: Likewise.
20428 * iconvdata/ibm9030.h: Likewise.
20429 * iconvdata/ibm9066.h: Likewise.
20430 * iconvdata/ibm921.h: Likewise.
20431 * iconvdata/ibm922.h: Likewise.
20432 * iconvdata/ibm9448.h: Likewise.
20433 * iconvdata/isiri-3342.h: Likewise.
20434 * iconvdata/jis0201.h: Likewise.
20435 * include/link.h: Likewise.
20436 * include/netdb.h: Likewise.
20437 * inet/check_native.c: Likewise.
20438 * inet/check_pf.c: Likewise.
20439 * inet/getipv4sourcefilter.c: Likewise.
20440 * inet/getnameinfo.c: Likewise.
20441 * inet/getsourcefilter.c: Likewise.
20442 * inet/htonl.c: Likewise.
20443 * inet/setipv4sourcefilter.c: Likewise.
20444 * inet/setsourcefilter.c: Likewise.
20445 * inet/test-inet6_opt.c: Likewise.
20446 * inet/tst-network.c: Likewise.
20447 * locale/C-collate.c: Likewise.
20448 * locale/C-ctype.c: Likewise.
20449 * locale/C-time.c: Likewise.
20450 * locale/C-translit.h: Likewise.
20451 * locale/loadarchive.c: Likewise.
20452 * locale/programs/3level.h: Likewise.
20453 * locale/programs/charmap.c: Likewise.
20454 * locale/programs/charmap.h: Likewise.
20455 * locale/programs/ld-address.c: Likewise.
20456 * locale/programs/ld-collate.c: Likewise.
20457 * locale/programs/ld-ctype.c: Likewise.
20458 * locale/programs/ld-identification.c: Likewise.
20459 * locale/programs/ld-measurement.c: Likewise.
20460 * locale/programs/ld-messages.c: Likewise.
20461 * locale/programs/ld-monetary.c: Likewise.
20462 * locale/programs/ld-name.c: Likewise.
20463 * locale/programs/ld-numeric.c: Likewise.
20464 * locale/programs/ld-paper.c: Likewise.
20465 * locale/programs/ld-telephone.c: Likewise.
20466 * locale/programs/ld-time.c: Likewise.
20467 * locale/programs/linereader.c: Likewise.
20468 * locale/programs/locale.c: Likewise.
20469 * locale/programs/locarchive.c: Likewise.
20470 * locale/programs/locfile.h: Likewise.
20471 * locale/programs/repertoire.c: Likewise.
20472 * locale/programs/simple-hash.c: Likewise.
20473 * locale/programs/simple-hash.h: Likewise.
20474 * malloc/memusage.c: Likewise.
20475 * malloc/memusagestat.c: Likewise.
20476 * nis/nis_defaults.c: Likewise.
20477 * nis/nis_hash.c: Likewise.
20478 * nis/nis_print.c: Likewise.
20479 * nis/nis_xdr.c: Likewise.
20480 * nscd/connections.c: Likewise.
20481 * nscd/hstcache.c: Likewise.
20482 * nscd/nscd_gethst_r.c: Likewise.
20483 * nscd/nscd_getserv_r.c: Likewise.
20484 * nscd/nscd_helper.c: Likewise.
20485 * nscd/servicescache.c: Likewise.
20486 * nss/makedb.c: Likewise.
20487 * nss/nss_db/db-XXX.c: Likewise.
20488 * nss/nss_db/db-initgroups.c: Likewise.
20489 * nss/nss_db/db-netgrp.c: Likewise.
20490 * nss/nss_files/files-network.c: Likewise.
20491 * nss/nss_files/files-parse.c: Likewise.
20492 * posix/bug-regex5.c: Likewise.
20493 * posix/fnmatch_loop.c: Likewise.
20494 * posix/regcomp.c: Likewise.
20495 * posix/regexec.c: Likewise.
20496 * posix/tst-rfc3484-2.c: Likewise.
20497 * posix/tst-rfc3484-3.c: Likewise.
20498 * posix/tst-rfc3484.c: Likewise.
20499 * resolv/nss_dns/dns-canon.c: Likewise.
20500 * resolv/nss_dns/dns-network.c: Likewise.
20501 * resolv/res_init.c: Likewise.
20502 * resolv/res_mkquery.c: Likewise.
20503 * resolv/tst-aton.c: Likewise.
20504 * stdlib/cxa_atexit.c: Likewise.
20505 * stdlib/cxa_finalize.c: Likewise.
20506 * stdlib/gen-fpioconst.c: Likewise.
20507 * stdlib/strtol_l.c: Likewise.
20508 * string/tst-endian.c: Likewise.
20509 * sunrpc/auth_des.c: Likewise.
20510 * sunrpc/clnt_udp.c: Likewise.
20511 * sunrpc/rtime.c: Likewise.
20512 * sunrpc/svcauth_des.c: Likewise.
20513 * sunrpc/xdr.c: Likewise.
20514 * sunrpc/xdr_intXX_t.c: Likewise.
20515 * sunrpc/xdr_rec.c: Likewise.
20516 * sysdeps/generic/ldconfig.h: Likewise.
20517 * sysdeps/generic/ldsodefs.h: Likewise.
20518 * sysdeps/generic/memusage.h: Likewise.
20519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20529 * sysdeps/posix/getaddrinfo.c: Likewise.
20530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20534 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20535 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20536 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20537 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20538 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20540 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20542 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20545 * sysdeps/x86_64/dl-tls.h: Likewise.
20546 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20547 * time/alt_digit.c: Likewise.
20548 * time/era.c: Likewise.
20549 * wcsmbs/tst-c16c32-1.c: Likewise.
20551 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20553 * math/libm-test.inc (struct test_sincos_data): New type.
20554 (RUN_TEST_LOOP_sincos): New macro.
20555 (sincos_test_data): New variable.
20556 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20558 2013-05-16 Richard Henderson <rth@redhat.com>
20560 * math/atest-exp2.c (LIMB64): New macro.
20561 (CONSTSZ): New macro.
20562 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20564 (print_mpn_fp): ... to function scope.
20565 (read_mpn_hex): Remove.
20566 (get_log2): Remove.
20567 (exp2_mpn): Use mp_log2.
20568 (main): Use mp_exp1.
20570 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20572 * math/libm-test.inc: Remove comment about not testing "inexact"
20574 (INEXACT_EXCEPTION): New macro.
20575 (NO_INEXACT_EXCEPTION): Likewise.
20576 (INVALID_EXCEPTION_OK): Update value.
20577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20578 (OVERFLOW_EXCEPTION_OK): Likewise.
20579 (UNDERFLOW_EXCEPTION_OK): Likewise.
20580 (IGNORE_ZERO_INF_SIGN): Likewise.
20581 (ERRNO_UNCHANGED): Likewise.
20582 (ERRNO_EDOM): Likewise.
20583 (ERRNO_ERANGE): Likewise.
20584 (test_exceptions): Handle testing "inexact" exceptions.
20585 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20586 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20587 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20588 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20590 (rint_towardzero_test_data): Likewise.
20591 (rint_downward_test_data): Likewise.
20592 (rint_upward_test_data): Likewise.
20594 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20595 with OVERFLOW_EXCEPTION.
20596 (exp10_test_data): Likewise.
20597 (exp2_test_data): Likewise.
20598 (expm1_test_data): Likewise.
20599 (lgamma_test_data): Likewise.
20600 (pow_test_data): Likewise.
20601 (tgamma_test_data): Likewise.
20602 (yn_test_data): Remove duplicate test of overflow.
20604 * math/libm-test.inc (struct test_cc_c_data): New type.
20605 (RUN_TEST_LOOP_cc_c): New macro.
20606 (cpow_test_data): New variable.
20607 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20609 * math/libm-test.inc (struct test_f_L_data): New type.
20610 (RUN_TEST_LOOP_f_L): New macro.
20611 (llrint_test_data): New variable.
20612 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20613 (llrint_tonearest_test_data): New variable.
20614 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20615 (llrint_towardzero_test_data): New variable.
20616 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20617 (llrint_downward_test_data): New variable.
20618 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20619 (llrint_upward_test_data): New variable.
20620 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20621 (llround_test_data): New variable.
20622 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20624 2013-05-13 Peter Collingbourne <pcc@google.com>
20626 * math/atest-exp2.c (get_log2): Remove const attribute.
20628 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20630 * math/libm-test.inc (struct test_f_l_data): New type.
20631 (RUN_TEST_LOOP_f_l): New macro.
20632 (lrint_test_data): New variable.
20633 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20634 (lrint_tonearest_test_data): New variable.
20635 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20636 (lrint_towardzero_test_data): New variable.
20637 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20638 (lrint_downward_test_data): New variable.
20639 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20640 (lrint_upward_test_data): New variable.
20641 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20642 (lround_test_data): New variable.
20643 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20645 2013-05-15 Peter Collingbourne <pcc@google.com>
20647 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20648 (EXTRACT_WORDS64) Use where appropriate.
20649 (INSERT_WORDS64) Likewise.
20651 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20652 constraints with x constraints.
20653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20655 * malloc/obstack.c (_obstack_compat): Add initializer.
20657 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20660 si_trapno and add si_addr_lsb to _sifields.sigfault.
20661 (si_trapno): Remove macro.
20662 (si_addr_lsb): Define new macro.
20663 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20665 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20667 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20668 instead of TEST_f_l.
20669 (llrint_test_tonearest): Likewise.
20670 (llrint_test_towardzero): Likewise.
20671 (llrint_test_downward): Likewise.
20672 (llrint_test_upward): Likewise.
20673 (llround_test): Likewise.
20675 * math/libm-test.inc (struct test_f_i_data): Add comment.
20676 (RUN_TEST_LOOP_f_b): New macro.
20677 (RUN_TEST_LOOP_f_b_tg): Likewise.
20678 (finite_test_data): New variable.
20679 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20680 (isfinite_test_data): New variable.
20681 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20682 (isinf_test_data): New variable.
20683 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20684 (isnan_test_data): New variable.
20685 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20686 (isnormal_test_data): New variable.
20687 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20688 (issignaling_test_data): New variable.
20689 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20690 (signbit_test_data): New variable.
20691 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20693 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20694 with INVALID_EXCEPTION.
20695 (acosh_test_data): Likewise.
20696 (asin_test_data): Likewise.
20697 (atanh_test_data): Likewise.
20698 (fmod_test_data): Likewise.
20699 (log_test_data): Likewise.
20700 (log10_test_data): Likewise.
20701 (log2_test_data): Likewise.
20702 (pow_test_data): Likewise.
20703 (sqrt_test_data): Likewise.
20704 (y0_test_data): Likewise.
20705 (y1_test_data): Likewise.
20706 (yn_test_data): Likewise.
20708 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20711 * math/libm-test.inc (struct test_ff_i_data): New type.
20712 (RUN_TEST_LOOP_ff_i_tg): New macro.
20713 (isgreater_test_data): New variable.
20714 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20715 (isgreaterequal_test_data): New variable.
20716 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20717 (isless_test_data): New variable.
20718 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20719 (islessequal_test_data): New variable.
20720 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20721 (islessgreater_test_data): New variable.
20722 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20723 (isunordered_test_data): New variable.
20724 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20726 2013-05-14 David S. Miller <davem@davemloft.net>
20728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20730 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20732 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20734 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20736 (struct test_f_i_data): Change type of max_ulp to int.
20738 * math/libm-test.inc (test_ffI_f1_data): New type.
20739 (RUN_TEST_LOOP_ffI_f1): New macro.
20740 (remquo_test_data): New variable.
20741 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20743 * setjmp/tst-setjmp-fp.c: New file.
20744 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20745 (link-libm): New variable.
20746 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20748 * math/libm-test.inc (struct test_f_i_data): New type.
20749 (RUN_TEST_LOOP_f_i): New macro.
20750 (RUN_TEST_LOOP_f_i_tg): Likewise.
20751 (fpclassify_test_data): New variable.
20752 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20753 (ilogb_test_data): New variable.
20754 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20756 * math/libm-test.inc (scalbln_test): Correct function name in END
20759 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20760 (RUN_TEST_LOOP_fI_f1): New macro.
20761 (frexp_test_data): New variable.
20762 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20764 * math/libm-test.inc (struct test_fF_f1_data): New type.
20765 (RUN_TEST_LOOP_fF_f1): New macro.
20766 (modf_test_data): New variable.
20767 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20769 * math/libm-test.inc (struct test_f_f1_data): New type.
20770 (RUN_TEST_LOOP_f_f1): New macro.
20771 (gamma_test_data): New variable.
20772 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20773 (lgamma_test_data): New variable.
20774 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20776 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20779 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20780 (main): Comment "tls" pseudo-hwcap.
20782 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20784 * math/libm-test.inc (struct test_fl_f_data): New type.
20785 (RUN_TEST_LOOP_fl_f): New variable.
20786 (scalbln_test_data): New variable.
20787 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20789 * math/libm-test.inc (struct test_fi_f_data): New type.
20790 (RUN_TEST_LOOP_fi_f): New macro.
20791 (ldexp_test_data): New variable.
20792 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20793 (scalbn_test_data): New variable.
20794 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20796 * math/libm-test.inc (struct test_c_f_data): New type.
20797 (RUN_TEST_LOOP_c_f): New macro.
20798 (cabs_test_data): New variable.
20799 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20800 (carg_test_data): New variable.
20801 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20802 (cimag_test_data): New variable.
20803 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20804 (creal_test_data): New variable.
20805 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20807 * math/libm-test.inc (struct test_if_f_data): New type.
20808 (RUN_TEST_LOOP_if_f): New macro.
20809 (jn_test_data): New variable.
20810 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20811 (yn_test_data): New variable.
20812 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20814 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20816 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20818 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20819 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20821 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20823 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20824 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20825 (bench-deps): Add bench-timing.h.
20826 * benchtests-bench-skeleton.c: Include bench-timing.h.
20827 (main): Use TIMING_* macros instead of clock_gettime.
20828 * benchtests/bench-timing.h: New file.
20831 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20832 Renamed from _LIB_VERSION.
20833 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20835 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20837 * math/libm-test.inc (struct test_fff_f_data): New type.
20838 (RUN_TEST_LOOP_fff_f): New macro.
20839 (fma_test_data): New variable.
20840 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20841 (fma_towardzero_test_data): New variable.
20842 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20843 (fma_downward_test_data): New variable.
20844 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20845 (fma_upward_test_data): New variable.
20846 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20848 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20849 (struct test_c_c_data): New type.
20850 (RUN_TEST_LOOP_c_c): New macro.
20851 (cacos_test_data): New variable.
20852 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20853 (cacosh_test_data): New variable.
20854 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20855 (casin_test_data): New variable.
20856 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20857 (casinh_test_data): New variable.
20858 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20859 (catan_test_data): New variable.
20860 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20861 (catanh_test_data): New variable.
20862 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20863 (ccos_test_data): New variable.
20864 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20865 (ccosh_test_data): New variable.
20866 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20867 (cexp_test_data): New variable.
20868 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20869 (clog_test_data): New variable.
20870 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20871 (clog10_test_data): New variable.
20872 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20873 (conj_test_data): New variable.
20874 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20875 (cproj_test_data): New variable.
20876 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20877 (csin_test_data): New variable.
20878 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20879 (csinh_test_data): New variable.
20880 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20881 (csqrt_test_data): New variable.
20882 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20883 (ctan_test_data): New variable.
20884 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20885 (ctan_tonearest_test_data): New variable.
20886 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20887 (ctan_towardzero_test_data): New variable.
20888 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20889 (ctan_downward_test_data): New variable.
20890 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20891 (ctan_upward_test_data): New variable.
20892 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20893 (ctanh_test_data): New variable.
20894 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20895 (ctanh_tonearest_test_data): New variable.
20896 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20897 (ctanh_towardzero_test_data): New variable.
20898 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20899 (ctanh_downward_test_data): New variable.
20900 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20901 (ctanh_upward_test_data): New variable.
20902 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20903 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20906 * math/libm-test.inc (struct test_ff_f_data): New type.
20907 (struct test_ff_f_data_nexttoward): Likewise.
20908 (RUN_TEST_LOOP_2_f): New macro.
20909 (RUN_TEST_LOOP_ff_f): Likewise.
20910 (atan2_test_data): New variable.
20911 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20912 (copysign_test_data): New variable.
20913 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20914 (fdim_test_data): New variable.
20915 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20916 (fmax_test_data): New variable.
20917 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20918 (fmin_test_data): New variable.
20919 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20920 (fmod_test_data): New variable.
20921 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20922 (hypot_test_data): New variable.
20923 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20924 (nextafter_test_data): New variable.
20925 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20926 (nexttoward_test_data): New variable.
20927 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20928 (pow_test_data): New variable.
20929 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20930 (pow_tonearest_test_data): New variable.
20931 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20932 (pow_towardzero_test_data): New variable.
20933 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20934 (pow_downward_test_data): New variable.
20935 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20936 (pow_upward_test_data): New variable.
20937 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20938 (remainder_test_data): New variable.
20939 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20940 (scalb_test_data): New variable.
20941 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20942 * sysdeps/i386/fpu/libm-test-ulps: Update.
20944 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20946 * math/libm-test.inc (fma_test): Use max_value instead of local
20948 (nextafter_test): Likewise.
20950 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20951 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20952 (acos_downward_test_data): New variable.
20953 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20954 (acos_upward_test_data): New variable.
20955 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20956 (acosh_test_data): New variable.
20957 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20958 (asin_test_data): New variable.
20959 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20960 (asin_tonearest_test_data): New variable.
20961 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20962 (asin_towardzero_test_data): New variable.
20963 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20964 (asin_downward_test_data): New variable.
20965 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20966 (asin_upward_test_data): New variable.
20967 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20968 (asinh_test_data): New variable.
20969 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20970 (atan_test_data): New variable.
20971 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20972 (atanh_test_data): New variable.
20973 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20974 (cbrt_test_data): New variable.
20975 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20976 (ceil_test_data): New variable.
20977 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20978 (cos_test_data): New variable.
20979 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20980 (cos_tonearest_test_data): New variable.
20981 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20982 (cos_towardzero_test_data): New variable.
20983 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20984 (cos_downward_test_data): New variable.
20985 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20986 (cos_upward_test_data): New variable.
20987 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20988 (cosh_test_data): New variable.
20989 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20990 (cosh_tonearest_test_data): New variable.
20991 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20992 (cosh_towardzero_test_data): New variable.
20993 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20994 (cosh_downward_test_data): New variable.
20995 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20996 (cosh_upward_test_data): New variable.
20997 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20998 (erf_test_data): New variable.
20999 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21000 (erfc_test_data): New variable.
21001 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21002 (exp_test_data): New variable.
21003 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21004 (exp_tonearest_test_data): New variable.
21005 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21006 (exp_towardzero_test_data): New variable.
21007 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21008 (exp_downward_test_data): New variable.
21009 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21010 (exp_upward_test_data): New variable.
21011 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21012 (exp10_test_data): New variable.
21013 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21014 (exp2_test_data): New variable.
21015 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21016 (expm1_test_data): New variable.
21017 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21018 (fabs_test_data): New variable.
21019 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21020 (floor_test_data): New variable.
21021 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21022 (j0_test_data): New variable.
21023 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21024 (j1_test_data): New variable.
21025 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21026 (log_test_data): New variable.
21027 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21028 (log10_test_data): New variable.
21029 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21030 (log1p_test_data): New variable.
21031 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21032 (log2_test_data): New variable.
21033 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21034 (logb_test_data): New variable.
21035 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21036 (logb_downward_test_data): New variable.
21037 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21038 (nearbyint_test_data): New variable.
21039 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21040 (rint_test_data): New variable.
21041 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21042 (rint_tonearest_test_data): New variable.
21043 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21044 (rint_towardzero_test_data): New variable.
21045 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21046 (rint_downward_test_data): New variable.
21047 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21048 (rint_upward_test_data): New variable.
21049 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21050 (round_test_data): New variable.
21051 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21052 (sin_test_data): New variable.
21053 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21054 (sin_tonearest_test_data): New variable.
21055 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21056 (sin_towardzero_test_data): New variable.
21057 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21058 (sin_downward_test_data): New variable.
21059 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21060 (sin_upward_test_data): New variable.
21061 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21062 (sinh_test_data): New variable.
21063 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21064 (sinh_tonearest_test_data): New variable.
21065 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21066 (sinh_towardzero_test_data): New variable.
21067 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21068 (sinh_downward_test_data): New variable.
21069 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21070 (sinh_upward_test_data): New variable.
21071 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21072 (sqrt_test_data): New variable.
21073 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21074 (tan_test_data): New variable.
21075 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21076 (tan_tonearest_test_data): New variable.
21077 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21078 (tan_towardzero_test_data): New variable.
21079 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21080 (tan_downward_test_data): New variable.
21081 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21082 (tan_upward_test_data): New variable.
21083 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21084 (tanh_test_data): New variable.
21085 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21086 (tgamma_test_data): New variable.
21087 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21088 (trunc_test_data): New variable.
21089 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21090 (y0_test_data): New variable.
21091 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21092 (y1_test_data): New variable.
21093 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21094 (significand_test_data): New variable.
21095 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21097 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21100 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21102 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21104 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21106 2013-05-10 Andreas Jaeger <aj@suse.de>
21109 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21110 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21112 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21114 * math/gen-libm-test.pl (adjust_arg): New function.
21115 (special_functions): Handle generating output in both functions
21117 (parse_args): Likewise.
21118 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21119 $in_func argument to parse_args.
21120 * math/libm-test.inc (struct test_f_f_data): New type.
21121 (IF_ROUND_INIT_): New macro.
21122 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21123 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21124 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21125 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21126 (ROUND_RESTORE_): Likewise.
21127 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21128 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21129 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21130 (ROUND_RESTORE_FE_UPWARD): Likewise.
21131 (RUN_TEST_LOOP_f_f): New macro.
21132 (acos_test_data): New variable.
21133 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21134 (acos_tonearest_test_data): New variable.
21135 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21137 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21139 * benchtests/bench-skeleton.c (startup): Fix coding style.
21141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21144 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21145 negative infinity argument.
21146 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21147 negative infinity argument.
21148 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21149 negative infinity argument.
21150 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21153 2013-05-10 Florian Weimer <fweimer@redhat.com>
21155 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21156 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21157 * iconv/iconv_prog.c (main): Likewise.
21158 * locale/programs/charmap-dir.c (charmap_readdir)
21159 (fopen_uncompressed): Likewise.
21160 * locale/programs/locfile.c (siblings_uncached)
21161 (write_locale_data): Use lstat64 instead of lstat.
21162 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21165 2013-05-10 Andreas Jaeger <aj@suse.de>
21168 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21170 Include <locale.h>.
21172 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21174 * elf/dl-close.c (_dl_close_worker): Add comments.
21176 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21181 (__ieee754_rem_pio2l): Update comments.
21184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21186 (__ieee754_rem_pio2l): Update comments.
21188 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21189 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21191 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21194 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21195 (M_PI_34_LOG10El): Likewise.
21196 (M_PI2_LOG10El): Likewise.
21197 (M_PI4_LOG10El): Likewise.
21198 (M_PI_LOG10El): Likewise.
21200 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21204 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21206 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21207 (MINUS_ZERO_INIT): Likewise.
21208 (PLUS_INFTY_INIT): Likewise.
21209 (MINUS_INFTY_INIT): Likewise.
21210 (QNAN_VALUE_INIT): Likewise.
21211 (MAX_VALUE_INIT): Likewise.
21212 (MIN_VALUE_INIT): Likewise.
21213 (MIN_SUBNORM_VALUE_INIT): Likewise.
21214 (plus_zero): Initialize with PLUS_ZERO_INIT.
21215 (minus_zero): Initialize with MINUS_ZERO_INIT.
21216 (plus_infty): Initialize with PLUS_INFTY_INIT.
21217 (minus_infty): Initialize with MINUS_INFTY_INIT.
21218 (qnan_value): Initialize with QNAN_VALUE_INIT.
21219 (max_value): Initialize with MAX_VALUE_INIT.
21220 (min_value): Initialize with MIN_VALUE_INIT.
21221 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21223 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21224 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21225 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21226 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21228 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21229 (RUN_TEST_2_f): Likewise.
21230 (RUN_TEST_ff_f): Likewise.
21231 (RUN_TEST_fi_f): Likewise.
21232 (RUN_TEST_fl_f): Likewise.
21233 (RUN_TEST_fff_f): Likewise.
21234 (RUN_TEST_c_f): Likewise.
21235 (RUN_TEST_f_f1): Likewise.
21236 (RUN_TEST_fF_f1): Likewise.
21237 (RUN_TEST_fI_f1): Likewise.
21238 (RUN_TEST_ffI_f1): Likewise.
21239 (RUN_TEST_c_c): Likewise.
21240 (RUN_TEST_cc_c): Likewise.
21241 (RUN_TEST_f_i): Likewise.
21242 (RUN_TEST_f_i_tg): Likewise.
21243 (RUN_TEST_ff_i_tg): Likewise.
21244 (RUN_TEST_f_b): Likewise.
21245 (RUN_TEST_f_b_tg): Likewise.
21246 (RUN_TEST_f_l): Likewise.
21247 (RUN_TEST_f_L): Likewise.
21248 (RUN_TEST_sincos): Likewise.
21249 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21250 whether to show exceptions. Do not include ");\n" in return
21252 (special_functions): Output call to RUN_TEST_sincos instead of
21253 check_float calls. Update calls to new_test.
21254 (parse_args): Output call to single RUN_TEST_* macro instead of
21255 check_* calls and other assignments. Update calls to new_test.
21261 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21262 input to result for tgamma overflow.
21263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21264 (gamma_coeff): New variable.
21265 (NCOEFF): New macro.
21266 (gamma_positive): New function.
21267 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21268 underflow here. Use gamma_positive instead of exp (lgamma) for
21270 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21271 (gamma_coeff): New variable.
21272 (NCOEFF): New macro.
21273 (gammaf_positive): New function.
21274 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21275 underflow here. Use gamma_positive instead of exp (lgamma) for
21277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21278 (gamma_coeff): New variable.
21279 (NCOEFF): New macro.
21280 (gammal_positive): New function.
21281 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21282 underflow here. Use gamma_positive instead of exp (lgamma) for
21284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21285 (gamma_coeff): New variable.
21286 (NCOEFF): New macro.
21287 (gammal_positive): New function.
21288 (__ieee754_gammal_r): Handle positive infinity, overflow and
21289 underflow here. Handle NaN the same as positive infinity. Remove
21290 check x < 0xffffffff for negative integers. Use gamma_positive
21291 instead of exp (lgamma) for other arguments.
21292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21293 (gamma_coeff): New variable.
21294 (NCOEFF): New macro.
21295 (gammal_positive): New function.
21296 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21297 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21298 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21299 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21300 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21301 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21302 * sysdeps/generic/math_private.h (__gamma_productf): New
21304 (__gamma_product): Likewise.
21305 (__gamma_productl): Likewise.
21306 * math/Makefile (libm-calls): Add gamma_product.
21307 * math/libm-test.inc (tgamma_test): Add more tests.
21308 * sysdeps/i386/fpu/libm-test-ulps: Update.
21309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21311 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21313 * benchtests/bench-skeleton.c (main): Preheat CPU.
21315 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21317 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21319 2013-05-07 Roland McGrath <roland@hack.frob.com>
21321 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21322 and _dl_skip_args_internal.
21324 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21326 * manual/message.texi (Message Translation): Talk about users.
21327 Message to key mapping impacts design.
21329 2013-05-06 Roland McGrath <roland@hack.frob.com>
21331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21333 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21336 * sysdeps/wordsize-64/glob64.c: ... here.
21338 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21339 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21342 * debug/getlogin_r_chk.c: Moved to ...
21343 * login/getlogin_r_chk.c: ... here.
21344 * debug/Makefile (routines): Move getlogin_r_chk to ...
21345 * login/Makefile (routines): ... here.
21346 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21347 * login/Versions (libc: GLIBC_2.4): ... here.
21349 * io/poll.c (__poll): Renamed from poll.
21350 Add libc_hidden_def.
21351 (poll): Define as weak alias.
21353 * debug/ptsname_r_chk.c: Moved to ...
21354 * login/ptsname_r_chk.c: ... here.
21355 * debug/Makefile (routines): Move ptsname_r_chk to ...
21356 * login/Makefile (routines): ... here.
21357 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21358 * login/Versions (libc: GLIBC_2.4): ... here.
21360 * posix/getlogin.c: Moved to ...
21361 * login/getlogin.c: ... here.
21362 * posix/getlogin_r.c: Moved to ...
21363 * login/getlogin_r.c: ... here.
21364 * posix/getlogin_r.c: Moved to ...
21365 * login/getlogin_r.c: ... here.
21366 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21367 * login/Makefile (routines): ... here.
21368 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21369 * login/Versions (libc: GLIBC_2.0): ... here.
21371 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21372 (setrlimit): Define as weak alias.
21374 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21375 Call __ names for open, ftruncate, and close.
21376 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21377 (truncate): Define as weak alias.
21379 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21381 * math/gen-libm-test.pl (parse_args): Initialize x before each
21382 test of frexp, modf and remquo.
21384 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21385 test signgam value.
21387 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21391 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21395 2013-05-06 Roland McGrath <roland@hack.frob.com>
21397 * elf/dl-writev.h: New file.
21398 * elf/dl-misc.c: Include it.
21399 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21400 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21402 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21404 * math/libm-test.inc (noXFails): Remove variable.
21405 (noXPasses): Likewise.
21406 (BUILD_COMPLEX_INT): Remove macro.
21407 (print_screen): Remove xfail argument.
21408 (print_screen_max_error): Likewise.
21409 (update_stats): Likewise.
21410 (print_max_error): Likewise. Update calls to other affected
21412 (print_complex_max_error): Likewise.
21413 (test_single_exception): Update calls to print_screen.
21414 (test_single_errno): Likewise.
21415 (check_float_internal): Remove xfail argument. Update calls to
21416 other affected functions.
21417 (check_float): Likewise.
21418 (check_complex): Likewise.
21419 (check_int): Likewise.
21420 (check_long): Likewise.
21421 (check_bool): Likewise.
21422 (check_longlong): Likewise.
21423 (main): Don't print noXFails and noXPasses.
21424 * math/gen-libm-test.pl (top level): Don't mention expected
21425 failure handling in comment.
21426 (new_test): Don't handle expected failures.
21427 (parse_args): Don't mention expected failure handling in comment.
21428 (generate_testfile): Don't handle expected failures.
21429 (parse_ulps): Likewise.
21430 (print_ulps_file): Likewise.
21431 (get_failure): Remove function.
21432 (output_test): Don't handle expected failures.
21433 * make/README.libm-test: Don't mention expected failure handling.
21435 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21436 (minus_zero): Likewise.
21437 (plus_infty): Likewise.
21438 (minus_infty): Likewise.
21439 (qnan_value): Likewise.
21440 (max_value): Likewise.
21441 (min_value): Likewise.
21442 (min_subnorm_value): Likewise.
21443 (initialize): Do not initialize those variables dynamically.
21445 2013-05-03 Roland McGrath <roland@hack.frob.com>
21447 * io/open.c (__open_2): Moved to ...
21448 * io/open_2.c: ... this new file.
21449 * io/open64.c (__open64_2): Moved to ...
21450 * io/open64_2.c: ... this new file.
21451 * io/openat.c (__openat_2): Moved to ...
21452 * io/openat_2.c: ... this new file.
21453 * io/openat64.c (__openat64_2): Moved to ...
21454 * io/openat64_2.c: ... this new file.
21455 * io/Makefile (routines): Add them.
21456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21457 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21458 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21459 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21460 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21461 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21462 (__openat64): Add hidden_ver.
21463 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21464 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21466 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21467 Separately conditionalize setting of GLRO(dl_sysinfo) so
21468 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21469 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21471 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21476 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21478 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21479 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21480 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21482 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21484 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21485 test signgam value.
21487 * math/libm-test.inc (hypot_test): Do not use
21488 IGNORE_ZERO_INF_SIGN.
21490 2013-05-03 Andreas Jaeger <aj@suse.de>
21492 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21494 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21495 (PF_MAX): Adjust for VSOCK change.
21497 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21501 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21504 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21505 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21506 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21508 2013-05-02 David S. Miller <davem@davemloft.net>
21510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21512 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21514 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21516 2013-05-01 Roland McGrath <roland@hack.frob.com>
21518 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21520 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21523 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21524 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21525 Use __attribute__ ((__gnu_inline__)).
21526 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21527 Don't use __attribute__ ((__gnu_inline__)).
21529 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21532 * math/s_catan.c (__catan): Handle small real or imaginary part of
21533 input specially to avoid spurious underflow.
21534 * math/s_catanf.c (__catanf): Likewise.
21535 * math/s_catanh.c (__catanh): Likewise.
21536 * math/s_catanhf.c (__catanhf): Likewise.
21537 * math/s_catanhl.c (__catanhl): Likewise.
21538 * math/s_catanl.c (__catanl): Likewise.
21539 * math/libm-test.inc (catan_test): Add more tests.
21540 (catanh_test): Likewise.
21541 * sysdeps/i386/fpu/libm-test-ulps: Update.
21542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21548 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21551 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21552 accurately for denominator in atan2.
21553 * math/s_catanf.c (__catanf): Likewise.
21554 * math/s_catanh.c (__catanh): Likewise.
21555 * math/s_catanhf.c (__catanhf): Likewise.
21556 * math/s_catanhl.c (__catanhl): Likewise.
21557 * math/s_catanl.c (__catanl): Likewise.
21558 * math/libm-test.inc (catan_test): Add more tests.
21559 (catanh_test): Likewise.
21560 * sysdeps/i386/fpu/libm-test-ulps: Update.
21561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21563 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21565 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21567 * benchtests/Makefile (bench): Remove slow benchmarks.
21568 * benchtests/atan-inputs: Add slow benchmark inputs.
21569 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21570 (BENCH_FUNC): Accept variant offset.
21572 * benchtests/bench-skeleton.c (main): Run benchmark for each
21574 * benchtests/cos-inputs: Add slow benchmark inputs.
21575 * benchtests/exp-inputs: Likewise.
21576 * benchtests/pow-inputs: Likewise.
21577 * benchtests/sin-inputs: Likewise.
21578 * benchtests/slowatan-inputs: Remove.
21579 * benchtests/slowatan.c: Remove.
21580 * benchtests/slowcos-inputs: Remove.
21581 * benchtests/slowcos.c: Remove.
21582 * benchtests/slowexp-inputs: Remove.
21583 * benchtests/slowexp.c: Remove.
21584 * benchtests/slowpow-inputs: Remove.
21585 * benchtests/slowpow.c: Remove.
21586 * benchtests/slowsin-inputs: Remove.
21587 * benchtests/slowsin.c: Remove.
21588 * benchtests/slowtan-inputs: Remove.
21589 * benchtests/slowtan.c: Remove.
21590 * benchtests/tan-inputs: Add slow benchmark inputs.
21591 * scripts/bench.pl: Parse comments and directives.
21593 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21595 ($(objpfx)bench-%.c): Remove *-ITER.
21596 * benchtests/bench-modf.c: Remove definition of ITER.
21597 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21598 (main): Loop for DURATION seconds instead of fixed number of
21600 * scripts/bench.pl: Don't expect iterations in parameters.
21602 2013-04-29 Roland McGrath <roland@hack.frob.com>
21604 * io/fchdir.c (__fchdir): Renamed from fchdir.
21605 (fchdir): Define as weak alias.
21607 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21609 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21610 (ERRNO_EDOM): Likewise.
21611 (ERRNO_ERANGE): Likewise.
21612 (noErrnoTests): New variable.
21613 (init_max_error): Set errno to 0.
21614 (test_single_errno): New function.
21615 (test_errno): Likewise.
21616 (check_float_internal): Call test_errno. Set errno to 0.
21617 (check_complex): Refer to errno tests in comment.
21618 (check_int): Call test_errno. Set errno to 0.
21619 (check_long): Likewise.
21620 (check_bool): Likewise.
21621 (check_longlong): Likewise.
21622 (cos_test): Use ERRNO_* flags for errno tests instead of
21624 (expm1_test): Likewise.
21625 (fmod_test): Likewise.
21626 (ilogb_test): Likewise.
21627 (lgamma_test): Likewise.
21628 (pow_test): Likewise.
21629 (remainder_test): Likewise.
21630 (sin_test): Likewise.
21631 (tan_test): Likewise.
21632 (yn_test): Likewise.
21633 (initialize): Set errno to 0.
21634 (main): Print number of errno tests.
21635 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21637 2013-04-29 Andreas Jaeger <aj@suse.de>
21640 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21644 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21645 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21649 * stdlib/random.c (__initstate): Return NULL if
21653 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21654 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21657 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21661 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21663 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21664 of individual tests.
21665 (casin_test): Likewise.
21666 (casinh_test): Likewise.
21668 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21671 * math/s_catan.c (__catan): Handle arguments with large real or
21672 imaginary part separately without squaring.
21673 * math/s_catanf.c (__catanf): Likewise.
21674 * math/s_catanh.c (__catanh): Likewise.
21675 * math/s_catanhf.c (__catanhf): Likewise.
21676 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21678 (__catanhl): Handle arguments with large real or imaginary part
21679 separately without squaring.
21680 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21682 (__catanl): Handle arguments with large real or imaginary part
21683 separately without squaring.
21684 * math/libm-test.inc (catan_test): Add more tests.
21685 (catanh_test): Likewise.
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21689 2013-04-27 Andreas Jaeger <aj@suse.de>
21692 * stdlib/stdlib.h: Update guards for qecvt.
21693 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21696 2013-04-27 Allan McRae <allan@archlinux.org>
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21700 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21703 * math/s_catan.c: Include <float.h>.
21704 (__catan): Ensure underflow exception occurs for underflowed
21706 * math/s_catanf.c: Include <float.h>.
21707 (__catanf): Ensure underflow exception occurs for underflowed
21709 * math/s_catanh.c: Include <float.h>.
21710 (__catanh): Ensure underflow exception occurs for underflowed
21712 * math/s_catanhf.c: Include <float.h>.
21713 (__catanhf): Ensure underflow exception occurs for underflowed
21715 * math/s_catanhl.c: Include <float.h>.
21716 (__catanhl): Ensure underflow exception occurs for underflowed
21718 * math/s_catanl.c: Include <float.h>.
21719 (__catanl): Ensure underflow exception occurs for underflowed
21721 * math/libm-test.inc (catan_test): Add more tests.
21722 (catanh_test): Likewise.
21725 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21726 underflowed result.
21727 * math/s_ccoshf.c (__ccoshf): Likewise.
21728 * math/s_ccoshl.c (__ccoshl): Likewise.
21729 * math/s_csin.c (__csin): Likewise.
21730 * math/s_csinf.c (__csinf): Likewise.
21731 * math/s_csinh.c (__csinh): Likewise.
21732 * math/s_csinhf.c (__csinhf): Likewise.
21733 * math/s_csinhl.c (__csinhl): Likewise.
21734 * math/s_csinl.c (__csinl): Likewise.
21735 * math/libm-test.inc (ccos_test): Add more tests.
21736 (ccosh_test): Likewise.
21737 (csin_test): Likewise.
21738 (csinh_test): Likewise.
21740 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21742 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21743 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21744 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21745 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21746 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21747 powerpc/power5+/fpu folders.
21748 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21751 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21755 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21757 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21758 additions to variable.
21759 [$(config-machine) = x86_64] (modules-names): Likewise.
21760 ($(objpfx)tst-audit3): Remove dependency.
21761 ($(objpfx)tst-audit3.out): Likewise.
21762 ($(objpfx)tst-audit4): Likewise.
21763 ($(objpfx)tst-audit4.out): Likewise.
21764 ($(objpfx)tst-audit5): Likewise.
21765 ($(objpfx)tst-audit5.out): Likewise.
21766 ($(objpfx)tst-audit6): Likewise.
21767 ($(objpfx)tst-audit6.out): Likewise.
21768 ($(objpfx)tst-audit7): Likewise.
21769 ($(objpfx)tst-audit7.out): Likewise.
21770 (tst-audit3-ENV): Remove variable.
21771 (tst-audit4-ENV): Likewise.
21772 (tst-audit5-ENV): Likewise.
21773 (tst-audit6-ENV): Likewise.
21774 (tst-audit7-ENV): Likewise.
21775 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21776 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21777 addition to variable.
21778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21779 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21783 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21784 tst-audit3, tst-audit4 and tst-audit5.
21785 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21786 tst-audit6 and tst-audit7.
21787 [$(subdir) = elf] (modules-names): Add audit modules for those
21789 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21790 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21791 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21792 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21793 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21794 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21795 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21796 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21797 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21798 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21799 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21800 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21801 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21802 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21803 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21804 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21806 [$(subdir) = elf && $(config-cflags-avx) = yes]
21807 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21808 [$(subdir) = elf && $(config-cflags-avx) = yes]
21809 (CFLAGS-tst-auditmod4a.c): Likewise.
21810 [$(subdir) = elf && $(config-cflags-avx) = yes]
21811 (CFLAGS-tst-auditmod4b.c): Likewise.
21812 [$(subdir) = elf && $(config-cflags-avx) = yes]
21813 (CFLAGS-tst-auditmod6b.c): Likewise.
21814 [$(subdir) = elf && $(config-cflags-avx) = yes]
21815 (CFLAGS-tst-auditmod6c.c): Likewise.
21816 [$(subdir) = elf && $(config-cflags-avx) = yes]
21817 (CFLAGS-tst-auditmod7b.c): Likewise.
21818 * elf/tst-audit3.c: Move to ...
21819 * sysdeps/x86_64/tst-audit3.c: ... here.
21820 * elf/tst-audit4.c: Move to ...
21821 * sysdeps/x86_64/tst-audit4.c: ... here.
21822 * elf/tst-audit5.c: Move to ...
21823 * sysdeps/x86_64/tst-audit5.c: ... here.
21824 * elf/tst-audit6.c: Move to ...
21825 * sysdeps/x86_64/tst-audit6.c: ... here.
21826 * elf/tst-audit7.c: Move to ...
21827 * sysdeps/x86_64/tst-audit7.c: ... here.
21828 * elf/tst-auditmod3a.c: Move to ...
21829 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21830 * elf/tst-auditmod3b.c: Move to ...
21831 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21832 * elf/tst-auditmod4a.c: Move to ...
21833 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21834 * elf/tst-auditmod4b.c: Move to ...
21835 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21836 * elf/tst-auditmod5a.c: Move to ...
21837 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21838 * elf/tst-auditmod5b.c: Move to ...
21839 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21840 * elf/tst-auditmod6a.c: Move to ...
21841 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21842 * elf/tst-auditmod6b.c: Move to ...
21843 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21844 * elf/tst-auditmod6c.c: Move to ...
21845 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21846 * elf/tst-auditmod7a.c: Move to ...
21847 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21848 * elf/tst-auditmod7b.c: Move to ...
21849 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21851 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21854 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21855 define unconditionally.
21856 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21857 define unconditionally.
21858 (INT8_C, INT16_C, etc.): Likewise.
21860 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21862 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21863 __ehdr_start with hidden visibility.
21865 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21867 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21869 * math/libm-test.inc (cos_test): Use accurate hex constants.
21870 (sincost_test): Likewise.
21872 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21874 * math/libm-test.inc (catan_test): Add more tests.
21875 (catanh_test): Likewise.
21877 * math/s_catanf.c (__catanf): Use suffixed floating-point
21879 * math/s_catanhf.c (__catanhf): Likewise.
21880 * math/s_catanhl.c (__catanhl): Likewise.
21881 * math/s_catanl.c (__catanl): Likewise.
21884 * math/s_catan.c (__catan): Calculate imaginary part of result
21885 with log1p not log unless computing log of number close to 0.
21886 * math/s_catanf.c (__catanf): Likewise.
21887 * math/s_catanl.c (__catanl): Likewise.
21888 * math/s_catanh.c (__catanh): Calculate real part of result with
21889 log1p not log unless computing log of number close to 0.
21890 * math/s_catanhf.c (__catanhf): Likewise.
21891 * math/s_catanhl.c (__catanhl): Likewise.
21892 * math/libm-test.inc (catan_test): Add more tests.
21893 (catanh_test): Likewise.
21894 * sysdeps/i386/fpu/libm-test-ulps: Update.
21895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21899 * benchtests/Makefile: Mention files in which fast and slow
21900 paths of math functions are implemented.
21902 2013-04-23 Roland McGrath <roland@hack.frob.com>
21904 * sysdeps/posix/timespec_get.c: New file.
21906 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21908 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21910 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21912 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21913 powerpc/power5/fpu folders.
21914 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21915 * benchtests/Makefile: Add modf testcase.
21916 * benchtests/bench-modf.c: New file: Benchmark test for mo
21918 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21921 * time/Makefile (tests): Add tst-strptime-whitespace.
21922 * time/strptime_l.c (get_number): Use ISSPACE.
21923 (__strptime_internal): Likewise.
21924 * time/tst-strptime-whitespace.c: New test case.
21926 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21928 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21930 (_nss_files_init): Set it here.
21932 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21934 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21935 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21938 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21940 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21942 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21947 2013-04-21 David S. Miller <davem@davemloft.net>
21949 * po/ru.po: Update Russion translation from translation project.
21951 2013-04-17 Adam Conrad <adconrad@0c3.net>
21953 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21956 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21958 * configure.in: Remove i386 configure warning. Remove i386 case.
21959 * configure: Regenerate.
21960 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21961 Add example to error message.
21962 * sysdeps/i386/configure: Regenerate.
21964 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21966 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21968 * benchtests/cos-inputs: New file.
21969 * benchtests/slowcos-inputs: New file.
21970 * benchtests/slowcos.c: New file.
21971 * benchtests/slowtan-inputs: New file.
21972 * benchtests/slowtan.c: New file.
21973 * benchtests/tan-inputs: New file.
21975 2013-04-16 Roland McGrath <roland@hack.frob.com>
21977 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21980 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21982 * benchtests/Makefile: Include cppflags-iterator.mk to add
21983 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21985 * Makefile.in (bench-clean): New target.
21986 * benchtests/Makefile (bench-clean): Likewise.
21988 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21990 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21992 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21994 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21996 2013-04-15 Andreas Schwab <schwab@suse.de>
21998 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22000 * nscd/pwdcache.c (cache_addpw): Likewise.
22001 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22004 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22006 * benchtests/Makefile (bench): Write all output to
22007 bench-out.tmp together.
22009 2013-04-15 Andreas Schwab <schwab@suse.de>
22011 * nscd/nscd.c (main): Don't fork again after closing files.
22013 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22015 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22017 * benchtests/Rules (bench-deps): Collect dependencies into a
22018 single variable. Add Makefile to dependencies.
22019 ($(objpfx)bench-%.c): Depend on bench-deps.
22021 2013-04-12 Roland McGrath <roland@hack.frob.com>
22022 Xavier Roche <roche+kml2@exalead.com>
22025 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22026 just that it's a file descriptor.
22027 * manual/llio.texi (Synchronizing AIO Operations): Update description
22028 for EBADF error from aio_fsync.
22030 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22032 * Rules (bench): Move target definition...
22033 * benchtests/Makefile: ... here.
22035 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22037 * math/libm-test.inc (cos_test): Fix PI/2 test.
22038 (sincos_test): Likewise.
22039 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22040 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22042 2013-04-11 Andreas Schwab <schwab@suse.de>
22045 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22046 accept exponent character only when digits were seen.
22047 * stdio-common/Makefile (tests): Add bug26.
22048 * stdio-common/bug26.c: New file.
22051 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22054 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22056 * Makeconfig (rtld-prefix): Define built linker prefix.
22057 * Rules (run-bench): Use it.
22058 * math/Makefile (run-regen-ulps): Likewise.
22060 * Rules (bench): Remove eval.
22062 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22063 Roland McGrath <roland@hack.frob.com>
22064 Ondrej Bilka <neleai@seznam.cz>
22067 * time/getdate.c: Include ctype.h and alloca.h.
22068 (__getdate_r): Trim leading and trailing spaces of input.
22069 * time/tst-getdate.c (tests): Add tests with leading and
22072 2013-04-08 Roland McGrath <roland@hack.frob.com>
22075 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22076 when computing value.
22078 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22080 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22081 Use testrun.sh to run libm tests.
22084 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22086 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22089 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22091 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22093 * Makefile.in (regen-ulps): New target.
22094 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22095 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22096 [ifneq (no,$(PERL)] (regen-ulps): New target.
22097 [ifeq (no,$(PERL)] (regen-ulps): New target.
22098 * math/libm-test.inc (ulps_file_name): Define.
22099 (output_dir): New variable.
22100 (options): Add "output-dir" option.
22101 (parse_opt): Handle 'o' case.
22102 (main): If output_dir is non-NULL use it as a prefix
22104 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22106 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22108 [BZ #10060, #10062]
22109 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22110 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22111 fail configure if __sync_val_compare_and_swap is not inlined.
22112 * sysdeps/i386/configure: Regenerate.
22113 * configure.in: Build for i686 when configured for i386.
22114 * configure: Regenerate.
22115 * README: Remove i386 reference.
22117 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22119 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22122 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22124 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22125 (lmsnanval): New variables.
22126 (F): Add conversion tests.
22127 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22128 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22130 * stdio-common/tstdiomisc.c (F): Properly collect individual
22133 [BZ #14686, #15336]
22134 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22135 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22136 Instead, use input NaN values or generate a qNaN by arithmetic
22137 operation. Also fix bugs to comply with the standard.
22138 * math/libm-test.inc (remainder_test): Add more tests.
22140 [BZ #15335, #15342]
22141 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22143 input NaN values or generate a qNaN by arithmetic operation.
22145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22148 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22151 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22154 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22155 underflowed result.
22156 * math/s_cexpf.c (__cexpf): Likewise.
22157 * math/s_cexpl.c (__cexpl): Likewise.
22158 * math/libm-test.inc (cexp_test): Add more tests.
22160 2013-04-03 Andreas Schwab <schwab@suse.de>
22163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22164 order arrays from heap if bigger than alloca cutoff.
22166 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22168 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22169 (SNAN_TESTS_double): Refer to GCC PR56831.
22170 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22173 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22175 * Rules (bench): Move bench.out after the run is complete.
22177 * Rules (bench): Echo currently running benchmark.
22179 * benchtests/Makefile (bench): Add atan and slowatan.
22180 * benchtests/atan-inputs: New file.
22181 * benchtests/slowatan-inputs: New file.
22182 * benchtests/slowatan.c: New file.
22184 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22189 * sysdeps/unix/sysv/linux/kernel-features.h
22190 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22191 __ASSUME_XFS_RESTRICTED_CHOWN.
22192 * sysdeps/unix/sysv/linux/pathconf.c
22193 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22194 Save and restore errno.
22196 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22199 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22200 arguments using __kernel_casinh.
22201 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22202 arguments using __kernel_casinhf.
22203 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22204 arguments using __kernel_casinhl.
22205 * math/libm-test.inc (cacosh_test): Add more tests.
22206 * sysdeps/i386/fpu/libm-test-ulps: Update.
22207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22209 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22211 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22214 * bench/Makefile (bench): Add sin and slowsin.
22215 * benchtests/sin-inputs: New file.
22216 * benchtests/slowsin-inputs: New file.
22217 * benchtests/slowsin.c: New file.
22219 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22220 (bench): Add slowexp and slowpow.
22221 (exp-ITER): Increase iterations.
22222 (pow-ITER): Likewise.
22223 * benchtests/exp-inputs: Change input.
22224 * benchtests/pow-inputs: Likewise.
22225 * benchtests/slowexp-inputs: New file.
22226 * benchtests/slowexp.c: New file.
22227 * benchtests/slowpow-inputs: New file.
22228 * benchtests/slowpow.c: New file.
22230 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22232 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22234 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22236 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22237 * benchtests/Makefile: Add rint benchtest.
22238 * benchtests/rint-inputs: Input for rint benchtest.
22240 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22242 * Versions.def (libm): Add GLIBC_2.18.
22243 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22244 hidden libm prototypes.
22245 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22246 * math/Makefile (libm-calls): Add s_issignaling.
22247 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22248 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22249 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22251 * math/math.h [__USE_GNU] (issignaling): New macro.
22252 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22253 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22254 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22255 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22258 * manual/arith.texi (issignaling): New section.
22259 * manual/libm-err-tab.pl (@all_functions): Update comment.
22260 * math/gen-libm-test.pl (parse_args): Apply special handling for
22262 * math/libm-test.inc (print_float, issignaling_test): New
22264 (check_float_internal): Add issignaling checks.
22265 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22266 default definition.
22267 * sysdeps/powerpc/math-tests.h: New file.
22268 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22270 * math/test-snan.c (TEST_FUNC): Likewise.
22272 2013-03-30 David S. Miller <davem@davemloft.net>
22274 * po/de.po: Update from translation team.
22276 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22280 imaginary part less than 1.0 and real part less than 0.5
22282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22284 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22285 (cacos_test): Add more tests.
22286 (casin_test): Likewise.
22287 (casinh_test): Likewise.
22288 * sysdeps/i386/fpu/libm-test-ulps: Update.
22289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22291 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22293 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22294 ONE with its value.
22296 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22297 (__pow_mp): Replace ONE and MONE with their values.
22298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22305 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22307 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22308 (__pow_mp): Replace ZERO and MZERO with their values.
22309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22314 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22317 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22319 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22321 2013-03-28 Roland McGrath <roland@hack.frob.com>
22323 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22324 Declare with __attribute__ ((weak)).
22325 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22326 Call __call_tls_dtors only if it's not NULL.
22328 2013-03-28 Roland McGrath <roland@hack.frob.com>
22330 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22331 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22332 magic __ehdr_start linker symbol if it's defined.
22333 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22334 them up here if it was already done.
22336 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22337 (_dl_aux_init): Use const in cast when setting it.
22338 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22340 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22342 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22344 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22345 * csu/libc-tls.c: Nor here.
22346 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22348 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22349 (__libc_message): Never call vsyslog.
22351 2013-03-28 Alan Modra <amodra@gmail.com>
22353 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22355 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22358 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22365 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22368 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22369 Don't add gid passed as argument.
22371 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22373 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22376 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22377 imaginary part between 1.0 and 1.5 and real part less than 0.5
22379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22381 * math/libm-test.inc (cacos_test): Add more tests.
22382 (casin_test): Likewise.
22383 (casinh_test): Likewise.
22384 * sysdeps/i386/fpu/libm-test-ulps: Update.
22385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22389 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22392 (denorm): Likewise.
22393 (__dbl_mp): Likewise.
22394 (add_magnitudes): Likewise.
22395 (sub_magnitudes): Likewise.
22403 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22405 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22406 (__dubcos): Likewise.
22407 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22408 (__ieee754_acos): Likewise.
22409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22411 (__exp1): Likewise.
22412 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22415 (my_log2): Likewise.
22416 (checkint): Likewise.
22417 * sysdeps/ieee754/dbl-64/e_remainder.c
22418 (__ieee754_remainder): Likewise.
22419 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22421 (bsloww): Likewise.
22422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22424 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22425 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22426 MANTISSA_STORE_T to store computations on mantissa. Use
22427 macros for rounding and division.
22428 (denorm): Likewise.
22429 (__dbl_mp): Likewise.
22430 (add_magnitudes): Likewise.
22431 (sub_magnitudes): Likewise.
22434 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22435 powers of two in terms of TWOPOW macro.
22436 (mp_no): Make type of mantissa as MANTISSA_T.
22437 [!RADIXI]: Define RADIXI.
22438 [!TWO52]: Define TWO52.
22439 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22441 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22443 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22444 llroundl symbol when building for PPC32.
22446 2013-03-24 Mark H Weaver <mhw@netris.org>
22448 * manual/arith.texi (Normalization Functions): Fix prototypes for
22449 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22451 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22455 high value to check if expl overflow.
22456 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22457 to check for underflow and overflow.
22458 * math/libm-test.inc: Add exp test.
22460 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22463 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22466 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22468 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22471 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22473 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22474 wrap blocks consisting of several statements.
22476 * sysdeps/generic/math-tests.h: New file.
22477 * sysdeps/i386/fpu/math-tests.h: Likewise.
22478 * math/test-snan.c: Include it.
22479 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22481 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22485 (__ieee754_j0l): Do not improve calculations using cos of twice
22486 input for inputs above LDBL_MAX / 2.0L.
22487 (__ieee754_y0l): Likewise.
22488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22489 (__ieee754_j1l): Do not improve calculations using cos of twice
22490 input for inputs above LDBL_MAX / 2.0L.
22491 (__ieee754_y1l): Likewise.
22492 * math/libm-test.inc (j0_test): Add another test.
22493 (j1_test): Likewise.
22494 (y0_test): Likewise.
22495 (y1_test): Likewise.
22496 * sysdeps/i386/fpu/libm-test-ulps: Update.
22498 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22500 * Rules ($(objpfx)bench-%.c): Include code from a C source
22503 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22506 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22507 imaginary part 1.0 and real part less than 0.5 specially.
22508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22510 * math/libm-test.inc (cacos_test): Add more tests.
22511 (casin_test): Likewise.
22512 (casinh_test): Likewise.
22513 * sysdeps/i386/fpu/libm-test-ulps: Update.
22514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22516 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22521 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22523 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22524 * config.make.in (config-cflags-sse4): Remove variable.
22525 (config-cflags-avx): Likewise.
22526 (config-cflags-sse2avx): Likewise.
22527 (config-cflags-novzeroupper): Likewise.
22528 (config-asflags-i686): Likewise.
22529 (have-mfma4): Likewise.
22530 (have-as-vis3): Likewise.
22532 * configure.in (MIG): Do not AC_SUBST.
22533 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22534 (libc_cv_cc_sse4): Do not AC_SUBST.
22535 (libc_cv_cc_avx): Likewise.
22536 (libc_cv_cc_sse2avx): Likewise.
22537 (libc_cv_cc_novzeroupper): Likewise.
22538 (libc_cv_cc_fma4): Likewise.
22539 (libc_cv_as_i686): Likewise.
22540 (libc_cv_sparc_as_vis3): Likewise.
22541 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22543 (config-asflags-i686): Likewise.
22544 (config-cflags-avx): Likewise.
22545 (config-cflags-sse2avx): Likewise.
22546 (have-mfma4): Likewise.
22547 (config-cflags-novzeroupper): Likewise.
22548 * sysdeps/mach/configure.in (MIG): Likewise.
22549 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22550 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22552 (config-cflags-avx): Likewise.
22553 (config-cflags-sse2avx): Likewise.
22554 (have-mfma4): Likewise.
22555 (config-cflags-novzeroupper): Likewise.
22556 * configure: Regenerated.
22557 * sysdeps/i386/configure: Likewise.
22558 * sysdeps/mach/configure: Likewise.
22559 * sysdeps/sparc/configure: Likewise.
22560 * sysdeps/x86_64/configure: Likewise.
22562 2013-03-20 Roland McGrath <roland@hack.frob.com>
22565 * locale/programs/localedef.c (options): Put N_ translation marker
22566 on argument names, not just descriptions.
22568 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22570 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22572 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22575 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22577 2013-03-19 Roland McGrath <roland@hack.frob.com>
22579 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22580 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22581 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22582 [!BEFORE_ABORT] (before_abort): New function.
22583 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22584 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22585 (writev_for_fatal): New function.
22586 (WRITEV_FOR_FATAL): New macro; call that.
22587 (backtrace_and_maps): New function.
22588 (BEFORE_ABORT): New macro; call that.
22589 (struct str_list): Type removed.
22590 (__libc_message, __libc_fatal): Functions removed.
22591 Include <sysdeps/posix/libc_fatal.c> instead.
22593 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22595 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22597 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22600 2013-03-19 Andreas Schwab <schwab@suse.de>
22602 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22603 * sysdeps/gnu/configure: Regenerate.
22605 * configure.in: Substitute libc_cv_rtlddir.
22606 * configure: Regenerate.
22607 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22608 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22609 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22610 * elf/Makefile (install-others, CFLAGS-interp.c)
22611 (ldso_install, common-ldd-rewrite): Likewise.
22612 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22613 $(inst_slibdir)/$(rtld-installed-name).
22614 * scripts/rellns-sh: Add -p option.
22615 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22618 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22620 * manual/nptl.texi: Renamed to ...
22621 * manual/threads.texi: ... this.
22622 * manual/Makefile (chapters): Update.
22624 2013-03-18 Roland McGrath <roland@hack.frob.com>
22627 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22628 on argument names, not just descriptions.
22629 * malloc/memusagestat.c (options): Likewise.
22630 * nss/getent.c (options): Likewise.
22632 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22635 * iconv/iconv_prog.c (options): Put N_ translation marker
22636 on argument names, not just descriptions.
22637 * iconv/iconvconfig.c (options): Likewise.
22639 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22641 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22642 implementation which is faster on all x86_64 architectures.
22643 Tested on AMD, Intel Nehalem, SNB, IVB.
22644 * sysdeps/x86_64/strnlen.S: Likewise.
22646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22647 Remove all multiarch strlen and strnlen versions.
22648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22649 Remove strlen and strnlen related parts.
22651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22652 Inline strlen part.
22653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22655 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22656 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22658 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22659 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22660 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22662 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22664 * manual/memory.texi (Malloc Tunable Parameters):
22665 Sort parameters alphabetically. Add comments for missing entries.
22667 2013-03-17 David S. Miller <davem@davemloft.net>
22669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22671 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22675 for arguments at most half maximum finite value.
22676 * math/libm-test.inc (j0_test): Add more tests.
22677 (j1_test): Likewise.
22678 (y0_test): Likewise.
22679 (y1_test): Likewise.
22680 * sysdeps/i386/fpu/libm-test-ulps: Update.
22681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22684 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22685 1 / x and functions P and Q for arguments above 0x1p256L.
22686 (__ieee754_y0l): Likewise.
22687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22688 (__ieee754_y1l): Likewise.
22689 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22690 (j1_test): Likewise.
22691 (y0_test): Likewise.
22692 (y1_test): Likewise.
22694 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22696 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22699 2013-03-15 Roland McGrath <roland@hack.frob.com>
22701 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22702 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22703 zero since it's initialized to EXEC_PAGESIZE.
22705 * sysdeps/unix/sysv/linux/ldsodefs.h
22706 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22707 * sysdeps/generic/ldsodefs.h: ... here.
22709 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22711 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22713 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22715 * math/test-snan.c: Renamed from
22716 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22717 * math/Makefile (tests): Add test-snan.
22718 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22721 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22722 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22724 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22725 __builtin_nan family of functions.
22726 * math/libm-test.inc (initialize): Initialize qnan_value with
22727 __builtin_nan family of functions.
22728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22730 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22732 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22733 storage class. Initialize qNaN_var and sNaN_var with
22734 __builtin_nan and __builtin_nans families of functions,
22737 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22738 (sqrt_test): Remove duplicate test with qNaN input.
22739 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22740 (round_test, signbit_test, significand_test): Note missing +/-Inf
22741 as well as qNaN tests.
22743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22744 qNaN_var. Fix a few strings, too.
22745 * math/libm-test.inc (nan_value): Rename to qnan_value.
22746 * math/gen-libm-test.pl (%beautify): Adjust to that.
22747 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22748 * math/test-misc.c (main): Likewise.
22749 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22750 to __qnan_bytes, and __qnan_union, respectively.
22751 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22753 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22754 and lqnanval, respectively.
22755 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22756 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22758 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22760 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22761 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22764 * math/test-misc.c (main): Fix copy'n'pastos.
22765 * misc/tst-efgcvt.c (special): Likewise.
22767 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22768 Remove declarations.
22770 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22772 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22773 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22774 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22777 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22780 macro to return vdso values correctly in IFUNC implementations.
22781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22782 Optimization by using IFUNC.
22784 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22785 Richard Henderson <rth@redhat.com>
22786 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22788 * Makefile.in (bench): New target.
22789 * NEWS: Mention the benchmark framework.
22790 * Rules (bench): Likewise.
22791 (binaries-bench): Generate binaries for functions to
22793 * benchtests/Makefile: New makefile for benchmark tests.
22794 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22796 * benchtests/exp-inputs: New input file for EXP function.
22797 * benchtests/pow-inputs: New input file for POW function.
22798 * scripts/bench.pl: New script to generate source files for
22799 benchmark programs.
22801 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22805 computations on mantissa. Use macros for rounding and
22807 (denorm): Likewise.
22808 (__dbl_mp): Likewise.
22809 (add_magnitudes): Likewise.
22810 (sub_magnitudes): Likewise.
22813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22814 powers of two in terms of TWOPOW macro.
22815 (mp_no): Make type of mantissa as MANTISSA_T.
22816 [!RADIXI]: Define RADIXI.
22817 [!TWO52]: Define TWO52.
22818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22820 * manual/nptl.texi (cindex): Modify threads to pthreads.
22822 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22824 * sysdeps/x86_64/preconfigure: Regenerated.
22826 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22831 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22832 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22834 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22835 * math/libm-test.inc (j0_test): Do not allow one spurious
22836 underflow exception.
22837 (y1_test): Likewise.
22839 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * manual/Makefile (chapters): Add nptl.
22842 * manual/debug.texi (Debugging Support): Add link to Threads
22844 * manual/nptl.texi: New file.
22846 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22848 2013-03-14 Petr Baudis <pasky@ucw.cz>
22850 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22851 for non-NULL pointer before the memory validity test. Pointed
22852 out by Holger Brunck <holger.brunck@keymile.com>.
22854 2013-03-13 Andreas Schwab <schwab@suse.de>
22856 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22859 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22861 * timezone/zic.c: Update from tzcode 2013b.
22863 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22865 * manual/install.texi (Configuring and compiling):
22866 Mention i686 and i586.
22867 * INSTALL: Regenerate.
22869 2013-03-12 Roland McGrath <roland@hack.frob.com>
22871 * sysdeps/init_array/elf-init.c: New file.
22873 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22874 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22876 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22877 __gmon_start__ as global, but as static with a .preinit_array pointer.
22878 * sysdeps/init_array/gmon-start.c: New file. Use that.
22879 * sysdeps/init_array/crti.S: New file, empty except for comments.
22880 * sysdeps/init_array/crtn.S: Likewise.
22882 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22884 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22887 Remove Prefer_SSE_for_memop.
22888 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22889 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22890 HAS_PREFER_SSE_FOR_MEMOP.
22891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22894 Remove bzero, memset ifunc support.
22895 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22900 2013-03-11 Andreas Schwab <schwab@suse.de>
22903 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22906 (GLIBC_2.16): Remove pthread_atfork.
22908 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22910 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22911 (ptestcases.h): Likewise.
22913 2013-03-08 Roland McGrath <roland@hack.frob.com>
22915 * Makeconfig ($(common-objpfx)config.status): Depend on
22916 sysdeps/*/preconfigure{,.in} too.
22918 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22920 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22921 (__free_hook): Use void * instead of __malloc_ptr_t.
22922 (__malloc_hook): Likewise.
22923 (__realloc_hook): Likewise.
22924 (__memalign_hook): Likewise.
22925 (__after_morecore_hook): Likewise.
22926 * malloc/arena.c (save_malloc_hook): Likewise.
22927 (save_free_hook): Likewise.
22928 * malloc/hooks.c (malloc_hook_ini): Likewise.
22929 (realloc_hook_ini): Likewise.
22930 (memalign_hook_ini): Likewise.
22931 * malloc/malloc.c (malloc_hook_ini): Likewise.
22932 (realloc_hook_ini): Likewise.
22933 (memalign_hook_ini): Likewise.
22934 (__free_hook): Likewise.
22935 (__malloc_hook): Likewise.
22936 (__realloc_hook): Likewise.
22937 (__memalign_hook): Likewise.
22938 (__libc_malloc): Likewise.
22939 (__libc_free): Likewise.
22940 (__libc_realloc): Likewise.
22941 (__libc_memalign): Likewise.
22942 (__libc_valloc): Likewise.
22943 (__libc_pvalloc): Likewise.
22944 (__libc_calloc): Likewise.
22945 (__posix_memalign): Likewise.
22946 * malloc/morecore.c (__sbrk): Likewise.
22947 (__default_morecore): Likewise.
22949 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22951 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22952 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22953 __malloc_ptrdiff_t.
22955 * malloc/malloc.h (__malloc_size_t): Remove macro.
22956 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22958 (old_memalign_hook): Likewise.
22959 (old_realloc_hook): Likewise.
22960 (struct hdr): Likewise.
22962 (mallochook): Likewise.
22963 (memalignhook): Likewise.
22964 (reallochook): Likewise.
22965 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22966 (tr_old_realloc_hook): Likewise.
22967 (tr_old_memalign_hook): Likewise.
22968 (tr_mallochook): Likewise.
22969 (tr_reallochook): Likewise.
22970 (tr_memalignhook): Likewise.
22972 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22975 default_ldbl_pack and using as default implementation.
22976 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22978 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22979 redundant definition.
22980 (ldbl_insert_mantissa): Likewise.
22981 (ldbl_canonicalize): Likewise.
22982 (ldbl_nearbyint): Likewise.
22983 (ldbl_pack): Rename to ldbl_pack_ppc.
22984 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22985 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22986 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22988 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22991 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22992 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22993 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22996 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22997 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22999 2013-03-07 Andreas Jaeger <aj@suse.de>
23001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23004 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23006 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23007 Include mpa.h and declare __MPEXP.
23008 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23009 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23012 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23013 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23016 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23017 (__slowpow): Use long double EXPL and LOGL functions to
23019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23023 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23024 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23027 intermediate variable to calculate exponent.
23029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23033 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23034 [!NO__SQR]: Define __sqr.
23035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23036 and NO__SQR. Remove all code except __mul and __sqr. Include
23037 sysdeps/ieee754/dbl-64/mpa.c.
23038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23041 * posix/Makefile (tests): Add tst-pathconf.
23042 * posix/tst-pathconf.c: New test case.
23043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23045 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23047 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23049 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23051 2013-03-06 Andreas Jaeger <aj@suse.de>
23053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23054 definition via __MAP_ANONYMOUS.
23056 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23057 it's not part of Linux headers.
23059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23060 (MAP_HUGE_MASK): Define.
23062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23068 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23075 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23076 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23078 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23079 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23080 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23086 Handle f2fs and efivarfs.
23088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23092 (EFIVARFS_MAGIC): Add.
23093 (F2FS_LINK_MAX): Add.
23095 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23097 * stdio-common/vfprintf.c: Replace __builtin_expect with
23100 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23103 * sysdeps/generic/bp-sym.h: Remove file.
23104 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23106 <bp-sym.h> and <bp-asm.h>.
23107 (__longjmp): Don't use BP_SYM.
23108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23110 (memcpy): Don't use BP_SYM.
23111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23112 <bp-sym.h> and <bp-asm.h>.
23113 (memcpy): Don't use BP_SYM.
23114 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23116 (memcpy): Don't use BP_SYM.
23117 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23119 (memset): Don't use BP_SYM.
23120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23122 (__bzero): Don't use BP_SYM.
23123 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23124 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23126 <bp-sym.h> and <bp-asm.h>.
23127 (memcmp): Don't use BP_SYM. Remove comment about bounded
23129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23130 <bp-sym.h> and <bp-asm.h>.
23131 (memcpy): Don't use BP_SYM.
23132 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23133 <bp-sym.h> and <bp-asm.h>.
23134 (memset): Don't use BP_SYM.
23135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137 (__bzero): Don't use BP_SYM.
23138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23140 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23141 <bp-sym.h> and <bp-asm.h>.
23142 (strncmp): Don't use BP_SYM. Remove comment about bounded
23144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23145 <bp-sym.h> and <bp-asm.h>.
23146 (memcpy): Don't use BP_SYM.
23147 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23148 <bp-sym.h> and <bp-asm.h>.
23149 (memset): Don't use BP_SYM.
23150 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23151 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23152 (__bzero): Don't use BP_SYM.
23153 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23154 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23156 <bp-sym.h> and <bp-asm.h>.
23157 (__memchr): Don't use BP_SYM.
23158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23159 <bp-sym.h> and <bp-asm.h>.
23160 (memcmp): Don't use BP_SYM. Remove comment about bounded
23162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23163 <bp-sym.h> and <bp-asm.h>.
23164 (memcpy): Don't use BP_SYM.
23165 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23166 <bp-sym.h> and <bp-asm.h>.
23167 (__mempcpy): Don't use BP_SYM.
23168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23169 <bp-sym.h> and <bp-asm.h>.
23170 (__memrchr): Don't use BP_SYM.
23171 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23172 <bp-sym.h> and <bp-asm.h>.
23173 (memset): Don't use BP_SYM.
23174 (__bzero): Likewise.
23175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23176 <bp-sym.h> and <bp-asm.h>.
23177 (__rawmemchr): Don't use BP_SYM.
23178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23179 <bp-sym.h> and <bp-asm.h>.
23180 (__STRCMP): Don't use BP_SYM.
23181 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23182 <bp-sym.h> and <bp-asm.h>.
23183 (strchr): Don't use BP_SYM.
23184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23185 <bp-sym.h> and <bp-asm.h>.
23186 (__strchrnul): Don't use BP_SYM.
23187 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23188 <bp-sym.h> and <bp-asm.h>.
23189 (strlen): Don't use BP_SYM.
23190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23191 <bp-sym.h> and <bp-asm.h>.
23192 (strncmp): Don't use BP_SYM. Remove comment about bounded
23194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23195 <bp-sym.h> and <bp-asm.h>.
23196 (__strnlen): Don't use BP_SYM.
23197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23198 <bp-sym.h> and <bp-asm.h>.
23199 (__GI__setjmp): Don't use BP_SYM.
23200 (_setjmp): Likewise.
23201 (__sigsetjmp): Likewise.
23202 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23203 (L(start_addresses)): Don't use BP_SYM.
23204 (_start): Likewise.
23205 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23207 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23208 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23211 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23213 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23214 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23215 about bounded pointers.
23216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23218 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23221 about bounded pointers. Remove GKM FIXME comments.
23222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23223 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23225 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23226 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23227 Remove GKM FIXME comments.
23228 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23229 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23230 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23232 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23233 about bounded pointers. Remove GKM FIXME comment.
23234 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23236 (strncmp): Don't use BP_SYM. Remove comment about bounded
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23239 <bp-sym.h> and <bp-asm.h>.
23240 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23242 <bp-sym.h> and <bp-asm.h>.
23243 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23246 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23248 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23251 2013-03-05 David S. Miller <davem@davemloft.net>
23253 * po/es.po: Update from translation team.
23255 2013-03-05 Andreas Jaeger <aj@suse.de>
23257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23258 <bits/mman-linux.h>.
23259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23261 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23262 <bits/mman-linux.h> to end of file.
23263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23266 <bits/mman-linux.h> to end of file.
23267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23270 <bits/mman-linux.h> to end of file.
23272 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23273 (MCL_CURRENT, MCL_FUTURE): Define here.
23275 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23282 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23285 fourth parameter needed for rt_sigprocmask syscall.
23286 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23288 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23289 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23290 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23291 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23293 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23296 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23297 comment about bounded pointers.
23298 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23299 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23301 2013-03-04 Andreas Jaeger <aj@suse.de>
23303 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23304 common definitions.
23306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23307 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23308 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23313 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23317 __ieee754_sqrl instead of __sqrl.
23319 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23321 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23322 * sysdeps/powerpc/fpu_control.h: ... here.
23323 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23324 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23325 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23326 * sysdeps/powerpc/bits/mathinline.h: ... here.
23328 2013-03-01 Roland McGrath <roland@hack.frob.com>
23330 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23331 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23332 to just [NEED_DL_SYSINFO_DSO].
23333 * elf/dl-support.c: Likewise.
23334 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23335 * elf/rtld.c (dl_main): Likewise.
23336 * elf/setup-vdso.h (setup_vdso): Likewise.
23337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23338 * sysdeps/unix/sysv/linux/dl-sysdep.c
23339 (_dl_discover_osversion): Likewise.
23341 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23343 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23344 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23346 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23348 * NEWS: Mention libm performance improvements and non-x86 PI
23351 * csu/libc-start.c (__pthread_initialize_minimal): Change
23352 function arguments.
23353 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23355 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23358 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23360 <bp-sym.h> and <bp-asm.h>.
23361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23364 (memcpy): Don't use BP_SYM.
23365 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23367 (__mpn_add_n): Don't use BP_SYM.
23368 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23369 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23371 (__mpn_addmul_1): Don't use BP_SYM.
23372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23375 (_setjmp): Don't use BP_SYM.
23376 (__novmx_setjmp): Likewise.
23377 (__GI__setjmp): Likewise.
23378 (__vmx_setjmp): Likewise.
23379 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23381 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23382 (__bzero): Don't use BP_SYM.
23383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23385 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23386 <bp-sym.h> and <bp-asm.h>.
23387 (memcpy): Don't use BP_SYM.
23388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23389 <bp-sym.h> and <bp-asm.h>.
23390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23391 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23392 <bp-sym.h> and <bp-asm.h>.
23393 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23394 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23396 (__mpn_lshift): Don't use BP_SYM.
23397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23398 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23400 (memset): Don't use BP_SYM.
23401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23403 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23405 (__mpn_mul_1): Don't use BP_SYM.
23406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23408 <bp-sym.h> and <bp-asm.h>.
23409 (memcmp): Don't use BP_SYM.
23410 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23411 <bp-sym.h> and <bp-asm.h>.
23412 (memcpy): Don't use BP_SYM.
23413 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23414 <bp-sym.h> and <bp-asm.h>.
23415 (memset): Don't use BP_SYM.
23416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23417 <bp-sym.h> and <bp-asm.h>.
23418 (strncmp): Don't use BP_SYM.
23419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23420 <bp-sym.h> and <bp-asm.h>.
23421 (memcpy): Don't use BP_SYM.
23422 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23423 <bp-sym.h> and <bp-asm.h>.
23424 (memset): Don't use BP_SYM.
23425 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23426 <bp-sym.h> and <bp-asm.h>.
23427 (__memchr): Don't use BP_SYM.
23428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23429 <bp-sym.h> and <bp-asm.h>.
23430 (memcmp): Don't use BP_SYM.
23431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23432 <bp-sym.h> and <bp-asm.h>.
23433 (memcpy): Don't use BP_SYM.
23434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23435 <bp-sym.h> and <bp-asm.h>.
23436 (__mempcpy): Don't use BP_SYM.
23437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23438 <bp-sym.h> and <bp-asm.h>.
23439 (__memrchr): Don't use BP_SYM.
23440 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23441 <bp-sym.h> and <bp-asm.h>.
23442 (memset): Don't use BP_SYM.
23443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23444 <bp-sym.h> and <bp-asm.h>.
23445 (__rawmemchr): Don't use BP_SYM.
23446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23447 <bp-sym.h> and <bp-asm.h>.
23448 (__STRCMP): Don't use BP_SYM.
23449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23450 <bp-sym.h> and <bp-asm.h>.
23451 (strchr): Don't use BP_SYM.
23452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23453 <bp-sym.h> and <bp-asm.h>.
23454 (__strchrnul): Don't use BP_SYM.
23455 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23456 <bp-sym.h> and <bp-asm.h>.
23457 (strlen): Don't use BP_SYM.
23458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23459 <bp-sym.h> and <bp-asm.h>.
23460 (strncmp): Don't use BP_SYM.
23461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23462 <bp-sym.h> and <bp-asm.h>.
23463 (__strnlen): Don't use BP_SYM.
23464 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23466 (__mpn_rshift): Don't use BP_SYM.
23467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23469 <bp-sym.h> and <bp-asm.h>.
23470 (__sigsetjmp): Don't use BP_SYM.
23471 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23472 (L(start_addresses)): Don't use BP_SYM.
23473 (_start): Likewise.
23474 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23476 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23477 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23478 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23479 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23481 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23484 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23489 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23491 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23495 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23499 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23501 (strncmp): Don't use BP_SYM,
23502 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23504 (__mpn_sub_n): Don't use BP_SYM.
23505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23506 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23508 (__mpn_submul_1): Don't use BP_SYM.
23509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23511 <bp-sym.h> and <bp-asm.h>.
23512 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23514 <bp-sym.h> and <bp-asm.h>.
23515 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23518 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23521 Use ZK to minimize writes to Z.
23522 (sub_magnitudes): Simplify code a bit.
23523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23524 Use ZK to minimize writes to Z.
23525 (sub_magnitudes): Simplify code a bit.
23527 2013-02-27 Roland McGrath <roland@hack.frob.com>
23529 * csu/gmon-start.c: Add special exception to license text.
23531 2013-02-27 Richard Henderson <rth@redhat.com>
23533 * scripts/config.guess: Update from config.git.
23534 * scripts/config.sub: Likewise.
23536 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23540 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23542 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23544 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23546 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23548 2013-02-26 Roland McGrath <roland@hack.frob.com>
23550 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23551 [$(build-shared = yes].
23553 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23555 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23556 (__mul): Reduce iterations for calculating mantissa.
23558 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23560 (__mpranred): Likewise.
23563 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23564 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23566 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23568 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23569 Define __attribute__.
23571 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23573 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23575 * posix/regex_internal.h (__attribute): Remove.
23576 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23577 (re_string_context_at): Likewise.
23578 (bitset_not): Use __attribute__ and mark function as possibly
23580 (bitset_merge): Likewise.
23581 (bitset_mask): Likewise.
23582 (re_string_char_size_at): Likewise.
23583 (re_string_wchar_at): Likewise.
23584 (re_string_elem_size_at): Likewise.
23586 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23588 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23596 (denorm): Likewise.
23597 (__dbl_mp): Likewise.
23598 (add_magnitudes): Likewise.
23599 (sub_magnitudes): Likewise.
23603 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23606 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23609 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23613 up changes with default code.
23614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23617 2013-02-24 Allan McRae <allan@archlinux.org>
23619 * manual/socket.texi (The Internet Namespace): Order menu items
23620 to match that in the file.
23622 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23623 node listing of the info page menu.
23625 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23628 * sysdeps/i386/bp-asm.h: Remove file.
23629 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23630 (PARMS): Do not use macros from bp-asm.h.
23634 (__mpn_add_n): Do not use BP_SYM
23635 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23637 (PARMS): Do not use macros from bp-asm.h.
23640 (__mpn_addmul_1): Do not use BP_SYM
23641 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23643 (PARMS): Do not use macros from bp-asm.h.
23644 (SIGMSK): Likewise.
23645 (_setjmp): Likewise. Do not use BP_SYM.
23646 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23648 (PARMS): Do not use macros from bp-asm.h.
23649 (SIGMSK): Likewise.
23650 (setjmp): Likewise. Do not use BP_SYM.
23651 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23653 (PARMS): Do not use macros from bp-asm.h.
23654 (__frexp): Do not use BP_SYM.
23656 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23658 (PARMS): Do not use macros from bp-asm.h.
23659 (__frexpf): Do not use BP_SYM.
23660 (frexpf): Likewise.
23661 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23663 (PARMS): Do not use macros from bp-asm.h.
23664 (__frexpl): Do not use BP_SYM.
23665 (frexpl): Likewise.
23666 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23668 (PARMS): Do not use macros from bp-asm.h.
23669 (__remquo): Do not use BP_SYM.
23670 (remquo): Likewise.
23671 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23673 (PARMS): Do not use macros from bp-asm.h.
23674 (__remquof): Do not use BP_SYM.
23675 (remquof): Likewise.
23676 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23678 (PARMS): Do not use macros from bp-asm.h.
23679 (__remquol): Do not use BP_SYM.
23680 (remquol): Likewise.
23681 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23683 (PARMS): Do not use macros from bp-asm.h.
23686 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23687 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23689 (PARMS): Do not use macros from bp-asm.h.
23690 (strlen): Do not use BP_SYM.
23691 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23693 (PARMS): Do not use macros from bp-asm.h.
23697 (__mpn_add_n): Do not use BP_SYM.
23698 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23700 (PARMS): Do not use macros from bp-asm.h.
23703 (__mpn_addmul_1): Do not use BP_SYM.
23704 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23707 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23709 (PARMS): Do not use macros from bp-asm.h.
23712 (__mpn_lshift): Do not use BP_SYM.
23713 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23715 (PARMS): Do not use macros from bp-asm.h.
23719 (memcpy): Likewise. Do not use BP_SYM.
23720 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23721 libc_hidden_def and weak_alias.
23722 (mempcpy): Do not use BP_SYM in weak_alias.
23723 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23725 (PARMS): Do not use macros from bp-asm.h.
23728 [!BZERO_P] (CHR): Likewise.
23729 (memset): Likewise. Do not use BP_SYM.
23730 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23732 (PARMS): Do not use macros from bp-asm.h.
23735 (__mpn_mul_1): Do not use BP_SYM.
23736 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23738 (PARMS): Do not use macros from bp-asm.h.
23741 (__mpn_rshift): Do not use BP_SYM.
23742 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23744 (PARMS): Do not use macros from bp-asm.h.
23747 (strchr): Likewise. Do not use BP_SYM.
23748 (index): Do not use BP_SYM in weak_alias.
23749 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23751 (PARMS): Do not use macros from bp-asm.h.
23754 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23755 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23757 (PARMS): Do not use macros from bp-asm.h.
23758 (strlen): Do not use BP_SYM.
23759 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23761 (PARMS): Do not use macros from bp-asm.h.
23765 (__mpn_sub_n): Do not use BP_SYM.
23766 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23768 (PARMS): Do not use macros from bp-asm.h.
23771 (__mpn_submul_1): Do not use BP_SYM.
23772 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23774 (PARMS): Do not use macros from bp-asm.h.
23778 (__mpn_add_n): Do not use BP_SYM.
23779 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23782 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23784 (PARMS): Do not use macros from bp-asm.h.
23787 (memcmp): Do not use BP_SYM.
23788 (bcmp): Do not use BP_SYM in weak_alias.
23789 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23791 (PARMS): Do not use macros from bp-asm.h.
23795 (memcpy): Likewise. Do not use BP_SYM.
23796 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23798 (PARMS): Do not use macros from bp-asm.h.
23802 (memmove): Likewise. Do not use BP_SYM.
23803 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23805 (PARMS): Do not use macros from bp-asm.h.
23809 (__mempcpy): Likewise. Do not use BP_SYM.
23810 (mempcpy): Do not use BP_SYM in weak_alias.
23811 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23813 (PARMS): Do not use macros from bp-asm.h.
23816 [!BZERO_P] (CHR): Likewise.
23817 (memset): Likewise. Do not use BP_SYM.
23818 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23820 (PARMS): Do not use macros from bp-asm.h.
23822 (strcmp): Do not use BP_SYM.
23823 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23825 (PARMS): Do not use macros from bp-asm.h.
23828 [USE_AS_STRTOK_R] (SAVE): Likewise.
23829 (FUNCTION): Likewise. Do not use BP_SYM.
23830 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23832 (strtok_r): Likewise.
23833 (__GI___strtok_r): Likewise.
23834 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23835 (PARMS): Do not use macros from bp-asm.h.
23838 (__mpn_lshift): Do not use BP_SYM.
23839 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23840 (PARMS): Do not use macros from bp-asm.h.
23843 (__memchr): Do not use BP_SYM.
23844 (memchr): Do not use BP_SYM in weak_alias.
23845 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23846 (PARMS): Do not use macros from bp-asm.h.
23849 (memcmp): Do not use BP_SYM.
23850 (bcmp): Do not use BP_SYM in weak_alias.
23851 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23852 (PARMS): Do not use macros from bp-asm.h.
23855 (__mpn_mul_1): Do not use BP_SYM.
23856 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23858 (PARMS): Do not use macros from bp-asm.h.
23861 (__rawmemchr): Do not use BP_SYM.
23862 (rawmemchr): Do not use BP_SYM in weak_alias.
23863 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23864 (PARMS): Do not use macros from bp-asm.h.
23867 (__mpn_rshift): Do not use BP_SYM.
23868 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23869 (PARMS): Do not use macros from bp-asm.h.
23870 (SIGMSK): Likewise.
23871 (__sigsetjmp): Likewise. Do not use BP_SYM.
23872 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23873 (_start): Do not use BP_SYM.
23874 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23875 (PARMS): Do not use macros from bp-asm.h.
23878 (__stpcpy): Likewise. Do not use BP_SYM.
23879 (stpcpy): Do not use BP_SYM in weak_alias.
23880 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23882 (PARMS): Do not use macros from bp-asm.h.
23886 (__stpncpy): Likewise. Do not use BP_SYM.
23887 (stpncpy): Do not use BP_SYM in weak_alias.
23888 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23889 (PARMS): Do not use macros from bp-asm.h.
23892 (strchr): Likewise. Do not use BP_SYM.
23893 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23895 (PARMS): Do not use macros from bp-asm.h.
23898 (__strchrnul): Likewise. Do not use BP_SYM.
23899 (strchrnul): Do not use BP_SYM in weak_alias.
23900 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23902 (PARMS): Do not use macros from bp-asm.h.
23904 (strcspn): Do not use BP_SYM.
23905 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23907 (PARMS): Do not use macros from bp-asm.h.
23910 (strpbrk): Likewise. Do not use BP_SYM.
23911 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23913 (PARMS): Do not use macros from bp-asm.h.
23916 (strrchr): Likewise. Do not use BP_SYM.
23917 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23918 (PARMS): Do not use macros from bp-asm.h.
23920 (strspn): Do not use BP_SYM.
23921 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23922 (PARMS): Do not use macros from bp-asm.h.
23926 (FUNCTION): Likewise. Do not use BP_SYM.
23927 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23929 (strtok_r): Likewise.
23930 (__GI___strtok_r): Likewise.
23931 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23932 (PARMS): Do not use macros from bp-asm.h.
23936 (__mpn_sub_n): Do not use BP_SYM.
23937 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23939 (PARMS): Do not use macros from bp-asm.h.
23942 (__mpn_submul_1): Do not use BP_SYM.
23943 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23945 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23947 (PARMS): Do not use macros from bp-asm.h.
23952 (__clone): Do not use BP_SYM.
23953 (clone): Do not use BP_SYM in weak_alias.
23954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23956 (PARMS): Do not use macros from bp-asm.h.
23958 (__mmap64): Do not use BP_SYM.
23959 (mmap64): Do not use BP_SYM in weak_alias.
23960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23961 <bp-sym.h> and <bp-asm.h>.
23962 (PARMS): Do not use macros from bp-asm.h.
23963 (__posix_fadvise64_l64): Do not use BP_SYM.
23964 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23965 (PARMS): Do not use macros from bp-asm.h.
23967 (semtimedop): Do not use BP_SYM.
23968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23971 2013-02-21 Allan McRae <allan@archlinux.org>
23973 * manual/message.texi (Charset conversion in gettext):
23974 Move @end statement to beginning of line.
23976 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23984 (denorm): Likewise.
23985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23988 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23990 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23991 tail-call to the resolved function if pltexit isn't needed.
23993 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23996 or Y being zero as being unlikely.
23997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24000 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24002 * manual/nss.texi (System Databases and Name Service Switch):
24003 Remove frobnicate @pxref.
24005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24008 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24010 2013-02-20 Petr Machata <pmachata@redhat.com>
24012 * elf/elf.h (R_ARM_TARGET1): New macro.
24013 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24014 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24015 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24016 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24017 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24018 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24019 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24020 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24021 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24022 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24023 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24024 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24025 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24026 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24027 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24028 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24029 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24030 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24031 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24032 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24033 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24034 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24035 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24036 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24037 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24038 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24039 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24040 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24041 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24042 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24043 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24044 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24045 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24046 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24047 (R_ARM_THM_GOT_BREL12): Likewise.
24048 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24049 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24050 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24051 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24052 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24053 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24054 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24055 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24056 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24058 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24060 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24061 __attribute_used__ to __attribute__ ((unused)).
24063 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24068 comment formatting.
24069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24071 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24074 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24076 (ENTER): Remove both macro definitions.
24078 (CHECK_BOUNDS_LOW): Likewise.
24079 (CHECK_BOUNDS_HIGH): Likewise.
24080 (CHECK_BOUNDS_BOTH): Likewise.
24081 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24082 (RETURN_BOUNDED_POINTER): Likewise.
24083 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24084 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24085 (POP_ERRNO_LOCATION_RETURN): Likewise.
24086 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24087 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24088 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24091 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24092 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24093 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24094 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24095 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24096 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24097 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24098 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24099 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24100 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24101 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24102 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24103 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24106 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24109 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24110 * sysdeps/i386/i586/memset.S (memset): Likewise.
24111 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24113 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24116 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24117 Change uses of L(2) to L(out).
24118 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24119 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24120 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24122 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24125 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24127 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24128 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24129 (RETURN): Do not use macro LEAVE.
24130 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24131 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24132 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24133 * sysdeps/i386/i686/memset.S (memset): Likewise.
24134 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24135 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24137 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24139 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24140 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24141 L(1_2) and L(1_3) into L(1).
24142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24143 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24145 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24146 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24147 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24148 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24150 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24152 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24154 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24155 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24156 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24157 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24158 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24159 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24160 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24161 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24162 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24163 * sysdeps/i386/strspn.S (strspn): Likewise.
24164 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24166 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24167 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24169 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24170 L(1_3) into L(1_1).
24171 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24173 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24177 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24179 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24182 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24184 * math/atest-exp.c (exp_mpn): Remove ROUND.
24185 * math/atest-exp2.c (exp_mpn): Likewise.
24186 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24188 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24189 * stdlib/tst-tls-atexit-lib.c: Likewise.
24190 * stdlib/tst-tls-atexit.c: Likewise.
24192 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24194 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24195 and __attribute_alloc_size__.
24197 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24199 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24200 __attribute_alloc_size__.
24201 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24202 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24204 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24206 * include/programs/xmalloc.h: New file.
24207 * catgets/gencat.c: Include it.
24208 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24209 * elf/pldd.c: Likewise.
24210 * iconv/iconv_charmap.c: Likewise.
24211 * iconv/iconvconfig.c: Likewise.
24212 * iconv/strtab.c: Likewise.
24213 * locale/programs/locale.c: Likewise.
24214 * locale/programs/localedef.h: Likewise.
24215 * locale/programs/simple-hash.c: Likewise.
24216 * nscd/nscd.h: Likewise.
24217 * nss/makedb.c: Likewise.
24218 * sysdeps/generic/ldconfig.h: Likewise.
24220 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24222 * Versions.def: Add GLIBC_2.18.
24223 * include/link.h (struct link_map): New member l_tls_dtor_count.
24224 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24225 (__call_tls_dtors): Likewise.
24226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24227 __cxa_thread_atexit_impl.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24244 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24245 (tests): Add test case tst-tls-atexit.
24246 (modules-names): Add shared library for tst-tls-atexit.
24247 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24248 (GLIBC_PRIVATE): Add __call_tls_dtors.
24249 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24251 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24252 * stdlib/tst-tls-atexit.c: New test case.
24253 * stdlib/tst-tls-atexit-lib.c: New test case.
24255 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24257 * elf/Versions (ld): Add _dl_find_dso_for_object.
24258 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24259 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24260 (dl_open_worker): Use _dl_find_dso_for_object.
24261 * elf/dl-sym.c (do_sym): Likewise.
24262 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24264 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24266 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24267 Syntactic changes only.
24268 (_dl_runtime_profile): Do a tail-call to the resolved function.
24270 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24273 * sysdeps/x86_64/bp-asm.h: Remove file.
24274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24275 <bp-sym.h> and <bp-asm.h>.
24276 (__clone): Do not use BP_SYM.
24277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24278 <bp-sym.h> and <bp-asm.h>.
24279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24280 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24282 (_setjmp): Do not use BP_SYM.
24283 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24285 (setjmp): Do not use BP_SYM.
24286 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24288 (mempcpy): Do not use BP_SYM in weak_alias.
24289 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24291 (strchr): Do not use BP_SYM.
24292 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24294 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24295 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24296 (_start): Do not use BP_SYM.
24297 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24299 (strcat): Do not use BP_SYM.
24300 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24302 (STRCMP): Do not use BP_SYM.
24303 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24305 (STRCPY): Do not use BP_SYM.
24306 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24308 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24310 (FUNCTION): Do not use BP_SYM.
24311 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24313 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24315 2013-02-17 Andreas Jaeger <aj@suse.de>
24317 * time/Versions: Sort entries.
24318 * string/Versions: Likewise.
24319 * resolv/Versions: Likewise.
24320 * posix/Versions: Likewise.
24321 * iconv/Versions: Likewise.
24322 * elf/Versions: Likewise.
24323 * wcsmbs/Versions: Likewise.
24325 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24328 loop termination condition.
24330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24331 variable to calculate EZ.
24334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24335 the lower precision input.
24337 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24340 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24341 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24342 (run-via-rtld-prefix): Do not handle %-bp tests.
24343 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24344 (all-object-suffixes): Remove .ob.
24345 (bppfx): Remove variable.
24346 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24347 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24348 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24349 [$(build-bounded) = yes] (libtype.ob): Likewise.
24350 * Makerules (elide-routines.ob): Remove variable.
24351 (do-tests-clean): Do not handle *-bp.out.
24352 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24353 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24354 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24355 (tests): Do not include $(tests-bp.out).
24356 (xtests): Do not include $(xtests-bp.out).
24357 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24358 [$(build-bounded) = yes] ($(addprefix
24359 $(objpfx),$(binaries-bounded))): Remove rule.
24360 ($(objpfx)%-bp.out): Remove rule.
24361 * config.make.in (build-bounded): Remove variable.
24362 * crypt/Makefile [$(build-bounded) = yes]
24363 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24364 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24365 append to variable.
24366 [$(build-bounded) = yes] (install-lib): Likewise.
24367 [$(build-bounded) = yes] (generated): Likewise.
24368 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24370 * intl/Makefile [$(build-bounded) = yes]
24371 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24372 * math/Makefile [$(build-bounded) = yes]
24373 ($(tests:%=$(objpfx)%-bp): Likewise.
24374 * misc/Makefile [$(build-bounded) = yes]
24375 ($(objpfx)tst-tsearch-bp): Likewise.
24376 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24377 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24379 * string/Makefile (o-objects.ob): Remove variable.
24380 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24381 (CFLAGS-.ob): Remove variable.
24382 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24384 both definitions of variable.
24385 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24386 (ASFLAGS-.ob): Remove variable.
24388 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24391 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24392 Remove __BOUNDED_POINTERS__ from condition.
24393 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24394 * string/bits/string2.h [!__NO_STRING_INLINES &&
24395 !__BOUNDED_POINTERS__]: Likewise.
24396 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24398 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24399 Remove conditional code.
24400 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24401 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24402 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24406 * csu/libc-start.c: Do not include <bp-sym.h>.
24407 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24408 * elf/dl-open.c: Do not include <bp-sym.h>.
24409 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24410 * math/fegetenv.c: Do not include <bp-sym.h>.
24411 (fegetenv): Do not use BP_SYM in versioned symbols.
24412 * nptl/sysdeps/pthread/bits/libc-lockP.h
24413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24416 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24418 (__pthread_mutex_destroy): Likewise.
24419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24420 (__pthread_mutex_lock): Likewise.
24421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24422 (__pthread_mutex_trylock): Likewise.
24423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24424 (__pthread_mutex_unlock): Likewise.
24425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24426 (__pthread_mutexattr_init): Likewise.
24427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24428 (__pthread_mutexattr_destroy): Likewise.
24429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24430 (__pthread_mutexattr_settype): Likewise.
24431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24432 (__pthread_rwlock_init): Likewise.
24433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24434 (__pthread_rwlock_destroy): Likewise.
24435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24436 (__pthread_rwlock_rdlock): Likewise.
24437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24438 (__pthread_rwlock_tryrdlock): Likewise.
24439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24440 (__pthread_rwlock_wrlock): Likewise.
24441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24442 (__pthread_rwlock_trywrlock): Likewise.
24443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24444 (__pthread_rwlock_unlock): Likewise.
24445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24446 (__pthread_key_create): Likewise.
24447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24448 (__pthread_setspecific): Likewise.
24449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24450 (__pthread_getspecific): Likewise.
24451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24454 (_pthread_cleanup_push_defer): Likewise.
24455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24456 (_pthread_cleanup_pop_restore): Likewise.
24457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24458 (pthread_setcancelstate): Likewise.
24459 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24461 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24462 (memchr): Do not use BP_SYM in weak_alias.
24463 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24464 (fegetenv): Do not use BP_SYM in versioned symbols.
24465 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24466 (fesetenv): Do not use BP_SYM in versioned symbols.
24467 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24468 (feupdateenv): Do not use BP_SYM in versioned symbols.
24469 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24470 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24471 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24472 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24473 (open64): Do not use BP_SYM in weak_alias.
24474 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24475 (fegetenv): Do not use BP_SYM in versioned symbols.
24476 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24477 (fesetenv): Do not use BP_SYM in versioned symbols.
24478 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24479 (feupdateenv): Do not use BP_SYM in versioned symbols.
24480 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24481 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24482 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24483 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24484 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24485 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24488 (__libc_start_main): Do not use BP_SYM.
24490 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24493 redundant return line.
24495 (denorm): Likewise.
24496 (dbl_mp): Likewise.
24497 (sub_magnitudes): Likewise.
24503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24505 (denorm): Likewise.
24506 (dbl_mp): Likewise.
24507 (sub_magnitudes): Likewise.
24514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24521 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24523 of __mul for squares.
24524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24531 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24534 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24536 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24537 prototype or function definition. Rename ubp_* variables and
24538 parameters. Remove argv definitions conditional on
24539 [__BOUNDED_POINTERS__].
24540 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24541 * elf/dl-runtime.c (_dl_fixup): Likewise.
24542 * include/set-hooks.h (RUN_HOOK): Likewise.
24543 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24545 * string/strcpy.c (strcpy): Do not use __unbounded.
24546 * sysdeps/generic/frame.h (struct layout): Likewise.
24547 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24548 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24549 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24550 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24551 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24552 (__backtrace): Likewise.
24553 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24555 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24557 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24559 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24560 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24561 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24563 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24564 Do not use __unbounded.
24565 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24566 Rename __unboundedrlimits parameter to rlimits in prototype.
24567 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24568 Do not use __unbounded.
24569 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24570 not use __ptrvalue.
24571 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24572 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24575 __ptrvalue or __unbounded.
24576 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24579 (__new_msgctl): Do not use __ptrvalue.
24580 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24582 (__libc_msgrcv): Do not use __ptrvalue.
24583 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24584 startup_info): Do not use __unbounded.
24585 (__libc_start_main): Likewise. Rename ubp_* variables and
24586 parameters. Remove argv definitions conditional on
24587 [__BOUNDED_POINTERS__].
24588 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24590 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24594 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24596 (__new_shmctl): Do not use __ptrvalue.
24597 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24598 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24600 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24602 (__libc_sigaction): Likewise.
24603 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24604 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24606 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24608 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24610 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24612 * string/mempcpy.c: Implement by calling memcpy.
24614 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24621 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24622 values in the mantissa.
24624 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24625 minimize writes to Z.
24626 (sub_magnitudes): Simplify code a bit.
24628 2013-02-12 Roland McGrath <roland@hack.frob.com>
24630 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24631 from the message. The linker prefixes all warnings with that already.
24633 2013-02-12 Andreas Schwab <schwab@suse.de>
24636 * posix/regexec.c (extend_buffers): Add parameter min_len.
24637 (check_matching): Pass minimum needed length.
24638 (clean_state_log_if_needed): Likewise.
24639 (get_subexp): Likewise.
24640 * posix/Makefile (tests): Add bug-regex34.
24641 (bug-regex34-ENV): Define.
24642 * posix/bug-regex34.c: New file.
24645 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24646 elements compare against the byte sequence of it, not its name.
24647 * posix/Makefile (tests): Add bug-regex35.
24648 (bug-regex35-ENV): Define.
24649 * posix/bug-regex35.c: New file.
24651 2013-02-11 Tom de Vries <tom@codesourcery.com>
24653 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24655 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24656 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24657 (CHECK_EOL): Add undef.
24659 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24661 * bits/stdlib-bsearch.h: New file.
24662 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24663 * stdlib/stdlib.h: Likewise.
24665 2013-02-11 Roland McGrath <roland@hack.frob.com>
24667 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24668 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24670 * manual/search.texi (Array Search Function): Add missing const in
24672 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24673 declaration to use rlim_t.
24674 (Basic Scheduling Functions): Remove erroneous const from
24675 sched_getparam prototype. Remove erroneous * from
24676 sched_get_priority_max and sched_get_priority_min prototypes.
24677 (Resource Usage): Fix summary @comment on vtimes to refer to
24678 sys/vtimes.h rather than vtimes.h.
24679 Add missing *s in vtimes prototype.
24680 (Limits on Resources): Fix ulimit prototype to return long int.
24681 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24682 prototypes to use long int rather than double.
24683 (BSD Random): Fix initstate and setstate to use char *, not void *.
24684 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24685 prototype to make second argument 'struct aiocb64 *const[]'.
24686 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24687 (Status of AIO Operations): Remove erroneous const in aio_return and
24688 aio_return64 prototypes.
24689 (Synchronizing I/O): Fix sync prototype to return void.
24690 * manual/startup.texi (Suboptions): Remove an erroneous const in
24691 getsubopt prototype.
24692 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24693 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24694 use size_t rather than int.
24695 (Scanning All Users): Likewise for getpwent_r.
24696 (Setting Groups): Add missing const to setgroups prototype.
24697 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24698 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24699 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24700 'const void *' rather than 'const char *'.
24701 (Host Address Functions): Likewise for inet_ntop.
24702 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24703 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24704 ssize_t for return value.
24705 (Sending Data): Likewise for send, sendto, sendmsg.
24706 (Socket Option Functions): Add a missing const in setsockopt prototype.
24707 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24708 use wchar_t for the argument.
24709 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24710 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24712 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24713 double/float/long double for second argument.
24714 Fix return types of significand, significandf, significandl.
24715 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24716 argument in fchmod prototype.
24717 (File Owner): Use uid_t and gid_t in fchown prototype.
24718 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24719 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24720 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24721 use 'const struct dirent **' as argument types to CMP function pointer
24723 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24724 (File Times): Fix summary magic @comment for struct utimbuf and utime
24725 to refer to utime.h, not time.h.
24726 * manual/string.texi (Argz Functions): Add missing const in
24727 argz_extract and argz_next prototypes.
24728 (Finding Tokens in a String): Likewise for basename.
24729 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24730 (Copying and Concatenation): Fix typo in wmemmove prototype.
24731 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24732 (Signal Stack): Remove erroneous const in sigstack prototype.
24733 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24735 (Simple Calendar Time): Likewise for stime.
24736 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24738 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24739 say sys/sysctl.h instead.
24740 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24741 and vsyslog prototypes.
24743 2013-02-11 Tom de Vries <tom@codesourcery.com>
24745 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24748 2013-02-11 Roland McGrath <roland@hack.frob.com>
24750 * misc/sys/mman.h: Fix typo in mremap comment.
24752 2013-02-08 Roland McGrath <roland@hack.frob.com>
24754 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24755 the '\0' terminator.
24757 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24760 * debug/segfault.c: Don't include <bp-checks.h>.
24761 * sysdeps/generic/bp-checks.h: Remove file.
24762 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24763 (__GETDENTS): Don't use CHECK_N.
24764 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24765 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24766 (__getgroups): Don't use CHECK_N.
24767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24768 (setgroups): Don't use CHECK_N.
24769 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24770 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24771 (__libc_msgrcv): Don't use CHECK_N.
24772 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24773 (__libc_msgsnd): Don't use CHECK_N.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24776 (__libc_pread): Don't use CHECK_N.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24778 include <bp-checks.h>.
24779 (__libc_pread64): Don't use CHECK_N.
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24781 include <bp-checks.h>.
24782 (__libc_pwrite): Don't use CHECK_N.
24783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24784 include <bp-checks.h>.
24785 (__libc_pwrite64): Don't use CHECK_N.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24788 (__libc_pread): Don't use CHECK_N.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24790 include <bp-checks.h>.
24791 (__libc_pread64): Don't use CHECK_N.
24792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24793 include <bp-checks.h>.
24794 (__libc_pwrite): Don't use CHECK_N.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24796 include <bp-checks.h>.
24797 (__libc_pwrite64): Don't use CHECK_N.
24798 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24799 (do_pread): Don't use CHECK_N.
24800 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24801 (do_pread64): Don't use CHECK_N.
24802 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24803 (do_pwrite): Don't use CHECK_N.
24804 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24805 (do_pwrite64): Don't use CHECK_N.
24806 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24807 (__libc_readv): Don't use CHECK_N.
24808 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24809 (semop): Don't use CHECK_N.
24810 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24812 (semtimedop): Don't use CHECK_N.
24813 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24814 (__libc_pread): Don't use CHECK_N.
24815 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24817 (__libc_pread64): Don't use CHECK_N.
24818 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24820 (__libc_pwrite): Don't use CHECK_N.
24821 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24823 (__libc_pwrite64): Don't use CHECK_N.
24824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24826 (__libc_msgrcv): Don't use CHECK_N.
24827 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24828 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24829 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24830 (__libc_writev): Don't use CHECK_N.
24832 2013-02-08 Roland McGrath <roland@hack.frob.com>
24834 * string/strcpy.c: Removed unused variable.
24836 * Makeconfig (+sysdep-includes): Define with := rather than =.
24837 Use an existing include/ subdir of each sysdeps dir before it.
24839 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24841 * nscd/connection.c (register_traced_file): Comment function.
24842 [HAVE_INOTIFY] (union __inev): Define.
24843 [HAVE_INOTIFY] (inotify_check_files): New function.
24844 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24845 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24847 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24849 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24851 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24852 loaded if not already and that a failure is permanent.
24854 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24857 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24858 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24860 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24863 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24864 (CHECK_1_NULL_OK): Likewise.
24865 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24866 (__fxstat): Do not use CHECK_1.
24867 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24869 (___fxstat64): Do not use CHECK_1.
24870 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24872 (__fxstatat): Do not use CHECK_1.
24873 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24875 (__fxstatat64): Do not use CHECK_1.
24876 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24878 (__fxstat): Do not use CHECK_1.
24879 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24881 (__fxstatat): Do not use CHECK_1.
24882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24884 (__getresgid): Do not use CHECK_1.
24885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24887 (__getresuid): Do not use CHECK_1.
24888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24890 (__lxstat): Do not use CHECK_1.
24891 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24893 (__old_msgctl): Do not use CHECK_1.
24894 (__new_msgctl): Likewise.
24895 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24897 (__new_setrlimit): Do not use CHECK_1.
24898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24900 (__old_shmctl): Do not use CHECK_1.
24901 (__new_shmctl): Likewise.
24902 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24904 (__xstat): Do not use CHECK_1.
24905 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24906 (__lxstat): Do not use CHECK_1.
24907 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24909 (___lxstat64): Do not use CHECK_1.
24910 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24911 (__old_msgctl): Do not use CHECK_1.
24912 (__new_msgctl): Likewise.
24913 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24915 (__gettimeofday): Do not use CHECK_1.
24916 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24917 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24920 (__gettimeofday): Do not use CHECK_1.
24921 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24922 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24923 (__new_shmctl): Do not use CHECK_1.
24924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24926 (do_sigtimedwait): Do not use CHECK_1.
24927 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24929 (do_sigwaitinfo): Do not use CHECK_1.
24930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24932 (msgctl): Do not use CHECK_1.
24933 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24935 (shmctl): Do not use CHECK_1.
24936 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24937 (ustat): Do not use CHECK_1.
24938 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24940 (__fxstat): Do not use CHECK_1.
24941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24943 (__fxstatat): Do not use CHECK_1.
24944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24946 (__lxstat): Do not use CHECK_1.
24947 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24949 (__xstat): Do not use CHECK_1.
24950 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24951 (__xstat): Do not use CHECK_1.
24952 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24953 (___xstat64): Do not use CHECK_1.
24956 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24958 (CHECK_BOUNDS_HIGH): Likewise.
24959 * string/strcpy.c: Do not include <bp-checks.h>.
24960 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24962 2013-02-07 Roland McGrath <roland@hack.frob.com>
24964 * nscd/nscd-client.h (__nscd_drop_map_ref):
24965 Add __attribute__ ((unused)).
24966 * nis/nss-nisplus.h (niserr2nss): Likewise.
24968 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24969 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24971 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24972 Remove inline keyword.
24973 * include/rounding-mode.h (round_away): Likewise.
24974 * libio/wfileops.c (adjust_wide_data): Likewise.
24975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24976 (__m128i_strloadu_tolower): Likewise.
24977 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24978 (__m128i_strloadu_tolower): Likewise.
24979 * time/mktime.c (ydhms_diff): Likewise.
24980 * locale/elem-hash.h (elem_hash): Likewise.
24981 * locale/setlocale.c (setdata): Likewise.
24982 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24983 (re_string_wchar_at): Likewise.
24984 (bitset_not, bitset_merge, bitset_mask): Likewise.
24985 [!(__GNUC__ > 3)] (inline): Remove macro.
24986 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24987 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24988 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24989 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24990 * string/memcmp.c (memcmp_bytes): Likewise.
24991 * locale/programs/locarchive.c (compute_hashval): Likewise.
24992 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24993 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24994 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24995 * nss/getent.c (print_rpc, print_protocols): Likewise.
24996 (print_passwd, print_group, print_aliases): Likewise.
24997 * nis/nss-nisplus.h (niserr2nss): Likewise.
24998 * nscd/connections.c (restart_p): Likewise.
24999 Change return type to bool.
25001 2013-02-05 Roland McGrath <roland@hack.frob.com>
25003 * Makeconfig (all-Depend-files): Add existing
25004 $(sorted-subdirs:=/Depend) files.
25005 (all-subdirs): Remove nss.
25006 * sysdeps/unix/inet/Subdirs: Add it here instead.
25007 * hesiod/Depend: New file.
25009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25010 instead of calling alloca.
25012 * io/lseek.c (__lseek): Rename to __libc_lseek.
25013 Define __lseek as an alias.
25015 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25017 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25019 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25020 else clause and remove check for non-standard endianness.
25022 2013-02-04 David S. Miller <davem@davemloft.net>
25024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25026 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25029 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25030 (__ubp_memchr): Remove prototype.
25031 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25032 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25033 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25034 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25035 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25037 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25038 (__ubp_memchr): Likewise.
25039 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25040 (__ubp_memchr): Likewise.
25041 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25042 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25043 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25046 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25047 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25048 (__getcwd): Do not use CHECK_STRING.
25049 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25051 (__real_chown): Do not use CHECK_STRING.
25052 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25054 (fchownat): Do not use CHECK_STRING.
25055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25059 (__lchown): Do not use CHECK_STRING.
25060 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25061 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25062 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25063 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25065 include <bp-checks.h>.
25066 (truncate64): Do not use CHECK_STRING.
25067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25069 (__real_chown): Do not use CHECK_STRING.
25070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25072 (__lchown): Do not use CHECK_STRING.
25073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25075 (__chown): Do not use CHECK_STRING.
25076 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25078 (truncate64): Do not use CHECK_STRING.
25079 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25081 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25082 (__xmknod): Do not use CHECK_STRING.
25083 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25085 (__xmknodat): Do not use CHECK_STRING.
25086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25087 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25089 2013-02-04 Andreas Schwab <schwab@suse.de>
25092 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25093 * include/netdb.h: Likewise for h_errno.
25094 * elf/tst-stackguard1.c: Include <tls.h>.
25096 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25098 * elf/link.h (struct link_map): Extend the l_addr comment.
25099 * include/link.h (struct link_map): Likewise.
25101 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25104 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25105 (BOUNDED_1): Remove macro.
25106 * debug/backtrace.c: Don't include <bp-checks.h>.
25107 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25108 (__backtrace): Likewise.
25109 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25111 (__backtrace): Don't use BOUNDED_1.
25112 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25114 (__backtrace): Don't use BOUNDED_1.
25115 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25116 (__backtrace): Don't use BOUNDED_1.
25117 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25118 (shmat): Don't use BOUNDED_N.
25120 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25123 * sysdeps/generic/bp-start.h: Remove file.
25124 * csu/libc-start.c: Don't include <bp-start.h>.
25125 (LIBC_START_MAIN): Set up __environ directly instead of using
25126 INIT_ARGV_and_ENVIRON.
25127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25131 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25133 (CHECK_FCNTL): Likewise.
25134 (CHECK_N_PAGES): Likewise.
25137 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25139 (CHECK_SIGSET_NULL_OK): Likewise.
25140 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25142 (sigpending): Don't use CHECK_SIGSET.
25143 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25145 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25146 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25148 (do_sigsuspend): Don't use CHECK_SIGSET.
25149 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25151 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25152 (do_sigwait): Don't use CHECK_SIGSET.
25153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25156 include <bp-checks.h>.
25157 (sigpending): Don't use CHECK_SIGSET.
25158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25159 include <bp-checks.h>.
25160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25161 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25163 (sigpending): Don't use CHECK_SIGSET.
25164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25169 * sysdeps/generic/bp-semctl.h: Remove file.
25170 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25171 <bp-checks.h> and <bp-semctl.h>.
25172 (__old_semctl): Don't use CHECK_SEMCTL.
25173 (__new_semctl): Likewise.
25174 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25176 (__old_semctl): Don't use CHECK_SEMCTL.
25177 (__new_semctl): Likewise.
25178 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25179 <bp-checks.h> and <bp-semctl.h>.
25180 (__old_semctl): Don't use CHECK_SEMCTL.
25181 (__new_semctl): Likewise.
25182 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25183 <bp-checks.h> and <bp-semctl.h>.
25184 (semctl): Don't use CHECK_SEMCTL.
25187 * Makerules (elide-bp-thunks): Remove variable.
25188 (elide-routines.oS): Don't use $(elide-bp-thunks).
25189 (elide-routines.os): Likewise.
25190 (elide-routines.o): Likewise.
25191 (elide-routines.op): Likewise.
25192 (elide-routines.og): Likewise.
25193 (objects): Don't use $(bp-thunks).
25194 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25196 (common-generated): Do not add s-proto-bp.d.
25197 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25200 Do not generate makefile rules for bounded-pointer thunks.
25201 * sysdeps/generic/bp-thunks.h: Remove file.
25202 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25203 * sysdeps/unix/s-proto-bp.S: Likewise.
25206 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25207 parts of result separately when argument is not close to line from
25208 -i to i and one part of argument is small.
25209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25211 * math/libm-test.inc (cacos_test): Add more tests.
25212 (casin_test): Likewise.
25213 (casinh_test): Likewise.
25214 * sysdeps/i386/fpu/libm-test-ulps: Update.
25215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25217 2013-01-31 David S. Miller <davem@davemloft.net>
25219 * po/de.po: Update from translation team.
25221 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25223 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25225 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25227 * configure.in (_AC_PROG_CC_C89): New definition.
25228 * configure: Regenerate.
25230 * configure.in (AC_PROG_CPP): New definition.
25231 * configure: Regenerate.
25233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25235 * debug/tst-backtrace.h: New file.
25236 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25237 (ret): Remove variable.
25239 (FAIL): Remove macro.
25240 (NO_INLINE): Likewise.
25241 (fn1): Use match function instead of strstr.
25242 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25243 (ret): Remove variable.
25245 (FAIL): Remove macro.
25246 (NO_INLINE): Likewise.
25247 (fn): Use match function instead of strstr.
25248 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25249 (ret): Remove variable.
25251 (FAIL): Remove macro.
25252 (NO_INLINE): Likewise.
25253 (handle_signal): Use match function instead of strstr.
25254 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25255 (ret): Remove variable.
25257 (FAIL): Remove macro.
25258 (NO_INLINE): Likewise.
25259 (handle_signal): Use match function instead of strstr.
25261 2013-01-23 Roland McGrath <roland@hack.frob.com>
25263 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25265 2013-01-23 David S. Miller <davem@davemloft.net>
25267 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25268 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25269 argument of CAS if possible.
25270 * sysdeps/sparc/sparc64/bits/atomic.h
25271 (__arch_compare_and_exchange_val_32_acq): Likewise.
25272 (__arch_compare_and_exchange_val_64_acq): Likewise.
25274 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25276 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25277 * sysdeps/posix/ulimit.c: ... this.
25278 Include <limits.h>.
25279 * sysdeps/unix/bsd/ulimit.c: Remove file.
25281 2013-01-23 Adam Conrad <adconrad@0c3.net>
25283 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25284 (LDFLAGS-tst-array5): Likewise.
25286 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25289 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25290 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25291 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25294 2013-01-21 David S. Miller <davem@davemloft.net>
25296 * sysdeps/sparc/backtrace.c: New file.
25297 * sysdeps/sparc/sparc32/backtrace.h: New file.
25298 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25299 * sysdeps/sparc/sparc64/backtrace.h: New file.
25300 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25301 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25304 2013-01-21 Andreas Schwab <schwab@suse.de>
25307 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25310 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25316 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25317 Mark Mitchell <mark@codesourcery.com>
25318 Tom de Vries <tom@codesourcery.com>
25319 Paul Pluzhnikov <ppluzhnikov@google.com>
25321 * debug/tst-backtrace2.c: New file.
25322 * debug/tst-backtrace3.c: Likewise.
25323 * debug/tst-backtrace4.c: Likewise.
25324 * debug/tst-backtrace5.c: Likewise.
25325 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25326 (CFLAGS-tst-backtrace3.c): Likewise.
25327 (CFLAGS-tst-backtrace4.c): Likewise.
25328 (CFLAGS-tst-backtrace5.c): Likewise.
25329 (LDFLAGS-tst-backtrace2): Likewise.
25330 (LDFLAGS-tst-backtrace3): Likewise.
25331 (LDFLAGS-tst-backtrace4): Likewise.
25332 (LDFLAGS-tst-backtrace5): Likewise.
25333 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25334 tst-backtrace4 and tst-backtrace5.
25336 2013-01-18 Anton Blanchard <anton@samba.org>
25337 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25339 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25340 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25342 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25344 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25345 "+r" and remove output regs list as redundant. Add explicit inline
25346 asm to specify register of return val to work around compiler codegen
25347 bug. Remove (int) cast on return value. Add return type parameter to
25348 use in macro so that this macro does not truncate return value for
25350 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25351 pass to INTERNAL_VSYSCALL_NCS.
25352 (INLINE_VSYSCALL): Add 'long int' as return type to
25353 INTERNAL_VSYSCALL_NCS macro invocation.
25354 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25355 INTERNAL_VSYSCALL_NCS macro invocation.
25356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25358 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25361 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25362 Fix application of SIMD FP exception mask.
25364 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25365 mp_no from a power of two.
25366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25367 __mpexp_twomm1. Use __pow_mp.
25369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25372 2013-01-17 David S. Miller <davem@davemloft.net>
25374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25379 * include/complex.h: Condition contents on [!_COMPLEX_H].
25380 (__kernel_casinhf): New prototype.
25381 (__kernel_casinh): Likewise.
25382 (__kernel_casinhl): Likewise.
25383 * math/Makefile (libm_calls): Add k_casinh.
25384 * math/k_casinh.c: New file.
25385 * math/k_casinhf.c: Likewise.
25386 * math/k_casinhl.c: Likewise.
25387 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25388 finite nonzero arguments.
25389 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25390 finite nonzero arguments.
25391 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25392 finite nonzero arguments.
25393 * math/s_casinh.c: Do not include <float.h>.
25394 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25395 * math/s_casinhf.c: Do not include <float.h>.
25396 (__casinhf): Move code for finite nonzero arguments to
25398 * math/s_casinhl.c: Do not include <float.h>.
25399 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25401 (__casinhl): Move code for finite nonzero arguments to
25403 * math/libm-test.inc (cacos_test): Add more tests.
25404 * sysdeps/i386/fpu/libm-test-ulps: Update.
25405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25407 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25409 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25410 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25411 [!HAVE_MREMAP]: Remove [defined linux] case.
25412 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25414 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25416 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25418 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25420 * elf/elf.h (R_386_SIZE32): New relocation.
25421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25423 (elf_machine_rela): Likewise.
25424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25425 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25427 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25429 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25430 (FP_FAST_FMA): Do not define.
25431 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25432 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25433 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25434 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25435 !_SOFT_FLOAT]: Likewise.
25436 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25440 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25442 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25443 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25444 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25447 2013-01-16 Andreas Schwab <schwab@suse.de>
25450 * include/stdlib.h (__mktemp): Add declaration.
25451 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25452 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25454 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25456 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25458 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25459 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25460 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25462 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25463 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25465 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25467 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25468 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25471 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25472 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25474 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25476 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25478 2013-01-15 David S. Miller <davem@davemloft.net>
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25481 trunc{,f} to libm-sysdep_routes.
25482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25492 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25493 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25494 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25496 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25497 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25500 nearbyint{,f} to libm-sysdep_routes.
25501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25515 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25518 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25519 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25521 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25522 libc_feholdexcept and libc_fesetenv.
25524 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25526 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25528 2013-01-14 David S. Miller <davem@davemloft.net>
25530 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25531 (SPARC_ASM_VIS2_IFUNC): Likewise.
25532 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25534 use of 'siam' instruction.
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25568 routines to libm-sysdep_routines.
25569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25572 fdim/fdimf to libm-sysdep_routines.
25573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25581 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25582 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25583 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25584 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25586 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25589 to optimize copies.
25591 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25596 local variable MPTWO.
25597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25602 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25605 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25607 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25611 * manual/pattern.texi (glob_t): Document gl_flags.
25612 (glob64_t): Likewise.
25614 2013-01-11 David S. Miller <davem@davemloft.net>
25616 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25618 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25619 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25620 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25621 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25622 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25623 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25625 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25626 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25627 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25631 sparc V9 rather than using V8 code.
25632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25640 2013-01-11 Roland McGrath <roland@hack.frob.com>
25642 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25643 not in the main loop.
25644 * configure: Regenerated.
25646 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25648 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25649 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25651 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25652 [!__GLIBC_HAVE_LONG_LONG] case.
25653 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25654 condition to just #else.
25655 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25656 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25657 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25658 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25660 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25661 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25662 #elif condition to just #else.
25663 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25664 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25665 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25666 #elif condition to just #else.
25668 2013-01-11 Steve Ellcey <sellcey@mips.com>
25670 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25671 (EF_MIPS_ARCH_64): Fix value.
25672 (EF_MIPS_ARCH_32R2): New.
25673 (EF_MIPS_ARCH_64R2): New.
25675 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25677 * Makeconfig (+link-pie-before-libc): New.
25678 (+link-pie-after-libc): Likewise.
25679 (+link-pie-tests): Likewise.
25680 (+link-pie): Rewritten.
25681 (link-before-libc): Remove $(config-LDFLAGS).
25682 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25683 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25684 (config-LDFLAGS): Renamed to ...
25685 (rtld-LDFLAGS): This.
25686 (rtld-tests-LDFLAGS): New macro.
25687 (link-libc-rpath-link): Likewise.
25688 (link-libc-tests-rpath-link): Likewise.
25689 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25690 (link-libc): Prepand $(link-libc-rpath-link).
25691 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25692 (test-program-prefix): New macro.
25693 (test-via-rtld-prefix): Likewise.
25694 (test-program-cmd): Likewise.
25695 (host-test-program-cmd): Likewise.
25696 * Makefile ($(common-objpfx)testrun.sh): Replace
25697 $(run-program-prefix) with $(test-program-prefix).
25698 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25700 ($(common-objpfx)shlib.lds): Likewise.
25701 (build-module-helper): Likewise.
25702 ($(common-objpfx)format.lds): Likewise.
25703 * Rules (binaries-pie-tests): New.
25704 (binaries-pie-notests): Likewise.
25705 (binaries-pie): Rewritten.
25706 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25707 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25708 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25709 (make-test-out): Replace $(host-built-program-cmd) with
25710 $(host-test-program-cmd).
25711 * config.make.in (build-hardcoded-path-in-tests): New variable.
25712 * configure.in (--enable-hardcoded-path-in-tests): New configure
25714 (hardcoded_path_in_tests): New AC_SUBST.
25715 * configure: Regenerated.
25716 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25717 $(built-program-cmd) with $(test-program-cmd).
25718 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25719 (test_program_cmd): This.
25720 * elf/Makefile ($(objpfx)order.out): Run test with
25721 $(test-program-prefix).
25722 ($(objpfx)order2.out): Likewise.
25723 ($(objpfx)tst-initorder.out): Likewise.
25724 ($(objpfx)tst-initorder2.out): Likewise.
25725 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25726 $(test-program-cmd).
25727 ($(objpfx)tst-array1-static.out): Likewise.
25728 ($(objpfx)tst-array2.out): Likewise.
25729 ($(objpfx)tst-array3.out): Likewise.
25730 ($(objpfx)tst-array4.out): Likewise.
25731 ($(objpfx)tst-array5.out): Likewise.
25732 ($(objpfx)tst-array5-static.out): Likewise.
25733 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25734 $(test-program-cmd).
25735 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25736 $(run-program-prefix) with $(test-program-prefix).
25737 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25738 (test_program_prefix): This.
25739 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25740 $(run-program-prefix) with $(test-program-prefix).
25741 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25742 (test_program_prefix): This.
25743 * iconvdata/tst-tables.sh: Likewise.
25744 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25745 $(run-program-prefix) with $(test-program-prefix).
25746 ($(objpfx)tst-translit.out): Likewise.
25747 ($(objpfx)tst-gettext2.out): Likewise.
25748 ($(objpfx)tst-gettext4.out): Likewise.
25749 ($(objpfx)tst-gettext6.out): Likewise.
25750 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25751 (test_program_prefix): This.
25752 * intl/tst-gettext2.sh: Likewise.
25753 * intl/tst-gettext4.sh Likewise.
25754 * intl/tst-gettext6.sh: Likewise.
25755 * intl/tst-translit.sh: Likewise.
25756 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25757 with $(test-program-cmd).
25758 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25759 $(run-program-prefix) with $(test-program-prefix).
25760 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25761 (test_program_prefix): This.
25762 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25763 $(run-program-prefix) with $(test-program-prefix).
25764 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25765 (test_program_prefix): This.
25766 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25767 * posix/Makefile ($(objpfx)globtest.out): Replace
25768 $(run-via-rtld-prefix) and $(test-wrapper) with
25769 $(test-program-prefix) and $(test-via-rtld-prefix).
25770 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25771 $(test-program-prefix).
25772 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25773 $(host-test-program-cmd).
25774 (tst-spawn-ARGS): Likewise.
25775 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25776 $(test-program-prefix).
25777 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25778 (test_via_rtld_prefix): This.
25779 (test_wrapper): Renamed to ...
25780 (test_program_prefix): This.
25781 (run_program_prefix): Replaced by test_program_prefix.
25782 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25783 (test_program_prefix): This.
25784 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25785 with $(host-test-program-cmd).
25786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25787 $(run-program-prefix) with $(test-program-prefix).
25788 ($(objpfx)tst-printf.out): Likewise.
25789 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25790 $(test-program-cmd).
25791 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25792 (test_program_prefix): This.
25793 * stdio-common/tst-unbputc.sh: Likewise.
25794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25795 $(run-program-prefix) with $(test-program-prefix).
25796 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25797 (test_program_prefix): This.
25798 * string/Makefile ($(objpfx)tst-svc.out): Replace
25799 $(built-program-cmd) with $(test-program-cmd).
25801 2013-01-11 Andreas Jaeger <aj@suse.de>
25804 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25805 value. Sync with Linux 3.7.
25807 2013-01-10 David S. Miller <davem@davemloft.net>
25809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25813 2013-01-10 Roland McGrath <roland@hack.frob.com>
25815 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25817 * configure: Regenerated.
25819 2013-01-10 David S. Miller <davem@davemloft.net>
25821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25822 sparc V9 rather than using V8 code.
25823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25826 2013-01-10 Roland McGrath <roland@hack.frob.com>
25828 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25829 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25830 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25831 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25832 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25833 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25834 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25835 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25836 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25837 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25838 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25839 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25840 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25841 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25842 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25843 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25844 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25845 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25846 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25847 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25848 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25849 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25850 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25851 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25852 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25853 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25854 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25856 2013-01-10 David S. Miller <davem@davemloft.net>
25858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25860 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25862 * posix/Makefile (tests-static): New variable.
25863 (tests): Add $(tests-static).
25864 (tst-exec-static-ARGS): New variable.
25865 (tst-spawn-static-ARGS): Likewise.
25866 * posix/tst-exec-static.c: New file.
25867 * posix/tst-spawn-static.c: Likewise.
25868 * posix/tst-exec.c: Support run directly.
25869 * posix/tst-spawn.c: Likewise.
25871 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25873 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25875 * math/bits/mathcalls.h (llrint): Likewise.
25876 (llround): Likewise.
25877 * stdlib/stdlib.h (struct drand48_data): Likewise.
25878 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25879 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25884 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25885 (elf_greg_t): Likewise.
25886 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25887 (__jmp_buf): Likewise.
25888 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25890 (llrint): Likewise, for all definitions.
25891 (llrintl): Likewise.
25893 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25894 Remove [__GNUC__] condition.
25895 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25896 condition to just [__USE_ISOC99].
25897 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25902 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25903 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25905 (_POSIX_V6_ILP32_OFF32): Likewise.
25906 (_XBS5_ILP32_OFF32): Likewise.
25907 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25908 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25910 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25912 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25915 doubles __mpexp_twomm1. Adjust usage.
25916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25919 2013-01-10 Andreas Schwab <schwab@suse.de>
25922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25923 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25925 2013-01-09 David S. Miller <davem@davemloft.net>
25928 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25929 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25930 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25931 (TCP_FASTOPEN): Define.
25932 (tcp_repair_opt): New structure.
25933 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25935 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25936 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25937 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25938 (tcp_cookie_transactions): New structure.
25940 2013-01-09 Anton Blanchard <anton@samba.org>
25942 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25947 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25949 * include/features.h (__USE_ANSI): Remove.
25951 2013-01-09 Roland McGrath <roland@hack.frob.com>
25953 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25955 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25957 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25959 * sysdeps/s390/fpu/libm-test-ulps: Update.
25961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25967 (denorm): Likewise.
25968 (__mp_dbl): Likewise.
25969 (__dbl_mp): Likewise.
25970 (add_magnitudes): Likewise.
25971 (sub_magnitudes): Likewise.
25977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25981 (denorm): Likewise.
25982 (__mp_dbl): Likewise.
25983 (__dbl_mp): Likewise.
25984 (add_magnitudes): Likewise.
25985 (sub_magnitudes): Likewise.
25991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25995 (denorm): Likewise.
25996 (__mp_dbl): Likewise.
25997 (__dbl_mp): Likewise.
25998 (add_magnitudes): Likewise.
25999 (sub_magnitudes): Likewise.
26006 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26008 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26009 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26010 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26011 2 && __USE_EXTERN_INLINES]: Likewise.
26013 2013-01-08 Andreas Jaeger <aj@suse.de>
26016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26018 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26021 2013-01-07 Anton Blanchard <anton@samba.org>
26023 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26024 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26025 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26029 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26035 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26040 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26043 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26047 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26049 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26050 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26052 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26065 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26067 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26069 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26070 (__MALLOC_PMT): Likewise.
26071 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26072 [__GNUC__], only on [_LIBC].
26073 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26074 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26075 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26076 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26077 forward declaration.
26078 (realloc_hook_ini): Likewise.
26079 (memalign_hook_ini): Likewise.
26080 (__libc_memalign): Do not use __MALLOC_PMT in variable
26082 (__libc_valloc): Likewise.
26083 (__libc_pvalloc): Likewise.
26084 (__libc_calloc): Likewise.
26085 (__posix_memalign): Likewise.
26088 * math/s_casinh.c: Include <float.h>.
26089 (__casinh): Do not do computation with squaring and square root
26090 for large arguments.
26091 * math/s_casinhf.c: Include <float.h>.
26092 (__casinhf): Do not do computation with squaring and square root
26093 for large arguments.
26094 * math/s_casinhl.c: Include <float.h>.
26095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26096 (__casinhl): Do not do computation with squaring and square root
26097 for large arguments.
26098 * math/libm-test.inc (casin_test): Add more tests.
26099 (casinh_test): Likewise.
26100 * sysdeps/i386/fpu/libm-test-ulps: Update.
26101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26103 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26106 (__x86_64_raw_data_cache_size): Likewise.
26107 (__x86_64_data_cache_size_half): Likewise.
26108 (__x86_64_raw_data_cache_size_half): Likewise.
26109 (__x86_64_shared_cache_size): Likewise.
26110 (__x86_64_raw_shared_cache_size): Likewise.
26111 (__x86_64_shared_cache_size_half): Likewise.
26112 (__x86_64_raw_shared_cache_size_half): Likewise.
26113 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26115 (__x86_data_cache_size): This.
26116 (__x86_64_raw_data_cache_size): Renamed to ...
26117 (__x86_raw_data_cache_size): This.
26118 (__x86_64_data_cache_size_half): Renamed to ...
26119 (__x86_data_cache_size_half): This.
26120 (__x86_64_raw_data_cache_size_half): Renamed to ...
26121 (__x86_raw_data_cache_size_half): This.
26122 (__x86_64_shared_cache_size): Renamed to ...
26123 (__x86_shared_cache_size): This.
26124 (__x86_64_raw_shared_cache_size): Renamed to ...
26125 (__x86_raw_shared_cache_size): This.
26126 (__x86_64_shared_cache_size_half): Renamed to ...
26127 (__x86_shared_cache_size_half): This.
26128 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26129 (__x86_raw_shared_cache_size_half): This.
26130 * sysdeps/x86_64/memcpy.S: Updated.
26131 * sysdeps/x86_64/memset.S: Likewise.
26132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26136 2013-01-04 David S. Miller <davem@davemloft.net>
26138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26140 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26143 1 to avoid redefinition warning.
26144 (__USE_GNU): Don't define.
26145 (init_signaling_nan): Protoize.
26147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26149 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26151 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26153 (__cpymn): Likewise.
26154 (norm): Remove commented code.
26155 (denorm): Likewise.
26156 (__mp_dbl): Likewise.
26158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26159 (__cpymn): Likewise.
26160 (norm): Remove commented code.
26161 (denorm): Likewise.
26162 (__mp_dbl): Likewise.
26165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26166 mp_no value for 1.0 and 2.0.
26167 (norm): Use RADIXI instead of radixi.d.
26168 (denorm): Likewise.
26169 (__mul): Use 0.0 instead of zero.d.
26170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26171 mp_no value for 1.0 and 2.0.
26172 (norm): Use RADIXI instead of radixi.d.
26173 (denorm): Likewise.
26174 (__mul): Use 0.0 instead of zero.d.
26176 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26179 * math/s_casinh.c (__casinh): Reduce finite argument to first
26180 quadrant then set signs of results at the end.
26181 * math/s_casinhf.c (__casinhf): Likewise.
26182 * math/s_casinhl.c (__casinhl): Likewise.
26183 * math/libm-test.inc (casin_test): Add more tests.
26184 (casinh_test): Likewise.
26185 * sysdeps/i386/fpu/libm-test-ulps: Update.
26186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26190 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26192 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26194 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26196 (denorm): Likewise.
26197 (__mp_dbl): Likewise.
26200 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26201 and adjust the header comment.
26203 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26204 variable name from declaration.
26206 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26209 Initialize COMMON_CPUID_INDEX_7 element.
26210 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26211 (CPUID_RTM): Likewise.
26212 (HAS_RTM): Likewise.
26213 (COMMON_CPUID_INDEX_7): New enum.
26215 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26218 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26219 size is zero, record memory as freed.
26221 2013-01-03 Andreas Jaeger <aj@suse.de>
26223 * po/ia.po: Add new Interlingua translation.
26225 2012-01-03 Allan McRae <allan@archlinux.org>
26227 * locale/programs/localedef.c: Fix description of '--posix' flag.
26229 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26231 * NEWS: Update dates in second copyright notice.
26232 * README: Update copyright dates in example.
26233 * manual/libc.texinfo: Update copyright dates.
26234 * scripts/test-installation.pl: Update copyright date in --version
26237 * hurd/ctty-input.c: Fix copyright notice formatting.
26238 * hurd/ctty-output.c: Likewise.
26239 * hurd/dtable.c: Likewise.
26240 * hurd/hurd-raise.c: Likewise.
26241 * hurd/hurdprio.c: Likewise.
26242 * hurd/msgportdemux.c: Likewise.
26243 * misc/sys/file.h: Likewise.
26244 * misc/sys/ioctl.h: Likewise.
26245 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26246 * sysdeps/mach/hurd/chdir.c: Likewise.
26247 * sysdeps/mach/hurd/fchdir.c: Likewise.
26248 * sysdeps/mach/hurd/rename.c: Likewise.
26249 * sysdeps/mach/hurd/rmdir.c: Likewise.
26250 * sysdeps/mach/hurd/seekdir.c: Likewise.
26251 * sysdeps/mach/hurd/setsid.c: Likewise.
26252 * sysdeps/posix/wait3.c: Likewise.
26254 * All files with FSF copyright notices: Update copyright dates
26255 using scripts/update-copyrights.
26256 * intl/plural.c: Regenerated.
26257 * locale/programs/charmap-kw.h: Likewise.
26258 * locale/programs/locfile-kw.h: Likewise.
26260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26262 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26266 calculation loop and add branch prediction.
26268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26269 check access beyond bounds of m1np.
26271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26273 (__inv): Remove local variable MPTWO to use the global
26275 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26279 MP3HALFS static const.
26281 2013-01-01 David S. Miller <davem@davemloft.net>
26283 * po/ca.po: Update from translation team.
26285 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26287 * scripts/update-copyrights: New file.
26288 * Makeconfig: Reformat copyright notice.
26289 * ctype/ctype.h: Likewise.
26290 * debug/swprintf_chk.c: Likewise.
26291 * elf/dl-cache.c: Likewise.
26292 * elf/dl-debug.c: Likewise.
26293 * elf/dl-object.c: Likewise.
26294 * grp/initgroups.c: Likewise.
26295 * hurd/Makefile: Likewise.
26296 * hurd/hurd/signal.h: Likewise.
26297 * hurd/hurdfault.c: Likewise.
26298 * hurd/hurdioctl.c: Likewise.
26299 * hurd/hurdlookup.c: Likewise.
26300 * hurd/intr-msg.c: Likewise.
26301 * iconv/gconv_open.c: Likewise.
26302 * libio/swprintf.c: Likewise.
26303 * locale/lc-ctype.c: Likewise.
26304 * locale/nl_langinfo.c: Likewise.
26305 * mach/Machrules: Likewise.
26306 * mach/Makefile: Likewise.
26307 * malloc/obstack.h: Likewise.
26308 * manual/Makefile: Likewise.
26309 * manual/tsort.awk: Likewise.
26310 * misc/bits/stab.def: Likewise.
26311 * nis/nis_print_group_entry.c: Likewise.
26312 * nis/nis_table.c: Likewise.
26313 * nis/nss_compat/compat-pwd.c: Likewise.
26314 * nis/nss_compat/compat-spwd.c: Likewise.
26315 * po/Makefile: Likewise.
26316 * posix/fnmatch.c: Likewise.
26317 * posix/regex.h: Likewise.
26318 * resolv/Makefile: Likewise.
26319 * resolv/nss_dns/dns-network.c: Likewise.
26320 * resolv/res_hconf.c: Likewise.
26321 * scripts/gen-sorted.awk: Likewise.
26322 * soft-fp/soft-fp.h: Likewise.
26323 * stdio-common/printf.h: Likewise.
26324 * stdlib/monetary.h: Likewise.
26325 * stdlib/random.c: Likewise.
26326 * stdlib/random_r.c: Likewise.
26327 * sysdeps/generic/Makefile: Likewise.
26328 * sysdeps/gnu/Makefile: Likewise.
26329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26357 * sysdeps/mach/hurd/errnos.awk: Likewise.
26358 * sysdeps/mach/hurd/fork.c: Likewise.
26359 * sysdeps/mach/hurd/getcwd.c: Likewise.
26360 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26361 * sysdeps/mach/hurd/mmap.c: Likewise.
26362 * sysdeps/mach/hurd/utimes.c: Likewise.
26363 * sysdeps/mach/hurd/xmknod.c: Likewise.
26364 * sysdeps/posix/profil.c: Likewise.
26365 * sysdeps/posix/readdir_r.c: Likewise.
26366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26367 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26368 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26369 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26375 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26377 * sysdeps/pthread/lio_listio.c: Likewise.
26378 * sysdeps/sparc/dl-procinfo.h: Likewise.
26379 * sysdeps/unix/i386/sysdep.S: Likewise.
26380 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26381 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26382 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26383 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26385 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26386 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26387 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26388 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26389 * sysdeps/wordsize-32/divdi3.c: Likewise.
26390 * time/sys/time.h: Likewise.
26391 * wcsmbs/Makefile: Likewise.
26393 2013-01-01 David S. Miller <davem@davemloft.net>
26395 * po/fr.po: Update from translation team.
26397 * catgets/gencat.c: Update copyright year.
26398 * csu/version.c: Likewise.
26399 * debug/catchsegv.sh: Likewise.
26400 * debug/pcprofiledump.c: Likewise.
26401 * debug/xtrace.sh: Likewise.
26402 * elf/ldconfig.c: Likewise.
26403 * elf/ldd.bash.in: Likewise.
26404 * elf/pldd.c: Likewise.
26405 * elf/sotruss.ksh: Likewise.
26406 * elf/sprof.c: Likewise.
26407 * iconv/iconv_prog.c: Likewise.
26408 * iconv/iconvconfig.c: Likewise.
26409 * locale/programs/locale.c: Likewise.
26410 * locale/programs/localedef.c: Likewise.
26411 * login/programs/pt_chown.c: Likewise.
26412 * malloc/memusage.sh: Likewise.
26413 * malloc/memusagestat.c: Likewise.
26414 * malloc/mtrace.pl: Likewise.
26415 * nscd/nscd.c: Likewise.
26416 * nss/getent.c: Likewise.
26417 * nss/makedb.c: Likewise.
26418 * posix/getconf.c: Likewise.
26420 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26422 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26425 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26427 * math/bits/mathcalls.h (modf): Use __nonnull.
26429 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26431 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26432 (split): Use macro CN instead of the bare value.
26433 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26435 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26436 instead of the bare value.
26437 (power1): Likewise.
26439 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26445 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26449 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26450 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26452 2012-12-28 Andreas Jaeger <aj@suse.de>
26454 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26455 values are from Linux 3.7.
26457 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26458 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26460 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26462 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26467 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26468 variables with preprocessor constants.
26469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26473 2012-12-27 Bruno Haible <bruno@clisp.org>
26476 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26479 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26482 and use variable directly.
26483 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26492 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26493 include directive. Remove local variable MPONE.
26494 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26498 2012-12-25 David S. Miller <davem@davemloft.net>
26500 * version.h (RELEASE): Set to "development".
26501 (VERSION): Set to "2.17.90".
26502 * NEWS: Add 2.18 section.
26504 2012-12-21 David S. Miller <davem@davemloft.net>
26506 * po/hr.po: Update from translation team.
26508 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26510 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26512 2012-12-19 Steve Ellcey <sellcey@mips.com>
26514 * NEWS: Mention new memcpy for MIPS.
26516 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26518 * manual/contrib.texi (Contributors): Spelling correction.
26520 2012-12-15 David S. Miller <davem@davemloft.net>
26522 * po/ru.po: Update from translation team.
26524 2012-12-13 David S. Miller <davem@davemloft.net>
26526 * NEWS: Mention IFUNC testsuite enhancements.
26528 * po/pl.po: Update from translation team.
26529 * po/bg.po: Likewise.
26531 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26532 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26534 2012-12-11 David S. Miller <davem@davemloft.net>
26536 * po/sv.po: Update from translation team.
26538 * po/vi.po: Update from translation team.
26540 * po/cs.po: Update from translation team.
26542 * po/de.po: Update from translation team.
26543 * po/eo.po: Likewise.
26544 * po/nl.po: Likewise.
26546 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26549 * manual/argp.texi (Argp Helper Functions): Move node to follow
26550 Argp Parsing State.
26553 * manual/conf.texi (Limits on File System Capacity): Mention if
26554 terminating null is included in the max size.
26556 2012-12-10 Andreas Jaeger <aj@suse.de>
26558 * po/cs.po: Update from translation team.
26560 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26562 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26563 void pointer and cast to uintptr_t.
26564 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26566 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26567 * sysdeps/s390/s390-64/memset.S: Likewise.
26569 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26572 * menual/message.texi (Message Translation): Fix typos.
26573 (Helper programs for gettext): Likewise.
26575 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26578 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26581 2012-12-07 David S. Miller <davem@davemloft.net>
26583 * po/libc.pot: Update.
26585 2012-12-07 Richard Henderson <rth@redhat.com>
26588 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26589 normal/normal case to before the switch.
26590 (_FP_DIV): Likewise.
26592 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26593 Mike Frysinger <vapier@gentoo.org>
26595 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26596 check for __NR_fadvise64_64.
26598 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26600 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26601 0, not just to plain "0" as a statement.
26602 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26605 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26607 * NEWS: Use sourceware.org in Bugzilla URL.
26609 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26614 * stdio-common/tst-put-error.c (do_test): Add newline to the
26615 padded test to ensure flush.
26617 2012-12-05 Jeff Law <law@redhat.com>
26619 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26621 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26623 * README: Don't refer to ports add-on as distributed separately.
26624 Mention AArch64 in list of systems supported in the ports add-on.
26626 * LICENSES: Add more non-FSF copyright and license notices.
26628 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26631 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26633 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26634 10000 as width of padded output.
26636 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26638 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26641 variable LX with __attribute__ ((unused)).
26642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26644 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26647 with __attribute__ ((unused)).
26649 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26651 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26653 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26655 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26656 (CFLAGS-nldbl-acos.c): New variable.
26657 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26658 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26659 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26660 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26661 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26662 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26663 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26664 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26665 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26666 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26667 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26668 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26669 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26670 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26671 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26672 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26673 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26674 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26675 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26676 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26677 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26678 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26679 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26680 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26681 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26682 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26683 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26684 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26685 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26686 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26687 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26688 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26689 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26690 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26691 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26692 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26693 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26694 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26695 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26696 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26697 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26698 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26699 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26700 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26701 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26702 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26703 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26704 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26705 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26706 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26707 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26708 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26709 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26710 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26711 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26712 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26713 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26714 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26715 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26716 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26717 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26718 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26719 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26720 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26721 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26722 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26723 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26724 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26725 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26726 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26727 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26728 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26729 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26730 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26731 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26732 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26733 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26734 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26735 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26736 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26737 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26738 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26739 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26740 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26741 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26742 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26743 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26744 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26745 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26746 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26747 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26748 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26749 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26750 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26751 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26752 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26753 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26756 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26760 whole low double instead of just low 47 bits when splitting values
26763 2012-12-03 Allan McRae <allan@archlinux.org>
26765 * manual/stdio.texi (Predefined Printf Handlers): Remove
26766 @hsep and @vsep usage.
26768 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26770 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26771 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26773 2012-12-03 Jeff Law <law@redhat.com>
26775 * time/sys/time.h (settimeofday): Do not mark TV argument
26778 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26780 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26781 when currently writing and seek to current position when not.
26782 * libio/Makefile (tests): Remove bug-fclose1.
26783 * libio/bug-fclose1.c: Delete.
26785 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26787 * manual/arith.texi (feenableexcept): Fix typo.
26788 (fedisableexcept): Likewise.
26790 2012-11-30 Roland McGrath <roland@hack.frob.com>
26792 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26793 second, differently-typed declaration, rather than a cast.
26795 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26797 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26798 * include/rpc/svc.h: ... here.
26800 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26803 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26804 depending n and resplen2 to catch cases where answer
26807 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26810 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26812 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26816 2012-11-29 Roland McGrath <roland@hack.frob.com>
26818 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26820 2012-11-28 Jeff Law <law@redhat.com>
26823 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26824 dataset_temporary. Track alloca usage into alloca_used.
26825 If dataset is large allocate and release it via malloc/free.
26827 2012-06-04 Florian Weimer <fweimer@redhat.com>
26830 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26832 2012-11-28 David S. Miller <davem@davemloft.net>
26834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26836 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26839 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26840 of pi/2 rounded to nearest to 64 bits.
26841 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26842 nearest to 64 bits.
26843 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26846 2012-11-28 Jeff Law <law@redhat.com>
26847 Martin Osvald <mosvald@redhat.com>
26850 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26851 * sunrpc/svc.c: Include time.h.
26852 (__svc_accept_failed): New function.
26853 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26854 any reason other than EINTR, call __svc_accept_failed.
26855 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26856 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26858 2012-11-28 Andreas Schwab <schwab@suse.de>
26860 * scripts/abilist.awk: Also handle indirect functions in .opd
26863 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26866 * sysdeps/x86/fpu/powl_helper.c: New file.
26867 * sysdeps/x86/fpu/Makefile: Likewise.
26868 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26870 (__ieee754_powl): Use __powl_helper for finite arguments except
26871 integer exponents below 8.
26872 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26874 (__ieee754_powl): Use __powl_helper for finite arguments except
26875 integer exponents below 8.
26876 * math/libm-test.inc (pow_test): Add more tests and enable some
26877 previously disabled tests.
26878 * sysdeps/i386/fpu/libm-test-ulps: Update.
26879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26881 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26882 Carlos O'Donell <carlos_odonell@mentor.com>
26884 * nss/makedb.c (is_prime): Assert that input is odd and greater
26885 than 4. Note that fact in a comment too.
26886 (next_prime): Add 4 to input.
26888 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26891 * libio/Makefile (tests): Add test case tst-fwrite-error.
26892 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26893 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26894 * libio/tst-fwrite-error.c: New test case.
26896 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26898 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26899 before casting to void *.
26900 * include/libc-internal.h (__pointer_type): New macro.
26901 (__integer_if_pointer_type_sub): Likewise.
26902 (__integer_if_pointer_type): Likewise.
26903 (cast_to_integer): Likewise.
26904 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26905 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26906 before casting to atomic64_t.
26907 (atomic_exchange_acq): Likewise.
26908 (__arch_exchange_and_add_body): Likewise.
26909 (__arch_add_body): Likewise.
26910 (atomic_add_negative): Likewise.
26911 (atomic_add_zero): Likewise.
26913 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26915 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26916 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26917 (add_fdes): Likewise.
26918 (linear_search_fdes): Likewise.
26919 (binary_search_unencoded_fdes): Likewise.
26921 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26923 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26925 2012-11-24 Adam Conrad <adconrad@0c3.net>
26927 * configure.in: Autodetect C++ header directories.
26928 * configure: Regenerated.
26930 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26932 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26934 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26938 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26940 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26941 LDBL_MANT_DIG == 106]: Disable some tests.
26942 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26944 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26949 input for small inputs. Return +/- pi/2 for large inputs.
26950 * math/libm-test.inc (atan_test): Add more tests.
26952 * sysdeps/generic/unwind-dw2-fde-glibc.c
26953 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26954 __attribute__ ((unused)).
26957 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26958 x * y if x and y are nonzero and z is zero.
26961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26962 nonzero exponents with absolute value below 0x1p-117 to +/-
26966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26967 up arguments below 2**-450, not just those below 2**-500.
26968 * math/libm-test.inc (hypot_test): Add another test.
26971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26972 Return a+b for ratio over 2**120, not 2**60.
26973 * math/libm-test.inc (hypot_test): Add another test.
26975 * math/libm-test.inc (clog_test): Use
26976 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26977 (clog10_test): Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26982 2012-11-22 Andreas Schwab <schwab@suse.de>
26984 * sysdeps/i386/fpu/libm-test-ulps: Update.
26986 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26988 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26989 printf output with newline.
26991 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26994 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26995 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26996 -z nodlopen, -z initfirst and -z execstack support.
26997 * configure: Regenerated.
26999 * elf/elf.h (DF_1_NODIRECT): New macro.
27000 (DF_1_IGNMULDEF): Likewise.
27001 (DF_1_NOKSYMS): Likewise.
27002 (DF_1_NOHDR): Likewise.
27003 (DF_1_EDITED): Likewise.
27004 (DF_1_NORELOC): Likewise.
27005 (DF_1_SYMINTPOSE): Likewise.
27006 (DF_1_GLOBAUDIT): Likewise.
27007 (DF_1_SINGLETON): Likewise.
27008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27009 DT_1_SUPPORTED_MASK bits.
27010 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27012 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27014 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27016 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27018 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27021 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27022 (sendmmsg): Move declarations...
27023 * socket/sys/socket.h: ... here.
27024 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27025 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27027 * socket/recvmmsg.c: ... this new file.
27028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27029 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27030 definition of __sendmmsg hidden.
27031 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27032 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27033 Move ENOSYS stub into and include it from...
27034 * socket/sendmmsg.c: ... this new file.
27035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27036 (sysdep_routines): Move recvmmsg and sendmmsg...
27037 * socket/Makefile (routines): ... here.
27038 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27039 (GLIBC_PRIVATE): Add __sendmmsg.
27040 * include/sys/socket.h (__sendmmsg): Add declarations.
27041 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27044 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27047 variable I1 with __attribute__ ((unused)).
27048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27052 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27053 DUMMY variables with __attribute__ ((unused)).
27055 * bits/byteswap.h: Include <bits/types.h>.
27056 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27058 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27060 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27061 string_t. Do not manually set errno.
27062 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27063 length with __strnlen. Make sure to both set errno and return it on
27066 2012-11-19 David S. Miller <davem@davemloft.net>
27068 With help from Joseph Myers.
27069 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27070 very large arguments properly.
27071 * math/libm-test.inc (atan_test): New tests.
27072 (atan2_test): New tests.
27073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27079 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27082 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27083 [POSIX] (EADDRNOTAVAIL): Likewise.
27084 [POSIX] (EAFNOSUPPORT): Likewise.
27085 [POSIX] (EALREADY): Likewise.
27086 [POSIX] (ECONNABORTED): Likewise.
27087 [POSIX] (ECONNREFUSED): Likewise.
27088 [POSIX] (ECONNRESET): Likewise.
27089 [POSIX] (EDESTADDRREQ): Likewise.
27090 [POSIX] (EDQUOT): Likewise.
27091 [POSIX] (EHOSTUNREACH): Likewise.
27092 [POSIX] (EIDRM): Likewise.
27093 [POSIX] (EISCONN): Likewise.
27094 [POSIX] (ELOOP): Likewise.
27095 [POSIX] (EMULTIHOP): Likewise.
27096 [POSIX] (ENETDOWN): Likewise.
27097 [POSIX] (ENETUNREACH): Likewise.
27098 [POSIX] (ENOBUFS): Likewise.
27099 [POSIX] (ENODATA): Likewise.
27100 [POSIX] (ENOLINK): Likewise.
27101 [POSIX] (ENOMSG): Likewise.
27102 [POSIX] (ENOPROTOOPT): Likewise.
27103 [POSIX] (ENOSR): Likewise.
27104 [POSIX] (ENOSTR): Likewise.
27105 [POSIX] (ENOTCONN): Likewise.
27106 [POSIX] (ENOTSOCK): Likewise.
27107 [POSIX] (EOPNOTSUPP): Likewise.
27108 [POSIX] (EOVERFLOW): Likewise.
27109 [POSIX] (EPROTO): Likewise.
27110 [POSIX] (EPROTONOSUPPORT): Likewise.
27111 [POSIX] (EPROTOTYPE): Likewise.
27112 [POSIX] (ESTALE): Likewise.
27113 [POSIX] (ETIME): Likewise.
27114 [POSIX] (ETXTBSY): Likewise.
27115 [POSIX] (EWOULDBLOCK): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27117 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27118 [POSIX] (SEEK_CUR): Likewise.
27119 [POSIX] (SEEK_END): Likewise.
27120 [POSIX || UNIX98] (mode_t): Do not require.
27121 [POSIX] (off_t): Likewise.
27122 [POSIX] (pid_t): Likewise.
27123 [POSIX] (sys/stat.h): Do not allow header.
27124 [POSIX] (unistd.h): Likewise.
27125 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27126 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27127 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27128 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27130 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27131 sigevent): Specify elements.
27132 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27134 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27135 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27137 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27138 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27139 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27140 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27141 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27142 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27143 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27144 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27145 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27146 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27147 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27148 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27149 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27159 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27160 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27162 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27163 Specify lower bound on value.
27164 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27165 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27166 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27167 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27168 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27170 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27171 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27173 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27176 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27177 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27178 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27179 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27180 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27181 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27182 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27183 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27184 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27185 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27186 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27187 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27188 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27189 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27190 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27192 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27194 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27195 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27196 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27197 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27198 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27202 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27206 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27213 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27214 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27215 specify as optional.
27216 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27220 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27221 [XPG3] (NL_LANGMAX): Likewise.
27222 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27223 [POSIX || XPG3] (NL_NMAX): Likewise.
27224 [POSIX || XPG3] (NL_SETMAX): Likewise.
27225 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27226 [XPG3] (NZERO): Likewise.
27227 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27228 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27229 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27230 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27231 (REG_ERANGE): Expect.
27232 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27234 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27235 Use (void) in prototype.
27236 [POSIX] (*_t): Allow.
27237 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27238 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27239 (WRDE_BADVAL): Expect.
27241 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27243 [XPG3 || XPG4] (O_RSYNC): Likewise.
27244 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27246 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27247 [XPG3 || XPG4] (sigqueue): Likewise.
27248 [XPG3 || XPG4] (sigtimedwait): Likewise.
27249 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27250 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27251 [XPG3 || XPG4] (vsnprintf): Likewise.
27252 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27254 [XPG3 || XPG4] (blksize_t): Likewise.
27255 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27257 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27258 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27259 [XPG3 || XPG4] (struct itimerspec): Likewise.
27260 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27261 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27262 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27263 [XPG3 || XPG4] (clockid_t): Likewise.
27264 [XPG3 || XPG4] (timer_t): Likewise.
27265 [XPG3 || XPG4] (clock_getres): Likewise.
27266 [XPG3 || XPG4] (clock_gettime): Likewise.
27267 [XPG3 || XPG4] (clock_settime): Likewise.
27268 [XPG3 || XPG4] (nanosleep): Likewise.
27269 [XPG3 || XPG4] (timer_create): Likewise.
27270 [XPG3 || XPG4] (timer_delete): Likewise.
27271 [XPG3 || XPG4] (timer_gettime): Likewise.
27272 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27273 [XPG3 || XPG4] (timer_settime): Likewise.
27274 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27275 [XPG3 || XPG4] (getlogin_r): Likewise.
27276 [XPG3 || XPG4] (pread): Likewise.
27277 [XPG3 || XPG4] (pthread_atfork): Likewise.
27278 [XPG3 || XPG4] (pwrite): Likewise.
27281 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27284 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27286 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27287 finalizing MALLSTREAM.
27289 * sysdeps/mach/hurd/syncfs.c: New file.
27291 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27295 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27296 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27297 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27298 (_nss_dns_gethostbyname4_r): Likewise.
27299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27300 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27302 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27305 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27307 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27309 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27310 * elf/cache.c (print_entry): Print ",AArch64" for
27313 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27314 * elf/cache.c (print_entry): Print ",hard-float" for
27317 2012-11-18 David S. Miller <davem@davemloft.net>
27319 With help from Joseph Myers.
27320 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27322 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27324 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27325 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27328 * math/libm-test.inc (y0_test): New tests.
27329 (y1_test): New tests.
27330 * sysdeps/i386/fpu/libm-test-ulps: Update.
27331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27334 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27336 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27338 * configure: Regenerated.
27340 2012-11-17 David S. Miller <davem@davemloft.net>
27343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27344 nonzero exponents with absolute value below 0x1p-128 to +/-
27347 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27349 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27351 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27353 * posix/getconf-speclist.c: New file.
27354 * posix/posix-envs.def: Likewise.
27355 * posix/confstr.c (START_ENV_GROUP): New macro.
27356 (END_ENV_GROUP): Likewise.
27357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27358 (KNOWN_PRESENT_ENV_STRING): Likewise.
27359 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27360 (UNKNOWN_ENVIRONMENT): Likewise.
27361 (confstr): Include posix-envs.def instead of handling
27362 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27363 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27364 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27365 (END_ENV_GROUP): Likewise.
27366 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27368 (UNKNOWN_ENVIRONMENT): Likewise.
27369 (__sysconf): Include posix-envs.def instead of handling associated
27370 cases directly here.
27371 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27372 preprocessing getconf-speclist.c rather than running getconf or
27373 generating empty file.
27375 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27377 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27379 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27382 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27384 2012-11-16 David S. Miller <davem@davemloft.net>
27386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27387 smaller than LDBL_EPSILON/2.0L, just return xm1.
27389 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27391 * elf/tst-array1.c (init): Set constructor priority to 1000.
27392 (fini): Set destructor priority to 1000.
27393 * elf/tst-array2dep.c: Likewise.
27395 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27398 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27399 (_IO_new_file_xsputn): Also return EOF if none of the input
27400 data was written when overflow failed.
27401 * libio/iopadn.c (_IO_padn): Likewise.
27402 * libio/iowpadn.c (_IO_wpadn): Likewise.
27403 * stdio-common/tst-put-error.c: Add copyright notice.
27404 (do_test): Add case for printing padded string.
27405 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27406 _IO_padn returned error.
27407 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27408 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27411 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27413 * libio/libioP.h: Add comment note that the references to C++
27414 bits are now obsolete.
27416 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27418 * math/libm-test.inc (check_complex): Use asprintf.
27420 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27422 * debug/pcprofiledump.c (print_version): Update copyright year.
27423 * malloc/memusagestat.c (print_version): Likewise.
27425 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27428 * elf/Makefile (tests): Add tst-audit8.
27429 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27430 ($(objpfx)tst-audit8.out): New target.
27431 (tst-audit8-ENV): New variable.
27432 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27433 audit if l_reloc_result is NULL.
27434 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27435 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27436 * elf/tst-audit8.c: New file.
27438 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27440 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27441 * misc/Makefile (CFLAGS-select.c): Define.
27442 * posix/Makefile (CFLAGS-pause.c): Define.
27444 2012-11-13 David S. Miller <davem@davemloft.net>
27446 * crypt/Makefile: Move test targets after toplevel Rules
27447 inclusion. Grab any necessary sysdep routines when linking.
27448 * crypt/md5.c (md5_process_block): Remove define, we will always
27449 name it __md5_process_block.
27450 (md5_finish_ctx): Update md5_process_block call.
27451 (md5_stream): Likewise.
27452 (md5_process_bytes): Likewise.
27453 (md5_process_block): Rename to __md5_process_block and move to ...
27454 * crypt/md5-block.c: ... here.
27455 * crypt/sha256.c (sha256_process_block): Move to ...
27456 * crypt/sha256-block.c: ... here.
27457 * crypt/sha512.c (sha512_process_block): Move to ...
27458 * crypt/sha512-block.c: ... here.
27459 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27461 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27462 * sysdeps/sparc/sparc64/multiarch/Makefile
27463 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27465 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27466 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27468 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27469 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27470 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27471 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27472 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27473 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27474 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27475 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27479 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27483 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27485 * timezone/tzselect.ksh: Update from tzcode git revision
27486 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27487 * timezone/zdump.c: Likewise.
27488 * timezone/zic.c: Likewise.
27489 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27490 in TZVERSION setting, not $(PKGVERSION).
27491 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27492 REPORT_BUGS_TO settings.
27495 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27498 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27501 detection to immediately after _FP_ROUND().
27502 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27505 2012-11-11 David S. Miller <davem@davemloft.net>
27507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27509 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27510 __close rather than their public counterparts.
27512 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27514 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27516 [UNIX98] (sem_timedwait): Do not expect.
27517 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27518 [XPG4 || UNIX98] (sockatmark): Do not expect.
27519 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27520 (clock_getcpuclockid): Do not expect.
27521 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27522 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27524 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27525 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27526 [UNIX98] (vwscanf): Likewise.
27527 [UNIX98] (vswscanf): Likewise.
27529 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27531 * timezone/version.h: Remove file.
27532 * timezone/README: Do not refer to version.h.
27533 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27534 $(objpfx)version.h.
27535 ($(objpfx)zdump.o): Likewise.
27536 ($(objpfx)version.h): New target.
27538 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27540 * timezone/README: Don't mention modification to tzselect.ksh.
27541 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27542 work on unmodified tzselect.ksh. Substitute version numbers in
27545 * Makefile (format-me): Remove.
27546 (INSTALL): Adjust indentation. Use commands directly instead of
27547 using $(format-me).
27549 * aclocal.m4 (ACX_PKGVERSION): New macro.
27550 (ACX_BUGURL): Likewise.
27551 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27552 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27553 (REPORT_BUGS_TO): Likewise.
27554 * configure: Regenerated.
27555 * config.h.in (PKGVERSION): New macro.
27556 (REPORT_BUGS_TO): Likewise.
27557 * config.make.in (PKGVERSION): New variable.
27558 (PKGVERSION_TEXI): Likewise.
27559 (REPORT_BUGS_TO): Likewise.
27560 (REPORT_BUGS_TEXI): Likewise.
27561 * Makefile (format-me): Use -I$(common-objpfx)manual.
27562 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27563 ($(common-objpfx)manual/%): New target.
27564 (manual/%): Remove target.
27565 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27566 (print_version): Use PKGVERSION.
27567 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27568 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27569 and REPORT_BUGS_TO.
27570 ($(objpfx)xtrace): Likewise.
27571 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27572 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27573 (print_version): Use PKGVERSION.
27574 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27575 (do_version): Use PKGVERSION.
27576 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27578 (common-ldd-rewrite): Likewise.
27579 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27580 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27581 (print_version): Use PKGVERSION.
27582 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27583 * elf/pldd.c (argp_program_bug_address): Remove variable.
27584 (more_help): New function.
27585 (argp): Use more_help.
27586 (print_version): Use PKGVERSION.
27587 * elf/sln.c (main): Use PKGVERSION.
27588 (usage): Use REPORT_BUGS_TO.
27589 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27590 (top level): Use PKGVERSION.
27591 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27592 (print_version): Use PKGVERSION.
27593 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27594 (print_version): Use PKGVERSION.
27595 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27596 (print_version): Use PKGVERSION.
27597 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27598 (print_version): Use PKGVERSION.
27599 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27600 (print_version): Use PKGVERSION.
27601 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27602 (print_version): Use PKGVERSION.
27603 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27605 ($(objpfx)memusage): Likewise.
27606 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27607 (do_version): Use PKGVERSION.
27608 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27609 (print_version): Use PKGVERSION.
27610 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27611 ($PKGVERSION): New variable.
27612 ($REPORT_BUGS_TO): Likewise.
27613 (usage): Use $REPORT_BUGS_TO.
27614 (top level): Use $PKGVERSION.
27615 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27616 ($(objpfx)pkgvers.texi): New rule.
27617 ($(objpfx)stamp-pkgvers): Likewise.
27618 * manual/install.texi: Include pkgvers.texi.
27619 (--with-pkgversion): Document new configure option.
27620 (--with-bugurl): Likewise.
27621 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27622 than necessarily for this particular distribution. Use
27623 REPORT_BUGS_TO for where to report bugs.
27624 * INSTALL: Regenerated.
27625 * manual/libc.texinfo: Include pkgvers.texi.
27626 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27627 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27628 (print_version): Use PKGVERSION.
27629 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27630 (print_version): Use PKGVERSION.
27631 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27632 (print_version): Use PKGVERSION.
27633 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27634 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27636 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27637 (print_version): Use PKGVERSION.
27638 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27639 (print_version): Use PKGVERSION.
27640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27643 * timezone/checktab.awk: Update from tzcode 2012i.
27644 * timezone/ialloc.c: Likewise.
27645 * timezone/private.h: Likewise.
27646 * timezone/scheck.c: Likewise.
27647 * timezone/tzfile.h: Likewise.
27648 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27649 (TZVERSION): Hardcode tzcode version number.
27650 * timezone/zdump.c: Update from tzcode 2012i.
27651 * timezone/zic.c: Likewise.
27652 * timezone/version.h: New file.
27653 * timezone/README: Describe version.h. Update upstream location.
27656 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27657 (mktemp): Enable declaration.
27658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27675 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27676 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27677 for copies of such integer values.
27678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27681 2012-11-09 Andreas Jaeger <aj@suse.de>
27683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27684 definitions and declarations that are provided by
27685 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27687 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27689 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27690 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27691 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27694 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27696 * elf/elf.h: Update comment before AArch64 relocations.
27698 2012-11-07 David S. Miller <davem@davemloft.net>
27700 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27702 (__start_context): Declare.
27703 (__makecontext_ret): Delete.
27704 (__makecontext): Hook up __start_context instead of
27706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27707 (sysdep_routines): Add __start_context when in stdlib.
27709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27712 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27713 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27715 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27716 (READELF): New variable. Use it instead of hardcoded "readelf".
27718 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27720 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27721 * sysdeps/x86/Makefile: Here.
27722 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27723 * sysdeps/x86/tst-xmmymm.sh: This.
27725 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27727 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27729 [UNIX98] (pthread_barrier_t): Do not expect.
27730 [UNIX98] (pthread_barrierattr_t): Likewise.
27731 [UNIX98] (pthread_spinlock_t): Likewise.
27732 [UNIX98] (pthread_barrier_destroy): Likewise.
27733 [UNIX98] (pthread_barrier_init): Likewise.
27734 [UNIX98] (pthread_barrier_wait): Likewise.
27735 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27736 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27737 [UNIX98] (pthread_barrierattr_init): Likewise.
27738 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27739 [UNIX98] (pthread_getcpuclockid): Likewise.
27740 [UNIX98] (pthread_mutex_timedlock): Likewise.
27741 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27742 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27743 [UNIX98] (pthread_sigmask): Likewise.
27744 [UNIX98] (pthread_spin_destroy): Likewise.
27745 [UNIX98] (pthread_spin_init): Likewise.
27746 [UNIX98] (pthread_spin_lock): Likewise.
27747 [UNIX98] (pthread_spin_trylock): Likewise.
27748 [UNIX98] (pthread_spin_unlock): Likewise.
27749 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27751 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27753 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27754 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27755 [XPG3 || XPG4] (pthread_key_t): Likewise.
27756 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27757 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27758 [XPG3 || XPG4] (pthread_once_t): Likewise.
27759 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27760 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27762 [XPG3 || XPG4] (pthread_t): Likewise.
27764 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27766 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27768 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27769 Change function return type to int.
27771 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27772 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27773 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27774 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27775 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27776 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27777 [!POSIX] (posix_madvise): Likewise.
27778 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27780 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27781 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27782 (mode_t): Likewise.
27783 (posix_mem_offset): Likewise.
27784 (posix_typed_mem_get_info): Likewise.
27785 (posix_typed_mem_open): Likewise.
27787 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27788 Change condition to [XOPEN2K8].
27790 * conform/conformtest.pl: Preprocess allow-header data with -x c
27791 instead of from stdin.
27792 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27793 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27794 [C99-based standards] (cerfc): Likewise.
27795 [C99-based standards] (cexp2): Likewise.
27796 [C99-based standards] (cexpm1): Likewise.
27797 [C99-based standards] (clog10): Likewise.
27798 [C99-based standards] (clog1p): Likewise.
27799 [C99-based standards] (clog2): Likewise.
27800 [C99-based standards] (clgamma): Likewise.
27801 [C99-based standards] (ctgamma): Likewise.
27802 [C99-based standards] (cerff): Likewise.
27803 [C99-based standards] (cerfcf): Likewise.
27804 [C99-based standards] (cexp2f): Likewise.
27805 [C99-based standards] (cexpm1f): Likewise.
27806 [C99-based standards] (clog10f): Likewise.
27807 [C99-based standards] (clog1pf): Likewise.
27808 [C99-based standards] (clog2f): Likewise.
27809 [C99-based standards] (clgammaf): Likewise.
27810 [C99-based standards] (ctgammaf): Likewise.
27811 [C99-based standards] (cerfl): Likewise.
27812 [C99-based standards] (cerfcl): Likewise.
27813 [C99-based standards] (cexp2l): Likewise.
27814 [C99-based standards] (cexpm1l): Likewise.
27815 [C99-based standards] (clog10l): Likewise.
27816 [C99-based standards] (clog1pl): Likewise.
27817 [C99-based standards] (clog2l): Likewise.
27818 [C99-based standards] (clgammal): Likewise.
27819 [C99-based standards] (ctgammal): Likewise.
27820 * conform/data/inttypes.h-data [C99-based standards]: Include
27821 stdint.h-data. Remove all expectations for stdint.h contents.
27822 [C99-based standards] (PRI*): Do not allow.
27823 [C99-based standards] (SCN*): Likewise.
27824 [C99-based standards] (*_t): Likewise.
27825 [C99-based-standards] (PRId8): Expect macro.
27826 [C99-based-standards] (PRIi8): Likewise.
27827 [C99-based-standards] (PRIo8): Likewise.
27828 [C99-based-standards] (PRIu8): Likewise.
27829 [C99-based-standards] (PRIx8): Likewise.
27830 [C99-based-standards] (PRIX8): Likewise.
27831 [C99-based-standards] (SCNd8): Likewise.
27832 [C99-based-standards] (SCNi8): Likewise.
27833 [C99-based-standards] (SCNo8): Likewise.
27834 [C99-based-standards] (SCNu8): Likewise.
27835 [C99-based-standards] (SCNx8): Likewise.
27836 [C99-based-standards] (PRIdLEAST8): Likewise.
27837 [C99-based-standards] (PRIiLEAST8): Likewise.
27838 [C99-based-standards] (PRIoLEAST8): Likewise.
27839 [C99-based-standards] (PRIuLEAST8): Likewise.
27840 [C99-based-standards] (PRIxLEAST8): Likewise.
27841 [C99-based-standards] (PRIXLEAST8): Likewise.
27842 [C99-based-standards] (SCNdLEAST8): Likewise.
27843 [C99-based-standards] (SCNiLEAST8): Likewise.
27844 [C99-based-standards] (SCNoLEAST8): Likewise.
27845 [C99-based-standards] (SCNuLEAST8): Likewise.
27846 [C99-based-standards] (SCNxLEAST8): Likewise.
27847 [C99-based-standards] (PRIdFAST8): Likewise.
27848 [C99-based-standards] (PRIiFAST8): Likewise.
27849 [C99-based-standards] (PRIoFAST8): Likewise.
27850 [C99-based-standards] (PRIuFAST8): Likewise.
27851 [C99-based-standards] (PRIxFAST8): Likewise.
27852 [C99-based-standards] (PRIXFAST8): Likewise.
27853 [C99-based-standards] (SCNdFAST8): Likewise.
27854 [C99-based-standards] (SCNiFAST8): Likewise.
27855 [C99-based-standards] (SCNoFAST8): Likewise.
27856 [C99-based-standards] (SCNuFAST8): Likewise.
27857 [C99-based-standards] (SCNxFAST8): Likewise.
27858 [C99-based-standards] (PRId16): Likewise.
27859 [C99-based-standards] (PRIi16): Likewise.
27860 [C99-based-standards] (PRIo16): Likewise.
27861 [C99-based-standards] (PRIu16): Likewise.
27862 [C99-based-standards] (PRIx16): Likewise.
27863 [C99-based-standards] (PRIX16): Likewise.
27864 [C99-based-standards] (SCNd16): Likewise.
27865 [C99-based-standards] (SCNi16): Likewise.
27866 [C99-based-standards] (SCNo16): Likewise.
27867 [C99-based-standards] (SCNu16): Likewise.
27868 [C99-based-standards] (SCNx16): Likewise.
27869 [C99-based-standards] (PRIdLEAST16): Likewise.
27870 [C99-based-standards] (PRIiLEAST16): Likewise.
27871 [C99-based-standards] (PRIoLEAST16): Likewise.
27872 [C99-based-standards] (PRIuLEAST16): Likewise.
27873 [C99-based-standards] (PRIxLEAST16): Likewise.
27874 [C99-based-standards] (PRIXLEAST16): Likewise.
27875 [C99-based-standards] (SCNdLEAST16): Likewise.
27876 [C99-based-standards] (SCNiLEAST16): Likewise.
27877 [C99-based-standards] (SCNoLEAST16): Likewise.
27878 [C99-based-standards] (SCNuLEAST16): Likewise.
27879 [C99-based-standards] (SCNxLEAST16): Likewise.
27880 [C99-based-standards] (PRIdFAST16): Likewise.
27881 [C99-based-standards] (PRIiFAST16): Likewise.
27882 [C99-based-standards] (PRIoFAST16): Likewise.
27883 [C99-based-standards] (PRIuFAST16): Likewise.
27884 [C99-based-standards] (PRIxFAST16): Likewise.
27885 [C99-based-standards] (PRIXFAST16): Likewise.
27886 [C99-based-standards] (SCNdFAST16): Likewise.
27887 [C99-based-standards] (SCNiFAST16): Likewise.
27888 [C99-based-standards] (SCNoFAST16): Likewise.
27889 [C99-based-standards] (SCNuFAST16): Likewise.
27890 [C99-based-standards] (SCNxFAST16): Likewise.
27891 [C99-based-standards] (PRId32): Likewise.
27892 [C99-based-standards] (PRIi32): Likewise.
27893 [C99-based-standards] (PRIo32): Likewise.
27894 [C99-based-standards] (PRIu32): Likewise.
27895 [C99-based-standards] (PRIx32): Likewise.
27896 [C99-based-standards] (PRIX32): Likewise.
27897 [C99-based-standards] (SCNd32): Likewise.
27898 [C99-based-standards] (SCNi32): Likewise.
27899 [C99-based-standards] (SCNo32): Likewise.
27900 [C99-based-standards] (SCNu32): Likewise.
27901 [C99-based-standards] (SCNx32): Likewise.
27902 [C99-based-standards] (PRIdLEAST32): Likewise.
27903 [C99-based-standards] (PRIiLEAST32): Likewise.
27904 [C99-based-standards] (PRIoLEAST32): Likewise.
27905 [C99-based-standards] (PRIuLEAST32): Likewise.
27906 [C99-based-standards] (PRIxLEAST32): Likewise.
27907 [C99-based-standards] (PRIXLEAST32): Likewise.
27908 [C99-based-standards] (SCNdLEAST32): Likewise.
27909 [C99-based-standards] (SCNiLEAST32): Likewise.
27910 [C99-based-standards] (SCNoLEAST32): Likewise.
27911 [C99-based-standards] (SCNuLEAST32): Likewise.
27912 [C99-based-standards] (SCNxLEAST32): Likewise.
27913 [C99-based-standards] (PRIdFAST32): Likewise.
27914 [C99-based-standards] (PRIiFAST32): Likewise.
27915 [C99-based-standards] (PRIoFAST32): Likewise.
27916 [C99-based-standards] (PRIuFAST32): Likewise.
27917 [C99-based-standards] (PRIxFAST32): Likewise.
27918 [C99-based-standards] (PRIXFAST32): Likewise.
27919 [C99-based-standards] (SCNdFAST32): Likewise.
27920 [C99-based-standards] (SCNiFAST32): Likewise.
27921 [C99-based-standards] (SCNoFAST32): Likewise.
27922 [C99-based-standards] (SCNuFAST32): Likewise.
27923 [C99-based-standards] (SCNxFAST32): Likewise.
27924 [C99-based-standards] (PRId64): Likewise.
27925 [C99-based-standards] (PRIi64): Likewise.
27926 [C99-based-standards] (PRIo64): Likewise.
27927 [C99-based-standards] (PRIu64): Likewise.
27928 [C99-based-standards] (PRIx64): Likewise.
27929 [C99-based-standards] (PRIX64): Likewise.
27930 [C99-based-standards] (SCNd64): Likewise.
27931 [C99-based-standards] (SCNi64): Likewise.
27932 [C99-based-standards] (SCNo64): Likewise.
27933 [C99-based-standards] (SCNu64): Likewise.
27934 [C99-based-standards] (SCNx64): Likewise.
27935 [C99-based-standards] (PRIdLEAST64): Likewise.
27936 [C99-based-standards] (PRIiLEAST64): Likewise.
27937 [C99-based-standards] (PRIoLEAST64): Likewise.
27938 [C99-based-standards] (PRIuLEAST64): Likewise.
27939 [C99-based-standards] (PRIxLEAST64): Likewise.
27940 [C99-based-standards] (PRIXLEAST64): Likewise.
27941 [C99-based-standards] (SCNdLEAST64): Likewise.
27942 [C99-based-standards] (SCNiLEAST64): Likewise.
27943 [C99-based-standards] (SCNoLEAST64): Likewise.
27944 [C99-based-standards] (SCNuLEAST64): Likewise.
27945 [C99-based-standards] (SCNxLEAST64): Likewise.
27946 [C99-based-standards] (PRIdFAST64): Likewise.
27947 [C99-based-standards] (PRIiFAST64): Likewise.
27948 [C99-based-standards] (PRIoFAST64): Likewise.
27949 [C99-based-standards] (PRIuFAST64): Likewise.
27950 [C99-based-standards] (PRIxFAST64): Likewise.
27951 [C99-based-standards] (PRIXFAST64): Likewise.
27952 [C99-based-standards] (SCNdFAST64): Likewise.
27953 [C99-based-standards] (SCNiFAST64): Likewise.
27954 [C99-based-standards] (SCNoFAST64): Likewise.
27955 [C99-based-standards] (SCNuFAST64): Likewise.
27956 [C99-based-standards] (SCNxFAST64): Likewise.
27957 [C99-based-standards] (PRIdMAX): Likewise.
27958 [C99-based-standards] (PRIiMAX): Likewise.
27959 [C99-based-standards] (PRIoMAX): Likewise.
27960 [C99-based-standards] (PRIuMAX): Likewise.
27961 [C99-based-standards] (PRIxMAX): Likewise.
27962 [C99-based-standards] (PRIXMAX): Likewise.
27963 [C99-based-standards] (SCNdMAX): Likewise.
27964 [C99-based-standards] (SCNiMAX): Likewise.
27965 [C99-based-standards] (SCNoMAX): Likewise.
27966 [C99-based-standards] (SCNuMAX): Likewise.
27967 [C99-based-standards] (SCNxMAX): Likewise.
27968 [C99-based-standards] (PRIdPTR): Likewise.
27969 [C99-based-standards] (PRIiPTR): Likewise.
27970 [C99-based-standards] (PRIoPTR): Likewise.
27971 [C99-based-standards] (PRIuPTR): Likewise.
27972 [C99-based-standards] (PRIxPTR): Likewise.
27973 [C99-based-standards] (PRIXPTR): Likewise.
27974 [C99-based-standards] (SCNdPTR): Likewise.
27975 [C99-based-standards] (SCNiPTR): Likewise.
27976 [C99-based-standards] (SCNoPTR): Likewise.
27977 [C99-based-standards] (SCNuPTR): Likewise.
27978 [C99-based-standards] (SCNxPTR): Likewise.
27979 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27981 * conform/data/stdint.h-data: Update comments to clarify
27983 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27985 [C99-based standards] (INT8_MAX): Likewise.
27986 [C99-based standards] (INT16_MIN): Likewise.
27987 [C99-based standards] (INT16_MAX): Likewise.
27988 [C99-based standards] (INT32_MIN): Likewise.
27989 [C99-based standards] (INT32_MAX): Likewise.
27990 [C99-based standards] (INT64_MIN): Likewise.
27991 [C99-based standards] (INT64_MAX): Likewise.
27992 [C99-based standards] (UINT8_MAX): Likewise.
27993 [C99-based standards] (UINT16_MAX): Likewise.
27994 [C99-based standards] (UINT32_MAX): Likewise.
27995 [C99-based standards] (UINT64_MAX): Likewise.
27996 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27997 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27998 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27999 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28000 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28001 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28002 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28003 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28004 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28005 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28006 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28007 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28008 [C99-based standards] (INT_FAST8_MIN): Likewise.
28009 [C99-based standards] (INT_FAST8_MAX): Likewise.
28010 [C99-based standards] (INT_FAST16_MIN): Likewise.
28011 [C99-based standards] (INT_FAST16_MAX): Likewise.
28012 [C99-based standards] (INT_FAST32_MIN): Likewise.
28013 [C99-based standards] (INT_FAST32_MAX): Likewise.
28014 [C99-based standards] (INT_FAST64_MIN): Likewise.
28015 [C99-based standards] (INT_FAST64_MAX): Likewise.
28016 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28017 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28018 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28019 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28020 [C99-based standards] (INTPTR_MIN): Likewise.
28021 [C99-based standards] (INTPTR_MAX): Likewise.
28022 [C99-based standards] (UINTPTR_MAX): Likewise.
28023 [C99-based standards] (INTMAX_MIN): Likewise.
28024 [C99-based standards] (INTMAX_MAX): Likewise.
28025 [C99-based standards] (UINTMAX_MAX): Likewise.
28026 [C99-based standards] (PTRDIFF_MIN): Likewise.
28027 [C99-based standards] (PTRDIFF_MAX): Likewise.
28028 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28029 [C99-based standards] (SIZE_MAX): Likewise.
28030 [C99-based standards] (WCHAR_MAX): Likewise.
28031 [C99-based standards] (WINT_MAX): Likewise.
28032 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28033 constraint on value.
28034 [C99-based standards] (WCHAR_MIN): Likewise.
28035 [C99-based standards] (WINT_MIN): Likewise.
28036 [C99-based standards] (*_t): Allow.
28037 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28038 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28039 Include math.h-data and complex.h-data. Remove all expectations
28040 of math.h and complex.h contents.
28041 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28043 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28044 (struct tm): Expect tag.
28045 [C99-based-standards] (wcstof): Expect function.
28046 [C99-based-standards] (wcstold): Likewise.
28047 [C99-based-standards] (wcstoll): Likewise.
28048 [C99-based-standards] (wcstoull): Likewise.
28049 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28050 macro-int-constant. Specify type.
28051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28052 constraint on value.
28053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28055 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28057 [ISO C standards]: Do not allow headers.
28058 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28059 wcs[abcdefghijklmnopqrstuvwxyz]*.
28060 [ISO C standards] (*_t): Do not allow.
28061 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28063 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28064 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28066 [ISO C standards]: Do not allow headers.
28067 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28068 is[abcdefghijklmnopqrstuvwxyz]*.
28069 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28070 to[abcdefghijklmnopqrstuvwxyz]*.
28071 [ISO C standards] (*_t): Do not allow.
28072 * conform/data/stdalign.h-data: New file.
28073 * conform/data/stdbool.h-data: Likewise.
28074 * conform/data/stdnoreturn.h-data: Likewise.
28076 2012-11-07 Roland McGrath <roland@hack.frob.com>
28079 * manual/filesys.texi (Directory Entries): Typo fix.
28080 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28082 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28084 * elf/elf.h (EM_AARCH64): New macro.
28085 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28086 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28087 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28088 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28089 (R_AARCH64_TLSDESC): Likewise.
28090 (NT_ARM_TLS): Likewise.
28091 (NT_ARM_HW_BREAK): Likewise.
28092 (NT_ARM_HW_WATCH): Likewise.
28094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28097 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28098 (__ieee754_powl): Saturate nonzero exponents with absolute value
28099 below 0x1p-79 to +/- 0x1p-79.
28100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28101 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28102 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28103 nonzero exponents with absolute value below 0x1p-32 to +/-
28105 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28106 (__ieee754_powl): Saturate nonzero exponents with absolute value
28107 below 0x1p-79 to +/- 0x1p-79.
28108 * math/libm-test.inc (pow_test): Add more tests.
28110 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28113 _dl_s390_cap_flags with kernel. Increase string length.
28114 (_dl_s390_platforms): Add z196 and zEC12.
28116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28118 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28119 Change XOPEN21K to XOPEN2K.
28121 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28123 * string/memmove.c: Use memcpy when possible.
28125 2012-11-06 Andreas Jaeger <aj@suse.de>
28127 * po/eo.po: Update from translation team.
28129 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28133 exponent and small x and y exponents, scale x or y up. Increase
28134 by 2 the exponent used in scaling up.
28135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28137 * math/libm-test.inc (fma_test): Add more tests.
28138 (fma_test_towardzero): Likewise.
28139 (fma_test_downward): Likewise.
28140 (fma_test_upward): Likewise.
28142 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28145 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28149 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28150 namespace for names of struct fields.
28151 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28153 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28154 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28156 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28159 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28161 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28163 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28167 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28170 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28174 definitely overflow as x * y not x * y + z.
28175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28177 * math/libm-test.inc (fma_test): Add more tests.
28178 (fma_test_towardzero): Likewise.
28179 (fma_test_downward): Likewise.
28180 (fma_test_upward): Likewise.
28182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28186 * include/stub-tag.h: Remove file.
28187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28189 * manual/maint.texi (Porting): Don't reference it.
28190 * Makerules ($(objpfx)stubs): Likewise.
28191 * dirent/closedir.c: Don't include <stub-tag.h>.
28192 * dirent/dirfd.c: Likewise.
28193 * dirent/fdopendir.c: Likewise.
28194 * dirent/getdents.c: Likewise.
28195 * dirent/getdents64.c: Likewise.
28196 * dirent/opendir.c: Likewise.
28197 * dirent/readdir.c: Likewise.
28198 * dirent/readdir64.c: Likewise.
28199 * dirent/readdir64_r.c: Likewise.
28200 * dirent/readdir_r.c: Likewise.
28201 * dirent/rewinddir.c: Likewise.
28202 * dirent/seekdir.c: Likewise.
28203 * dirent/telldir.c: Likewise.
28204 * gmon/profil.c: Likewise.
28205 * grp/setgroups.c: Likewise.
28206 * inet/if_index.c: Likewise.
28207 * io/access.c: Likewise.
28208 * io/chdir.c: Likewise.
28209 * io/chmod.c: Likewise.
28210 * io/chown.c: Likewise.
28211 * io/close.c: Likewise.
28212 * io/dup.c: Likewise.
28213 * io/dup2.c: Likewise.
28214 * io/dup3.c: Likewise.
28215 * io/euidaccess.c: Likewise.
28216 * io/faccessat.c: Likewise.
28217 * io/fchdir.c: Likewise.
28218 * io/fchmod.c: Likewise.
28219 * io/fchmodat.c: Likewise.
28220 * io/fchown.c: Likewise.
28221 * io/fchownat.c: Likewise.
28222 * io/fcntl.c: Likewise.
28223 * io/flock.c: Likewise.
28224 * io/fstatfs.c: Likewise.
28225 * io/fstatfs64.c: Likewise.
28226 * io/fstatvfs.c: Likewise.
28227 * io/fstatvfs64.c: Likewise.
28228 * io/futimens.c: Likewise.
28229 * io/fxstat.c: Likewise.
28230 * io/fxstat64.c: Likewise.
28231 * io/fxstatat.c: Likewise.
28232 * io/fxstatat64.c: Likewise.
28233 * io/getcwd.c: Likewise.
28234 * io/isatty.c: Likewise.
28235 * io/lchmod.c: Likewise.
28236 * io/lchown.c: Likewise.
28237 * io/link.c: Likewise.
28238 * io/linkat.c: Likewise.
28239 * io/lseek.c: Likewise.
28240 * io/lseek64.c: Likewise.
28241 * io/lxstat64.c: Likewise.
28242 * io/mkdir.c: Likewise.
28243 * io/mkdirat.c: Likewise.
28244 * io/mkfifo.c: Likewise.
28245 * io/mkfifoat.c: Likewise.
28246 * io/open.c: Likewise.
28247 * io/open64.c: Likewise.
28248 * io/openat.c: Likewise.
28249 * io/openat64.c: Likewise.
28250 * io/pipe.c: Likewise.
28251 * io/pipe2.c: Likewise.
28252 * io/poll.c: Likewise.
28253 * io/posix_fadvise.c: Likewise.
28254 * io/posix_fadvise64.c: Likewise.
28255 * io/posix_fallocate.c: Likewise.
28256 * io/posix_fallocate64.c: Likewise.
28257 * io/read.c: Likewise.
28258 * io/readlink.c: Likewise.
28259 * io/readlinkat.c: Likewise.
28260 * io/rmdir.c: Likewise.
28261 * io/sendfile.c: Likewise.
28262 * io/sendfile64.c: Likewise.
28263 * io/statfs.c: Likewise.
28264 * io/statfs64.c: Likewise.
28265 * io/statvfs.c: Likewise.
28266 * io/statvfs64.c: Likewise.
28267 * io/symlink.c: Likewise.
28268 * io/symlinkat.c: Likewise.
28269 * io/ttyname.c: Likewise.
28270 * io/ttyname_r.c: Likewise.
28271 * io/umask.c: Likewise.
28272 * io/unlink.c: Likewise.
28273 * io/unlinkat.c: Likewise.
28274 * io/utime.c: Likewise.
28275 * io/utimensat.c: Likewise.
28276 * io/write.c: Likewise.
28277 * io/xmknod.c: Likewise.
28278 * io/xmknodat.c: Likewise.
28279 * io/xstat.c: Likewise.
28280 * io/xstat64.c: Likewise.
28281 * login/getpt.c: Likewise.
28282 * login/grantpt.c: Likewise.
28283 * login/unlockpt.c: Likewise.
28284 * math/e_acoshl.c: Likewise.
28285 * math/e_acosl.c: Likewise.
28286 * math/e_asinl.c: Likewise.
28287 * math/e_atan2l.c: Likewise.
28288 * math/e_atanhl.c: Likewise.
28289 * math/e_coshl.c: Likewise.
28290 * math/e_expl.c: Likewise.
28291 * math/e_fmodl.c: Likewise.
28292 * math/e_gammal_r.c: Likewise.
28293 * math/e_hypotl.c: Likewise.
28294 * math/e_j0l.c: Likewise.
28295 * math/e_j1l.c: Likewise.
28296 * math/e_jnl.c: Likewise.
28297 * math/e_lgammal_r.c: Likewise.
28298 * math/e_log10l.c: Likewise.
28299 * math/e_log2l.c: Likewise.
28300 * math/e_logl.c: Likewise.
28301 * math/e_powl.c: Likewise.
28302 * math/e_rem_pio2l.c: Likewise.
28303 * math/e_sinhl.c: Likewise.
28304 * math/e_sqrtl.c: Likewise.
28305 * math/fclrexcpt.c: Likewise.
28306 * math/fedisblxcpt.c: Likewise.
28307 * math/feenablxcpt.c: Likewise.
28308 * math/fegetenv.c: Likewise.
28309 * math/fegetexcept.c: Likewise.
28310 * math/fegetround.c: Likewise.
28311 * math/feholdexcpt.c: Likewise.
28312 * math/fesetenv.c: Likewise.
28313 * math/fesetround.c: Likewise.
28314 * math/feupdateenv.c: Likewise.
28315 * math/fgetexcptflg.c: Likewise.
28316 * math/fraiseexcpt.c: Likewise.
28317 * math/fsetexcptflg.c: Likewise.
28318 * math/ftestexcept.c: Likewise.
28319 * math/k_cosl.c: Likewise.
28320 * math/k_rem_pio2l.c: Likewise.
28321 * math/k_sinl.c: Likewise.
28322 * math/k_tanl.c: Likewise.
28323 * math/s_asinhl.c: Likewise.
28324 * math/s_atanl.c: Likewise.
28325 * math/s_cbrtl.c: Likewise.
28326 * math/s_erfl.c: Likewise.
28327 * math/s_expm1l.c: Likewise.
28328 * math/s_log1pl.c: Likewise.
28329 * math/s_tanhl.c: Likewise.
28330 * misc/acct.c: Likewise.
28331 * misc/brk.c: Likewise.
28332 * misc/chflags.c: Likewise.
28333 * misc/chroot.c: Likewise.
28334 * misc/fchflags.c: Likewise.
28335 * misc/fgetxattr.c: Likewise.
28336 * misc/flistxattr.c: Likewise.
28337 * misc/fremovexattr.c: Likewise.
28338 * misc/fsetxattr.c: Likewise.
28339 * misc/fsync.c: Likewise.
28340 * misc/ftruncate.c: Likewise.
28341 * misc/futimes.c: Likewise.
28342 * misc/futimesat.c: Likewise.
28343 * misc/getdomain.c: Likewise.
28344 * misc/getdtsz.c: Likewise.
28345 * misc/gethostid.c: Likewise.
28346 * misc/gethostname.c: Likewise.
28347 * misc/getloadavg.c: Likewise.
28348 * misc/getpagesize.c: Likewise.
28349 * misc/getsysstats.c: Likewise.
28350 * misc/getxattr.c: Likewise.
28351 * misc/gtty.c: Likewise.
28352 * misc/ioctl.c: Likewise.
28353 * misc/lgetxattr.c: Likewise.
28354 * misc/listxattr.c: Likewise.
28355 * misc/llistxattr.c: Likewise.
28356 * misc/lremovexattr.c: Likewise.
28357 * misc/lsetxattr.c: Likewise.
28358 * misc/lutimes.c: Likewise.
28359 * misc/madvise.c: Likewise.
28360 * misc/mincore.c: Likewise.
28361 * misc/mlock.c: Likewise.
28362 * misc/mlockall.c: Likewise.
28363 * misc/mmap.c: Likewise.
28364 * misc/mprotect.c: Likewise.
28365 * misc/msync.c: Likewise.
28366 * misc/munlock.c: Likewise.
28367 * misc/munlockall.c: Likewise.
28368 * misc/munmap.c: Likewise.
28369 * misc/preadv.c: Likewise.
28370 * misc/preadv64.c: Likewise.
28371 * misc/ptrace.c: Likewise.
28372 * misc/pwritev.c: Likewise.
28373 * misc/pwritev64.c: Likewise.
28374 * misc/readv.c: Likewise.
28375 * misc/reboot.c: Likewise.
28376 * misc/remap_file_pages.c: Likewise.
28377 * misc/removexattr.c: Likewise.
28378 * misc/revoke.c: Likewise.
28379 * misc/select.c: Likewise.
28380 * misc/setdomain.c: Likewise.
28381 * misc/setegid.c: Likewise.
28382 * misc/seteuid.c: Likewise.
28383 * misc/sethostid.c: Likewise.
28384 * misc/sethostname.c: Likewise.
28385 * misc/setregid.c: Likewise.
28386 * misc/setreuid.c: Likewise.
28387 * misc/setxattr.c: Likewise.
28388 * misc/sstk.c: Likewise.
28389 * misc/stty.c: Likewise.
28390 * misc/swapoff.c: Likewise.
28391 * misc/swapon.c: Likewise.
28392 * misc/sync.c: Likewise.
28393 * misc/syncfs.c: Likewise.
28394 * misc/syscall.c: Likewise.
28395 * misc/truncate.c: Likewise.
28396 * misc/ualarm.c: Likewise.
28397 * misc/usleep.c: Likewise.
28398 * misc/ustat.c: Likewise.
28399 * misc/utimes.c: Likewise.
28400 * misc/vhangup.c: Likewise.
28401 * misc/writev.c: Likewise.
28402 * posix/_exit.c: Likewise.
28403 * posix/alarm.c: Likewise.
28404 * posix/execve.c: Likewise.
28405 * posix/fexecve.c: Likewise.
28406 * posix/fork.c: Likewise.
28407 * posix/fpathconf.c: Likewise.
28408 * posix/getaddrinfo.c: Likewise.
28409 * posix/getegid.c: Likewise.
28410 * posix/geteuid.c: Likewise.
28411 * posix/getgid.c: Likewise.
28412 * posix/getgroups.c: Likewise.
28413 * posix/getlogin.c: Likewise.
28414 * posix/getlogin_r.c: Likewise.
28415 * posix/getpgid.c: Likewise.
28416 * posix/getpid.c: Likewise.
28417 * posix/getppid.c: Likewise.
28418 * posix/getresgid.c: Likewise.
28419 * posix/getresuid.c: Likewise.
28420 * posix/getsid.c: Likewise.
28421 * posix/getuid.c: Likewise.
28422 * posix/glob64.c: Likewise.
28423 * posix/nanosleep.c: Likewise.
28424 * posix/pathconf.c: Likewise.
28425 * posix/pause.c: Likewise.
28426 * posix/posix_madvise.c: Likewise.
28427 * posix/pread.c: Likewise.
28428 * posix/pread64.c: Likewise.
28429 * posix/pwrite.c: Likewise.
28430 * posix/pwrite64.c: Likewise.
28431 * posix/sched_getaffinity.c: Likewise.
28432 * posix/sched_getp.c: Likewise.
28433 * posix/sched_gets.c: Likewise.
28434 * posix/sched_primax.c: Likewise.
28435 * posix/sched_primin.c: Likewise.
28436 * posix/sched_rr_gi.c: Likewise.
28437 * posix/sched_setaffinity.c: Likewise.
28438 * posix/sched_setp.c: Likewise.
28439 * posix/sched_sets.c: Likewise.
28440 * posix/sched_yield.c: Likewise.
28441 * posix/setgid.c: Likewise.
28442 * posix/setlogin.c: Likewise.
28443 * posix/setpgid.c: Likewise.
28444 * posix/setresgid.c: Likewise.
28445 * posix/setresuid.c: Likewise.
28446 * posix/setsid.c: Likewise.
28447 * posix/setuid.c: Likewise.
28448 * posix/sleep.c: Likewise.
28449 * posix/spawni.c: Likewise.
28450 * posix/sysconf.c: Likewise.
28451 * posix/times.c: Likewise.
28452 * posix/wait.c: Likewise.
28453 * posix/wait3.c: Likewise.
28454 * posix/wait4.c: Likewise.
28455 * posix/waitpid.c: Likewise.
28456 * resolv/gai_sigqueue.c: Likewise.
28457 * resource/getpriority.c: Likewise.
28458 * resource/getrlimit.c: Likewise.
28459 * resource/getrusage.c: Likewise.
28460 * resource/nice.c: Likewise.
28461 * resource/setpriority.c: Likewise.
28462 * resource/setrlimit.c: Likewise.
28463 * resource/ulimit.c: Likewise.
28464 * rt/aio_cancel.c: Likewise.
28465 * rt/aio_fsync.c: Likewise.
28466 * rt/aio_read.c: Likewise.
28467 * rt/aio_sigqueue.c: Likewise.
28468 * rt/aio_suspend.c: Likewise.
28469 * rt/aio_write.c: Likewise.
28470 * rt/clock_getres.c: Likewise.
28471 * rt/clock_gettime.c: Likewise.
28472 * rt/clock_nanosleep.c: Likewise.
28473 * rt/clock_settime.c: Likewise.
28474 * rt/lio_listio.c: Likewise.
28475 * rt/mq_close.c: Likewise.
28476 * rt/mq_getattr.c: Likewise.
28477 * rt/mq_notify.c: Likewise.
28478 * rt/mq_open.c: Likewise.
28479 * rt/mq_receive.c: Likewise.
28480 * rt/mq_send.c: Likewise.
28481 * rt/mq_setattr.c: Likewise.
28482 * rt/mq_timedreceive.c: Likewise.
28483 * rt/mq_timedsend.c: Likewise.
28484 * rt/mq_unlink.c: Likewise.
28485 * rt/shm_open.c: Likewise.
28486 * rt/shm_unlink.c: Likewise.
28487 * rt/timer_create.c: Likewise.
28488 * rt/timer_delete.c: Likewise.
28489 * rt/timer_getoverr.c: Likewise.
28490 * rt/timer_gettime.c: Likewise.
28491 * rt/timer_settime.c: Likewise.
28492 * setjmp/__longjmp.c: Likewise.
28493 * setjmp/setjmp.c: Likewise.
28494 * signal/kill.c: Likewise.
28495 * signal/killpg.c: Likewise.
28496 * signal/raise.c: Likewise.
28497 * signal/sigaction.c: Likewise.
28498 * signal/sigaltstack.c: Likewise.
28499 * signal/sigblock.c: Likewise.
28500 * signal/sigignore.c: Likewise.
28501 * signal/sigintr.c: Likewise.
28502 * signal/signal.c: Likewise.
28503 * signal/sigpause.c: Likewise.
28504 * signal/sigpending.c: Likewise.
28505 * signal/sigqueue.c: Likewise.
28506 * signal/sigreturn.c: Likewise.
28507 * signal/sigset.c: Likewise.
28508 * signal/sigsetmask.c: Likewise.
28509 * signal/sigstack.c: Likewise.
28510 * signal/sigsuspend.c: Likewise.
28511 * signal/sigtimedwait.c: Likewise.
28512 * signal/sigvec.c: Likewise.
28513 * signal/sigwait.c: Likewise.
28514 * signal/sigwaitinfo.c: Likewise.
28515 * signal/sysv_signal.c: Likewise.
28516 * socket/accept.c: Likewise.
28517 * socket/accept4.c: Likewise.
28518 * socket/bind.c: Likewise.
28519 * socket/connect.c: Likewise.
28520 * socket/getpeername.c: Likewise.
28521 * socket/getsockname.c: Likewise.
28522 * socket/getsockopt.c: Likewise.
28523 * socket/isfdtype.c: Likewise.
28524 * socket/listen.c: Likewise.
28525 * socket/recv.c: Likewise.
28526 * socket/recvfrom.c: Likewise.
28527 * socket/recvmsg.c: Likewise.
28528 * socket/send.c: Likewise.
28529 * socket/sendmsg.c: Likewise.
28530 * socket/sendto.c: Likewise.
28531 * socket/setsockopt.c: Likewise.
28532 * socket/shutdown.c: Likewise.
28533 * socket/sockatmark.c: Likewise.
28534 * socket/socket.c: Likewise.
28535 * socket/socketpair.c: Likewise.
28536 * stdio-common/ctermid.c: Likewise.
28537 * stdio-common/cuserid.c: Likewise.
28538 * stdio-common/remove.c: Likewise.
28539 * stdio-common/rename.c: Likewise.
28540 * stdio-common/renameat.c: Likewise.
28541 * stdio-common/tempname.c: Likewise.
28542 * stdlib/getcontext.c: Likewise.
28543 * stdlib/makecontext.c: Likewise.
28544 * stdlib/setcontext.c: Likewise.
28545 * stdlib/swapcontext.c: Likewise.
28546 * stdlib/system.c: Likewise.
28547 * streams/fattach.c: Likewise.
28548 * streams/fdetach.c: Likewise.
28549 * streams/getmsg.c: Likewise.
28550 * streams/getpmsg.c: Likewise.
28551 * streams/putmsg.c: Likewise.
28552 * streams/putpmsg.c: Likewise.
28553 * sysdeps/unix/bsd/getpt.c: Likewise.
28554 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28555 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28559 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28560 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28561 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28562 * sysvipc/msgctl.c: Likewise.
28563 * sysvipc/msgget.c: Likewise.
28564 * sysvipc/msgrcv.c: Likewise.
28565 * sysvipc/msgsnd.c: Likewise.
28566 * sysvipc/semctl.c: Likewise.
28567 * sysvipc/semget.c: Likewise.
28568 * sysvipc/semop.c: Likewise.
28569 * sysvipc/semtimedop.c: Likewise.
28570 * sysvipc/shmat.c: Likewise.
28571 * sysvipc/shmctl.c: Likewise.
28572 * sysvipc/shmdt.c: Likewise.
28573 * sysvipc/shmget.c: Likewise.
28574 * termios/tcdrain.c: Likewise.
28575 * termios/tcflow.c: Likewise.
28576 * termios/tcflush.c: Likewise.
28577 * termios/tcgetattr.c: Likewise.
28578 * termios/tcgetpgrp.c: Likewise.
28579 * termios/tcsendbrk.c: Likewise.
28580 * termios/tcsetattr.c: Likewise.
28581 * termios/tcsetpgrp.c: Likewise.
28582 * time/adjtime.c: Likewise.
28583 * time/clock.c: Likewise.
28584 * time/getitimer.c: Likewise.
28585 * time/gettimeofday.c: Likewise.
28586 * time/setitimer.c: Likewise.
28587 * time/settimeofday.c: Likewise.
28588 * time/stime.c: Likewise.
28589 * time/time.c: Likewise.
28591 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28593 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28596 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28598 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28600 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28604 FE_TONEAREST before applying Dekker multiplication and Knuth
28605 addition. Clear inexact exceptions and check for exact zero
28606 results afterwards.
28607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28610 * math/libm-test.inc (fma_test): Add more tests.
28611 (fma_test_towardzero): Likewise.
28612 (fma_test_downward): Likewise.
28613 (fma_test_upward): Likewise.
28614 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28616 (libc_fesetround): New macro.
28617 (libc_fesetroundf): Likewise.
28618 (libc_fesetroundl): Likewise.
28619 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28621 (libc_fesetround_387): Likewise.
28622 (libc_fesetroundf): New macro.
28623 (libc_fesetround): Likewise.
28624 (libc_fesetroundl): Likewise.
28625 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28627 (libc_fesetroundf): New macro.
28628 (libc_fesetround): Likewise.
28629 (libc_fesetroundl): Likewise.
28630 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28631 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28632 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28634 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28635 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28637 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28638 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28640 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28644 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28645 integer constant usable in #if and use that to give value to enum
28647 (FE_DIVBYZERO): Likewise.
28648 (FE_UNDERFLOW): Likewise.
28649 (FE_OVERFLOW): Likewise.
28650 (FE_INVALID): Likewise.
28651 (FE_INVALID_SNAN): Likewise.
28652 (FE_INVALID_ISI): Likewise.
28653 (FE_INVALID_IDI): Likewise.
28654 (FE_INVALID_ZDZ): Likewise.
28655 (FE_INVALID_IMZ): Likewise.
28656 (FE_INVALID_COMPARE): Likewise.
28657 (FE_INVALID_SOFTWARE): Likewise.
28658 (FE_INVALID_SQRT): Likewise.
28659 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28660 (FE_TONEAREST): Likewise.
28661 (FE_TOWARDZERO): Likewise.
28662 (FE_UPWARD): Likewise.
28663 (FE_DOWNWARD): Likewise.
28664 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28665 (FE_DIVBYZERO): Likewise.
28666 (FE_OVERFLOW): Likewise.
28667 (FE_UNDERFLOW): Likewise.
28668 (FE_INEXACT): Likewise.
28669 (FE_TONEAREST): Likewise.
28670 (FE_DOWNWARD): Likewise.
28671 (FE_UPWARD): Likewise.
28672 (FE_TOWARDZERO): Likewise.
28673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28674 (FE_UNDERFLOW): Likewise.
28675 (FE_OVERFLOW): Likewise.
28676 (FE_DIVBYZERO): Likewise.
28677 (FE_INVALID): Likewise.
28678 (FE_TONEAREST): Likewise.
28679 (FE_TOWARDZERO): Likewise.
28680 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28681 (FE_OVERFLOW): Likewise.
28682 (FE_UNDERFLOW): Likewise.
28683 (FE_DIVBYZERO): Likewise.
28684 (FE_INEXACT): Likewise.
28685 (FE_TONEAREST): Likewise.
28686 (FE_TOWARDZERO): Likewise.
28687 (FE_UPWARD): Likewise.
28688 (FE_DOWNWARD): Likewise.
28689 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28690 (FE_DIVBYZERO): Likewise.
28691 (FE_OVERFLOW): Likewise.
28692 (FE_UNDERFLOW): Likewise.
28693 (FE_INEXACT): Likewise.
28694 (FE_TONEAREST): Likewise.
28695 (FE_DOWNWARD): Likewise.
28696 (FE_UPWARD): Likewise.
28697 (FE_TOWARDZERO): Likewise.
28699 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28701 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28703 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28705 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28706 commands. Quote $PWD.
28707 (blacklist_exports): Don't use remove_newlines. Replace "declare
28709 (remove_newlines): Remove.
28711 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28713 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28714 * stdlib/stdlib.h (atof): Moved to ...
28715 * include/bits/stdlib-float.h: Here. New file.
28716 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28717 * stdlib/bits/stdlib-float.h: New file.
28718 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28725 * conform/conformtest.pl (@headers): Add fenv.h.
28726 * conform/data/fenv.h-data: New file.
28727 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28728 include of <math/fenv.h>.
28730 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28731 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28732 && !UNIX98]. Enables tests for XOPEN2K8.
28733 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28734 POSIX2008]: Likewise.
28736 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28737 (struct rusage): Do not expect type or its members.
28740 * math/math.h (FP_NAN): Define macro to integer constant usable in
28741 #if and use that to give value to enum constant.
28742 (FP_INFINITE): Likewise.
28743 (FP_ZERO): Likewise.
28744 (FP_SUBNORMAL): Likewise.
28745 (FP_NORMAL): Likewise.
28747 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28749 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28750 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28753 2012-11-02 Roland McGrath <roland@hack.frob.com>
28755 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28756 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28757 autoconf-time if not.
28758 * configure.in: Remove AC_PREREQ.
28760 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28763 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28764 of the internal implementation.
28766 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28768 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28769 except include of <misc/sys/syslog.h>.
28771 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28774 function returns with a NULL context exit with zero.
28776 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28778 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28780 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28782 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28783 (run_program_cmd): This.
28784 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28785 (tst_langinfo): New variable. Use it.
28787 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28789 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28790 floating point opcodes.
28792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28794 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28797 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28799 * sysdeps/mach/hurd/powerpc: Remove directory.
28800 * sysdeps/mach/powerpc: Likewise.
28802 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28804 * scripts/check-local-headers.sh: Ignore c++ headers.
28806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28808 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28809 __libc_cleanup_region_start argument.
28811 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28816 x * y using scaling, not as x * y + z.
28817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28819 * math/libm-test.inc (fma_test): Add more tests.
28820 (fma_test_towardzero): Likewise.
28821 (fma_test_downward): Likewise.
28822 (fma_test_upward): Likewise.
28824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28826 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28828 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28830 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28833 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28835 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28837 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28844 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28847 Fix the order of the list for glibc 2.17.
28848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28851 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28855 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28859 for low part of x being zero before using __atanl (y).
28860 * math/libm-test.inc (atan2_test): Add another test.
28862 * manual/install.texi (Configuring and compiling): Document
28863 general use of test-wrapper and test-wrapper-env.
28864 * INSTALL: Regenerated.
28866 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28867 (__fma): Do not extract and scale down low bits on after-rounding
28868 systems when result rounded to normal precision would have normal
28870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28871 (__fmal): Do not extract and scale down low bits on after-rounding
28872 systems when result rounded to normal precision would have normal
28874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28875 (__fmal): Do not extract and scale down low bits on after-rounding
28876 systems when result rounded to normal precision would have normal
28878 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28880 (fma_test): Add more tests.
28881 (fma_test_towardzero): Likewise.
28882 (fma_test_downward): Likewise.
28883 (fma_test_upward): Likewise.
28885 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28887 * sysdeps/i386/tininess.h: Renamed to ...
28888 * sysdeps/x86/tininess.h: This.
28889 * sysdeps/x86_64/tininess.h: Removed.
28891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28893 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28894 input. Use $(build-program-cmd).
28895 ($(objpfx)tst-array1-static.out): Likewise.
28896 ($(objpfx)tst-array2.out): Likewise.
28897 ($(objpfx)tst-array3.out): Likewise.
28898 ($(objpfx)tst-array4.out): Likewise.
28899 ($(objpfx)tst-array5.out): Likewise.
28900 ($(objpfx)tst-array5-static.out): Likewise.
28902 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28904 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28907 * nss/nsswitch.h (nss_interface_function): Provide new
28908 macro for use with NSS functions.
28909 * grp/initgroups.c: Use new macro.
28910 * nss/getXXbyYY.c: Likewise.
28911 * nss/getXXbyYY_r.c: Likewise.
28912 * nss/getXXent.c: Likewise.
28913 * nss/getXXent_r.c: Likewise.
28914 * sysdeps/posix/getaddrinfo.c: Likewise.
28916 2012-10-30 Andreas Jaeger <aj@suse.de>
28918 * po/ru.po: Update Russion translation from translation project.
28920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28925 result and shift together with sticky bit instead of replicating
28926 round-to-nearest rounding.
28927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28929 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28930 missing underflow exceptions.
28931 (fma_test_towardzero): Add more tests.
28932 (fma_test_downward): Likewise.
28933 (fma_test_upward): Likewise.
28936 * sysdeps/generic/tininess.h: New file.
28937 * sysdeps/i386/tininess.h: Likewise.
28938 * sysdeps/sh/tininess.h: Likewise.
28939 * sysdeps/x86_64/tininess.h: Likewise.
28940 * stdlib/tst-strtod-underflow.c: Likewise.
28941 * stdlib/tst-tininess.c: Likewise.
28942 * stdlib/strtod_l.c: Include <tininess.h>.
28943 (round_and_return): Do not set errno for exact underflow cases.
28944 Force an underflow exception when setting errno for underflow.
28945 Determine underflow based on rounding to normal precision if
28946 TININESS_AFTER_ROUNDING.
28947 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28948 ERANGE for exact underflow cases.
28949 * stdlib/Makefile (tests): Add tst-tininess and
28950 tst-strtod-underflow.
28951 ($(objpfx)tst-tininess): Use $(link-libm).
28952 ($(objpfx)tst-strtod-underflow): Likewise.
28954 2012-10-30 Andreas Jaeger <aj@suse.de>
28957 * elf/Makefile (tests): Remove conditional for have-initfini-array
28958 since this is now always required and the variable does not exist
28960 (tests-static): Likewise.
28961 (modules-names): Likewise.
28963 * po/eo.po: Add Esperanto translation from translation project.
28965 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28966 merged with constructor/destructor.
28967 (init_array): Likewise.
28968 * elf/tst-array2dep.c (fini_array): Likewise.
28969 (init_array): Likewise.
28971 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28973 * manual/message.texi: Delete @cartouche tags.
28975 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28977 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28979 * sysdeps/mach/hurd/fsync.c: Likewise.
28981 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28982 [_POSIX_REALTIME_SIGNALS]: Change condition to
28983 [_POSIX_REALTIME_SIGNALS > 0].
28985 2012-10-27 Andreas Jaeger <aj@suse.de>
28987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28988 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28990 [__WORDSIZE != 64]: Likewise.
28992 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28994 * iconvdata/tst-table.sh: Remove ${SHELL}.
28995 * iconvdata/tst-tables.sh: Likewise.
28997 2012-10-25 David S. Miller <davem@davemloft.net>
28999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29000 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29003 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29007 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29010 2012-10-25 Roland McGrath <roland@hack.frob.com>
29012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29013 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29016 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29017 Jim Blandy <jimb@codesourcery.com>
29019 * scripts/cross-test-ssh.sh: New file.
29020 * manual/install.texi (Configuring and compiling): Document use of
29022 * INSTALL: Regenerated.
29024 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29026 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29029 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29031 * Makeconfig (run-program-prefix): Fix comment.
29033 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29034 Jim Blandy <jimb@codesourcery.com>
29036 * Makeconfig (test-wrapper): New variable,
29037 (test-wrapper-env): Likewise.
29038 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29039 (run-built-tests): Define to yes.
29040 (run-program-prefix): Use $(test-wrapper).
29041 (built-program-cmd): Likewise.
29042 * Rules (make-test-out): Use $(test-wrapper-env) and
29043 $(host-built-program-cmd).
29044 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29045 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29047 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29048 $(test-wrapper-env) to tst-rtld-load-self.sh.
29049 ($(objpfx)order2.out): Use $(test-wrapper).
29050 ($(objpfx)tst-initorder.out): Likewise.
29051 ($(objpfx)tst-initorder2.out): Likewise.
29052 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29053 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29054 (test_wrapper_env): New variable. Use it to run ld.so.
29055 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29056 Use it to run ld.so.
29057 (test_wrapper_env): Likewise.
29058 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29059 $(test-wrapper) to run-iconv-test.sh.
29060 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29061 (ICONV): Use $test_wrapper.
29062 * posix/Makefile ($(objpfx)globtest.out): Pass
29063 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29064 globtest.sh, not $(run-program-prefix).
29065 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29066 (test_wrapper): Likewise.
29067 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29068 set together with run_via_rtld_prefix.
29069 (run_program_prefix): Define in terms of test_wrapper and
29070 run_via_rtld_prefix.
29072 2012-10-24 Roland McGrath <roland@hack.frob.com>
29074 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29075 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29079 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29080 Declare __clock_getres, __clock_gettime, __clock_settime,
29081 __clock_nanosleep, and __clock_getcpuclockid.
29082 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29083 Remove librt_hidden_def (clock_gettime).
29084 * sysdeps/unix/clock_gettime.c: Likewise.
29085 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29087 * rt/clock_getres.c: Define __clock_getres as an alias.
29088 * sysdeps/posix/clock_getres.c: Likewise.
29089 * rt/clock_settime.c: Define __clock_settime as an alias.
29090 * sysdeps/unix/clock_settime.c: Likewise.
29091 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29092 * sysdeps/unix/clock_nanosleep.c: Likewise.
29093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29094 * rt/clock-compat.c: New file.
29095 * rt/Makefile (librt-routines): Add clock-compat and move
29096 $(clock-routines) to ...
29097 (routines): ... here, new variable.
29098 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29099 Don't add get_clockfreq here.
29100 * rt/Versions (libc: GLIBC_2.17): New version set.
29101 Add clock_* symbols here.
29102 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29104 (GLIBC_2.17): Add clock_* symbols.
29105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29116 * NEWS: Mention the move.
29118 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29119 Use __open, __read, __close rather than their public counterparts.
29120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29121 (__get_clockfreq_via_cpuinfo): Likewise.
29122 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29123 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29125 * config.h.in (HAVE_IFUNC): New #undef.
29126 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29128 * configure: Regenerated.
29130 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29132 * configure.in: Move READELF check to start of file.
29133 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29134 libc_cv_asm_gnu_indirect_function in the process.
29135 * configure: Regenerated.
29137 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29139 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29140 send the output to /dev/null.
29141 (libc_cv_cc_with_libunwind): Likewise.
29142 (libc_cv_as_noexecstack): Likewise.
29143 * configure: Regenerate.
29145 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29147 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29149 * posix/globtest.sh (TMPDIR): Do not set.
29150 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29151 (testout): Likewise.
29153 2012-10-24 Andreas Jaeger <aj@suse.de>
29155 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29156 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29157 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29158 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29159 posix_fadvise64, posix_fallocate64.
29161 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29162 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29163 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29165 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29167 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29170 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29171 <bits/fcntl-linux.h>.
29172 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29175 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29176 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29177 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29178 [__WORDSIZE != 64]: Likewise.
29180 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29182 * Makeconfig (run-built-tests): New variable.
29183 * Rules [$(cross-compiling) = yes]: Change condition to
29184 [$(run-built-tests) = no].
29185 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29186 to [$(run-built-tests) = yes].
29187 * elf/Makefile [$(cross-compiling) = no]: Likewise
29188 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29189 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29190 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29191 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29192 * io/Makefile [$(cross-compiling) = no]: Likewise.
29193 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29194 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29195 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29196 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29197 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29198 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29199 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29200 * string/Makefile [$(cross-compiling) = no]: Likewise.
29202 * posix/Makefile ($(objpfx)globtest.out): Pass
29203 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29204 $(rtld-installed-name).
29205 * posix/globtest.sh (elf_objpfx): Remove variable.
29206 (rtld_installed_name): Likewise.
29207 (library_path): Likewise.
29208 (run_program_prefix): New variable. Use for running globtest
29211 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29212 Joseph Myers <joseph@codesourcery.com>
29214 * Makeconfig (host-built-program-cmd): New variable.
29215 * elf/Makefile (tst-stackguard1-ARGS): Use
29216 $(host-built-program-cmd).
29217 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29218 (tst-spawn-ARGS): Likewise.
29219 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29221 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29222 Jim Blandy <jimb@codesourcery.com>
29224 * Makeconfig (run-via-rtld-prefix): New variable.
29225 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29226 (built-program-cmd): Likewise.
29228 2012-10-22 Andreas Jaeger <aj@suse.de>
29230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29231 __O_RSYNC if it exists, otherwise to O_SYNC.
29233 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29234 Joseph Myers <joseph@codesourcery.com>
29236 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29238 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29240 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29243 2012-10-22 Andreas Jaeger <aj@suse.de>
29245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29250 bits/fcntl-linux.h.
29252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29253 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29260 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29261 Joseph Myers <joseph@codesourcery.com>
29263 * config.make.in (NM): New variable.
29265 2012-10-21 Andreas Jaeger <aj@suse.de>
29267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29268 definitions and declarations that are provided by
29269 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29271 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29274 * elf/Makefile (tests-static): Add tst-leaks1-static.
29275 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29276 ($(objpfx)tst-leaks1-static): New rule.
29277 ($(objpfx)tst-leaks1-static-mem): Likewise.
29278 (tst-leaks1-static-ENV): New macro.
29279 * elf/dl-open.c (dl_open_worker): Check the main application
29280 only if SHARED is defined.
29281 * elf/tst-leaks1-static.c: New file.
29283 2012-10-20 Andreas Jaeger <aj@suse.de>
29285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29286 generic values for Linux.
29287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29288 and declarations that are provided by <bits/fcntl-linux.h> and
29289 include <bits/fcntl-linux.h>.
29290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29293 2012-10-20 Roland McGrath <roland@hack.frob.com>
29295 * io/fcntl.h: Move include of <bits/types.h> to the top and
29296 include it unconditionally.
29298 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29300 * wcsmbs/Makefile (tests-ifunc): New variable.
29301 (tests): Add $(tests-ifunc).
29302 * wcsmbs/test-wcschr-ifunc.c: New file.
29303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29309 * string/Makefile (tests-ifunc): New variable.
29310 (tests): Add $(tests-ifunc).
29311 * string/test-memccpy.c (TEST_NAME): New macro.
29312 * string/test-memchr.c (TEST_NAME): Likewise.
29313 * string/test-memcmp.c (TEST_NAME): Likewise.
29314 * string/test-memcpy.c (TEST_NAME): Likewise.
29315 * string/test-memmem.c (TEST_NAME): Likewise.
29316 * string/test-memmove.c (TEST_NAME): Likewise.
29317 * string/test-memset.c (TEST_NAME): Likewise.
29318 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29319 * string/test-stpcpy.c (TEST_NAME): Likewise.
29320 * string/test-stpncpy.c (TEST_NAME): Likewise.
29321 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29322 * string/test-strcasestr.c (TEST_NAME): Likewise.
29323 * string/test-strcat.c (TEST_NAME): Likewise.
29324 * string/test-strchr.c (TEST_NAME): Likewise.
29325 * string/test-strcmp.c(TEST_NAME): Likewise.
29326 * string/test-strcpy.c (TEST_NAME): Likewise.
29327 * string/test-strcspn.c (TEST_NAME): Likewise.
29328 * string/test-strlen.c (TEST_NAME): Likewise.
29329 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29330 * string/test-strncmp.c (TEST_NAME): Likewise.
29331 * string/test-strncpy.c (TEST_NAME): Likewise.
29332 * string/test-strnlen.c (TEST_NAME): Likewise.
29333 * string/test-strpbrk.c (TEST_NAME): Likewise.
29334 * string/test-strrchr.c (TEST_NAME): Likewise.
29335 * string/test-strspn.c (TEST_NAME): Likewise.
29336 * string/test-strstr.c (TEST_NAME): Likewise.
29337 * string/test-bcopy-ifunc.c: New file.
29338 * string/test-bzero-ifunc.c: Likewise.
29339 * string/test-memccpy-ifunc.c: Likewise.
29340 * string/test-memchr-ifunc.c: Likewise.
29341 * string/test-memcmp-ifunc.c: Likewise.
29342 * string/test-memcpy-ifunc.c: Likewise.
29343 * string/test-memmem-ifunc.c: Likewise.
29344 * string/test-memmove-ifunc.c: Likewise.
29345 * string/test-mempcpy-ifunc.c: Likewise.
29346 * string/test-memset-ifunc.c: Likewise.
29347 * string/test-rawmemchr-ifunc.c: Likewise.
29348 * string/test-stpcpy-ifunc.c: Likewise.
29349 * string/test-stpncpy-ifunc.c: Likewise.
29350 * string/test-strcasecmp-ifunc.c: Likewise.
29351 * string/test-strcasestr-ifunc.c: Likewise.
29352 * string/test-strcat-ifunc.c: Likewise.
29353 * string/test-strchr-ifunc.c: Likewise.
29354 * string/test-strchrnul-ifunc.c: Likewise.
29355 * string/test-strcmp-ifunc.c: Likewise.
29356 * string/test-strcpy-ifunc.c: Likewise.
29357 * string/test-strcspn-ifunc.c: Likewise.
29358 * string/test-strlen-ifunc.c: Likewise.
29359 * string/test-strncasecmp-ifunc.c: Likewise.
29360 * string/test-strncat-ifunc.c: Likewise.
29361 * string/test-strncmp-ifunc.c: Likewise.
29362 * string/test-strncpy-ifunc.c: Likewise.
29363 * string/test-strnlen-ifunc.c: Likewise.
29364 * string/test-strpbrk-ifunc.c: Likewise.
29365 * string/test-strrchr-ifunc.c: Likewise.
29366 * string/test-strspn-ifunc.c: Likewise.
29367 * string/test-strstr-ifunc.c: Likewise.
29369 * debug/Makefile (tests-ifunc): New variable.
29370 (tests): Add $(tests-ifunc).
29371 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29372 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29373 * debug/test-stpcpy_chk-ifunc.c: New file.
29374 * debug/test-strcpy_chk-ifunc.c: Likewise.
29376 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29379 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29380 header is not read in.
29382 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29384 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29385 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29386 directly. Pass built executable to script as
29387 $(built-program-cmd).
29388 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29389 $testprogram without using LD_LIBRARY_PATH and $ldso.
29391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29392 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29393 $(rtld-installed-name).
29394 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29395 (rtld_installed_name): Likewise.
29396 (library_path): Likewise.
29397 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29399 $(run-program-prefix) to tst-tables.sh.
29400 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29401 it to run tst-table-from and tst-table-to.
29402 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29403 Pass it to tst-table.sh.
29404 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29405 $(run-program-prefix) to tst-gettext.sh.
29406 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29408 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29410 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29411 to run tst-gettext.
29412 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29413 to run tst-gettext2.
29414 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29415 to run tst-translit.
29416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29417 $(run-program-prefix) to tst-mtrace.sh.
29418 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29420 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29421 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29422 $(rtld-installed-name).
29423 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29424 (rtld_installed_name): Likewise.
29425 (run_program_prefix): New variable. Use it to run wordexp-test.
29427 * Makeconfig (ARCH): Remove all definitions.
29428 (machine): Likewise.
29429 [ARCH]: Remove conditional code.
29430 [!objdir]: Give error.
29431 [!objdir] (objpfx): Remove.
29432 [!objdir] (common-objpfx): Likewise.
29433 [!objdir] (common-objdir): Likewise.
29434 * configure.in (config_makefile): Remove. Hardcode Makefile in
29435 AC_CONFIG_FILES call.
29436 * configure: Regenerated.
29439 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29441 (testout): Likewise.
29443 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29444 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29445 $(rtld-installed-name).
29446 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29447 (rtld_installed_name): Likwise.
29448 (runit): Remove function.
29449 (run_getconf): New variable, Use it for running getconf binary.
29451 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29454 * string/test-memmem.c (check_result): New function.
29455 (do_one_test): Use it.
29456 (check1): New function.
29457 (test_main): Use it.
29459 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29461 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29463 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29465 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29466 (_G_LSEEK64): Likewise.
29467 (_G_MMAP64): Likewise.
29468 (_G_FSTAT64): Likewise.
29469 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29470 (_G_LSEEK64): Likewise.
29471 (_G_MMAP64): Likewise.
29472 (_G_FSTAT64): Likewise.
29473 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29474 unconditional. Call __mmap64 directly.
29475 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29476 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29477 __lseek64 directly.
29478 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29479 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29481 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29482 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29483 __lseek64 directly.
29484 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29485 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29486 __lseek64 directly.
29487 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29488 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29489 __lseek64 directly.
29490 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29491 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29492 __fxstat64 directly.
29493 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29494 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29496 (freopen64) [!_G_OPEN64]: Remove conditional code.
29497 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29499 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29500 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29502 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29503 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29505 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29506 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29508 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29509 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29511 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29512 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29514 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29515 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29517 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29519 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29522 * manual/memory.texi (Malloc Tunable Parameters): Add note
29523 about free list pointers overwriting some perturb bytes.
29524 Wording suggested by Roland McGrath.
29526 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29528 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29529 (lgamma_test): Likewise.
29530 (tgamma_test): Likewise.
29532 2012-10-16 Florian Weimer <fweimer@redhat.com>
29535 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29536 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29538 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29540 * NEWS: Mention BZ #14716.
29541 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29542 when removing AVAILABLE1_USES_J macro.
29544 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29546 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29547 (__bswap_64): __uint64_t for unsigned 64-bit int.
29549 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29551 * include/string.h (memmem): Declare libc hidden alias.
29552 * string/memmem.c (memmem): Define libc hidden alias.
29553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29554 __read, __close instead of open, read, close.
29556 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29559 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29561 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29563 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29565 (__rawmemchr_sse2): Likewise.
29566 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29568 (__strchr_sse2): Likewise.
29569 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29570 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29571 (__strcasecmp_sse2): Likewise.
29572 (__strncasecmp_sse2): Likewise.
29573 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29574 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29575 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29576 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29577 (__strrchr_sse2): Likewise.
29578 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29580 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29581 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29582 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29584 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29585 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29586 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29587 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29588 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29589 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29590 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29591 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29592 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29594 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29596 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29597 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29598 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29599 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29600 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29601 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29602 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29603 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29604 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29606 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29607 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29609 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29611 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29613 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29614 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29615 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29616 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29618 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29620 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29621 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29622 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29623 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29625 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29626 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29628 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29629 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29630 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29631 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29632 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29633 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29634 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29638 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29639 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29641 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29642 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29650 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29651 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29652 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29653 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29655 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29656 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29657 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29658 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29667 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29668 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29669 * include/ifunc-impl-list.h: New file.
29670 * misc/ifunc-impl-list.c: Likewise.
29671 * misc/Makefile (routines): Add ifunc-impl-list.
29672 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29673 * string/test-string.h: Include <ifunc-impl-list.h>.
29674 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29675 TEST_NAME]: New variables.
29676 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29678 (test_init): Call __libc_ifunc_impl_list to initialize
29679 func_list if TEST_IFUNC and TEST_NAME are defined.
29681 * string/Makefile (strop-tests): Add bcopy and bzero.
29682 * string/test-bcopy.c: New file.
29683 * string/test-bzero.c: Likewise.
29684 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29686 * string/test-memset.c: Support bzero test if TEST_BZERO is
29688 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29690 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29692 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29695 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29697 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29698 * configure: Regenerated.
29700 * Makeconfig (+link-static-before-libc): Don't include
29701 $(link-static-libc).
29703 * libio/libio.h (_IO_pos_t): Remove.
29705 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29707 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29710 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29712 * crypt/crypt-entry.c: Include fips-private.h.
29713 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29714 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29715 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29716 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29718 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29720 * crypt/crypt-private.h: Include stdbool.h.
29721 (_ufc_setup_salt_r): Return bool.
29722 * crypt/crypt-entry.c: Include errno.h.
29723 (__crypt_r): Return NULL with EINVAL for bad salt.
29724 * crypt/crypt_util.c (bad_for_salt): New.
29725 (_ufc_setup_salt_r): Check that salt is long enough and within
29726 the specified alphabet.
29727 * crypt/badsalttest.c: New file.
29728 * crypt/Makefile (tests): Add it.
29729 ($(objpfx)badsalttest): New.
29731 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29733 * NEWS: Add entry for BZ #14602.
29735 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29737 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29739 * math/libm-test.inc: Update comment listing what functions and
29741 (isgreater_test): New function.
29742 (isgreaterequal_test): Likewise.
29743 (isless_test): Likewise.
29744 (islessequal_test): Likewise.
29745 (islessgreater_test): Likewise.
29746 (isunordered_test): Likewise.
29747 (main): Call the new functions.
29749 2012-10-09 Roland McGrath <roland@hack.frob.com>
29751 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29752 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29753 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29754 * sysdeps/i386/configure: Regenerated.
29755 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29756 * sysdeps/mach/configure: Regenerated.
29757 * sysdeps/mach/hurd/configure: Regenerated.
29758 * sysdeps/powerpc/configure: Regenerated.
29759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29761 * sysdeps/s390/s390-32/configure: Regenerated.
29762 * sysdeps/s390/s390-64/configure: Regenerated.
29763 * sysdeps/sh/configure: Regenerated.
29764 * sysdeps/sparc/configure: Regenerated.
29765 * sysdeps/unix/sysv/linux/configure: Regenerated.
29766 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29767 * sysdeps/x86_64/configure: Regenerated.
29769 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29770 defined. Don't check if MAP is NULL.
29772 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29774 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29775 (_G_stat64): Likewise.
29776 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29777 (_G_stat64): Likewise.
29778 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29779 instead of struct _G_stat64.
29780 * libio/fileops.c (mmap_remap_check): Likewise.
29781 (decide_maybe_mmap): Likewise.
29782 (_IO_new_file_seekoff): Likewise.
29783 (_IO_file_stat): Likewise.
29784 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29786 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29787 instead of struct _G_stat64.
29788 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29790 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29795 (CHECK_EOL): New macro.
29796 (two_way_short_needle): Check beginning of haystack for EOL. Use
29798 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29799 Replace with CHECK_EOL.
29800 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29801 Replace with CHECK_EOL.
29803 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29805 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29807 * math/libm-test.inc: Update comment listing what functions and
29809 (finite_test): New function.
29810 (isinf_test): Likewise.
29811 (isnan_test): Likewise.
29812 (fpclassify_test): Test subnormal input.
29813 (isfinite_test): Likewise.
29814 (isnormal_test): Likewise.
29815 (main): Call the new functions.
29817 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29820 * Makerules (%.dynsym): Force C locale when running
29821 $(OBJDUMP) --dynamic-syms.
29823 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29828 2012-10-06 David S. Miller <davem@davemloft.net>
29830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29831 upper 32-bits of the length value in %o2 since we use branch-on-register
29832 tests which consider the entire 64-bit register.
29834 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29836 * string/test-strstr.c (check2): Add a test for page boundary.
29838 2012-10-05 David S. Miller <davem@davemloft.net>
29840 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29846 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29847 and bzero when HWCAP_SPARC_CRYPTO is present.
29849 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29852 * string/test-strstr.c (check2): New function.
29853 (test_main): Call check2.
29855 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29857 * string/bug-strcasestr1.c (do_test): Moved to ...
29858 * string/test-strcasestr.c (check1): Here. New function.
29859 (do_one_test): Break out result checking code into ...
29860 (check_result): This. New function.
29861 (do_one_test): Call check_result.
29862 (test_main): Call check1.
29863 * string/bug-strchr1.c (do_test): Moved to ...
29864 * string/test-strchr.c (check1): Here. New function.
29865 (do_one_test): Break out result checking code into ...
29866 (check_result): This. New function.
29867 (do_one_test): Call check_result.
29868 (test_main): Call check1.
29869 * string/bug-strstr1.c (main): Moved to ...
29870 * string/test-strstr.c (check1): Here. New function.
29871 (do_one_test): Break out result checking code into ...
29872 (check_result): This. New function.
29873 (do_one_test): Call check_result.
29874 (test_main): Call check1.
29875 * string/bug-strcasestr1.c: Removed.
29876 * string/bug-strchr1.c: Likewise.
29877 * string/bug-strstr1.c: Likewise.
29879 * elf/Makefile (dl-routines): Add hwcaps.
29880 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29881 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29882 (_dl_important_hwcaps): Moved to ...
29883 * elf/dl-hwcaps.c: Here. New file.
29884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29887 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29888 if IS_IN_rtld isn't defined.
29890 * elf/dl-support.c (_dl_sysinfo_map): New.
29891 Include "get-dynamic-info.h" and "setup-vdso.h".
29892 (_dl_non_dynamic_init): Call setup_vdso.
29893 * elf/dynamic-link.h: Don't include <assert.h>.
29894 (elf_get_dynamic_info): Moved to ...
29895 * elf/get-dynamic-info.h: Here. New file.
29896 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29897 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29898 * elf/setup-vdso.h: Here. New file.
29899 * elf/rtld.c: Include "setup-vdso.h".
29900 (dl_main): Call setup_vdso.
29902 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29904 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29905 creal in comment listing functions tested. List finite, isinf,
29906 isnan, isless, islessequal, isgreater, isgreaterequal,
29907 islessgreater, isunordered, lgamma_r and pow10 as functions and
29908 macros not tested. Mention which functions not tested are aliases
29909 for other functions. Fix typo. Note that signs of NaNs are not
29912 * scripts/config.guess: Update from config.git.
29913 * scripts/config.sub: Likewise.
29915 2012-10-04 Roland McGrath <roland@hack.frob.com>
29917 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29918 * misc/madvise.c (madvise): Renamed to __madvise.
29919 Make madvise a weak alias.
29920 * include/sys/mman.h: Declare __madvise.
29921 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29922 * sysdeps/unix/syscalls.list
29923 (madvise): Make __madvise the strong name, and madvise a weak alias.
29924 * sysdeps/unix/sysv/linux/syscalls.list
29925 (madvise, mmap): Remove redundant entries.
29926 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29927 * malloc/malloc.c (mtrim): Likewise.
29928 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29930 2012-10-03 Roland McGrath <roland@hack.frob.com>
29932 * sysdeps/mach/hurd/dl-cache.c: File removed.
29933 * config.h.in (USE_LDCONFIG): New #undef.
29934 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29935 * configure: Regenerated.
29936 * elf/Makefile (dl-routines): Add dl-cache only under
29937 [$(use-ldconfig) = yes].
29938 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29939 cache on [USE_LDCONFIG].
29940 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29942 * elf/rtld.c (dl_main): Likewise.
29944 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29946 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29947 _SC_LEVEL4_CACHE_LINESIZE.
29949 2012-10-03 Roland McGrath <roland@hack.frob.com>
29951 * sysdeps/unix/bsd/confstr.h: File removed.
29953 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29955 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29958 2012-10-02 Roland McGrath <roland@hack.frob.com>
29960 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29961 Make 'mapoff' field ElfW(Off) rather than off_t.
29963 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29965 * nscd/Makefile: Remove nscd-cflags and all its users.
29966 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29967 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29970 * malloc.c (malloc_printerr): Clarify error message.
29972 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29976 Set bit_FMA_Usable if FMA is supported.
29977 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29979 (bit_FMA4_Usable): Updated.
29980 (index_FMA_Usable): New macro.
29981 (CPUID_FMA): Likewise
29982 (HAS_FMA): Defined with bit_FMA_Usable.
29984 2012-10-01 Roland McGrath <roland@hack.frob.com>
29986 * bits/types.h (__swblk_t): Type removed.
29987 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29988 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29990 (__SWBLK_T_TYPE): Likewise.
29991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29992 (__SWBLK_T_TYPE): Likewise.
29993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29994 (__SWBLK_T_TYPE): Likewise.
29995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29996 (__SWBLK_T_TYPE): Likewise.
29998 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29999 Honza Horak <hhorak@redhat.com>
30001 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30002 (xdr_mapname): Use YPMAXMAP as maxsize.
30003 (xdr_peername): Use YPMAXPEER as maxsize.
30004 (xdr_keydat): Use YPAXRECORD as maxsize.
30005 (xdr_valdat): Use YPMAXRECORD as maxsize.
30007 2012-10-01 Roland McGrath <roland@hack.frob.com>
30009 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30011 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30012 * csu/init-first.c: ... here.
30013 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30014 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30017 * sysdeps/i386/init-first.c: File removed.
30018 * sysdeps/sh/init-first.c: File removed.
30020 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30024 if x * y might underflow to zero and z is zero.
30025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30027 * math/libm-test.inc (min_subnorm_value): New variable.
30028 (fma_test): Add more tests.
30029 (fma_test_towardzero): Likewise.
30030 (fma_test_downward): Likewise
30031 (fma_test_upward): Likewise.
30032 (initialize): Set min_subnorm_value.
30034 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30040 mode for addition resulting in exact zero.
30041 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30046 * math/libm-test.inc (fma_test): Add more tests.
30047 (fma_test_towardzero): New function.
30048 (fma_test_downward): Likewise.
30049 (fma_test_upward): Likewise.
30050 (main): Call the new functions.
30052 2012-09-28 David S. Miller <davem@davemloft.net>
30054 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30056 2012-09-28 Roland McGrath <roland@hack.frob.com>
30058 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30059 instead of SIGALRM.
30061 * sysdeps/gnu/_G_config.h: Moved to ...
30062 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30063 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30064 * sysdeps/generic/_G_config.h: ... here.
30066 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30068 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30070 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30071 Conditionalize target on [libnss_test1.so-version].
30073 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30075 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30076 (elfobjdir): Move out of conditionals.
30078 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30079 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30080 (__nss_lookup_function): Conditionalize label remove_from_tree on
30081 [!DO_STATIC_NSS || SHARED], matching its only use.
30083 2012-09-28 David S. Miller <davem@davemloft.net>
30085 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30088 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30090 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30092 when HWCAP_SPARC_CRYPTO is present.
30094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30096 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30098 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30101 * stdio-common/vfprintf.c (process_string_arg): Revert
30104 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30106 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30108 * stdio-common/tst-sprintf.c: Include <locale.h>
30109 (main): Test sprintf's handling of incomplete multibyte
30112 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30114 * elf/dl-runtime.c (VERSYMIDX): Removed.
30115 * elf/dl-version.c (VERSYMIDX): Likewise.
30116 * elf/do-rel.h (VERSYMIDX): Likewise.
30117 (VALIDX): Likewise.
30118 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30119 * elf/rtld.c (VALIDX): Likewise.
30120 (ADDRIDX): Likewise.
30121 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30122 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30123 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30124 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30125 (VALIDX): Likewise.
30126 (ADDRIDX): Likewise.
30128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30130 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30132 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30135 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30137 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30138 addresses are in the same scope as 192.0.2/24.
30139 * posix/gai.conf: Document new scope table defaults.
30141 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30144 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30145 for ftell. Compute offsets from write pointers instead.
30146 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30148 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30151 * libio/Makefile (tests): New test case tst-fseek.
30152 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30153 combination works in wide mode.
30154 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30155 state when the external buffer state changes.
30157 2012-09-27 David S. Miller <davem@davemloft.net>
30160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30161 pass reloc->r_addend in as the 'high' argument to
30162 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30166 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30168 * rt/tst-aio2.c: Include <pthread.h>.
30169 * rt/tst-aio3.c: Likewise.
30171 2012-09-27 Steve Ellcey <sellcey@mips.com>
30173 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30175 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30177 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30178 contents on [SHARED].
30180 2012-09-26 Marek Polacek <polacek@redhat.com>
30184 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30185 for C++ and GCC <4.3 as well as for non GCC compilers.
30187 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30191 2012-09-25 Roland McGrath <roland@hack.frob.com>
30193 * Makefile.in (all, install): Declare with .PHONY.
30194 Reported by Michael Hope <michael.hope@linaro.org>.
30196 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30198 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30199 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30201 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30203 (sydep_routines): Add the new and the internal functions.
30204 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30207 (GLIBC_2.17): Add the new function.
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30209 (GLIBC_2.17): Likewise.
30210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30211 (GLIBC_2.17): Likewise.
30212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30213 (GLIBC_2.17): Likewise.
30214 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30216 2012-09-25 Alan Modra <amodra@gmail.com>
30218 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30219 Add release barrier before setting once_control to say
30220 initialisation is done. Add hints on lwarx. Use macro in
30222 (clear_once_control): Add release barrier.
30224 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30227 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30229 * math/s_clog10.c (__clog10): Likewise.
30230 * math/s_clog10f.c (__clog10f): Likewise.
30231 * math/s_clog10l.c (__clog10l): Likewise.
30232 * math/s_clogf.c (__clogf): Likewise.
30233 * math/s_clogl.c (__clogl): Likewise.
30234 * math/Makefile (libm-calls): Add x2y2m1.
30235 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30236 (__x2y2m1): Likewise.
30237 (__x2y2m1l): Likewise.
30238 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30239 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30242 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30243 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30244 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30245 * sysdeps/i386/fpu/libm-test-ulps: Update.
30246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30249 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30250 int as type of variable DEPTH.
30251 (glob): Use size_t instead of int as type of variables NEWCOUNT
30254 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30257 Add s_sincosf-sse2.
30258 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30260 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30261 macros for using routine as __sincosf_ia32.
30262 Use macro for function declaration and weak_alias.
30263 * sysdeps/i386/fpu/libm-test-ulps: Update.
30265 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30268 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30269 subnormal argument.
30270 * math/s_cexpf.c (__cexpf): Likewise.
30271 * math/s_csinf.c (__csinf): Likewise.
30272 * math/s_csinhf.c (__csinhf): Likewise.
30273 * math/s_ctanf.c (__ctanf): Likewise.
30274 * math/s_ctanhf.c (__ctanhf): Likewise.
30275 * math/s_ccosh.c (__ccoshf): Likewise.
30276 * math/s_cexp.c (__cexpl): Likewise.
30277 * math/s_csin.c (__csin): Likewise.
30278 * math/s_csinh.c (__csinh): Likewise.
30279 * math/s_ctan.c (__ctan): Likewise.
30280 * math/s_ctanh.c (ctanh): Likewise.
30281 * math/s_ccoshl.c (__ccoshl): Likewise.
30282 * math/s_cexpl.c (__cexpl): Likewise.
30283 * math/s_csinl.c (__csinl): Likewise.
30284 * math/s_csinhl.c (__csinhl): Likewise.
30285 * math/s_ctanl.c (__ctanl): Likewise.
30286 * math/s_ctanhl.c (__ctanhl): Likewise.
30288 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30290 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30291 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30292 (_IO_off_t): Define to __off_t, not _G_off_t.
30293 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30294 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30295 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30296 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30297 type of __dummy and __dummy2 fields.
30298 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30299 (_G_ssize_t): Likewise.
30300 (_G_off_t): Likewise.
30301 (_G_pid_t): Likewise.
30302 (_G_uid_t): Likewise.
30303 (_G_wchar_t): Likewise.
30304 (_G_wint_t): Likewise.
30305 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30306 (_G_ssize_t): Likewise.
30307 (_G_off_t): Likewise.
30308 (_G_pid_t): Likewise.
30309 (_G_uid_t): Likewise.
30310 (_G_wchar_t): Likewise.
30311 (_G_wint_t): Likewise.
30312 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30313 (_G_ssize_t): Likewise.
30314 (_G_off_t): Likewise.
30315 (_G_pid_t): Likewise.
30316 (_G_uid_t): Likewise.
30317 (_G_wchar_t): Likewise.
30318 (_G_wint_t): Likewise.
30320 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30322 * malloc/arena.c: Include malloc-sysdep.h.
30323 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30324 is sufficient to shrink the heap or an unmap is needed.
30325 * sysdeps/generic/malloc-sysdep.h: New file. Define
30326 new function check_may_shrink_heap.
30327 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30328 new function check_may_shrink_heap.
30330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30332 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30335 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30337 * catgets/test-gencat.sh: Add "set -e".
30338 * elf/tst-pathopt.sh: Likewise.
30339 * grp/tst_fgetgrent.sh: Likewise.
30340 * iconvdata/run-iconv-test.sh: Likewise.
30341 * intl/tst-gettext.sh: Likewise.
30342 * intl/tst-gettext2.sh: Likewise.
30343 * intl/tst-gettext4.sh: Likewise.
30344 * intl/tst-gettext6.sh: Likewise.
30345 * intl/tst-translit.sh: Likewise.
30346 * io/ftwtest-sh: Likewise.
30347 * libio/test-freopen.sh: Likewise.
30348 * malloc/tst-mtrace.sh: Likewise.
30349 * posix/globtest.sh: Likewise.
30350 * posix/tst-getconf.sh: Likewise.
30351 * posix/wordexp-tst.sh: Likewise.
30352 * stdio-common/tst-printf.sh: Likewise.
30353 * stdio-common/tst-unbputc.sh: Likewise.
30354 * stdlib/tst-fmtmsg.sh: Likewise.
30355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30356 * catgets/Makefile: Do not specify -e option when running
30357 testsuite shell scripts.
30358 * elf/Makefile: Likewise.
30359 * grp/Makefile: Likewise.
30360 * iconvdata/Makefile: Likewise.
30361 * intl/Makefile: Likewise.
30362 * io/Makefile: Likewise.
30363 * libio/Makefile: Likewise.
30364 * malloc/Makefile: Likewise.
30365 * posix/Makefile: Likewise.
30366 * stdio-common/Makefile: Likewise.
30367 * stdlib/Makefile: Likewise.
30368 * sysdeps/x86_64/Makefile: Likewise.
30370 * io/ftwtest-sh: Add copyright header.
30371 * posix/globtest.sh: Likewise.
30372 * posix/tst-getconf.sh: Likewise.
30373 * posix/wordexp-tst.sh: Likewise.
30374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30376 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30379 * Makeconfig (+link): Defined as $(+link-static) if
30380 $(build-shared) isn't yes.
30381 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30383 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30385 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30388 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30389 new chunk size with MALLOC_ALIGN_MASK.
30391 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30394 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30396 (__printf_fphex): Determine rounding using get_rounding_mode and
30398 * stdio-common/tst-printf-round.c (struct hex_test): New
30400 (hex_tests): New variable.
30401 (test_hex_in_one_mode): New function.
30402 (do_test): Also run tests for hex float output.
30404 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30406 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30408 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30409 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30410 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30411 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30412 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30415 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30417 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30418 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30419 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30420 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30422 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30425 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30427 * elf/tst-rtld-load-self.sh: New test.
30428 * elf/Makefile: Run it.
30430 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30432 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30433 (tst-writev-ENV): Remove.
30434 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30436 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30438 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30440 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30442 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30444 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30447 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30451 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30454 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30455 * config.make.in (have-cpp-asm-debuginfo): Removed.
30456 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30457 * configure: Regenerated.
30459 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30462 * stdio-common/printf_fp.c: Include <stdbool.h> and
30464 (___printf_fp): Determine rounding using get_rounding_mode and
30466 * stdio-common/tst-printf-round.c: New file.
30467 * stdio-common/Makefile (tests): Add tst-printf-round.
30468 (link-libm): New variable.
30469 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30471 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30474 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30475 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30477 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30480 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30482 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30483 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30484 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30485 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30487 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30490 * include/rounding-mode.h: New file.
30491 * sysdeps/generic/get-rounding-mode.h: Likewise.
30492 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30493 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30494 (MAX_VALUE): New macro.
30495 (MIN_VALUE): Likewise.
30496 (overflow_value): New function.
30497 (underflow_value): Likewise.
30498 (round_and_return): Use overflow_value and underflow_value to
30499 determine return values in overflow and underflow cases. Use
30500 round_away to determine rounding depending on rounding mode.
30501 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30502 determine return values in overflow and underflow cases.
30503 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30504 (struct test_results): New structure.
30505 (struct test): Use struct test_results to store expected results
30506 for all rounding modes.
30507 (TEST): Include expected results for all rounding modes.
30508 (test_in_one_mode): New function.
30509 (do_test): Use test_in_one_mode to compute and check results.
30510 Check results for all rounding modes.
30511 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30514 2012-12-09 Allan McRae <allan@archlinux.org>
30516 * sysdeps/i386/fpu/libm-test-ulps: Update
30518 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30520 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30521 (_G_int32_t): Likewise.
30522 (_G_uint16_t): Likewise.
30523 (_G_uint32_t): Likewise.
30524 (_G_HAVE_BOOL): Likewise.
30525 (_G_HAVE_ATEXIT): Likewise.
30526 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30527 (_G_HAVE_IO_FILE_OPEN): Likewise.
30528 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30529 (_G_int32_t): Likewise.
30530 (_G_uint16_t): Likewise.
30531 (_G_uint32_t): Likewise.
30532 (_G_HAVE_BOOL): Likewise.
30533 (_G_HAVE_ATEXIT): Likewise.
30534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30535 (_G_HAVE_IO_FILE_OPEN): Likewise.
30536 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30537 (_G_int32_t): Likewise.
30538 (_G_uint16_t): Likewise.
30539 (_G_uint32_t): Likewise.
30540 (_G_HAVE_BOOL): Likewise.
30541 (_G_HAVE_ATEXIT): Likewise.
30542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30543 (_G_HAVE_IO_FILE_OPEN): Likewise.
30545 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30547 * csu/libc-tls.c: Update copyright years.
30549 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30551 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30552 [!_G_USING_THUNKS]: Remove conditional code.
30553 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30554 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30556 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30557 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30558 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30559 (_G_VTABLE_LABEL_PREFIX): Likewise.
30560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30561 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30563 (_G_VTABLE_LABEL_PREFIX): Likewise.
30564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30565 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30567 (_G_VTABLE_LABEL_PREFIX): Likewise.
30568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30570 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30572 * libio/Makefile: Include ../Makeconfig before tests.
30573 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30574 only if $(build-shared) is yes.
30576 * iconv/gconv_db.c: Update copyright years.
30578 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30580 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30581 unwind info if defined PIC. Fix special cases description.
30582 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30584 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30586 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30588 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30590 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30592 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30595 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30596 (LDLIBS-tst-chk4): This.
30597 (LDFLAGS-tst-chk5): Renamed to ...
30598 (LDLIBS-tst-chk5): This.
30599 (LDFLAGS-tst-chk6): Renamed to ...
30600 (LDLIBS-tst-chk6): This.
30601 (LDFLAGS-tst-lfschk4): Renamed to ...
30602 (LDLIBS-tst-lfschk4): This.
30603 (LDFLAGS-tst-lfschk5): Renamed to ...
30604 (LDLIBS-tst-lfschk5): This.
30605 (LDFLAGS-tst-lfschk6): Renamed to ...
30606 (LDLIBS-tst-lfschk6): This.
30608 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30609 on $(common-objpfx)soversions.mk.
30611 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30614 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30617 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30619 * malloc/arena.c (arena_get_retry): New function that gets
30620 another arena for the caller to try its request on.
30621 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30622 current arena cannot fulfill the request.
30623 (__libc_memalign): Likewise.
30624 (__libc_memalign): Likewise.
30625 (__libc_pvalloc): Likewise.
30626 (__libc_calloc): Likewise.
30628 2012-09-05 John Tobey <john.tobey@gmail.com>
30631 * manual/arith.texi (Operations on Complex): Fix description
30632 of carg branch cut.
30634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30637 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30641 * manual/memory.texi (Memory): Make order of menu items match
30644 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30646 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30647 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30648 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30650 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30652 * csu/libc-tls.c (static_dtv): Renamed to ...
30653 (_dl_static_dtv): This. Make it global.
30654 (_dl_initial_dtv): Removed.
30655 (__libc_setup_tls): Updated.
30656 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30657 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30660 2012-09-06 Petr Machata <pmachata@redhat.com>
30662 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30663 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30664 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30665 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30670 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30671 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30677 * Makeconfig (link-static-before-libc): Replace $(+prector)
30679 (link-static-after-libc): Replace $(+postctor) with
30681 (link-bounded): Replace $(+prector)/$(+postctor) with
30682 $(+prectorT)/$(+postctorT).
30683 (+prectorT): New macro.
30684 (+postctorT): Likewise.
30686 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30688 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30689 (round_str): Handle values above the maximum for IBM long double
30691 * stdlib/tst-strtod-round.c (tests): Regenerated.
30693 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30695 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30697 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30698 zarch_nohighgprs around the zarch optimized routines.
30699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30704 2012-09-05 David S. Miller <davem@davemloft.net>
30706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30708 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30709 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30710 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30716 * malloc/arena.c: Fold copyright years.
30717 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30721 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30725 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30730 change internal state upon failure.
30732 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30734 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30735 * malloc/memusage.c (mmap): Likewise.
30736 (mmap64, mremap): Likewise. Adjust name in comment.
30738 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30740 * libio/fileops.c: Fix typos in comments.
30741 * libio/oldfileops.c: Likewise.
30742 * libio/wfileops.c: Likewise.
30744 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30747 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30748 (tst-malloc-usable-ENV): Set environment for test case.
30749 * malloc/hooks.c (malloc_check_get_size): New function to get
30751 * malloc/malloc.c (musable): Use malloc_check_get_size.
30752 * malloc/tst-malloc-usable.c: New test case.
30754 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30756 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30758 2012-09-05 Allan McRae <allan@archlinux.org>
30761 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30762 determine header location.
30763 * configure: Regenerated.
30765 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30767 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30769 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30770 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30772 (test): Regenerate.
30774 2012-09-04 David S. Miller <davem@davemloft.net>
30776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30780 2012-09-04 Florian Weimer <fweimer@redhat.com>
30782 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30785 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30787 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30790 * libio/iogetdelim.c: Include <limits.h>.
30791 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30792 + len + 1 would overflow.
30794 2012-09-03 Andreas Jaeger <aj@suse.de>
30796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30797 * sysdeps/i386/fpu/libm-test-ulps: Update.
30799 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30801 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30802 Add s_sinf-sse2, s_conf-sse2.
30804 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30806 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30807 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30809 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30810 for using routine as __sinf_ia32.
30811 Use macro for function declaration and weak_alias.
30812 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30813 for using routine as __cosf_ia32.
30814 Use macro for function declaration and weak_alias.
30816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30817 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30819 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30820 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30823 * math/libm-test.inc (cos_test): Add more test cases.
30824 (sin_test): Likewise.
30825 (sincos_test): Likewise.
30827 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30830 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30832 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30834 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30837 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30838 first element of the GOT.
30839 (elf_machine_load_address): Return the difference between
30840 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30842 2012-09-01 Allan McRae <allan@archlinux.org>
30845 * configure.in (AWK): Require gawk version 3.0 or later.
30846 * configure: Regenerated.
30848 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30850 * sysdeps/unix/sysv/linux/kernel-features.h
30851 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30853 [__NR_clock_getres]: Make code unconditional.
30854 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30855 (clock_getcpuclockid): Remove code left unreachable by removal of
30857 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30858 code unconditional.
30859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30861 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30862 Make code unconditional.
30863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30865 * sysdeps/unix/sysv/linux/clock_settime.c
30866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30868 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30869 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30871 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30874 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30875 scripts/test-installation.pl.
30877 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30878 and $ld_so_version if it is set.
30880 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30884 failure if reading from procfs failed.
30885 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30887 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30889 * sysdeps/unix/sysv/linux/kernel-features.h
30890 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30891 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30892 Remove conditional code.
30893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30894 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30895 Remove conditional code.
30896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30897 * sysdeps/unix/sysv/linux/i386/fxstat.c
30898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30900 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30903 * sysdeps/unix/sysv/linux/i386/lxstat.c
30904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30906 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30907 Remove conditional code.
30908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30909 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30910 Remove conditional code.
30911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30912 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30913 <kernel-features.h>.
30914 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30916 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30917 Remove conditional code.
30918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30919 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30920 Remove conditional.
30922 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30925 * NEWS: Add fixed bug number.
30927 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30930 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30931 underflowing exponent in case of negative sign.
30932 * stdlib/tst-strtod-round-data: Add more tests.
30933 * stdlib/tst-strtod-round.c (tests): Regenerated.
30936 * stdlib/strtod_l.c (NDIG): Remove.
30937 (HEXNDIG): Likewise.
30938 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30939 smallest representable value.
30940 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30941 lie within an exact representation of 1/2 ulp of the result.
30942 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30944 (TENS_P9_IDX): Define unconditionally.
30945 (TENS_P9_SIZE): Likewise.
30946 (TENS_P10_IDX): Likewise.
30947 (TENS_P10_SIZE): Likewise.
30948 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30949 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30950 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30951 entries for 10^2^13 and 10^2^14.
30952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30953 (TENS_P13_IDX): Define.
30954 (TENS_P13_SIZE): Likewise.
30955 (TENS_P14_IDX): Likewise.
30956 (TENS_P14_SIZE): Likewise.
30957 (_fpioconst_pow10): Change array size to
30958 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30960 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30961 1024]: Add entries for 10^2^13 and 10^2^14.
30962 [LAST_POW10 > _LAST_POW10]: Remove #error.
30963 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30964 (_fpioconst_pow10): Change array size to
30965 FPIOCONST_POW10_ARRAY_SIZE.
30966 * stdlib/gen-fpioconst.c: New file.
30967 * stdlib/gen-tst-strtod-round.c: Likewise.
30968 * stdlib/tst-strtod-round-data: Likewise.
30969 * stdlib/tst-strtod-round.c: Likewise.
30970 * stdlib/Makefile (tests): Add tst-strtod-round.
30973 * stdlib/strtod_l.c: Include <stdint.h>.
30974 (NDEBUG): Do not define.
30975 (round_and_return): Change EXPONENT parameter to type intmax_t.
30976 Rearrange calculations to avoid internal overflow possibilities.
30977 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30978 Rearrange calculations to avoid internal overflow possibilities.
30979 Assert that number fits inside MPNSIZE limbs.
30980 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30981 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30982 calculations and add assertions to avoid internal overflow
30983 possibilities. Add casts to avoid signed/unsigned operations.
30984 * stdlib/tst-strtod-overflow.c: New file.
30985 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30987 2012-08-25 Marek Polacek <polacek@redhat.com>
30989 * time/time.h: Fix some typos in comments.
30991 2012-08-23 Roland McGrath <roland@hack.frob.com>
30993 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30994 * posix/tst-rfc3484-2.c: Likewise.
30995 * posix/tst-rfc3484-3.c: Likewise.
30997 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30999 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31000 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31002 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31004 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31005 #include of fxstatat64.c.
31007 2012-08-22 Roland McGrath <roland@hack.frob.com>
31009 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31010 * shadow/getspent_r.c: Likewise.
31011 * shadow/getspnam.c: Likewise.
31012 * shadow/getspnam_r.c: Likewise.
31013 * gshadow/getsgent.c: Likewise.
31014 * gshadow/getsgent_r.c: Likewise.
31015 * gshadow/getsgnam.c: Likewise.
31016 * gshadow/getsgnam_r.c: Likewise.
31017 * inet/getnetbyad.c: Likewise.
31018 * inet/getnetbyad_r.c: Likewise.
31019 * inet/getnetbynm.c: Likewise.
31020 * inet/getnetbynm_r.c: Likewise.
31021 * inet/getnetent.c: Likewise.
31022 * inet/getnetent_r.c: Likewise.
31023 * inet/getproto.c: Likewise.
31024 * inet/getproto_r.c: Likewise.
31025 * inet/getprtent.c: Likewise.
31026 * inet/getprtent_r.c: Likewise.
31027 * inet/getprtname.c: Likewise.
31028 * inet/getprtname_r.c: Likewise.
31029 * inet/getrpcbyname.c: Likewise.
31030 * inet/getrpcbyname_r.c: Likewise.
31031 * inet/getrpcbynumber.c: Likewise.
31032 * inet/getrpcbynumber_r.c: Likewise.
31033 * inet/getrpcent.c: Likewise.
31034 * inet/getrpcent_r.c: Likewise.
31035 * inet/getaliasent.c: Likewise.
31036 * inet/getaliasent_r.c: Likewise.
31037 * inet/getaliasname.c: Likewise.
31038 * inet/getaliasname_r.c: Likewise.
31039 * nscd/getgrgid_r.c: Likewise.
31040 * nscd/getgrnam_r.c: Likewise.
31041 * nscd/gethstbyad_r.c: Likewise.
31042 * nscd/gethstbynm3_r.c: Likewise.
31043 * nscd/getpwnam_r.c: Likewise.
31044 * nscd/getpwuid_r.c: Likewise.
31045 * nscd/getsrvbynm_r.c: Likewise.
31046 * nscd/getsrvbypt_r.c: Likewise.
31047 * nscd/gai.c: Likewise.
31049 * configure.in (build_nscd): New substituted variable, set
31050 by --disable-build-nscd and defaults to $use_nscd.
31051 * configure: Regenerated.
31052 * config.make.in (build-nscd): New substituted variable.
31053 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31054 Change conditional to require [$(build-nscd) = yes] as well.
31055 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31058 * configure.in (use_nscd): New substituted variable, set by
31059 --disable-nscd. If enabled, define USE_NSCD.
31060 * configure: Regenerated.
31061 * config.h.in: Add USE_NSCD.
31062 * config.make.in (use-nscd): New substituted variable.
31063 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31064 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31065 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31066 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31067 (CFLAGS-getgrnam_r.c): Likewise.
31068 (CFLAGS-initgroups.c): Likewise.
31069 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31070 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31072 * inet/getnetgrent_r.c
31073 (nscd_setnetgrent): New function, broken out of ...
31074 (setnetgrent): ... here. Call it.
31075 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31076 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31077 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31078 * nscd/Makefile (routines, aux): Move definitions after include of
31079 Makeconfig. Conditionalize on [$(use-nscd) != no].
31080 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31081 Conditionalize on [USE_NSCD].
31082 (is_nscd, nscd_init_cb): Likewise.
31083 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31084 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31085 * nss/nss_db/db-init.c: Likewise.
31086 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31088 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31089 (make_request): Use it.
31090 (cache_valid_p): New function.
31091 (__check_pf): Use it.
31092 * NEWS: Add item for --disable-nscd.
31094 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31096 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31097 to support sed >= 4.2.1-20-ga9bf076.
31098 * configure: Regenerated.
31100 2012-08-22 Roland McGrath <roland@hack.frob.com>
31102 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31103 Conditionalize whole body on [IREL].
31105 2012-08-22 Jeff Law <law@redhat.com>
31108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31109 if the family is PF_UNSPEC.
31111 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31113 * Makerules (lib-version): Rename from V.
31114 (install-lib-nosubdir): Change V to lib-version.
31116 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31119 * powerpc32/power6/wcschr.c: New file.
31120 * powerpc32/power6/wcscpy.c: New file.
31121 * powerpc32/power6/wcsrchr.c: New file.
31122 * powerpc64/power6/wcschr.c: New file.
31123 * powerpc64/power6/wcscpy.c: New file.
31124 * powerpc64/power6/wcsrchr.c: New file.
31126 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31128 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31129 (two_way_short_needle): Use it.
31130 * string/strstr.c (AVAILABLE1_USES_J): Define.
31131 * string/strcasestr.c: Likewise.
31133 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31135 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31138 * NEWS: Add an entry.
31139 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31140 define their defaults.
31141 (two_way_short_needle): Detect end-of-string on-the-fly.
31142 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31143 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31144 * string/bug-strcasestr1.c: New test.
31145 * string/Makefile: Run it.
31147 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31150 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31151 the first character.
31153 2012-08-21 Roland McGrath <roland@hack.frob.com>
31155 * csu/elf-init.c (__libc_csu_irel): Function removed.
31156 * csu/libc-start.c (apply_irel): New function.
31157 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31159 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31161 * sysdeps/unix/sysv/linux/kernel-features.h
31162 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31163 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31164 <kernel-features.h>.
31165 [__NR_fadvise64_64]: Make code unconditional.
31166 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31167 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31168 !__NR_fadvise64_64)]: Likewise.
31169 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31170 !__NR_fadvise64_64))]: Likewise.
31171 [__NR_fadvise64]: Make code unconditional.
31172 [!__NR_fadvise64]: Remove conditional code.
31173 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31174 <kernel-features.h>.
31175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31180 not include <kernel-features.h>.
31181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31186 include <kernel-features.h>.
31187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31192 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31195 slight instruction rearrangements per scrollpipe analysis.
31196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31198 2012-08-20 Roland McGrath <roland@hack.frob.com>
31200 * manual/syslog.texi (syslog; vsyslog, closelog):
31201 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31202 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31204 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31205 DSOCAPS to match condition on defining it.
31207 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31209 * sysdeps/unix/sysv/linux/kernel-features.h
31210 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31221 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31222 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31224 * sysdeps/unix/sysv/linux/kernel-features.h
31225 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31226 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31228 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31229 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31230 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31231 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31232 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31233 Make code unconditional.
31234 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31235 (__mmap64) [!__NR_mmap2]: Likewise.
31236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31237 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31238 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31239 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31240 [__NR_mmap2]: Make code unconditional.
31241 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31242 (__mmap64) [!__NR_mmap2]: Likewise.
31244 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31246 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31248 2012-08-18 Andreas Jaeger <aj@suse.de>
31250 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31252 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31254 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31255 * include/unistd.h (__have_sock_cloexec): Likewise.
31256 (__have_pipe2): Likewise.
31257 (__have_dup3): Likewise.
31259 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31262 * include/unistd.h (__have_pipe2): Change define into an extern int.
31263 (__have_dup3): Likewise.
31264 * socket/have_sock_cloexec.c: Include fcntl.h.
31265 (__have_pipe2): New variable.
31266 (__have_dup3): Likewise.
31268 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31270 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31272 2012-08-17 Marek Polacek <polacek@redhat.com>
31274 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31275 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31277 2012-08-17 Roland McGrath <roland@hack.frob.com>
31279 * configure.in: Add AC_SUBST for sysheaders.
31280 * configure: Regenerated.
31281 * config.make.in (sysheaders): New substituted variable.
31283 * sysdeps/unix/mkfifo.c: Moved ...
31284 * sysdeps/posix/mkfifo.c: ... here.
31285 * sysdeps/unix/mkfifoat.c: Moved ...
31286 * sysdeps/posix/mkfifoat.c: ... here.
31288 * sysdeps/unix/utime.c: Moved ...
31289 * sysdeps/posix/utime.c: ... here.
31291 * sysdeps/unix/time.c: Moved ...
31292 * sysdeps/posix/time.c: ... here.
31293 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31294 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31296 * sysdeps/unix/nice.c: Moved ...
31297 * sysdeps/posix/nice.c: ... here.
31299 * sysdeps/unix/alarm.c: Moved ...
31300 * sysdeps/posix/alarm.c: ... here.
31302 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31304 2012-08-17 Jeff Law <law@redhat.com>
31306 * intl/Makefile (codeset_mo): New variable.
31307 ($(codeset_mo)): New target.
31308 (tst-codeset.out): Depend on that. Remove explicit rule.
31309 (tst-gettext3.out, tst-gettext5.out): Likewise.
31310 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31311 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31312 * intl/tst-codeset.sh: Remove.
31313 * intl/tst-gettext3.sh: Likewise.
31314 * intl/tst-gettext5.sh: Likewise.
31316 2012-08-17 Roland McGrath <roland@hack.frob.com>
31318 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31319 * sysdeps/unix/syscalls.list: ... here.
31321 * sysdeps/posix/getaddrinfo.c
31322 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31323 (gaiconf_init, gaiconf_reload): Use them.
31324 [!_STATBUF_ST_NSEC]
31325 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31326 Define using time_t rather than struct timespec.
31328 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31329 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31331 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31333 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31334 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31337 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31338 __libc_cleanup_push argument.
31340 * bits/param.h: New file.
31341 * misc/sys/param.h: New file.
31342 * include/sys/param.h: New file.
31343 * misc/Makefile (headers): Add bits/param.h.
31344 * sysdeps/generic/sys/param.h: File removed.
31345 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31346 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31347 * sysdeps/mach/hurd/bits/param.h: New file.
31348 * sysdeps/mach/hurd/sys/param.h: File removed.
31350 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31353 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31355 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31356 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31359 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31360 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31361 rather than -D_IO_MTSAFE_IO conditionally.
31362 * stdio-common/Makefile (CPPFLAGS): Likewise.
31363 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31364 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31365 Use $(libio-mtsafe).
31366 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31367 of -D_IO_MTSAFE_IO.
31368 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31369 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31370 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31371 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31372 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31373 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31374 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31375 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31376 (CFLAGS-fread_u_chk.c): Likewise.
31377 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31378 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31379 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31380 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31381 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31382 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31383 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31384 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31385 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31387 * libio/Makefile: Test [$(libc-reentrant) = yes]
31388 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31391 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31392 * sysdeps/pthread/configure: File removed.
31393 * sysdeps/pthread/Makeconfig: New file.
31394 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31395 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31397 2012-08-16 Gary Benson <gbenson@redhat.com>
31399 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31400 unmapping the first object in a namespace.
31402 2012-08-16 Roland McGrath <roland@hack.frob.com>
31404 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31405 (__internal_setnetgrent): ... this. Add internal_function to
31406 definition. Add libc_hidden_def.
31407 (setnetgrent): Update caller.
31408 (internal_endnetgrent): Renamed to ...
31409 (__internal_endnetgrent): ... this. Add internal_function to
31410 definition. Add libc_hidden_def.
31411 (endnetgrent): Update caller.
31412 (internal_getnetgrent_r): Renamed to ...
31413 (__internal_getnetgrent_r): ... this. Add internal_function to
31414 definition. Add libc_hidden_def.
31415 (__getnetgrent_r): Update caller.
31416 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31418 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31420 * stdlib/longlong.h: Update from GCC.
31422 2012-08-16 Roland McGrath <roland@hack.frob.com>
31424 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31425 on _QL, which is set by umul_ppmm but never used.
31426 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31427 variables, which are set by GMP macros but never used.
31428 * stdio-common/_itowa.c (_itowa): Likewise.
31429 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31430 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31432 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31434 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31435 struct La_sh_regs is not constant.
31436 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31437 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31438 and struct La_sparc64_regs are not constant.
31440 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31442 * sysdeps/unix/sysv/linux/kernel-features.h
31443 (__ASSUME_POSIX_TIMERS): Remove.
31444 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31446 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31447 Make code unconditional.
31448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31449 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31450 Make code unconditional.
31451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31452 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31453 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31455 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31456 Make code unconditional.
31457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31458 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31459 (__libc_missing_posix_timers): Remove.
31461 2012-08-15 Roland McGrath <roland@hack.frob.com>
31463 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31464 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31466 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31468 * elf/dl-sym.c: Include <stdlib.h>.
31470 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31471 constants, which avoids warnings in 32-bit builds.
31473 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31474 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31476 * misc/lseek.c: File moved to ...
31477 * io/lseek.c: ... here.
31479 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31481 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31482 shifting LEN more than 31 bits at once.
31484 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31487 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31488 segmentation fault for a case of two empty input strings.
31489 * string/test-strncasecmp.c (check1): Renamed to...
31490 (bz12205): ...this.
31491 (bz14195): Add new testcase for two empty input strings and N > 0.
31492 (test_main): Call new testcase, adapt for renamed function.
31494 2012-08-15 Andreas Jaeger <aj@suse.de>
31497 * crypt/md5test2.c: New test, based on test supplied by Serge
31498 Belyshev <belyshev@depni.sinp.msu.ru>.
31499 * crypt/Makefile (xtests): Add md5test-giant..
31500 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31502 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31505 * crypt/md5.c (md5_process_block): Don't assume the buffer
31506 length is less than 2**32.
31507 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31508 length is less than 2**64.
31510 2012-08-15 Roland McGrath <roland@hack.frob.com>
31512 * string/str-two-way.h: Include <sys/param.h>.
31513 (MAX): Macro removed.
31515 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31516 Move #define and #undef of memmove to just before and after
31517 including <string.h>.
31519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31520 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31521 and after including <string.h>. Move declarations of
31522 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31523 to before #include "string/memmove.c".
31525 * include/dirent.h: Declare __getdirentries.
31527 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31528 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31530 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31532 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31533 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31534 * sysdeps/i386/configure: Regenerated.
31535 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31536 STABS_CURRENT_FILE, and STABS_FUN.
31537 (END): Remove call to STABS_FUN_END.
31538 (STABS_CURRENT_FILE1): Delete.
31539 (STABS_CURRENT_FILE): Likewise.
31540 (STABS_FUN): Likewise.
31541 (STABS_FUN_END): Likewise.
31542 (STABS_FUN2): Likewise.
31543 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31544 * sysdeps/x86_64/configure: Regenerated.
31546 2012-08-14 Roland McGrath <roland@hack.frob.com>
31548 * elf/dl-open.c: Include <atomic.h>.
31549 * elf/dl-lookup.c: Likewise.
31551 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31553 * sysdeps/unix/sysv/linux/kernel-features.h
31554 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31555 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31557 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31559 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31560 condition on __ASSUME_CLONE_THREAD_FLAGS.
31562 2012-08-14 Andreas Jaeger <aj@suse.de>
31564 * sysdeps/i386/fpu/libm-test-ulps: Update.
31566 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31568 * include/atomic.h (atomic_exchange_and_add): Split into ...
31569 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31572 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31576 2012-08-13 Jeff Law <law@redhat.com>
31578 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31579 null byte in the output string.
31581 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/unix/sysv/linux/kernel-features.h
31584 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31585 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31586 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31588 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31589 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31590 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31592 2012-08-09 Jeff Law <law@redhat.com>
31595 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31596 When avoid_arena is set, don't retry in the that arena. Pick the
31597 next one, whatever it might be.
31598 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31599 (arena_lock): Pass in new parameter to arena_get2.
31600 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31602 (__libc_malloc): Unify retrying after main arena failure with
31603 __libc_memalign version.
31604 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31606 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31609 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31610 to __redirect_strstr.
31611 (__strstr_sse42): Use typeof __redirect_strstr.
31612 (__strstr_ia32): Likewise.
31613 (__libc_strstr): New prototype.
31614 (strstr): Renamed to ...
31615 (__libc_strstr): This.
31616 (strstr): New strong alias of __libc_strstr.
31617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31618 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31621 (__libc_time): New prototype.
31622 (time_ifunc): Replace time with __libc_time.
31623 (time): New strong alias and hidden definition of __libc_time.
31624 (__GI_time): Remove strong alias.
31625 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31626 Include <stddef.h>.
31627 (memmove): Redefined to __redirect_memmove.
31628 (__memmove_sse2): Use typeof __redirect_memmove.
31629 (__memmove_ssse3): Likewise.
31630 (__memmove_ssse3_back): Likewise.
31631 (__libc_memmove): New prototype.
31632 (memmove): Renamed to ...
31633 (__libc_memmove): This.
31634 (memmove): New strong alias of __libc_memmove.
31636 2012-08-08 Mark Salter <msalter@redhat.com>
31639 (R_MN10300_TLS_GD): Define.
31640 (R_MN10300_TLS_LD): Likewise.
31641 (R_MN10300_TLS_LDO): Likewise.
31642 (R_MN10300_TLS_GOTIE): Likewise.
31643 (R_MN10300_TLS_IE): Likewise.
31644 (R_MN10300_TLS_LE): Likewise.
31645 (R_MN10300_TLS_DTPMOD): Likewise.
31646 (R_MN10300_TLS_DTPOFF): Likewise.
31647 (R_MN10300_TLS_TPOFF): Likewise.
31648 (R_MN10300_SYM_DIFF): Likewise.
31649 (R_MN10300_ALIGN): Likewise.
31650 (R_MN10300_NUM): Update.
31652 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31657 2012-08-08 Roland McGrath <roland@hack.frob.com>
31659 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31661 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31662 sysdeps/unix -> sysdeps/posix move.
31663 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31665 2012-08-07 Allan McRae <allan@archlinux.org>
31668 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31669 (SUNOS_CPP): Likewise.
31670 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31672 (open_input): Call CPP using execvp.
31674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31676 * sysdeps/unix/sysv/linux/kernel-features.h
31677 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31678 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31679 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31680 (__ASSUME_WAITID_SYSCALL): Likewise.
31681 * sysdeps/unix/sysv/linux/dl-execstack.c
31682 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31683 code unconditional.
31684 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31687 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31688 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31690 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31692 [__ASSUME_WAITID_SYSCALL]: Likewise.
31693 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31695 2012-08-07 Roland McGrath <roland@hack.frob.com>
31697 * sysdeps/unix/closedir.c: Renamed to ...
31698 * sysdeps/posix/closedir.c: ... here.
31699 * sysdeps/unix/dirfd.c: Renamed to ...
31700 * sysdeps/posix/dirfd.c: ... here.
31701 * sysdeps/unix/dirstream.h: Renamed to ...
31702 * sysdeps/posix/dirstream.h: ... here.
31703 * sysdeps/unix/fdopendir.c: Renamed to ...
31704 * sysdeps/posix/fdopendir.c: ... here.
31705 * sysdeps/unix/opendir.c: Renamed to ...
31706 * sysdeps/posix/opendir.c: ... here.
31707 * sysdeps/unix/readdir.c: Renamed to ...
31708 * sysdeps/posix/readdir.c: ... here.
31709 * sysdeps/unix/readdir_r.c: Renamed to ...
31710 * sysdeps/posix/readdir_r.c: ... here.
31711 * sysdeps/unix/rewinddir.c: Renamed to ...
31712 * sysdeps/posix/rewinddir.c: ... here.
31713 * sysdeps/unix/seekdir.c: Renamed to ...
31714 * sysdeps/posix/seekdir.c: ... here.
31715 * sysdeps/unix/telldir.c: Renamed to ...
31716 * sysdeps/posix/telldir.c: ... here.
31717 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31718 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31719 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31720 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31723 * bits/fcntl.h: ... here.
31725 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31727 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31728 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31729 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31730 (struct flock): Move l_start, l_len to the beginning.
31731 Use __pid_t for l_pid.
31732 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31733 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31734 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31735 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31736 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31737 [__USE_LARGEFILE64] (struct flock64): New type.
31738 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31741 * bits/dirent.h: ... here.
31743 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31744 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31746 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31749 Change from 2.6.0 to 2.6.16.
31750 * sysdeps/unix/sysv/linux/configure: Regenerated.
31751 * sysdeps/unix/sysv/linux/kernel-features.h
31752 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31753 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31755 (__ASSUME_UTIMES): Likewise.
31756 (__ASSUME_CLONE_STOPPED): Remove.
31757 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31758 architectures, not kernel version.
31759 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31760 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31761 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31762 (__ASSUME_WAITID_SYSCALL): Likewise.
31763 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31764 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31765 * README: State 2.6.16 as minimum Linux kernel version. Do not
31766 refer to older versions.
31768 2012-08-06 Roland McGrath <roland@hack.frob.com>
31770 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31771 Define alphasort64 as an alias.
31772 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31773 Define versionsort64 as an alias.
31774 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31775 Define scandir64 as an alias.
31776 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31777 Define scandirat64 as an alias.
31778 * dirent/alphasort64.c (alphasort64):
31779 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31780 * dirent/versionsort64.c: Likewise.
31781 * dirent/scandir64.c: Likewise.
31782 * dirent/scandirat64.c: Likewise.
31783 * sysdeps/wordsize-64/alphasort.c: File removed.
31784 * sysdeps/wordsize-64/alphasort64.c: File removed.
31785 * sysdeps/wordsize-64/scandir.c: File removed.
31786 * sysdeps/wordsize-64/scandir64.c: File removed.
31787 * sysdeps/wordsize-64/scandirat.c: File removed.
31788 * sysdeps/wordsize-64/scandirat64.c: File removed.
31789 * sysdeps/wordsize-64/versionsort.c: File removed.
31790 * sysdeps/wordsize-64/versionsort64.c: File removed.
31791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31800 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31802 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31804 [defined __arch64__ || defined __sparcv9]
31805 (__INO_T_MATCHES_INO64_T): New macro.
31806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31807 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31808 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31809 * sysdeps/unix/sysv/linux/bits/dirent.h
31810 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31811 (_DIRENT_MATCHES_DIRENT64): New macro.
31813 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31814 Define lockf64 as an alias.
31815 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31816 Define fseeko64 as an alias.
31817 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31818 Define ftello64 as an alias.
31819 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31820 Define _IO_fgetpos64 and fgetpos64 as aliases.
31821 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31822 Define _IO_fsetpos64 and fsetpos64 as aliases.
31823 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31824 Conditionalize body on this.
31825 * libio/fseeko64.c: Likewise.
31826 * libio/ftello64.c: Likewise.
31827 * libio/iofgetpos64.c: Likewise.
31828 * libio/iofsetpos64.c: Likewise.
31829 * sysdeps/wordsize-64/lockf.c: File removed.
31830 * sysdeps/wordsize-64/lockf64.c: File removed.
31831 * sysdeps/wordsize-64/fseeko.c: File removed.
31832 * sysdeps/wordsize-64/fseeko64.c: File removed.
31833 * sysdeps/wordsize-64/ftello.c: File removed.
31834 * sysdeps/wordsize-64/ftello64.c: File removed.
31835 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31836 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31837 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31838 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31842 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31844 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31850 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31852 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31854 [defined __arch64__ || defined __sparcv9]
31855 (__OFF_T_MATCHES_OFF64_T): New macro.
31856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31857 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31859 (__OFF_T_MATCHES_OFF64_T): New macro.
31861 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31863 * stdlib/secure-getenv.c (__secure_getenv): Replace
31864 GLIBC_2_16 with GLIBC_2_17.
31866 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31869 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31871 2012-08-03 David S. Miller <davem@davemloft.net>
31873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31875 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31879 (__ASSUME_CORRECT_SI_PID): Likewise.
31880 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31881 (__ASSUME_TMPFS_NAME): Likewise.
31882 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31883 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31885 (HAVE_AUX_SECURE): Make definition unconditional.
31886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31887 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31889 2012-08-03 Roland McGrath <roland@hack.frob.com>
31891 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31892 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31893 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31894 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31895 __eloop_threshold instead of SYMLOOP_MAX.
31897 * sysdeps/generic/eloop-threshold.h: New file.
31898 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31900 * elf/chroot_canon.c (chroot_canon): Likewise.
31902 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31906 Change to 2.6.0 everywhere.
31907 * sysdeps/unix/sysv/linux/configure: Regenerated.
31908 * sysdeps/unix/sysv/linux/kernel-features.h
31909 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31910 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31912 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31913 (__ASSUME_FUTEX_REQUEUE): Remove.
31914 (__ASSUME_STATFS64): Define unconditionally.
31915 (__ASSUME_AT_SECURE): Likewise.
31916 (__ASSUME_CORRECT_SI_PID): Likewise.
31917 (__ASSUME_TGKILL): Define without depending on kernel version for
31919 (__ASSUME_UTIMES): Likewise.
31920 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31922 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31923 (__ASSUME_TMPFS_NAME): Likewise.
31924 * README: Update reference to Linux kernel versions.
31926 2012-08-02 Marek Polacek <polacek@redhat.com>
31929 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31930 libc_cv_asm_type_prefix with %.
31931 * configure: Regenerated.
31932 * include/libc-symbols.h: Remove comment about
31933 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31934 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31935 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31936 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31937 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31938 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31940 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31941 * elf/tst-unique2mod1.c: Likewise.
31942 * elf/tst-unique1mod2.c: Likewise.
31943 * elf/tst-unique1mod1.c: Likewise.
31944 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31945 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31946 Replace ASM_TYPE_DIRECTIVE with .type.
31947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31948 * sysdeps/i386/sysdep.h: Likewise.
31949 * sysdeps/x86_64/sysdep.h: Likewise.
31950 * sysdeps/sh/sysdep.h: Likewise.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31952 Do not define ASM_TYPE_DIRECTIVE.
31953 * sysdeps/powerpc/sysdep.h: Likewise.
31954 * sysdeps/powerpc/powerpc32/sysdep.h:
31955 Replace ASM_TYPE_DIRECTIVE with .type.
31956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31957 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31958 * sysdeps/i386/fpu/e_powf.S: Likewise.
31959 * sysdeps/i386/fpu/e_expl.S: Likewise.
31960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31961 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31962 * sysdeps/i386/fpu/e_pow.S: Likewise.
31963 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31965 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31966 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31967 * sysdeps/i386/fpu/e_log2.S: Likewise.
31968 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31969 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31970 * sysdeps/i386/fpu/e_powl.S: Likewise.
31971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31973 * sysdeps/i386/fpu/e_logl.S: Likewise.
31974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31979 * sysdeps/i386/fpu/e_log.S: Likewise.
31980 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31981 * sysdeps/i386/fpu/e_logf.S: Likewise.
31982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31985 * sysdeps/i386/fpu/e_log10.S: Likewise.
31986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31993 * sysdeps/i386/i686/strtok.S: Likewise.
31994 * sysdeps/i386/i386-mcount.S: Likewise.
31995 * sysdeps/i386/strtok.S: Likewise.
31996 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32002 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32003 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32005 * sysdeps/x86_64/_mcount.S: Likewise.
32006 * sysdeps/x86_64/strtok.S: Likewise.
32007 * sysdeps/sh/_mcount.S: Likewise.
32009 2012-08-01 Roland McGrath <roland@hack.frob.com>
32011 * libio/iofopen.c: Include <fcntl.h>.
32012 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32013 (_IO_fopen64, fopen64): Define as aliases.
32014 * libio/iofopen64.c: Include <fcntl.h>.
32015 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32016 Conditionalize body on this.
32017 * sysdeps/wordsize-64/iofopen.c: File removed.
32018 * sysdeps/wordsize-64/iofopen64.c: File removed.
32020 2012-08-01 Marek Polacek <polacek@redhat.com>
32022 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32023 Use dlfcn directly instead of a variable.
32024 (binfmt-subdir): Do not define.
32027 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32030 Remove all definitions.
32031 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32032 <kernel-features.h>.
32033 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32034 (miss_F_GETOWN_EX): Remove all definitions.
32035 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32037 [!__ASSUME_FCNTL64]: Remove conditional code.
32038 [__ASSUME_FCNTL64]: Make code unconditional.
32039 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32040 <kernel-features.h>.
32041 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32042 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32043 (lockf64) [__NR_fcntl64]: Make code unconditional.
32044 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32046 * sysdeps/unix/sysv/linux/kernel-features.h
32047 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32048 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32049 Make code unconditional.
32050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32053 [__NR_vfork]: Make code unconditional.
32054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32057 [__NR_vfork]: Make code unconditional.
32058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32061 2012-08-01 Roland McGrath <roland@hack.frob.com>
32063 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32064 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32066 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32067 Define mkstemp64 as an alias.
32068 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32069 Define mkstemps64 as an alias.
32070 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32071 Define mkostemp64 as an alias.
32072 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32073 Define mkostemps64 as an alias.
32074 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32075 Conditionalize body on this.
32076 * misc/mkostemp64.c: Likewise.
32077 * misc/mkostemps64.c: Likewise.
32078 * misc/mkstemps64.c: Likewise.
32079 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32080 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32081 * sysdeps/wordsize-64/mkostemp.c: File removed.
32082 * sysdeps/wordsize-64/mkstemp.c: File removed.
32083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32086 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32089 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32091 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32092 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32094 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32095 compat_symbol macros from <shlib-compat.h> rather than the underlying
32096 default_symbol_version and symbol_version macros, so that DEFAULT
32097 lines in shlib-versions are respected.
32098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32100 2012-08-01 Florian Weimer <fweimer@redhat.com>
32102 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32103 Declare with warn_unused_result.
32104 (setgid, setregid, setegid, setresgid): Likewise.
32105 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32107 * WUR-REPORT: Remove set*id functions.
32109 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32111 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32113 2012-07-31 Roland McGrath <roland@hack.frob.com>
32116 * include/sys/socket.h (__libc_accept, __libc_accept4):
32117 Add attribute_hidden.
32118 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32122 * inet/getnetgrent_r.c (setup): Likewise.
32124 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32126 2012-07-31 David S. Miller <davem@davemloft.net>
32128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32130 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32133 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32134 value between 1.0 and 2.0 and smaller part has absolute value less
32136 * math/s_clog10.c (__clog10): Likewise.
32137 * math/s_clog10f.c (__clog10f): Likewise.
32138 * math/s_clog10l.c (__clog10l): Likewise.
32139 * math/s_clogf.c (__clogf): Likewise.
32140 * math/s_clogl.c (__clogl): Likewise.
32141 * math/libm-test.inc (clog_test): Add more tests.
32142 (clog10_test): Likewise.
32143 * sysdeps/i386/fpu/libm-test-ulps: Update.
32144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32146 2012-07-31 Florian Weimer <fweimer@redhat.com>
32148 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32149 Exit with zero in case no suitable GID is found, and write a
32150 message to standard error.
32152 2012-07-30 Roland McGrath <roland@hack.frob.com>
32154 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32156 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32157 (MAXPATHLEN): Removed.
32158 (NOGROUP, NODEV): New macros.
32159 (setbit, clrbit, isset, isclr): New macros.
32160 (howmany, roundup, powerof2): New macros.
32161 (DEV_BSIZE): New macro.
32163 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32164 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32166 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32167 definition on [!__NO_LONG_DOUBLE_MATH].
32169 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32170 PTR_MANGLE and PTR_DEMANGLE.
32172 * socket/accept4.c (accept4): Rename to __libc_accept4.
32173 Define accept4 as a weak alias.
32175 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32176 on [_DIRENT_HAVE_D_TYPE].
32177 * io/ftw.c (ftw_dir): Likewise.
32179 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32181 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32183 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32184 Use the BSD numbers rather than the arbitrary ones we had.
32185 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32186 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32187 (SIGXCPU, SIGXFSZ): New macros.
32190 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32191 initializer on [_LIBC_REENTRANT].
32193 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32194 definitions inside [_POSIX_MAPPED_FILES].
32196 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32198 * dirent/opendir.c: Include <fcntl.h>.
32200 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32201 (__libc_getspecific): Likewise.
32202 (__libc_key_create): Likewise.
32204 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32205 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32206 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32207 (tmpfile64): Define as alias.
32208 * sysdeps/wordsize-64/tmpfile.c: File removed.
32209 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32213 * stdio-common/vfscanf.c: Include <stdbool.h>.
32214 * nss/makedb.c: Likewise.
32215 * stdio-common/_i18n_number.h: Likewise.
32216 * argp/argp-help.c: Likewise.
32217 * posix/wordexp.c: Likewise.
32218 * sysdeps/posix/spawni.c: Likewise.
32219 * nss/nss_files/files-initgroups.c: Likewise.
32220 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32221 * nss/nss_files/files-initgroups.c: Likewise.
32222 * nss/nss_db/db-netgrp.c: Likewise.
32223 * nss/nss_db/db-initgroups.c: Likewise.
32224 * io/fchmodat.c: Include <sys/stat.h>.
32226 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32227 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32229 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32232 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32233 Add multiple inclusion protection.
32235 2012-07-27 David S. Miller <davem@davemloft.net>
32237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32239 2012-07-27 Gary Benson <gbenson@redhat.com>
32242 * elf/rtld.c: Include <stap-probe.h>.
32243 (dl_main): Added static probes "init_start" and "init_complete".
32244 * elf/dl-load.c: Include <stap-probe.h>.
32245 (lose): Take new parameter "nsid".
32246 Added static probe "map_failed".
32247 (_dl_map_object_from_fd): Pass namespace id to lose.
32248 Added static probe "map_start".
32249 (open_verify): Pass namespace id to lose.
32250 * elf/dl-open.c: Include <stap-probe.h>.
32251 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32252 and "reloc_complete".
32253 * elf/dl-close.c: Include <stap-probe.h>.
32254 (_dl_close_worker): Added static probes "unmap_start" and
32256 * elf/rtld-debugger-interface.txt: New file documenting the above.
32258 2012-07-26 Roland McGrath <roland@hack.frob.com>
32260 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32261 rather than a string variable.
32262 * sunrpc/rpc_main.c (h_output): Likewise.
32263 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32265 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32267 * inet/check_native.c: New file.
32269 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32272 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32273 if larger part has absolute value 1.0.
32274 * math/s_clog10.c (__clog10): Likewise.
32275 * math/s_clog10f.c (__clog10f): Likewise.
32276 * math/s_clog10l.c (__clog10l): Likewise.
32277 * math/s_clogf.c (__clogf): Likewise.
32278 * math/s_clogl.c (__clogl): Likewise.
32279 * math/libm-test.inc (clog_test): Add more tests.
32280 (clog10_test): Likewise.
32281 * sysdeps/i386/fpu/libm-test-ulps: Update.
32282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32284 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32285 (pltexit): Likewise.
32286 (La_regs): Likewise.
32287 (La_retval): Likewise.
32288 (int_retval): Likewise.
32289 Update #error for removed macros to refer only to definitions in
32291 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32293 (pltexit): Likewise.
32294 (La_regs): Likewise.
32295 (La_retval): Likewise.
32296 (int_retval): Likewise.
32297 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32299 (pltexit): Likewise.
32300 (La_regs): Likewise.
32301 (La_retval): Likewise.
32302 (int_retval): Likewise.
32303 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32305 (pltexit): Likewise.
32306 (La_regs): Likewise.
32307 (La_retval): Likewise.
32308 (int_retval): Likewise.
32309 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32311 (pltexit): Likewise.
32312 (La_regs): Likewise.
32313 (La_retval): Likewise.
32314 (int_retval): Likewise.
32315 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32317 (pltexit): Likewise.
32318 (La_regs): Likewise.
32319 (La_retval): Likewise.
32320 (int_retval): Likewise.
32321 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32323 (pltexit): Likewise.
32324 (La_regs): Likewise.
32325 (La_retval): Likewise.
32326 (int_retval): Likewise.
32327 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32328 macro definitions in tst-audit.h.
32329 * sysdeps/i386/tst-audit.h: New file.
32330 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32331 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32332 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32333 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32334 * sysdeps/sh/tst-audit.h: Likewise.
32335 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32336 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32337 * sysdeps/x86_64/tst-audit.h: Likewise.
32339 2012-07-26 Andreas Jaeger <aj@suse.de>
32341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32345 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32346 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32348 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32349 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32350 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32352 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32357 (si_call_addr, si_syscall, si_arch): Define new macro.
32358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32360 (si_call_addr, si_syscall, si_arch): Define new marcro.
32361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32363 (si_call_addr, si_syscall, si_arch): Define new macro.
32364 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32366 (si_call_addr, si_syscall, si_arch): Define new macro.
32368 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32372 Change to 2.4.21 where previously 2.4.1.
32373 * sysdeps/unix/sysv/linux/configure: Regenerated.
32374 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32375 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32376 Linux kernel version.
32377 (__ASSUME_STD_AUXV): Remove.
32378 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32380 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32381 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32382 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32383 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32384 (__ASSUME_NETLINK_SUPPORT): Likewise.
32385 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32386 (__no_netlink_support): Remove conditional definition.
32387 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32389 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32390 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32391 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32392 (if_nameindex_ioctl): Remove.
32393 (if_nameindex_netlink): Do not handle __no_netlink_support.
32394 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32396 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32397 Remove conditional code.
32398 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32400 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32402 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32403 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32404 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32406 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32407 [!__ASSUME_STD_AUXV]: Remove conditional code.
32408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32409 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32410 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32412 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32415 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32417 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32418 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32420 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32422 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32425 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32428 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32429 code unconditional.
32430 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32432 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32434 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32437 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32439 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32442 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32443 code unconditional.
32444 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32446 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32448 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32451 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32452 code unconditional.
32453 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32455 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32457 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32460 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32462 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32464 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32465 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32466 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32467 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32469 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32470 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32471 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32472 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32473 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32474 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32475 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32480 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32482 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32483 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32486 2012-07-25 Florian Weimer <fweimer@redhat.com>
32488 * Versions.def: Add GLIBC_2.17.
32489 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32490 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32491 Introduce __libc_secure_getenv.
32492 * stdlib/Versions (2.17): Add secure_getenv
32493 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32494 * stdlib/secure-getenv.c: Rename __secure_getenv to
32495 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32496 symbol __secure_getenv for GLIBC_2.0.
32497 * stdlib/tst-secure-getenv.c: New.
32498 * stdlib/Makefile (tests): Add testcase.
32499 * manual/startup.texi (Environment Access): Document
32501 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32502 __libc_secure_getenv.
32503 * inet/ruserpass.c (ruserpass): Likewise.
32504 * malloc/mtrace.c (mtrace): Likewise.
32505 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32506 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32507 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32508 * sysdeps/posix/tempname.c: Likewise. Evaluate
32509 HAVE_SECURE_GETENV.
32510 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32511 __secure_getenv to __libc_secure_getenv.
32512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32525 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32527 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32528 (struct La_i86_retval): Likewise.
32529 (struct La_x86_64_regs): Likewise.
32530 (struct La_x86_64_retval): Likewise.
32531 (struct La_x32_regs): Likewise.
32532 (struct La_x32_retval): Likewise.
32533 (struct La_ppc32_regs): Likewise.
32534 (struct La_ppc32_retval): Likewise.
32535 (struct La_ppc64_regs): Likewise.
32536 (struct La_ppc64_retval): Likewise.
32537 (struct La_sh_regs): Likewise.
32538 (struct La_sh_retval): Likewise.
32539 (struct La_s390_32_regs): Likewise.
32540 (struct La_s390_32_retval): Likewise.
32541 (struct La_s390_64_regs): Likewise.
32542 (struct La_s390_64_retval): Likewise.
32543 (struct La_sparc32_regs): Likewise.
32544 (struct La_sparc32_retval): Likewise.
32545 (struct La_sparc64_regs): Likewise.
32546 (struct La_sparc64_retval): Likewise.
32547 (struct audit_ifaces): Remove architecture-specific pltenter and
32549 * sysdeps/i386/ldsodefs.h: New file.
32550 * sysdeps/powerpc/ldsodefs.h: Likewise.
32551 * sysdeps/s390/ldsodefs.h: Likewise.
32552 * sysdeps/sh/ldsodefs.h: Likewise.
32553 * sysdeps/sparc/ldsodefs.h: Likewise.
32554 * sysdeps/x86_64/ldsodefs.h: Likewise.
32556 2012-07-25 Marek Polacek <polacek@redhat.com>
32559 * math/libm-test.inc (yn_test): Add another test.
32560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32561 to ERANGE when the result is +-Inf.
32562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32563 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32565 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32567 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32569 * conform/data/time.h-data (NULL): Use macro-constant. Require
32571 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32573 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32575 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32577 * configure.in <sysdeps resolving>: Correct printing
32579 * configure: Regenerate.
32581 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32583 * math/w_ilogb.c: Include <limits.h>.
32584 * math/w_ilogbl.c: Likewise.
32586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32588 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32589 va_copy. Document allowing for unavailable va_copy only as
32590 pre-C99 compatibility.
32591 * manual/string.texi (Copying and Concatenation): Use va_copy
32592 instead of __va_copy in concat example.
32594 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32596 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32597 (__sendto): Use create_address_port. Initialize APORT and deallocate
32600 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32601 with O_NOLINK passed to __file_name_lookup.
32603 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32604 with O_NOLINK passed to __file_name_lookup.
32606 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32607 negative N or less than NGIDS.
32609 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32610 type to string_t. Set ERANGE as errno and return it if NAME is not big
32611 enough. Use memcpy instead of strncpy.
32613 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32615 * elf/Makefile (check-data): Remove.
32616 (localplt.data): New vpath directive.
32617 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32618 instead of $(check-data).
32619 * scripts/data/localplt-generic.data: Move to ...
32620 * sysdeps/generic/localplt.data: ... here.
32621 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32622 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32623 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32626 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32629 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32632 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32635 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32638 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32642 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32644 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32645 PPC32 and PPC64 files.
32646 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32647 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32649 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32651 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32652 __makecontext_ret to ...
32653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32654 ... here and call exit if uc_link is NULL. New file.
32655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32656 __makecontext_ret.S.
32657 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32658 __makecontext_ret to ...
32659 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32660 ... here and call exit if uc_link is NULL. New file.
32661 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32662 __makecontext_ret.S.
32664 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32666 * elf/elf.h (R_390_IRELATIVE): New definition.
32667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32668 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32669 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32671 (elf_machine_lazy_rel): Likewise.
32672 * sysdeps/s390/dl-irel.h: New file.
32673 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32674 * sysdeps/s390/s390-64/memset.S: New asm code.
32675 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32676 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32677 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32678 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32679 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32680 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32682 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32683 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32684 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32685 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32686 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32687 * sysdeps/s390/s390-32/memset.S: New asm code.
32688 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32690 2012-07-17 Marek Polacek <polacek@redhat.com>
32693 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32694 * sysdeps/s390/s390-64/configure.in: Likewise.
32695 * sysdeps/sparc/configure.in: Likewise.
32696 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32697 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32698 * sysdeps/i386/configure.in: Likewise.
32699 * sysdeps/x86_64/configure.in: Likewise.
32700 * sysdeps/sh/configure.in: Likewise.
32701 * sysdeps/s390/s390-32/configure: Regenerated.
32702 * sysdeps/s390/s390-64/configure: Likewise.
32703 * sysdeps/x86_64/configure: Likewise.
32704 * sysdeps/sh/configure: Likewise.
32705 * sysdeps/powerpc/powerpc64/configure: Likewise.
32706 * sysdeps/powerpc/powerpc32/configure: Likewise.
32707 * sysdeps/sparc/configure: Likwise.
32708 * sysdeps/i386/configure: Likewise.
32710 * elf/dl-open.c: Comment fixes.
32712 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32714 * Makefile [CXX] (check-data): Remove.
32715 [CXX] (c++-types.data): New vpath directive.
32716 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32717 vpath. Do not allow for C++ type data being missing.
32718 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32719 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32720 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32721 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32722 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32723 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32724 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32727 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32730 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32733 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32736 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32739 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32742 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32745 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32748 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32749 definitions to architecture-specific files.
32750 (TLS_IE): Likewise.
32751 (TLS_LD): Likewise.
32752 (TLS_GD): Likewise.
32753 * sysdeps/i386/tls-macros.h: New file.
32754 * sysdeps/powerpc/tls-macros.h: Likewise.
32755 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32756 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32757 * sysdeps/sh/tls-macros.h: Likewise.
32758 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32759 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32760 * sysdeps/x86_64/tls-macros.h: Likewise.
32762 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32765 zero value for regular exit case.
32767 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32768 (__start_context): Preserve zero value for regular exit case.
32770 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32773 * manual/setjmp.texi (setcontext): Clarify normal process
32774 termination when uc_link is the null pointer.
32775 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32778 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32780 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32781 preprocessor. Test for each exception mask separately.
32783 2012-07-16 Andreas Jaeger <aj@suse.de>
32785 * po/ru.po: Update from translation team.
32787 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32789 * conform/data/string.h-data (NULL): Use macro-constant. Require
32791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32793 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32794 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32797 2012-07-13 Andreas Jaeger <aj@suse.de>
32799 * po/fr.po: Update from translation team.
32801 2012-07-12 Marek Polacek <polacek@redhat.com>
32804 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32808 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32812 Change to 2.4.1 where previously 2.4.0.
32813 * sysdeps/unix/sysv/linux/configure: Regenerated.
32814 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32815 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32817 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32818 (__ASSUME_AT_CLKTCK): Remove.
32819 (__ASSUME_AT_PAGESIZE): Likewise.
32820 (__ASSUME_AT_XID): Likewise.
32821 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32822 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32823 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32825 (HAVE_AUX_PAGESIZE): Likewise.
32826 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32827 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32828 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32830 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32834 the temporary buffer used to invoke __gethostbyname2_r,
32835 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32836 host_data / struct gaih_addrtuple.
32837 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32838 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32839 header file nss/nsswitch.h.
32840 * nss/nsswitch.h (global scope): Add definition of implementation
32841 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32842 resolv/nss_dns/dns-host.c).
32844 2012-07-11 Andreas Jaeger <aj@suse.de>
32846 * po/fr.po: Update from translation team.
32848 * po/sv.po: Update from translation team
32849 * po/fr.po: Another update from translation team.
32851 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32854 for subnormals or multiply small sinh result by itself.
32855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32858 2012-07-11 David S. Miller <davem@davemloft.net>
32860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32862 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32865 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32866 (INTERNAL_MARK): Shift it here.
32868 2012-07-10 Marek Polacek <polacek@redhat.com>
32871 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32872 libc_cv_asm_global_directive with .globl.
32873 * configure: Regenerated.
32874 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32876 * sysdeps/i386/configure: Regenerated.
32877 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32879 * sysdeps/x86_64/configure: Regenerated.
32880 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32881 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32882 * elf/tst-unique2mod2.c: Likewise.
32883 * elf/tst-unique2mod1.c: Likewise.
32884 * elf/tst-unique1mod2.c: Likewise.
32885 * elf/tst-unique1mod1.c: Likewise.
32886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32890 * sysdeps/mach/sysdep.h: Likewise.
32891 * sysdeps/i386/sysdep.h: Likewise.
32892 * sysdeps/i386/i386-mcount.S: Likewise.
32893 * sysdeps/x86_64/_mcount.S: Likewise.
32894 * sysdeps/x86_64/sysdep.h: Likewise.
32895 * sysdeps/sh/_mcount.S: Likewise.
32896 * sysdeps/sh/sysdep.h: Likewise.
32897 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32898 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32899 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32901 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32902 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32903 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32904 * locale/localeinfo.h: Likewise.
32905 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32906 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32908 2012-07-09 Roland McGrath <roland@hack.frob.com>
32911 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32913 * manual/message.texi (The Uniforum approach): Likewise.
32914 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32915 (glibc iconv Implementation): Likewise.
32917 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32920 * math/s_clog.c (__clog): Avoid scaling a value down where that
32921 could result in underflow.
32922 * math/s_clog10.c (__clog10): Likewise.
32923 * math/s_clog10f.c (__clog10f): Likewise.
32924 * math/s_clog10l.c (__clog10l): Likewise.
32925 * math/s_clogf.c (__clogf): Likewise.
32926 * math/s_clogl.c (__clogl): Likewise.
32927 * math/libm-test.inc (clog_test): Add more tests.
32928 (clog10_test): Likewise.
32929 * sysdeps/i386/fpu/libm-test-ulps: Update.
32930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32932 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32936 by 7 not 8 to examine high bit of fractional part.
32939 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32940 for call to __mcount_internal.
32941 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32942 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32943 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32945 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32948 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32949 approximation for values within 0x1p-13f of an odd multiple of
32951 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32952 exception. Add more tests.
32953 * sysdeps/i386/fpu/libm-test-ulps: Update.
32956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32957 inputs and return -1 for them. Do not check for +Inf in case not
32958 reachable for +Inf.
32959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32960 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32962 and return -1 for them. Do not check for +Inf in case not
32963 reachable for +Inf.
32964 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32967 and return -1 for them. Do not check for +Inf in case not
32968 reachable for +Inf.
32969 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32970 spurious underflow.
32971 * sysdeps/i386/fpu/libm-test-ulps: Update.
32972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32974 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32976 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32978 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32982 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32983 could result in spurious underflow. Scale down values above
32984 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32985 * math/s_csqrtf.c (__csqrtf): Likewise.
32986 * math/s_csqrtl.c (__csqrtl): Likewise.
32987 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32988 spurious underflow.
32989 * sysdeps/i386/fpu/libm-test-ulps: Update.
32990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32992 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32994 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32996 * catgets/xopen-msg.awk: New file.
32997 * catgets/xopen-msg.sed: Removed.
32999 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33001 * intl/po2test.awk: New file.
33002 * intl/po2test.sed: Removed.
33004 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33007 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33008 or multiply small sinh result by itself.
33009 * math/s_ctanf.c (__ctanf): Likewise.
33010 * math/s_ctanh.c (__ctanh): Likewise.
33011 * math/s_ctanhf.c (__ctanhf): Likewise.
33012 * math/s_ctanhl.c (__ctanhl): Likewise.
33013 * math/s_ctanl.c (__ctanl): Likewise.
33014 * math/libm-test.inc (ctan_test_tonearest): New function.
33015 (ctan_test_towardzero): Likewise.
33016 (ctan_test_downward): Likewise.
33017 (ctan_test_upward): Likewise.
33018 (ctanh_test_tonearest): Likewise.
33019 (ctanh_test_towardzero): Likewise.
33020 (ctanh_test_downward): Likewise.
33021 (ctanh_test_upward): Likewise.
33022 (main): Call these new functions.
33023 * sysdeps/i386/fpu/libm-test-ulps: Update.
33024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33026 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33028 * .gitignore: Delete /ports entry.
33030 2012-07-03 Andreas Jaeger <aj@suse.de>
33032 * po/bg.po: Update from translation team.
33033 * po/cs.po: Likewise.
33034 * po/de.po: Likewise.
33035 * po/hr.po: Likewise.
33036 * po/nl.pl: Likewise.
33037 * po/pl.po: Likewise.
33038 * po/vi.po: Likewise.
33040 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33042 * Makeconfig [!+link] (+link-before-libc): New variable.
33043 [!+link] (+link-after-libc): Likewise.
33044 [!+link] (+link-tests): Likewise.
33045 [!+link] (+link): Define in terms of $(+link-before-libc) and
33046 $(+link-after-libc).
33047 [!+link-static] (+link-static-before-libc): New variable.
33048 [!+link-static] (+link-static-after-libc): Likewise.
33049 [!+link-static] (+link-static-tests): Likewise.
33050 [!+link-static] (+link-static): Define in terms of
33051 $(+link-static-before-libc) and $(+link-static-after-libc).
33052 [build-shared] (link-libc-before-gnulib): New variable.
33053 [build-shared] (link-libc-tests): Likewise.
33054 [build-shared] (link-libc): Define in terms of
33055 $(link-libc-before-gnulib).
33056 [!build-shared] (link-libc-tests): New variable.
33057 (link-libc-static-tests): New variable.
33058 [!gnulib] (gnulib-arch): New variable.
33059 [!gnulib] (gnulib-tests): Likewise.
33060 [!gnulib] (static-gnulib-arch): Likewise.
33061 [!gnulib] (static-gnulib-tests): Likewise.
33062 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33063 Define with "=" instead of ":=".
33064 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33065 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33066 * Rules (binaries-all-notests): New variable.
33067 (binaries-all-tests): Likewise.
33068 (binaries-static-notests): Likewise.
33069 (binaries-static-tests): Likewise.
33070 (binaries-all): Define using $(binaries-all-notests) and
33071 $(binaries-all-tests).
33072 (binaries-static): Define using $(binaries-static-notests) and
33073 $(binaries-static-tests).
33074 (binaries-shared-tests): New variable.
33075 (binaries-shared-notests): Likewise.
33076 (binaries-shared): Remove variable.
33077 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33078 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33079 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33080 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33081 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33082 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33083 * elf/Makefile (sln-modules): New variable.
33084 (extra-objs): Add $(sln-modules:=.o).
33085 (ldconfig-modules): Add static-stubs.
33086 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33087 * elf/static-stubs.c: New file.
33090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33091 by 7 not 8 to examine high bit of fractional part. Use volatile
33092 variables when splitting into final array of floats if
33093 __FLT_EVAL_METHOD__ != 0.
33094 * math/libm-test.inc (cos_test): Add another test.
33095 (sin_test): Likewise.
33096 * sysdeps/i386/fpu/libm-test-ulps: Update.
33099 * math/libm-test.inc (cosh_test): Add more tests.
33101 * version.h (RELEASE): Set to "development".
33102 (VERSION): Set to "2.16.90".
33104 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33106 * NEWS: Update copyright. Remove last-updated date.
33107 Mention math library bug fixes and timezone data changes.
33108 * README: Mention GNU/Hurd, x32, and HPPA support status.
33110 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33112 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33114 2012-06-27 Andreas Jaeger <aj@suse.de>
33116 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33118 2012-06-25 Andreas Jaeger <aj@suse.de>
33120 * sysdeps/s390/fpu/libm-test-ulps: Update.
33122 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33123 Thomas Schwinge <thomas@codesourcery.com>
33125 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33126 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33130 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33132 * sysdeps/mach/start.c: Remove file.
33133 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33134 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33135 * sysdeps/sh/init-first.c: Likewise.
33137 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33138 registers for frame unwinding purposes, add CFI directives.
33139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33141 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33144 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33145 __fortify_fail returning.
33146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33149 sysdeps/sh/____longjmp_chk.S.
33150 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33151 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33152 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33153 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33155 * sysdeps/sh/abort-instr.h: New file.
33156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33157 process in case exit returns.
33159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33160 initialize the GOT register before use.
33162 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33163 calculation of ARGC > 4.
33165 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33166 meaningful names to some local labels.
33168 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33169 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33172 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33173 (__arch_compare_and_exchange_val_16_acq): Likewise.
33174 (__arch_compare_and_exchange_val_32_acq): Likewise.
33175 (atomic_exchange_and_add): Fix gUSA sequence.
33176 (atomic_add): Likewise.
33177 (atomic_add_negative): Likewise.
33178 (atomic_add_zero): Likewise.
33179 (atomic_bit_test_set): Likewise.
33181 2012-06-22 Andreas Schwab <schwab@redhat.com>
33184 * include/link.h (struct link_map): Add l_free_initfini.
33185 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33187 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33188 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33189 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33192 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33194 * configure.in: Use AC_LANG_SOURCE.
33195 * configure: Regenerate.
33197 2012-06-22 Roland McGrath <roland@hack.frob.com>
33199 * configure.in (libc_cv_localstatedir): New substituted variable.
33200 * configure: Regenerated.
33201 * config.make.in (localstatedir): New variable, substituted from
33202 libc_cv_localstatedir.
33203 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33204 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33205 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33206 * sysdeps/gnu/configure: Regenerated.
33208 2012-06-21 Jeff Law <law@redhat.com>
33211 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33212 free. Simplify list management for _LIBC case.
33214 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33218 Clear sign bit of 64-bit integer value before comparing against
33221 * sysdeps/mach/configure: Regenerated.
33223 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33226 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33228 2012-06-21 Jeff Law <law@redhat.com>
33231 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33232 uint16_t for elements in the "seen" array to avoid char overflows.
33233 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33234 * elf/dl-open.c (dl_open_worker): Likewise.
33236 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33238 * scripts/list-sources.sh: Scan PORTS for translations.
33239 * po/libc.pot: Regenerated.
33241 2012-06-21 Andreas Jaeger <aj@suse.de>
33244 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33246 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33247 * bits/byteswap-16.h (__bswap_16): Likewise.
33248 * bits/byteswap.h (__bswap_constant_16): Likewise.
33250 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/i386/fpu_control.h: Removed.
33254 * sysdeps/x86_64/fpu_control.h: Moved to ...
33255 * sysdeps/x86/fpu_control.h: Here.
33257 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33258 (_FPU_SETCW): Likewise.
33260 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33263 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33264 * sysdeps/x86/fpu/bits/mathinline.h: This.
33265 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33269 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33270 functions if __x86_64__ is defined.
33272 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33274 * string/endian.h: Add !__ASSEMBLER__ condition for including
33275 conversion interfaces.
33277 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33281 of ABS(x) in calculating zero to negative powers other than odd
33283 * math/libm-test.inc (pow_test): Add more tests.
33285 2012-06-15 Andreas Jaeger <aj@suse.de>
33287 * manual/contrib.texi (Contributors): Update entry of Liubov
33288 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33291 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33293 * string/string.h: Add __wur to GNU version of strerror_r.
33295 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33298 * string/Makefile (tests): Add tst-strtok_r.
33299 * string/tst-strtok_r.c: New file.
33300 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33301 RAX_LP/RDX_LP on SAVE_PTR.
33303 2012-06-14 Roland McGrath <roland@hack.frob.com>
33305 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33307 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33309 * libm_test.inc (csqrt_test): Allow more spurious underflow
33311 (j0_test): Likewise.
33312 (j1_test): Likewise.
33313 (y0_test): Likewise.
33314 (y1_test): Likewise.
33316 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33318 * po/Makefile (libc.pot): Use UTF-8 charset.
33320 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33323 Suppress sign-conversion warning from FD_SET.
33324 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33325 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33326 not unsigned long int.
33327 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33329 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33333 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33334 __extern_always_inline instead of __extern_inline.
33335 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33336 (__signbit): Likewise.
33337 (__signbitl): Support C++ namespace.
33338 (lrintf): New inline function.
33340 (llrintf): Likewise.
33341 (llrint): Likewise.
33351 (floorf): Likewise.
33352 (nearbyint): Likewise.
33353 (nearbyintf): Likewise.
33355 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33358 non-default versions.
33360 2012-06-11 Roland McGrath <roland@hack.frob.com>
33363 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33365 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33367 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33368 (FE_UPWARD, FE_DOWNWARD): Don't define.
33369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33370 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33377 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33379 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33381 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33384 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33387 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33388 * sysdeps/i386/fpu/Implies: New file.
33389 * sysdeps/x86_64/fpu/Implies: Likewise.
33390 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33391 * sysdeps/x86/fpu/bits/fenv.h: This.
33393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33396 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33399 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33400 character 0xffff that matches the last element of the
33403 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33408 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33411 values higher than 25.6283.
33413 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33416 subnormal exponent extraction and add some __builtin_expect.
33417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33418 Fix for subnormal mantissa calculation.
33420 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33422 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33423 cpu2 is -1 and errno is not ENOSYS.
33425 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33428 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33429 * sysdeps/x86/bits/string.h: This.
33430 * sysdeps/x86_64/bits/string.h: Removed.
33432 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33433 if not compiling for x86-64, but compiling for >= i486.
33435 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33436 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33439 New macro from Linux kernel 3.4.0.
33440 (FP_XSTATE_MAGIC2): Likewise.
33441 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33442 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33443 (struct _fpx_sw_bytes): New struct.
33444 (struct _xsave_hdr): Likewise.
33445 (struct _ymmh_state): Likewise.
33446 (struct _xstate): Likewise.
33448 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33449 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33451 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33453 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33455 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33457 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33458 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33459 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33460 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33462 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33465 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33466 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33467 (sysdep_headers): Include sys/platform/ppc.h.
33468 * sysdeps/powerpc/test-gettimebase.c: Test for
33469 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33470 * manual/Makefile (appendices): Include platform.texi.
33471 * manual/contrib.texi (Contributors): Update @node pointers.
33472 * manual/maint.texi (Maintenance): Likewise.
33473 (Platform): New node.
33474 * manual/platform.texi: New file. Document the new features.
33476 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33477 Jakub Jelinek <jakub@redhat.com>
33480 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33481 where __builtin_expect is unavailable.
33483 2012-06-03 David S. Miller <davem@davemloft.net>
33485 * stdlib/longlong.h: Updated from GCC.
33487 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33490 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33491 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33494 (GLIBC_2.16): Likewise.
33496 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33500 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33503 (default-abi): New variable.
33504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33509 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33511 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33514 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33515 definition. Document in comment.
33517 2012-06-01 David S. Miller <davem@davemloft.net>
33519 * stdlib/longlong.h: Updated from GCC.
33521 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33524 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33525 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33526 sys/debugreg.h sys/io.h here.
33527 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33528 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33530 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33531 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33532 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33533 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33534 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33535 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33538 Define only if __x86_64__ is defined.
33540 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33543 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33544 Use int64_t for variable i.
33545 * math/libm-test.inc (fmod_test): Add more tests.
33547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33548 z computation is not scheduled after fetestexcept.
33549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33550 Use math_force_eval instead of asm to ensure calculation scheduled
33551 before exception test.
33552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33553 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33555 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33558 computation is not scheduled after fetestexcept.
33560 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33564 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33566 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33568 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33569 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33574 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33576 (__WCHAR_MIN): Support __WORDSIZE == 64.
33577 (__WCHAR_MAX): Likewise.
33579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33584 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33587 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33591 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33594 Defined to 1 if __x86_64__ isn't defined.
33595 (_STAT_VER_LINUX_OLD): New.
33596 (st_atime): Remove duplicate.
33597 (st_mtime): Likewise.
33598 (st_ctime): Likewise.
33600 2012-05-31 David S. Miller <davem@davemloft.net>
33602 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33605 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33607 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33611 * elf/dl-reloc.c: Include <_itoa.h>.
33612 (_dl_reloc_bad_type): Remove use of INTUSE.
33613 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33614 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33615 * stdio-common/psiginfo.c (psiginfo): Likewise.
33616 * stdio-common/psignal.c (psignal): Likewise.
33617 * string/strsignal.c (strsignal): Likewise.
33618 * include/signal.h (_sys_siglist): Declare hidden proto.
33619 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33620 INTVARDEF with libc_hidden_data_def.
33621 * stdio-common/itoa-udigits.c: Likewise.
33622 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33623 (_itoa_lower_digits_internal): Remove declaration.
33624 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33625 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33626 (_sys_sigabbrev_internal): Remove aliases.
33627 (_sys_siglist): Define hidden alias.
33629 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33634 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33637 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33638 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33640 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33642 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33643 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33644 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33645 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33647 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33648 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33660 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33663 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33664 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33666 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33670 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33671 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33680 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33681 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33683 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33685 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33686 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33687 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33693 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33695 * math/math.h (M_El): Use two more decimal places.
33696 (M_LOG2El): Likewise.
33697 (M_LOG10El): Likewise.
33698 (M_LN2l): Likewise.
33699 (M_LN10l): Likewise.
33701 (M_PI_2l): Likewise.
33702 (M_PI_4l): Likewise.
33703 (M_1_PIl): Likewise.
33704 (M_2_PIl): Likewise.
33705 (M_2_SQRTPIl): Likewise.
33706 (M_SQRT2l): Likewise.
33707 (M_SQRT1_2l): Likewise.
33709 2012-05-31 David S. Miller <davem@davemloft.net>
33711 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33712 values between float registers.
33713 * sysdeps/sparc/sparc64/memset.S: Likewise.
33714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33716 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33718 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33719 -D_FORTIFY_SOURCE=1.
33720 (CPPFLAGS-tst-longjmp_chk.c): Define.
33721 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33722 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33723 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33724 CFLAGS-tst-wchar-h.c.
33726 2012-05-31 Marek Polacek <polacek@redhat.com>
33729 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33730 __endmntent_internal): Remove declaration.
33731 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33732 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33733 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33735 2012-05-30 David S. Miller <davem@davemloft.net>
33737 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33738 (___Q_simulate_exceptions): Use real FP ops rather than writing
33740 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33746 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33747 * sysdeps/x86/bits/xtitypes.h: This.
33749 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33750 * sysdeps/x86/bits/wordsize.h: This.
33752 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33753 * sysdeps/x86/bits/huge_vall.h: This.
33755 * sysdeps/i386/bits/select.h: Removed.
33756 * sysdeps/x86_64/bits/select.h: Renamed to ...
33757 * sysdeps/x86/bits/select.h: This.
33759 * sysdeps/i386/bits/setjmp.h: Removed.
33760 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33761 * sysdeps/x86/bits/setjmp.h: This.
33763 * sysdeps/i386/bits/mathdef.h: Removed.
33764 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33765 * sysdeps/x86/bits/mathdef.h: This.
33767 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33770 * include/sys/socket.h (__connect_internal)
33771 (__libc_sa_len_internal): Remove declaration.
33772 (__connect, __libc_sa_len): Declare hidden_proto.
33773 (SA_LEN): Remove use of INTUSE.
33774 * socket/connect.c: Add libc_hidden_def.
33775 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33776 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33777 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33781 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33782 of adding _internal alias.
33784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/i386/bits/link.h: Removed.
33788 * sysdeps/i386/bits/linkmap.h: Likewise.
33789 * sysdeps/x86_64/bits/link.h: Renamed to ...
33790 * sysdeps/x86/bits/link.h: This.
33791 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33792 * sysdeps/x86/bits/linkmap.h: This.
33794 * sysdeps/i386/bits/endian.h: Removed.
33795 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33796 * sysdeps/x86/bits/endian.h: This.
33798 * sysdeps/i386/bits/byteswap.h: Removed.
33799 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33800 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33801 * sysdeps/x86/bits/byteswap.h: This.
33802 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33803 * sysdeps/x86/bits/byteswap-16.h: This.
33804 * sysdeps/i386/Implies: Add x86.
33805 * sysdeps/x86_64/Implies: Likewise.
33807 2012-05-30 David S. Miller <davem@davemloft.net>
33809 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33810 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33812 (FP_TRAPPING_EXCEPTIONS): Define.
33813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33814 (FP_TRAPPING_EXCEPTIONS): Define.
33815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33816 subnormals only when inexact has been signalled or underflow
33817 exceptions are enabled.
33818 (_FP_PACK_CANONICAL): Likewise.
33820 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33824 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33826 2012-05-30 Richard Henderson <rth@twiddle.net>
33828 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33829 with #ifndef NOT_IN_libc.
33831 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33832 marked to avoid plt entry.
33834 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33837 * Makeconfig (default-abi): New macro.
33838 (abi-includes): Likewise.
33839 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33840 $(abi-$(default-abi)-lib-soname) for soname if defined.
33841 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33843 * Makefile (installed-stubs): Likewise.
33844 * include/stubs-biarch.h: Removed.
33845 * scripts/lib-names.awk: Only handle one library at a time.
33846 * scripts/soversions.awk: Remove WORDSIZE support.
33847 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33849 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33851 (syscall-list-default-condition): Likewise.
33852 (syscall-list-default-condition): Likewise.
33853 (syscall-list-includes): Likewise.
33854 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33855 syscall-list-* with abi-*. Handle undefined abi-variants.
33856 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33857 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33858 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33859 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33860 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33861 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33863 (syscall-list-32-options): Likewise.
33864 (syscall-list-32-condition): Likewise.
33865 (syscall-list-64-options): Likewise.
33866 (syscall-list-64-condition): Likewise.
33867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33869 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33872 (abi-64-ld-soname): New macro.
33873 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33874 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33877 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33878 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33880 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33882 * sysdeps/unix/sysv/linux/kernel-features.h
33883 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33884 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33885 include <kernel-features.h>.
33886 [!__NR_ftruncate64]: Remove conditional code.
33887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33888 [__NR_ftruncate64]: Make code unconditional.
33889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33890 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33891 include <kernel-features.h>.
33892 [!__NR_ftruncate64]: Remove conditional code.
33893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33894 [__NR_ftruncate64]: Make code unconditional.
33895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33897 include <kernel-features.h>.
33898 [!__NR_ftruncate64]: Remove conditional code.
33899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33900 [__NR_ftruncate64]: Make code unconditional.
33901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33903 include <kernel-features.h>.
33904 [!__NR_ftruncate64]: Remove conditional code.
33905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33906 [__NR_ftruncate64]: Make code unconditional.
33907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33909 * configure.in (libc_cv_fpie): Weaken to a compile test using
33910 LIBC_TRY_CC_OPTION.
33911 * configure: Regenerated.
33913 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33928 2012-05-27 David S. Miller <davem@davemloft.net>
33930 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33932 (__Q_simulate_exceptions): Return void. Change to simulate
33933 exceptions by writing into the %fsr.
33934 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33935 (__Qp_handle_exceptions): Likewise.
33937 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33938 __Qp_handle_exceptions.
33939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33940 __Qp_handle_exceptions.
33941 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33942 as unused and give dummy FP_RND_NEAREST initializer.
33943 (FP_INHIBIT_RESULTS): Define.
33944 (___Q_simulate_exceptions): Update declaration.
33945 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33948 as unused and give dummy FP_RND_NEAREST initializer.
33949 (__Qp_handle_exceptions): Update declaration.
33950 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33953 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33955 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33956 the temporary FPU control word.
33957 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33958 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33959 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33960 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33961 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33963 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33965 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33966 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33969 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33974 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33976 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33977 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33981 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33982 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33985 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33987 * po/h.po: Update from translation team.
33989 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33991 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33994 handling of denormals.
33995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33996 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33998 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34004 2012-05-26 Marek Polacek <polacek@redhat.com>
34007 * math/libm-test.inc (fma_test): Don't always expect underflow
34010 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34013 * elf/tst-execstack.c: Include stackinfo.h.
34014 (do_test): Adjust test case to ensure that pthread_getattr_np
34015 behaviour remains the same after marking stack executable.
34017 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34019 * sysdeps/unix/sysv/linux/kernel-features.h
34020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34025 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34030 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34032 * configure.in: Define the default includes to being none.
34033 * configure: Regenerated.
34035 2012-05-25 Roland McGrath <roland@hack.frob.com>
34037 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34038 * sysdeps/x86_64/setjmp.S: Likewise.
34039 * sysdeps/i386/bsd-setjmp.S: Likewise.
34040 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34041 * sysdeps/i386/setjmp.S: Likewise.
34042 * sysdeps/i386/__longjmp.S: Likewise.
34043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34046 * include/stap-probe.h: New file.
34047 * configure.in: Handle --enable-systemtap.
34048 * configure: Regenerated.
34049 * config.h.in (USE_STAP_PROBE): New #undef.
34050 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34051 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34052 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34054 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34058 to 2.4.0 where earlier.
34059 * sysdeps/unix/sysv/linux/configure: Regenerated.
34060 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34061 <kernel-features.h>.
34062 [__ASSUME_32BITUIDS]: Make code unconditional.
34063 [!__ASSUME_32BITUIDS]: Remove conditional code.
34064 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34065 <kernel-features.h>.
34066 [__ASSUME_32BITUIDS]: Make code unconditional.
34067 [!__ASSUME_32BITUIDS]: Remove conditional code.
34068 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34069 [__ASSUME_32BITUIDS]: Make code unconditional.
34070 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34071 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34072 <kernel-features.h>.
34073 [__ASSUME_32BITUIDS]: Make code unconditional.
34074 [!__ASSUME_32BITUIDS]: Remove conditional code.
34075 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34076 <kernel-features.h>.
34077 [__ASSUME_32BITUIDS]: Make code unconditional.
34078 [!__ASSUME_32BITUIDS]: Remove conditional code.
34079 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34080 <kernel-features.h>.
34081 [__ASSUME_32BITUIDS]: Make code unconditional.
34082 [!__ASSUME_32BITUIDS]: Remove conditional code.
34083 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34084 <kernel-features.h>.
34085 [__ASSUME_32BITUIDS]: Make code unconditional.
34086 [!__ASSUME_32BITUIDS]: Remove conditional code.
34087 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
34096 <kernel-features.h>.
34097 [__ASSUME_32BITUIDS]: Make code unconditional.
34098 [!__ASSUME_32BITUIDS]: Remove conditional code.
34099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34100 <kernel-features.h>.
34101 [__ASSUME_32BITUIDS]: Make code unconditional.
34102 [!__ASSUME_32BITUIDS]: Remove conditional code.
34103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34104 <kernel-features.h>.
34105 [__ASSUME_32BITUIDS]: Make code unconditional.
34106 [!__ASSUME_32BITUIDS]: Remove conditional code.
34107 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34108 <kernel-features.h>.
34109 [__ASSUME_32BITUIDS]: Make code unconditional.
34110 [!__ASSUME_32BITUIDS]: Remove conditional code.
34111 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34112 <kernel-features.h>.
34113 [__NR_setresgid] (__setresgid): Do not declare.
34114 [__ASSUME_32BITUIDS]: Make code unconditional.
34115 [!__ASSUME_32BITUIDS]: Remove conditional code.
34116 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34117 <kernel-features.h>.
34118 [__NR_setresuid] (__setresuid): Do not declare.
34119 [__ASSUME_32BITUIDS]: Make code unconditional.
34120 [!__ASSUME_32BITUIDS]: Remove conditional code.
34121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34122 <kernel-features.h>.
34123 [__ASSUME_32BITUIDS]: Make code unconditional.
34124 [!__ASSUME_32BITUIDS]: Remove conditional code.
34125 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34126 <kernel-features.h>.
34127 [__ASSUME_32BITUIDS]: Make code unconditional.
34128 [!__ASSUME_32BITUIDS]: Remove conditional code.
34129 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34130 <kernel-features.h>.
34131 [__ASSUME_32BITUIDS]: Make code unconditional.
34132 [!__ASSUME_32BITUIDS]: Remove conditional code.
34133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34134 <kernel-features.h>.
34135 [__ASSUME_32BITUIDS]: Make code unconditional.
34136 [!__ASSUME_32BITUIDS]: Remove conditional code.
34137 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34138 <kernel-features.h>.
34139 [__ASSUME_32BITUIDS]: Make code unconditional.
34140 [!__ASSUME_32BITUIDS]: Remove conditional code.
34141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34142 <kernel-features.h>.
34143 [__ASSUME_32BITUIDS]: Make code unconditional.
34144 [!__ASSUME_32BITUIDS]: Remove conditional code.
34145 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34146 <kernel-features.h>.
34147 [__ASSUME_32BITUIDS]: Make code unconditional.
34148 [!__ASSUME_32BITUIDS]: Remove conditional code.
34149 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34150 <kernel-features.h>.
34151 [__ASSUME_32BITUIDS]: Make code unconditional.
34152 [!__ASSUME_32BITUIDS]: Remove conditional code.
34153 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34154 <kernel-features.h>.
34155 [__ASSUME_32BITUIDS]: Make code unconditional.
34156 [!__ASSUME_32BITUIDS]: Remove conditional code.
34157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34158 <kernel-features.h>.
34159 [__ASSUME_32BITUIDS]: Make code unconditional.
34160 [!__ASSUME_32BITUIDS]: Remove conditional code.
34161 * sysdeps/unix/sysv/linux/kernel-features.h
34162 (__ASSUME_SETRESUID_SYSCALL): Remove.
34163 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34164 (__ASSUME_32BITUIDS): Likewise.
34165 (__ASSUME_LDT_WORKS): Likewise.
34166 (__ASSUME_O_DIRECTORY): Likewise.
34167 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34168 architecture but not kernel version.
34169 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34170 (__ASSUME_MMAP2_SYSCALL): Likewise.
34171 (__ASSUME_STAT64_SYSCALL): Likewise.
34172 (__ASSUME_IPC64): Likewise.
34173 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34174 <kernel-features.h>.
34175 [__ASSUME_32BITUIDS]: Make code unconditional.
34176 [!__ASSUME_32BITUIDS]: Remove conditional code.
34177 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34178 <kernel-features.h>.
34179 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34180 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34181 132096]: Remove conditional code.
34182 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34184 <kernel-features.h>.
34185 [__ASSUME_32BITUIDS]: Make code unconditional.
34186 [!__ASSUME_32BITUIDS]: Remove conditional code.
34187 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34188 <kernel-features.h>.
34189 [__ASSUME_32BITUIDS]: Make code unconditional.
34190 [!__ASSUME_32BITUIDS]: Remove conditional code.
34191 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34192 <kernel-features.h>.
34193 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34195 (__setresgid): Do not declare.
34196 [__ASSUME_32BITUIDS]: Make code unconditional.
34197 [!__ASSUME_32BITUIDS]: Remove conditional code.
34198 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34199 <kernel-features.h>.
34200 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34202 (__setresuid): Do not declare.
34203 [__ASSUME_32BITUIDS]: Make code unconditional.
34204 [!__ASSUME_32BITUIDS]: Remove conditional code.
34205 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34206 <kernel-features.h>.
34207 [__ASSUME_32BITUIDS]: Make code unconditional.
34208 [!__ASSUME_32BITUIDS]: Remove conditional code.
34209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34210 <kernel-features.h>.
34211 [__ASSUME_32BITUIDS]: Make code unconditional.
34212 [!__ASSUME_32BITUIDS]: Remove conditional code.
34214 2012-05-25 Richard Henderson <rth@twiddle.net>
34216 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34217 dl_hwcap to ifunc resolver.
34218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34220 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34221 dl_hwcap to ifunc resolver.
34222 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34227 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34228 for |x| <= 2**-26, not 2**-57.
34229 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34232 2012-05-24 Jeff Law <law@redhat.com>
34234 * stdio-common/Makefile (tests): Add bug25.
34235 * stdio-common/bug25.c: New test.
34237 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34240 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34241 multiple of MALLOC_ALIGNMENT in size.
34242 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34244 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34246 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34248 (FILENAME_MAX): Use macro-int-constant.
34249 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34250 (_IOFBF): Use macro-int-constant.
34251 (_IOLBF): Likewise.
34252 (_IONBF): Likewise.
34253 (SEEK_CUR): Likewise.
34254 (SEEK_END): Likewise.
34255 (SEEK_SET): Likewise.
34256 (TMP_MAX): Likewise.
34257 (EOF): Use macro-int-constant. Require < 0.
34258 (NULL): Use macro-constant. Require == 0.
34259 (stdin): Require type to be FILE *.
34260 (stdout): Likewise.
34261 (stderr): Likewise.
34262 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34263 macro-int-constant.
34264 (EXIT_SUCCESS): Likewise.
34265 (NULL): Use macro-constant. Require == 0.
34266 (RAND_MAX): Use macro-int-constant.
34267 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34268 [C99-based standards] (strtof): Require function.
34269 [C99-based standards] (strtold): Likewise.
34270 [C99-based standards] (strtoll): Likewise.
34271 [C99-based standards] (strtoull): Likewise.
34272 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34273 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34274 [ISO || ISO99 || ISO11] (math.h): Likewise.
34275 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34276 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34279 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34282 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34283 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34284 * intl/dgettext.c (DCGETTEXT): Likewise.
34285 * intl/gettext.c (DCGETTEXT): Likewise.
34286 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34287 * posix/regex_internal.h (gettext): Likewise.
34288 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34289 Remove declaration.
34290 * include/argz.h (__argz_count_internal)
34291 (__argz_stringify_internal): Remove declaration.
34292 (__argz_count, __argz_stringify): Declare hidden proto.
34293 * intl/dcgettext.c: Remove use of INTDEF.
34294 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34295 * string/argz-stringify.c: Likewise.
34296 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34297 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34298 Declare hidden proto.
34299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34301 Declare hidden proto.
34302 * include/stdio.h (__asprintf_internal): Don't declare.
34303 (__asprintf): Don't define as macro. Declare hidden proto.
34304 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34305 (__fsetlocking): Declare hidden proto.
34306 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34307 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34309 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34310 (_IO_setlinebuf): Remove use of INTUSE.
34311 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34312 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34313 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34314 Remove declaration.
34315 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34316 (_IO_do_flush): Remove use of INTUSE.
34317 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34318 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34319 (_IO_adjust_column, _IO_least_wmarker)
34320 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34321 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34322 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34323 (_IO_default_doallocate, _IO_wdefault_doallocate)
34324 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34325 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34326 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34327 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34328 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34329 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34330 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34331 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34332 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34333 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34334 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34335 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34336 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34338 (_IO_flush_all_internal, _IO_adjust_column_internal)
34339 (_IO_default_uflow_internal, _IO_default_finish_internal)
34340 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34341 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34342 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34343 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34344 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34345 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34346 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34347 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34348 (_IO_file_close_internal, _IO_file_close_it_internal)
34349 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34350 (_IO_file_init_internal, _IO_file_attach_internal)
34351 (_IO_file_fopen_internal, _IO_file_read_internal)
34352 (_IO_file_sync_internal, _IO_file_seek_internal)
34353 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34354 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34355 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34356 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34357 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34358 (_IO_list_all_internal, _IO_link_in_internal)
34359 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34360 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34361 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34362 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34363 (_IO_do_write_internal, _IO_padn_internal)
34364 (_IO_getline_info_internal, _IO_getline_internal)
34365 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34366 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34367 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34368 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34369 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34370 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34371 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34372 with libc_hidden_ver, remove use of INTUSE.
34373 * libio/genops.c: Likewise.
34374 * libio/freopen.c: Likewise.
34375 * libio/freopen64.c: Likewise.
34376 * libio/iofclose.c: Likewise.
34377 * libio/iofdopen.c: Likewise.
34378 * libio/iofflush.c: Likewise.
34379 * libio/iofflush_u.c: Likewise.
34380 * libio/iofgets.c: Likewise.
34381 * libio/iofgets_u.c: Likewise.
34382 * libio/iofopen.c: Likewise.
34383 * libio/iofopncook.c: Likewise.
34384 * libio/iofread.c: Likewise.
34385 * libio/iofread_u.c: Likewise.
34386 * libio/ioftell.c: Likewise.
34387 * libio/iofwrite.c: Likewise.
34388 * libio/iogetline.c: Likewise.
34389 * libio/iogets.c: Likewise.
34390 * libio/iogetwline.c: Likewise.
34391 * libio/iopadn.c: Likewise.
34392 * libio/iopopen.c: Likewise.
34393 * libio/ioseekoff.c: Likewise.
34394 * libio/ioseekpos.c: Likewise.
34395 * libio/iosetbuffer.c: Likewise.
34396 * libio/iosetvbuf.c: Likewise.
34397 * libio/ioungetc.c: Likewise.
34398 * libio/ioungetwc.c: Likewise.
34399 * libio/iovdprintf.c: Likewise.
34400 * libio/iovsprintf.c: Likewise.
34401 * libio/iovsscanf.c: Likewise.
34402 * libio/memstream.c: Likewise.
34403 * libio/obprintf.c: Likewise.
34404 * libio/oldfileops.c: Likewise.
34405 * libio/oldiofclose.c: Likewise.
34406 * libio/oldiofdopen.c: Likewise.
34407 * libio/oldiofopen.c: Likewise.
34408 * libio/oldiopopen.c: Likewise.
34409 * libio/oldstdfiles.c: Likewise.
34410 * libio/putc.c: Likewise.
34411 * libio/setbuf.c: Likewise.
34412 * libio/setlinebuf.c: Likewise.
34413 * libio/stdfiles.c: Likewise.
34414 * libio/strops.c: Likewise.
34415 * libio/vasprintf.c: Likewise.
34416 * libio/vscanf.c: Likewise.
34417 * libio/vsnprintf.c: Likewise.
34418 * libio/vswprintf.c: Likewise.
34419 * libio/wfiledoalloc.c: Likewise.
34420 * libio/wfileops.c: Likewise.
34421 * libio/wgenops.c: Likewise.
34422 * libio/wmemstream.c: Likewise.
34423 * libio/wstrops.c: Likewise.
34424 * libio/__fpurge.c: Likewise.
34425 * libio/__fsetlocking.c: Likewise.
34426 * assert/assert.c: Likewise.
34427 * debug/fgets_chk.c: Likewise.
34428 * debug/fgets_u_chk.c: Likewise.
34429 * debug/fread_chk.c: Likewise.
34430 * debug/fread_u_chk.c: Likewise.
34431 * debug/gets_chk.c: Likewise.
34432 * debug/obprintf_chk.c: Likewise.
34433 * debug/vasprintf_chk.c: Likewise.
34434 * debug/vdprintf_chk.c: Likewise.
34435 * debug/vsnprintf_chk.c: Likewise.
34436 * debug/vsprintf_chk.c: Likewise.
34437 * malloc/mtrace.c: Likewise.
34438 * misc/error.c: Likewise.
34439 * misc/syslog.c: Likewise.
34440 * stdio-common/asprintf.c: Likewise.
34441 * stdio-common/fxprintf.c: Likewise.
34442 * stdio-common/getw.c: Likewise.
34443 * stdio-common/isoc99_fscanf.c: Likewise.
34444 * stdio-common/isoc99_scanf.c: Likewise.
34445 * stdio-common/isoc99_vfscanf.c: Likewise.
34446 * stdio-common/isoc99_vscanf.c: Likewise.
34447 * stdio-common/isoc99_vsscanf.c: Likewise.
34448 * stdio-common/printf-prs.c: Likewise.
34449 * stdio-common/printf_fp.c: Likewise.
34450 * stdio-common/printf_fphex.c: Likewise.
34451 * stdio-common/printf_size.c: Likewise.
34452 * stdio-common/putw.c: Likewise.
34453 * stdio-common/scanf.c: Likewise.
34454 * stdio-common/sprintf.c: Likewise.
34455 * stdio-common/tmpfile.c: Likewise.
34456 * stdio-common/vfprintf.c: Likewise.
34457 * stdio-common/vfscanf.c: Likewise.
34458 * stdlib/strfmon_l.c: Likewise.
34459 * sunrpc/openchild.c: Likewise.
34460 * sunrpc/xdr_stdio.c: Likewise.
34461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34462 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34464 2012-05-24 Roland McGrath <roland@hack.frob.com>
34466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34468 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34469 in the third column, to generate for the shared library an IFUNC
34470 that uses _dl_vdso_vsym.
34471 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34472 * Makeconfig (object-suffixes-noshared): New variable.
34474 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34475 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34476 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34477 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34480 * include/sys/time.h (__gettimeofday): Remove macro.
34481 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34482 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34484 (__gettimeofday): Add libc_hidden_def.
34485 (gettimeofday): Add libc_hidden_weak.
34486 * sysdeps/mach/gettimeofday.c: Likewise.
34487 * sysdeps/posix/gettimeofday.c: Likewise.
34488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34491 (__gettimeofday_internal): Remove strong_alias.
34492 (__gettimeofday): Add libc_hidden_def.
34493 (gettimeofday): Add libc_hidden_weak.
34494 * sysdeps/unix/syscalls.list (gettimeofday):
34495 Remove __gettimeofday_internal alias.
34497 2012-05-24 Daniel Jacobowitz <drow@false.org>
34498 H.J. Lu <hongjiu.lu@intel.com>
34501 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34502 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34503 (largebin_index_32_big): New.
34504 (largebin_index): Use it for 16-byte alignment.
34505 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34506 correction with front_misalign.
34508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34536 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34537 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34543 * math/libm-test.inc (exp_test): Add test from bug 14036.
34544 (pow_test): Add test from bug 10846.
34546 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34548 (special_function): Do not include flags in test name.
34549 (parse_args): Likewise.
34550 * sysdeps/i386/fpu/libm-test-ulps: Update.
34551 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34558 * math/libm-test.inc ("Philosophy"): Update comment about
34560 (UNDERFLOW_EXCEPTION): New macro.
34561 (UNDERFLOW_EXCEPTION_OK): Likewise.
34562 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34563 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34564 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34565 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34566 (INVALID_EXCEPTION_OK): Update value.
34567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34568 (OVERFLOW_EXCEPTION_OK): Likewise.
34569 (IGNORE_ZERO_INF_SIGN): Likewise.
34570 (test_exceptions): Handle underflow exceptions.
34571 (acos_test): Update for underflow exception expectations.
34572 (cexp_test): Likewise.
34573 (clog_test): Likewise.
34574 (clog10_test): Likewise.
34575 (csqrt_test): Likewise.
34576 (ctan_test): Likewise.
34577 (ctanh_test): Likewise.
34578 (exp_test): Likewise.
34579 (exp10_test): Likewise.
34580 (exp2_test): Likewise.
34581 (expm1_test): Likewise.
34582 (fma_test): Likewise.
34583 (j0_test): Likewise.
34584 (jn_test): Likewise.
34585 (nexttoward_test): Likewise.
34586 (pow_test): Likewise.
34587 (scalbn_test): Likewise.
34588 (scalbln_test): Likewise.
34589 (tan_test): Likewise.
34590 (y1_test): Likewise.
34591 * sysdeps/i386/fpu/libm-test-ulps: Update.
34592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34594 2012-05-23 David S. Miller <davem@davemloft.net>
34596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34597 (__libc_sigaction): Remove unused local variables.
34599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34601 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34603 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34605 mktime: avoid signed integer overflow
34606 * time/mktime.c (__mktime_internal): Do not mishandle the case
34607 where diff == INT_MIN.
34609 mktime: simplify computation of average
34610 * time/mktime.c (ranged_convert): Use new time_t_avg function
34611 instead of rolling our own (probably-slower) code.
34613 mktime: do not assume signed right shift propagates sign bit
34614 * time/mktime.c (isdst_differ): New static function.
34615 (__mktime_internal): No need to normalize tm_isdst now.
34616 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34619 mktime: merge another wrapv change from gnulib
34620 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34621 from some compilers.
34623 mktime: remove incorrect attempt at unusual arithmetics
34624 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34625 The code didn't really work on such machines anyway.
34626 (TYPE_MINIMUM): Assume two's complement.
34627 (twos_complement_arithmetic): Verify that long_int and time_t
34628 are two's complement (or unsigned, in the latter case).
34630 mktime: check signed shifts on long_int and time_t, too
34631 * time/mktime.c (SHR): Check that shifts work as desired
34632 on the types long_int and time_t too, as SHR is used on
34635 mktime: do not assume 'long' is wide enough
34636 * time/mktime.c (verify): Move decl up.
34637 (long_int): New type.
34638 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34639 to remove assumption in the code that 'long' is wide enough to
34640 store year values. This assumption is not true on x32 and on
34641 some non-glibc platforms.
34643 mktime: merge wrapv change from gnulib
34644 * time/mktime.c (WRAPV): New macro.
34645 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34646 (guess_time_tm, __mktime_internal): Do not assume that signed
34647 integer overflow wraps around; modern compilers generate code
34648 where this assumption is no longer valid.
34650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34653 Replace "jmp L(pseudo_end)" with "ret".
34654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34657 2012-05-23 Andreas Jaeger <aj@suse.de>
34659 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34660 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34662 2012-05-23 Andreas Jaeger <aj@suse.de>
34663 Maximilian Attems <max@stro.at>
34665 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34668 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34671 code so that pseudo_end is just ret and the stack pointer is
34672 correct also for static library in error case.
34674 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34676 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34677 move to syscalls.list.
34678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34683 * manual/install.texi (Running make install): Do not mention Linux
34684 kernel version for which pt_chown is not needed.
34685 (Linux): Do not mention problems with nscd with 2.0 kernels.
34686 * INSTALL: Regenerated.
34688 2012-05-23 Andreas Jaeger <aj@suse.de>
34690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34691 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34693 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34695 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34697 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34701 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34703 * sysdeps/unix/sysv/linux/bits/in.h
34704 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34706 2012-05-22 Roland McGrath <roland@hack.frob.com>
34708 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34709 (PREPARE_VERSION): Just use assert instead, it will be elided
34710 under [NDEBUG] anyway.
34712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34714 * sysdeps/unix/sysv/linux/Makefile: Include
34715 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34716 (sysdep_routines): Remove sysctl.
34717 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34718 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34719 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34720 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34721 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34723 2012-05-22 Andreas Jaeger <aj@suse.de>
34725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34726 that pseudo_end is just ret and the stack pointer is correct also
34727 for static library in error case.
34729 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34732 * nss/nsswitch.c (defconfig_entries): New variable.
34733 (__nss_database_lookup): Don't leak defconfig entries.
34734 (nss_parse_service_list): Don't leak on error paths.
34735 (free_database_entries): New function.
34736 (free_defconfig): New function.
34737 (free_mem): Move common code to free_database_entries.
34739 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34741 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34745 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34746 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34749 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34750 (INTERNAL_SYSCALL_TYPES): Likewise.
34751 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34752 (LOAD_REGS_TYPES_[1-6]): Likewise.
34753 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34754 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34756 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34759 copysignl for GLIBC_2_0.
34760 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34761 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34763 logbl for GLIBC_2_0.
34764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34765 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34772 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34775 * time/mktime.c: Update copyright years.
34777 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34779 mktime: merge comment-quoting-style change from gnulib
34780 * time/mktime.c: Quote 'like this' in comments.
34781 The GNU coding standards suggest that we no longer quote `like this',
34782 as "`" and "'" are typically rendered asymmetrically nowadays.
34783 The typical gnulib style is to quote 'like this' when quoting
34784 code, and "like this" when quoting English.
34786 * time/mktime.c (compile-command): Add "-I.".
34788 mktime: merge mktime-internal.h change from gnulib
34789 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34791 mktime: merge time_r change from gnulib
34792 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34794 mktime: merge DEBUG change from gnulib
34795 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34796 case system <time.h> has a #define.
34798 mktime: merge <sys/types.h> change from gnulib
34799 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34800 since <time.t> is now guaranteed to define time_t.
34802 mktime: merge HAVE_CONFIG_H change from gnulib
34803 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34812 (struct rusage): Use anonymous union to pad each field to
34815 2012-05-21 David S. Miller <davem@davemloft.net>
34817 * Makefules (o-iterator): Remove .s cases.
34818 (compile-command.s): Delete.
34819 (COMPILE.s): Delete.
34820 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34822 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34824 * configure.in (libc_cv_predef_stack_protector): Only consider
34825 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34826 * configure: Regenerated.
34828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34831 New macro. Use R*LP on int and pointer.
34832 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34833 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34834 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34835 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34837 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34838 [__WORDSIZE_TIME64_COMPAT32] instead of
34839 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34840 (struct utmp): Likewise.
34841 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34842 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34844 (__WORDSIZE_TIME64_COMPAT32): This.
34845 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34846 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34847 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34848 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34850 (__WORDSIZE_TIME64_COMPAT32): New macro.
34852 2012-05-21 Andreas Jaeger <aj@suse.de>
34854 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34855 only if [SHARED]. Add prototype for __wcschr_ia32.
34857 2012-05-21 Roland McGrath <roland@hack.frob.com>
34859 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34860 of %rbp unmolested in the jmp_buf while mangling the low bits.
34861 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34862 unmolested high bits of %rbp while demangling the low bits.
34863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34865 2012-05-21 Andreas Jaeger <aj@suse.de>
34867 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34868 * sunrpc/svc_simple.c: Use it for registerrpc.
34869 * sunrpc/xcrypt.c: Use it for passwd2des.
34871 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34876 Don't define if [__SYSCALL_WORDSIZE != 32].
34877 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34880 2012-05-21 Bruno Haible <bruno@clisp.org>
34881 Andreas Jaeger <aj@suse.de>
34883 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34884 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34885 inptr and inend for must_buffer_ch.
34886 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34887 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34888 * stdio-common/Makefile (tests): Remove bug15.
34889 (bug15-ENV): Remove macro.
34890 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34893 2012-05-19 Andreas Jaeger <aj@suse.de>
34894 Roland McGrath <roland@hack.frob.com>
34896 * manual/contrib.texi: Completely rewritten. It contains now an
34897 alphabetical list of contributors and their contributions.
34899 2012-05-21 Richard Henderson <rth@twiddle.net>
34901 * misc/getauxval.c (__getauxval): Use unsigned long int.
34902 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34903 (getauxval): Use unsigned long int.
34905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34909 2012-05-21 Roland McGrath <roland@hack.frob.com>
34911 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34912 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34913 __alignof__ (long double).
34915 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34919 2012-05-20 Richard Henderson <rth@twiddle.net>
34921 * misc/getauxval.c: New file.
34922 * misc/sys/auxv.h: New file.
34923 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34924 (routines): Add getauxval.
34925 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34926 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34927 * elf/dl-sysdep.c (_dl_auxv): Remove.
34928 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34929 * elf/dl-support.c (_dl_auxv): New variable.
34930 (_dl_aux_init): Initialize it.
34931 * manual/startup.texi (Auxiliary Vector): New node.
34932 * sysdeps/generic/bits/hwcap.h: New file.
34933 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34934 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34935 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34936 * sysdeps/sparc/sysdep.h: ... here. Include it.
34937 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34950 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34954 2012-05-19 David S. Miller <davem@davemloft.net>
34956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34958 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34961 * math/s_ccosh.c: Include <float.h>
34962 (__ccosh): Avoid internal overflow calculating sinh and cosh
34963 values before multiplying by sin and cos values.
34964 * math/s_ccoshf.c: Likewise.
34965 * math/s_ccoshl.c: Likewise.
34966 * math/s_csin.c: Likewise.
34967 * math/s_csinf.c: Likewise.
34968 * math/s_csinl.c: Likewise.
34969 * math/s_csinh.c: Likewise.
34970 * math/s_csinhf.c: Likewise.
34971 * math/s_csinhl.c: Likewise.
34972 * math/libm-test.inc (ccos_test): Add more tests.
34973 (ccosh_test): Likewise.
34974 (csin_test): Likewise.
34975 (csinh_test): Likewise.
34976 * sysdeps/i386/fpu/libm-test-ulps: Update.
34977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34979 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34982 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34984 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34986 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34988 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34989 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34990 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34991 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34992 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34993 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34994 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34995 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34996 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34997 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34998 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34999 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35000 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35001 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35002 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35003 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35004 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35005 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35006 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35007 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35008 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35009 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35010 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35011 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35012 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35013 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35014 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35015 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35016 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35017 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35018 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35020 2012-05-18 Andreas Jaeger <aj@suse.de>
35022 * csu/.gitignore: Delete.
35024 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35026 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35027 (timex): Use __syscall_slong_t.
35029 2012-05-18 Andreas Jaeger <aj@suse.de>
35030 Carlos O'Donell <carlos_odonell@mentor.com>
35032 * manual/install.texi (Configuring and compiling): Update
35033 description about files modified in the source directory.
35034 * INSTALL: Regenerated.
35036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35038 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35039 value. Use "or" to set return value to -1.
35040 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35041 negate return value.
35043 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35045 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35046 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35047 failure if the compiler has Graphite support disabled.
35048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35050 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35051 (CFLAGS-memmove.c): Likewise.
35052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35055 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35057 * sysdeps/x86_64/x32/_itoa.h: New file.
35059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35060 getdents system call only if kernel and user dirents have the
35061 same d_ino and d_off.
35063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35064 LLONG_MAX != LONG_MAX.
35065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35066 (_fitoa_word): Likewise.
35068 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35074 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35075 include <bits/wordsize.h>. Check __x86_64__ instead of
35077 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35078 if __x86_64__ is defined. Use anonymous union on fpstate.
35080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35083 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35085 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35086 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35088 Refer to _rtld_local_ro instead of _rtld_global_ro.
35089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35091 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35093 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35095 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35096 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35097 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35099 * sysdeps/powerpc/powerpc32/dl-machine.c
35100 (__elf_machine_runtime_setup) [PROF]: Don't reference
35103 2012-05-18 Andreas Jaeger <aj@suse.de>
35105 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35106 function only available for GCCs before 3.4 since GCC 3.4
35107 introduced a builtin.
35109 (llrintf): Likewise.
35110 (llrint): Likewise.
35117 (nearbyint): Likewise.
35118 (nearbyintf): Likewise.
35122 (floorf): Likewise.
35124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35126 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35127 on both fields and cast pointer to __syscall_ulong_t.
35129 * bits/types.h (__fsword_t): New type.
35130 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35131 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35133 (__FSWORD_T_TYPE): Likewise.
35134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35135 (__FSWORD_T_TYPE): Likewise.
35136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35137 (__FSWORD_T_TYPE): Likewise.
35138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35139 (__FSWORD_T_TYPE): Likewise.
35140 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35141 __SWORD_TYPE with __fsword_t.
35142 (statfs64): Likewise.
35144 2012-05-17 David S. Miller <davem@davemloft.net>
35146 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35148 2012-05-17 Andreas Jaeger <aj@suse.de>
35150 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35155 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35157 2012-05-17 Andreas Jaeger <aj@suse.de>
35159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35162 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35164 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35168 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35169 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35171 2012-05-17 Andreas Jaeger <aj@suse.de>
35172 Carlos O'Donell <carlos_odonell@mentor.com>
35175 * sysdeps/x86_64/multiarch/init-arch.h
35176 (bit_YMM_Usable): Rename to...
35177 (bit_AVX_Usable): ... this.
35178 (bit_FMA4_Usable): New macro.
35179 (bit_XMM_state): New macro.
35180 (bit_YMM_state): New macro.
35181 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35182 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35183 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35184 (CPUID_OSXSAVE): New macro.
35185 (CPUID_AVX): New macro.
35186 (CPUID_FMA4): New macro.
35187 (index_YMM_Usable): Rename to...
35188 (index_AVX_Usable): ... this.
35189 (HAS_AVX): Use HAS_ARCH_FEATURE.
35190 (HAS_FMA4): Likewise.
35191 (HAS_YMM_USABLE): Remove.
35192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35193 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35195 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35196 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35197 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35198 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35199 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35201 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35203 * math/libm-test.c: Support platforms without multiple rounding modes.
35204 * math/bug-nextafter.c: Support platforms without FP exceptions.
35205 * math/bug-nexttoward.c: Likewise.
35206 * math/test-fenv.c: Likewise.
35207 * math/test-misc.c: Likewise.
35208 * stdlib/bug-getcontext.c: Likewise.
35210 2012-05-17 Andreas Jaeger <aj@suse.de>
35212 * manual/examples/search.c (critter_cmp): Change signature to
35214 * manual/string.texi (Collation Functions): Likewise.
35216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35218 * bits/types.h: Fold copyright years.
35219 * bits/typesizes.h: Likewise.
35220 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35224 * time/time.h: Likewise.
35226 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35229 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35230 in instead of returning them. Return void.
35231 (__libc_mallinfo): Accumulate over all arenas.
35232 (__malloc_stats): Adjust for change in int_mallinfo interface.
35234 2012-05-16 Roland McGrath <roland@hack.frob.com>
35237 * configure.in (NM): Add AC_CHECK_TOOL for it.
35238 (libc_extra_cflags): New substituted variable.
35239 Check for -fstack-protector being used implicitly.
35240 * configure: Regenerated.
35241 * config.make.in (config-extra-cflags): New variable,
35242 gets @libc_extra_cflags@.
35243 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35246 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35247 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35248 * configure: Regenerated.
35249 * config.make.in (CPPUNDEFS): New substituted variable.
35250 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35251 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35252 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35256 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35257 (mq_attr): Use __syscall_slong_t.
35259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35262 Check __x86_64__ instead of __WORDSIZE.
35263 (_STAT_VER_LINUX): Likewise.
35264 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35265 __syscall_ulong_t and __syscall_slong_t.
35266 (stat64): Likewise.
35268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35274 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35278 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35282 include <bits/wordsize.h>. Check __x86_64__ instead of
35284 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35286 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35289 include <bits/wordsize.h>. Check __x86_64__ instead of
35291 (user_regs_struct): Use "__extension__ unsigned long long"
35292 instead of "unsigned long" if __x86_64__ is defined.
35293 (user): Likewise. Pad after pointer field if __ILP32__ is
35296 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35298 * configure.in (makeinfo): Require version 4.5 or later. Allow
35300 * configure: Regenerated.
35301 * manual/install.texi (texinfo): Increase version requirement to
35303 * INSTALL: Regenerated.
35305 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35311 * sysdeps/x86_64/x32/ffs.c: New file.
35313 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35315 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35316 defined. Use __syscall_ulong_t.
35317 (shminfo): Use __syscall_ulong_t.
35318 (shm_info): Likewise.
35320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35325 (msgqnum_t): Use __syscall_ulong_t.
35326 (msglen_t): Likewise.
35327 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35330 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35333 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35335 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35336 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35338 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35341 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35342 include <bits/wordsize.h>. Check __x86_64__ instead of
35345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35346 "unsigned long long int" if __x86_64__ is defined.
35347 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35351 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35355 (GET_PC): Cast to uintptr_t first.
35356 (GET_FRAME): Likewise.
35357 (GET_STACK): Likewise.
35359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35365 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35367 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35380 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35389 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35391 * Makerules (+depfiles): Also collect depfiles from .oS in
35393 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35394 .oS, $(libnldbl-routines)).
35396 * Makerules (native-compile-mkdep-flags): Define.
35397 * sunrpc/Makefile (extra-objs): Add $(addprefix
35398 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35399 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35400 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35401 calling $(make-target-directory).
35403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35405 * bits/types.h (__snseconds_t): Removed.
35406 * time/time.h (struct timespec): Replace __snseconds_t with
35408 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35409 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35412 (__SNSECONDS_T_TYPE): Likewise.
35413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35414 (__SNSECONDS_T_TYPE): Likewise.
35415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35416 (__SNSECONDS_T_TYPE): Likewise.
35418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/mach/hurd/bits/typesizes.h
35421 (__SYSCALL_SLONG_TYPE): New macro.
35422 (__SYSCALL_ULONG_TYPE): Likewise.
35424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35426 * bits/types.h (__syscall_slong_t): New type.
35427 (__syscall_ulong_t): Likewise.
35429 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35430 (__SYSCALL_ULONG_TYPE): Likewise.
35431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35432 (__SYSCALL_SLONG_TYPE): Likewise.
35433 (__SYSCALL_ULONG_TYPE): Likewise.
35434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35435 (__SYSCALL_SLONG_TYPE): Likewise.
35436 (__SYSCALL_ULONG_TYPE): Likewise.
35437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35438 (__SYSCALL_SLONG_TYPE): Likewise.
35439 (__SYSCALL_ULONG_TYPE): Likewise.
35441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35443 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35444 Add sigaltstack-offsets.sym.
35445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35446 <sigaltstack-offsets.h>.
35447 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35448 longjmp_msg pointer.
35449 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35450 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35452 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35456 * elf/stackguard-macros.h: Remove file.
35457 * sysdeps/generic/stackguard-macros.h: New file.
35458 * sysdeps/i386/stackguard-macros.h: Likewise.
35459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35465 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35466 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35467 <elf/stackguard-macros.h>.
35470 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35471 __aligned__ in attribute.
35472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35473 (gregset_t): Likewise.
35475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35477 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35478 * sysdeps/x86_64/64/Implies-after: Here. New file.
35479 * sysdeps/x86_64/x32/Implies-after: New file.
35481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35483 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35484 and access return value for _dl_profile_fixup. Use R10_LP to
35487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35493 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35494 * sysdeps/x86_64/x32/sysdep.h: New file.
35496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35498 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35499 * sysdeps/x86_64/setjmp.S: Likewise.
35501 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35505 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35507 remove unused global constant.
35509 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35511 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35512 include of <not-cancel.h>.
35514 2012-05-15 Roland McGrath <roland@hack.frob.com>
35516 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35518 2012-05-15 Jeff Law <law@redhat.com>
35519 Andreas Jaeger <aj@suse.de>
35522 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35524 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35525 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35526 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35527 code changing __hst_map_handle.map.
35529 2012-05-15 Roland McGrath <roland@hack.frob.com>
35531 * configure.in (sysnames): Look for Implies-before and Implies-after
35533 * configure: Regenerated.
35535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35537 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35538 8-byte data alignment with LP_SIZE alignment.
35540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35547 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35551 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35552 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35559 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35560 (stackinfo_sub_sp): Likewise.
35562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35579 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35583 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35584 into R11_LP and load __x86_64_shared_cache_size_half into
35587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35592 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35601 powerpc32/power7/fpu/s_logb.c via #include.
35602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35603 powerpc32/power7/fpu/s_logbf.c via #include.
35604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35605 powerpc32/power7/fpu/s_logbl.c via #include.
35607 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35609 * README.libm: Remove file.
35611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35613 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35614 count for x32. Use R*_LP and omit operand-size suffix.
35616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35618 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35619 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35620 * sysdeps/x86_64/x32/shlib-versions: New file.
35622 2012-05-14 Roland McGrath <roland@hack.frob.com>
35624 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35625 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35626 Use _dl_fatal_printf instead.
35628 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35630 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35631 set if not set by the user. Do not allow for being unset.
35632 * sysdeps/unix/sysv/linux/configure: Regenerated.
35634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35637 the `q' suffix from lea and replace .quad with ASM_ADDR.
35639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35642 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35644 (PTR_DEMANGLE): Likewise.
35646 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35648 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35650 (ASM_ADDR): Likewise.
35651 (RAX_LP): Likewise.
35652 (RBP_LP): Likewise.
35653 (RBX_LP): Likewise.
35654 (RCX_LP): Likewise.
35655 (RDI_LP): Likewise.
35656 (RSI_LP): Likewise.
35657 (RSP_LP): Likewise.
35660 (R10_LP): Likewise.
35661 (R10_LP): Likewise.
35662 (R11_LP): Likewise.
35663 (R12_LP): Likewise.
35664 (R13_LP): Likewise.
35665 (R14_LP): Likewise.
35666 (R15_LP): Likewise.
35668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35670 * sysdeps/x86_64/x32/dl-machine.h: New file.
35672 2012-05-14 Andreas Jaeger <aj@suse.de>
35674 * manual/Makefile (subdir): Remove export of subdir.
35675 (all): Remove target.
35676 (.PHONY): Remove all from list.
35677 (mkinstalldirs): Remove.
35678 (.PHONY): Remove installdirs from list.
35679 ($(inst_infodir)/libc.info): Use make-target-directory.
35680 (installdirs): Remove.
35681 (subdir_%): Remove.
35682 (glibc-targets): Remove.
35685 ($(objpfx)stubs ../po/manual.pot): Remove.
35686 ($(objpfx)stamp%): Remove.
35687 (make-target-directory): Remove.
35688 (subdir_install): Remove.
35689 (routines): Remove.
35696 * manual/.gitignore: Remove, it's not needed anymore.
35697 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35699 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35701 (texis): Renamed to $(objpfx)texis.
35702 (texis-path): New, contains path to generated files.
35703 (chapters.%): Use texis-path for complete path, add extra argument
35705 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35706 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35707 (summary,texi, stamp-summary): Use complete path of
35708 files. Generate files in build dir.
35709 (dir-add.texi): Build in build dir.
35710 (libm-err.texi,stamp-libm-err): Likewise.
35711 (version.texi, stamp-version): Likewise.
35712 (.%c.texi): Likewise.
35713 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35714 (mostlyclean): Remove target.
35715 (realclean): Remove target.
35716 (generated): Add new variable with contents from mostlyclean and
35717 realclean, remove entries duplicated in common-mostlyclean, add
35718 stamp-libm-err and stamp-version.
35719 (generated-dirs): Add libc directory.
35720 ($(inst_infodir)/libc.info): Install files from build dir.
35722 * manual/install.texi (Configuring and compiling): Adjust since
35723 the info files are not part of the tar ball anymore.
35725 2012-05-14 Andreas Jaeger <aj@suse.de>
35727 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35730 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35734 to 2.2.0 where earlier.
35735 * sysdeps/unix/sysv/linux/configure: Regenerated.
35736 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35737 Remove conditional code.
35738 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35739 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35740 Remove conditional code.
35741 [!__NR_lchown]: Likewise.
35742 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35743 [__NR_lchown]: Likewise.
35744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35745 comment referencing __ASSUME_LCHOWN_SYSCALL.
35746 * sysdeps/unix/sysv/linux/i386/sigaction.c
35747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35749 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35750 Remove conditional code.
35751 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35752 (__protocol_available): Remove #if 0 code.
35753 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35755 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35756 * sysdeps/unix/sysv/linux/kernel-features.h
35757 (__ASSUME_GETCWD_SYSCALL): Don't define.
35758 (__ASSUME_REALTIME_SIGNALS): Likewise.
35759 (__ASSUME_PREAD_SYSCALL): Likewise.
35760 (__ASSUME_PWRITE_SYSCALL): Likewise.
35761 (__ASSUME_POLL_SYSCALL): Likewise.
35762 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35763 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35765 (__ASSUME_SIOCGIFNAME): Don't define.
35766 (__ASSUME_MSG_NOSIGNAL): Likewise.
35767 (__ASSUME_SENDFILE): Define unconditionally.
35768 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35769 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35771 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35772 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35773 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35774 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35775 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35777 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35779 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35785 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35802 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35803 Remove conditional code.
35804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35805 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35806 Remove conditional code.
35807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35808 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35809 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35810 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35811 Remove conditional code.
35812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35813 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35814 Remove conditional code.
35815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35816 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35817 Remove conditional code.
35818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35819 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35820 Remove conditional code.
35821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35822 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35823 Remove conditional code.
35824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35825 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35828 * sysdeps/unix/sysv/linux/sigaction.c
35829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35831 * sysdeps/unix/sysv/linux/sigpending.c
35832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35834 * sysdeps/unix/sysv/linux/sigprocmask.c
35835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35837 * sysdeps/unix/sysv/linux/sigsuspend.c
35838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35841 (__libc_missing_rt_sigs): Remove.
35842 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35843 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35844 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35845 Remove conditional code.
35846 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35847 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35851 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35854 2012-05-14 Andreas Jaeger <aj@suse.de>
35856 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35857 it's not used in glibc.
35858 (__coshm1): Likewise.
35859 (__acosh1p): Likewise.
35862 * manual/string.texi (Copying and Concatenation): Add missing
35863 variable in concat example.
35864 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35870 __builtin_clzl with __builtin_clzll.
35872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35878 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35880 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35881 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35882 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35883 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35885 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35887 * NEWS: Update ia64 info.
35889 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35891 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35894 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35896 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35897 * sysdeps/unix/syscalls.list (dup3): Likewise.
35898 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35899 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35901 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35903 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35904 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35906 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35908 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35910 (TLS_IE): Use mov/add instead of movq/addq to load thread
35912 (TLS_GD_PREFIX): New.
35915 2012-05-11 David S. Miller <davem@davemloft.net>
35917 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35918 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35919 (_FPU_SETCW): Likewise.
35921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35923 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35924 is 32-byte aligned.
35926 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35929 * iconvdata/gb18030.c: Update tables.
35930 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35931 characters specially.
35932 (BODY for TO_LOOP): Add encoding of missing ranges.
35934 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35937 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35938 * sysdeps/mach/hurd/dup3.c: Likewise.
35939 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35940 * sysdeps/powerpc/memmove.c:: Likewise.
35942 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35945 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35949 * elf/elf.h (R_X86_64_RELATIVE64): New.
35950 (R_X86_64_NUM): Updated.
35951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35952 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35953 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35954 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35955 tst-quad1pie tst-quad2pie
35956 (modules-names): Add tst-quadmod1 tst-quadmod2.
35957 ($(objpfx)tst-quad1): New dependency.
35958 ($(objpfx)tst-quad2): Likewise.
35959 ($(objpfx)tst-quad1pie): Likewise.
35960 ($(objpfx)tst-quad2pie): Likewise.
35961 * sysdeps/x86_64/tst-quad1.c: New file.
35962 * sysdeps/x86_64/tst-quad1pie.c: New file.
35963 * sysdeps/x86_64/tst-quad2.c: Likewise.
35964 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35965 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35966 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35967 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35968 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35972 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35973 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35974 * streams/stropts.h (t_scalar_t): Define type.
35976 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35977 (_PATH_PRESERVE): Set to "/var/lib".
35978 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35980 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35983 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35984 if __dir_mkfile succeeded.
35986 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35987 checking for _hurd_dtablesize. Unlock it right after having
35988 finished _hurd_dtable allocation.
35990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35992 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35993 * sysdeps/mach/hurd/configure: Regenerated.
35994 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35995 special-casing to...
35996 * sysdeps/gnu/configure.in: ... this new file.
35997 * sysdeps/unix/sysv/linux/configure: Regenerated.
35998 * sysdeps/gnu/configure: New generated file.
36000 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36001 for Linux: use nsec instead of usec, as well as:
36002 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36003 members of type struct timespec.
36004 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36006 (struct stat64): Likewise.
36007 (_STATBUF_ST_NSEC): New macro.
36008 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36010 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36011 __strtoul_internal rather than strtoul.
36013 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36015 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36020 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36021 which preserves existing values.
36022 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36024 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36026 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36027 TIMEOUT values. Return EINVAL for NFDS values either negative or
36028 greater than FD_SETSIZE.
36030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36033 allocated, call __vm_protect to finish enabling the existing space, and
36034 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36035 allocate the remainder.
36037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36039 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36040 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36044 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36045 sysdeps/mach/hurd/readlink.c.
36047 * posix/tst-sysconf.c (posix_options): Only use
36048 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36049 _POSIX_SYNCHRONIZED_IO when they are defined
36050 * sysdeps/mach/hurd/bits/posix_opt.h:
36051 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36052 (_XOPEN_REALTIME): Undefine macro.
36053 (_XOPEN_REALTIME_THREADS): Undefine macro.
36054 (_XOPEN_SHM): Undefine macro.
36055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36059 (_POSIX_ASYNC_IO): Undefine macro.
36060 (_POSIX_PRIORITIZED_IO): Undefine macro.
36061 (_POSIX_SPIN_LOCKS): Define macro to -1.
36063 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36064 SA_NODEFER, SA_RESETHAND.
36065 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36066 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36071 * elf/Makefile (pldd-modules): Define unconditionally.
36073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36075 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36079 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36080 Return ENOENT when name is empty.
36081 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36085 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36087 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36091 Fix mlock in all cases except non-readable pages.
36092 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36093 instead of VM_PROT_ALL as parameter to __vm_wire function.
36095 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36096 (__mkdir): When path is `/', just fail with EEXIST.
36097 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36101 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36102 <sys/uio.h> (for writev).
36103 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36104 and <sys/param.h> (for MIN).
36106 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36108 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36109 REQUESTED_TIME. Properly set the remaining time and return EINTR
36112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36114 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36115 Depend on against $(link-rpcuserlibs).
36117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36119 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36120 (__libc_stack_end): Do not use attribute_relro.
36121 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36122 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36123 to libthread-provided value.
36124 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36130 * bits/libc-lock.h (__libc_once_get): New macro.
36131 * sysdeps/mach/bits/libc-lock.h: Likewise.
36132 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36134 instead of using implementation details.
36136 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36137 * libio/freopen.c: Likewise.
36138 * libio/freopen64.c: Likewise.
36139 * misc/syslog.c: Likewise.
36140 * nscd/connections.c: Likewise.
36141 * nscd/netgroupcache.c: Likewise.
36142 * sysdeps/posix/getcwd.c: Likewise.
36144 2012-05-10 Roland McGrath <roland@hack.frob.com>
36146 * math/w_ilogbf.c: Add #include <limits.h>.
36148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36150 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36151 path instead of returning without unlocking.
36153 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36154 immediate-write ioctls.
36155 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36159 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36160 __builtin_frame_address instead of making assumptions about the
36161 location of the return address relative to DATA. Force early load of
36162 the return address.
36163 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36164 __builtin_frame_address.
36167 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36168 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36169 implement dup3 and do some further code clean-ups.
36170 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36175 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36177 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36178 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36179 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36180 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36181 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36184 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36185 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36186 when handler == SIG_ERR, not when handler != SIG_ERR.
36188 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36190 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36191 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36194 accept4 for GNU Hurd.
36195 * include/sys/socket.h (__libc_accept4): New prototype.
36196 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36197 to implement __libc_accept4.
36198 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36202 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36203 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36204 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36205 signal-defines.sym.
36207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36209 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36213 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36214 assertion on O_CLOEXEC flag.
36215 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36216 * hurd/intern-fd.c: Likewise.
36217 * hurd/port2fd.c: Likewise.
36219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36222 * bits/in.h (IPV6_PKTINFO): Define new macro.
36223 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36225 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36230 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36232 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36233 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36235 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36236 * math/libm-test.inc (logb_test) : Additional logb tests.
36238 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36239 Andreas Jaeger <aj@suse.de>
36241 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36242 * configure: Regenerated.
36243 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36244 * config.make.in (link-obsolete-rpc): New substituted variable.
36245 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36246 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36247 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36248 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36249 so that libc.a contains the symbols.
36250 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36251 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36252 * sunrpc/auth_none.c: Likewise.
36253 * sunrpc/auth_unix.c: Likewise.
36254 * sunrpc/authdes_prot.c: Likewise.
36255 * sunrpc/authuxprot.c: Likewise.
36256 * sunrpc/clnt_gen.c: Likewise.
36257 * sunrpc/clnt_perr.c: Likewise.
36258 * sunrpc/clnt_raw.c: Likewise.
36259 * sunrpc/clnt_simp.c: Likewise.
36260 * sunrpc/clnt_tcp.c: Likewise.
36261 * sunrpc/clnt_udp.c: Likewise.
36262 * sunrpc/clnt_unix.c: Likewise.
36263 * sunrpc/des_crypt.c: Likewise.
36264 * sunrpc/des_soft.c: Likewise.
36265 * sunrpc/get_myaddr.c: Likewise.
36266 * sunrpc/key_call.c: Likewise.
36267 * sunrpc/key_prot.c: Likewise.
36268 * sunrpc/netname.c: Likewise.
36269 * sunrpc/pm_getmaps.c: Likewise.
36270 * sunrpc/pm_getport.c: Likewise.
36271 * sunrpc/pmap_clnt.c: Likewise.
36272 * sunrpc/pmap_prot.c: Likewise.
36273 * sunrpc/pmap_prot2.c: Likewise.
36274 * sunrpc/pmap_rmt.c: Likewise.
36275 * sunrpc/publickey.c: Likewise.
36276 * sunrpc/rpc_cmsg.c: Likewise.
36277 * sunrpc/rpc_common.c: Likewise.
36278 * sunrpc/rpc_dtable.c: Likewise.
36279 * sunrpc/rpc_prot.c: Likewise.
36280 * sunrpc/rpc_thread.c: Likewise.
36281 * sunrpc/rtime.c: Likewise.
36282 * sunrpc/svc.c: Likewise.
36283 * sunrpc/svc_auth.c: Likewise.
36284 * sunrpc/svc_raw.c: Likewise.
36285 * sunrpc/svc_run.c: Likewise.
36286 * sunrpc/svc_tcp.c: Likewise.
36287 * sunrpc/svc_udp.c: Likewise.
36288 * sunrpc/svc_unix.c: Likewise.
36289 * sunrpc/svcauth_des.c: Likewise.
36290 * sunrpc/xcrypt.c: Likewise.
36291 * sunrpc/xdr.c: Likewise.
36292 * sunrpc/xdr_array.c: Likewise.
36293 * sunrpc/xdr_float.c: Likewise.
36294 * sunrpc/xdr_intXX_t.c: Likewise.
36295 * sunrpc/xdr_mem.c: Likewise.
36296 * sunrpc/xdr_rec.c: Likewise.
36297 * sunrpc/xdr_ref.c: Likewise.
36298 * sunrpc/xdr_sizeof.c: Likewise.
36299 * sunrpc/xdr_stdio.c: Likewise.
36301 2012-05-10 Roland McGrath <roland@hack.frob.com>
36303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36304 change. Update copyright years.
36306 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36308 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36310 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36311 Joseph Myers <joseph@codesourcery.com>
36312 Paul Pluzhnikov <ppluzhnikov@google.com>
36315 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36317 [cross-compiling] (extra-libs): Likewise.
36318 [cross-compiling] (extra-libs-others): Likewise.
36319 [cross-compiling] (librpcsvc-routines): Likewise.
36320 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36321 [cross-compiling] (omit-deps): Likewise.
36322 (sunrpc-CPPFLAGS): New variable.
36323 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36324 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36325 (cross-rpcgen-objs): New variable.
36326 (extra-objs): Append $(cross-rpcgen-objs).
36327 ($(cross-rpcgen-objs)): New rule.
36328 ($(objpfx)cross-rpcgen): Likewise.
36329 (rpcgen-cmd): Define to use $(built-program-file). Expand
36331 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36332 ($(objpfx)x%.stmp): Likewise.
36333 * sunrpc/proto.h [IS_IN_build] (_): Define.
36334 [IS_IN_build] (_libc_intl_domainname): Likewise.
36336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36339 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36340 and R_X86_64_TPOFF64.
36342 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36344 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36345 sysdeps/unix/sysv/syscalls.list.
36348 * sysdeps/unix/sysv/syscalls.list: Remove file.
36350 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36353 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36354 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36355 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36356 (__LC_IDENTIFICATION): Make these macros useful in #if
36357 expressions, as required by C99.
36359 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36361 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36362 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36365 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36367 * stdlib/longlong.h: Updated from GCC.
36369 2012-05-09 Andreas Jaeger <aj@suse.de>
36371 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36372 default is first entry.
36373 (run_mode): Set type.
36374 (main): Remove informal message about syslog.
36375 (options): Fix typo.
36378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36381 (llrintf): Likewise.
36382 (llrint): Likewise.
36385 (nearbyint): Likewise.
36386 (nearbyintf): Likewise.
36388 2012-05-09 Andreas Jaeger <aj@suse.de>
36389 Pedro Alves <palves@redhat.com>
36391 * nscd/nscd.c (run_mode): Use enum.
36392 (main): Cleanup coding style issue.
36394 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36395 Andreas Jaeger <aj@suse.de>
36397 * nscd/nscd.c (go_background): Replaced with...
36398 (run_mode): ... this.
36399 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36400 (options): Add -F --foreground.
36401 (main): Implement it.
36402 (parse_opt): Parse it.
36404 2012-05-09 Andreas Jaeger <aj@suse.de>
36407 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36408 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36409 -Wconversion warning.
36410 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36413 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36415 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36417 (LC_ALL): Use macro-int-constant.
36418 (LC_COLLATE): Likewise.
36419 (LC_CTYPE): Likewise.
36420 (LC_MESSAGES): Likewise.
36421 (LC_MONETARY): Likewise.
36422 (LC_NUMERIC): Likewise.
36423 (LC_TIME): Likewise.
36424 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36425 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36427 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36429 [C99-based standards] (float_t): Expect type.
36430 [C99-based standards] (double_t): Expect type.
36431 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36433 [C99-based standards] (HUGE_VALL): Likewise.
36434 [C99-based standards] (INFINITY): Likewise.
36435 [C99-based standards] (NAN): Likewise.
36436 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36437 [C99-based standards] (FP_NAN): Likewise.
36438 [C99-based standards] (FP_NORMAL): Likewise.
36439 [C99-based standards] (FP_SUBNORMAL): Likewise.
36440 [C99-based standards] (FP_ZERO): Likewise.
36441 [C99-based standards] (FP_FAST_FMA): Use
36442 optional-macro-int-constant. Specify type. Require == 1.
36443 [C99-based standards] (FP_FAST_FMAF): Likewise.
36444 [C99-based standards] (FP_FAST_FMAL): Likewise.
36445 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36446 [C99-based standards] (FP_ILOGBNAN): Likewise.
36447 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36449 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36450 [C99-based standards] (math_errhandling): Specify type.
36451 [ISO99 || ISO11] (signgam): Do not allow.
36452 [non-C99-based standards] (copysignf): Do not allow.
36453 [non-C99-based standards] (exp2f): Likewise.
36454 [non-C99-based standards] (log2f): Likewise.
36455 [non-C99-based standards] (modff): Allow.
36456 [non-C99-based standards] (erff): Do not allow.
36457 [non-C99-based standards] (erfcf): Likewise.
36458 [non-C99-based standards] (gammaf): Likewise.
36459 [non-C99-based standards] (hypotf): Likewise.
36460 [non-C99-based standards] (j0f): Likewise.
36461 [non-C99-based standards] (j1f): Likewise.
36462 [non-C99-based standards] (jnf): Likewise.
36463 [non-C99-based standards] (lgammaf): Likewise.
36464 [non-C99-based standards] (tgammaf): Likewise.
36465 [non-C99-based standards] (y0f): Likewise.
36466 [non-C99-based standards] (y1f): Likewise.
36467 [non-C99-based standards] (ynf): Likewise.
36468 [non-C99-based standards] (isnanf): Likewise.
36469 [non-C99-based standards] (acoshf): Likewise.
36470 [non-C99-based standards] (asinhf): Likewise.
36471 [non-C99-based standards] (atanhf): Likewise.
36472 [non-C99-based standards] (cbrtf): Likewise.
36473 [non-C99-based standards] (expm1f): Likewise.
36474 [non-C99-based standards] (ilogbf): Likewise.
36475 [non-C99-based standards] (log1pf): Likewise.
36476 [non-C99-based standards] (logbf): Likewise.
36477 [non-C99-based standards] (nextafterf): Likewise.
36478 [non-C99-based standards] (remainderf): Likewise.
36479 [non-C99-based standards] (rintf): Likewise.
36480 [non-C99-based standards] (scalbf): Likewise.
36481 [non-C99-based standards] (copysignl): Likewise.
36482 [non-C99-based standards] (exp2l): Likewise.
36483 [non-C99-based standards] (log2l): Likewise.
36484 [non-C99-based standards] (modfl): Allow.
36485 [non-C99-based standards] (erfl): Do not allow.
36486 [non-C99-based standards] (erfcl): Likewise.
36487 [non-C99-based standards] (gammal): Likewise.
36488 [non-C99-based standards] (hypotl): Likewise.
36489 [non-C99-based standards] (j0l): Likewise.
36490 [non-C99-based standards] (j1l): Likewise.
36491 [non-C99-based standards] (jnl): Likewise.
36492 [non-C99-based standards] (lgammal): Likewise.
36493 [non-C99-based standards] (tgammal): Likewise.
36494 [non-C99-based standards] (y0l): Likewise.
36495 [non-C99-based standards] (y1l): Likewise.
36496 [non-C99-based standards] (ynl): Likewise.
36497 [non-C99-based standards] (isnanl): Likewise.
36498 [non-C99-based standards] (acoshl): Likewise.
36499 [non-C99-based standards] (asinhl): Likewise.
36500 [non-C99-based standards] (atanhl): Likewise.
36501 [non-C99-based standards] (cbrtl): Likewise.
36502 [non-C99-based standards] (expm1l): Likewise.
36503 [non-C99-based standards] (ilogbl): Likewise.
36504 [non-C99-based standards] (log1pl): Likewise.
36505 [non-C99-based standards] (logbl): Likewise.
36506 [non-C99-based standards] (nextafterl): Likewise.
36507 [non-C99-based standards] (remainderl): Likewise.
36508 [non-C99-based standards] (rintl): Likewise.
36509 [non-C99-based standards] (scalbl): Likewise.
36510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36511 [non-C99-based standards] (FP_*): Do not allow.
36512 [C99-based standards] (FP_*): Change to
36513 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36514 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36516 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36517 (SIG_ERR): Likewise.
36518 [X/Open-based standards] (SIG_HOLD): Likewise.
36519 (SIG_IGN): Likewise.
36520 (SIGABRT): Use macro-int-constant. Specify type. Require
36522 (SIGFPE): Likewise.
36523 (SIGILL): Likewise.
36524 (SIGINT): Likewise.
36525 (SIGSEGV): Likewise.
36526 (SIGTER): Likewise.
36527 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36528 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36529 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36530 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36531 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36532 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36533 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36534 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36535 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36536 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36537 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36538 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36539 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36540 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36541 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36542 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36543 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36544 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36545 [X/Open-based standards] (SIGTRAP): Likewise.
36546 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36547 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36548 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36549 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36550 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36553 2012-05-08 Ian Wienand <ianw@vmware.com>
36556 * time/tzset.c (__tzset_parse_tz): Update default rules for
36557 daylight time changes in the Energy Policy Act of 2005.
36559 2012-05-09 Andreas Jaeger <aj@suse.de>
36562 * elf/ldconfig.c (parse_conf): Change string to make clear that
36563 ldconfig only issued a warning if ld.so.conf does not exist.
36565 2012-05-08 David S. Miller <davem@davemloft.net>
36567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36568 movxtod instead of popping the value on the stack.
36570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36572 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36574 * config.h.in: Add HAVE_ARM_PCS_VFP.
36576 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36579 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36580 checking but the checks are disabled for any reason.
36582 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36584 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36585 and ELF64_R_TYPE with ELFW(R_TYPE).
36587 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36589 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36590 (ulimit): Likewise.
36592 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36593 (settimeofday): Likewise.
36595 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36597 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36598 a struct th_u2 inside the union, and move tu_block/tu_code into
36599 a new th_u3 union of tu_block/tu_code inside of that. Move
36600 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36601 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36602 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36603 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36604 (th_stuff): Change to th_u1.tu_stuff.
36606 (th_msg): Change to th_u1.th_u2.tu_data.
36608 2012-05-07 David S. Miller <davem@davemloft.net>
36610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36614 (SETUP_PIC_REG): Use it.
36615 (SETUP_PIC_REG_LEAF): Use it.
36617 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36621 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36623 (EXPL_FINITE): Likewise.
36624 (FLDLOG): Likewise.
36625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36626 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36630 (EXPL_FINITE): Likewise.
36631 (FLDLOG): Likewise.
36632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36633 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36635 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36636 test of -max_value argument for long double.
36637 * sysdeps/i386/fpu/libm-test-ulps: Update.
36638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36640 2012-05-06 David S. Miller <davem@davemloft.net>
36642 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36643 quad soft-float symbols whose references which are compiler
36645 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36647 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36651 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36653 (EXPL_FINITE): Likewise.
36654 (FLDLOG): Likewise.
36657 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36658 Adjust comments for base varying.
36659 (__expl_finite): Change alias to EXPL_FINITE.
36660 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36662 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36663 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36665 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36668 (EXPL_FINITE): Likewise.
36669 (FLDLOG): Likewise.
36672 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36673 Adjust comments for base varying.
36674 (__expl_finite): Change alias to EXPL_FINITE.
36675 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36680 * math/libm-test.inc (check_float_internal): Correct ulp
36681 calculation for subnormal expected results.
36683 2012-05-06 Andreas Jaeger <aj@suse.de>
36685 * Makeconfig (+math-flags): New, set to -frounding-math.
36686 (+cflags): Add +math-flags so that all of glibc gets compiled with
36689 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36691 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36693 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36699 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36700 (__ieee754_expl): Allow for and saturate large arguments.
36701 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36702 (u_threshold): Likewise.
36703 (__exp): Call __ieee754_exp before checking for overflow and
36705 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36706 (u_threshold): Likewise.
36707 (__expf): Call __ieee754_expf before checking for overflow and
36709 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36710 (u_threshold): Likewise.
36711 (__expl): Call __ieee754_expl before checking for overflow and
36713 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36714 (__ieee754_expl): Allow for and saturate large arguments.
36715 * math/libm-test.inc (exp_test): Add another test. Do not allow
36716 missing overflow exception on overflow.
36717 (expm1_test): Do not allow missing overflow exception on overflow.
36719 * sysdeps/i386/fpu/e_expl.c: Move to ...
36720 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36721 rather than using inline asm.
36722 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36723 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36724 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36726 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36729 (signal): Likewise.
36733 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36735 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36736 sysdeps/unix/common/syscalls.list.
36737 (fchmod): Likewise.
36738 (fchown): Likewise.
36739 (ftruncate): Likewise.
36740 (getrusage): Likewise.
36741 (gettimeofday): Likewise.
36742 (setpgid): Likewise.
36743 (setregid): Likewise.
36744 (setreuid): Likewise.
36745 (sigaction): Likewise.
36746 (truncate): Likewise.
36747 (vhangup): Likewise.
36748 * sysdeps/unix/common/syscalls.list: Remove file.
36749 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36750 * sysdeps/unix/sysv/linux/Implies: Likewise.
36752 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36754 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36756 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36760 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36763 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36766 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36769 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36772 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36778 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36789 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36797 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36799 * sysdeps/unix/common/bits/dirent.h: Remove file.
36800 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36802 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36803 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36804 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36805 * sysdeps/unix/bsd/isatty.c: Likewise.
36806 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36807 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36808 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36810 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36814 long double comparison inaccuracies.
36815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36818 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36820 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36827 nonzero digits before rounding a hex value.
36828 * stdlib/tst-strtod.c (tests): Add another test.
36830 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36832 * sysdeps/s390/fpu/libm-test-ulps: Update.
36834 2012-05-03 Andreas Jaeger <aj@suse.de>
36836 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36837 does not get optimized out.
36838 (malloc_opt_barrier): New.
36840 2012-05-03 Andreas Jaeger <aj@suse.de>
36841 Roland McGrath <roland@hack.frob.com>
36843 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36844 intermediate file deletion.
36845 (generated): Add .symlist files.
36847 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36850 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36851 Redirect under this condition.
36852 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36853 [__USE_GNU] (__dprintf_chk): Not under this condition.
36854 [__USE_GNU] (__vdprintf_chk): Likewise.
36855 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36856 under this condition.
36857 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36858 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36859 [__USE_XOPEN2K8] (vdprintf): Likewise.
36860 [__USE_GNU] (__dprintf_chk): Not under this condition.
36861 [__USE_GNU] (__vdprintf_chk): Likewise.
36862 [__USE_GNU] (dprintf): Likewise.
36863 [__USE_GNU] (vdprintf): Likewise.
36865 2012-05-03 Roland McGrath <roland@hack.frob.com>
36867 * elf/Makefile (common-generated): Set this instead of generated for
36868 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36869 $(all-built-dso)-derived lists.
36871 2012-05-03 Andreas Jaeger <aj@suse.de>
36873 * sysdeps/i386/fpu/libm-test-ulps: Update.
36876 * FAQ.in: Likewise.
36877 * scripts/gen-FAQ.pl: Likewise.
36878 * manual/install.texi (Installation): Point to online location of
36880 * Makefile (files-for-dist): Remove FAQ.
36883 2012-05-02 Allan McRae <allan@archlinux.org>
36885 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36886 (LDFLAGS-reldepmod5.so): Likewise.
36887 (LDFLAGS-reldep6mod1.so): Likewise.
36888 (LDFLAGS-reldep6mod4.so): Likewise.
36889 (LDFLAGS-reldep8mod3.so): Likewise.
36890 (LDFLAGS-unload4mod1.so): Likewise.
36891 (LDFLAGS-unload4mod2.so): Likewise.
36892 (LDFLAGS-tst-initorder): Likewise.
36893 (LDFLAGS-tst-initordera2.so): Likewise.
36894 (LDFLAGS-tst-initordera3.so): Likewise.
36895 (LDFLAGS-tst-initordera4.so): Likewise.
36896 (LDFLAGS-tst-initorderb2.so): Likewise.
36897 (LDFLAGS-noload): Likewise.
36898 (LDFLAGS-next): Likewise.
36899 (LDFLAGS-order2mod1.so): Likewise.
36900 (LDFLAGS-order2mod2.so): Likewise.
36901 (LDFLAGS-tst-initorder2): Likewise.
36902 (LDFLAGS-tst-initorder2a.so): Likewise.
36903 (LDFLAGS-tst-initorder2b.so): Likewise.
36904 (LDFLAGS-tst-initorder2c.so): Likewise.
36905 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36907 2012-05-02 David S. Miller <davem@davemloft.net>
36909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36911 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36914 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36916 2012-05-02 Andreas Jaeger <aj@suse.de>
36918 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36919 since we manipulate rounding mode.
36920 (CPPFLAGS-test-idouble.c): Likewise.
36921 (CPPFLAGS-test-ifloat.c): Likewise.
36922 (CFLAGS-test-ldouble.c): Likewise.
36923 (CFLAGS-test-double.c): Likewise.
36924 (CFLAGS-test-float.c): Likewise.
36925 (CFLAGS-test-misc.c): Likewise.
36926 (CFLAGS-test-test-fenv.c): Likewise.
36928 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36933 comparisons to determine direction to adjust input.
36935 2012-05-01 Roland McGrath <roland@hack.frob.com>
36937 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36938 output to the target.
36940 * scripts/localplt.awk: New file.
36941 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36942 (check-localplt-CFLAGS): Variable removed.
36943 ($(all-built-dso:=.jmprel)): New static pattern rule.
36944 (generated): Add those targets.
36945 (localplt-built-dso): New variable.
36946 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36948 * elf/check-localplt.c: File removed.
36950 * scripts/check-execstack.awk: New file.
36951 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36952 (check-execstack-CFLAGS): Variable removed.
36953 ($(objpfx)check-execstack.h): Target removed.
36954 ($(objpfx)execstack-default): New target.
36955 (generated): Add that instead of check-execstack.h.
36956 ($(all-built-dso:=.phdr)): New static pattern rule.
36957 (generated): Add those targets.
36958 * elf/check-execstack.c: File removed.
36960 * scripts/check-textrel.awk: New file.
36961 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36962 (check-textrel-CFLAGS): Variable removed.
36963 (all-built-dso): Use := to define.o
36964 ($(all-built-dso:=.dyn)): New static pattern rule.
36965 (generated): Add those targets.
36966 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36967 * config.make.in (READELF): New substituted variable.
36968 * elf/check-textrel.c: File removed.
36970 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36972 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36974 * conform/data/ctype.h-data [C99-based standards] (isblank):
36976 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36977 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36979 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36980 Specify type. Require positive value.
36981 (EILSEQ): Likewise.
36982 (ERANGE): Likewise.
36983 [ISO || POSIX] (EILSEQ): Do not expect.
36984 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36985 Specify type. Require positive value.
36986 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36987 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36988 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36989 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36990 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36991 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36992 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36993 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36994 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36995 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36996 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36997 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36998 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36999 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37000 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37001 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37005 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37006 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37011 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37012 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37013 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37014 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37018 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37019 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37020 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37021 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37022 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37023 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37024 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37025 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37026 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37027 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37028 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37029 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37030 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37031 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37032 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37033 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37034 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37035 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37036 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37037 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37038 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37039 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37040 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37041 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37042 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37043 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37044 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37045 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37046 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37047 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37048 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37049 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37050 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37051 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37052 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37053 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37054 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37055 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37056 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37057 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37058 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37059 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37060 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37061 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37062 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37064 (FLT_ROUNDS): Expect as macro, not constant.
37065 (FLT_MANT_DIG): Use macro-int-constant.
37066 (DBL_MANT_DIG): Likewise.
37067 (LDBL_MANT_DIG): Likewise.
37068 (FLT_DIG): Likewise.
37069 (DBL_DIG): Likewise.
37070 (LDBL_DIG): Likewise.
37071 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37072 (DBL_MIN_EXP): Likewise.
37073 (LDBL_MIN_EXP): Likewise.
37074 (FLT_MAX_EXP): Use macro-int-constant.
37075 (DBL_MAX_EXP): Likewise.
37076 (LDBL_MAX_EXP): Likewise.
37077 (FLT_MAX_10_EXP): Likewise.
37078 (DBL_MAX_10_EXP): Likewise.
37079 (LDBL_MAX_10_EXP): Likewise.
37080 (FLT_MAX): Use macro-constant.
37081 (DBL_MAX): Likewise.
37082 (LDBL_MAX): Likewise.
37083 (FLT_EPSILON): Use macro-constant. Give upper bound.
37084 (DBL_EPSILON): Likewise.
37085 (LDBL_EPSILON): Likewise.
37086 (FLT_MIN): Likewise.
37087 (DBL_MIN): Likewise.
37088 (LDBL_MIN): Likewise.
37089 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37090 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37091 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37092 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37093 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37094 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37095 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37096 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37097 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37098 [ISO11] (FLT_TRUE_MIN): Likewise.
37099 [ISO11] (LDBL_TRUE_MIN): Likewise.
37100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37101 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37102 (SCHAR_MIN): Use macro-int-constant. Specify type.
37103 (SCHAR_MAX): Likewise.
37104 (UCHAR_MAX): Likewise.
37105 (CHAR_MIN): Likewise.
37106 (CHAR_MAX): Likewise.
37107 (MB_LEN_MAX): Use macro-int-constant.
37108 (SHRT_MIN): Use macro-int-constant. Specify type.
37109 (SHRT_MAX): Likewise.
37110 (USHRT_MAX): Likewise.
37111 (INT_MAX): Likewise.
37112 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37114 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37116 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37118 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37119 bound negative. Suffix upper bound with "L".
37120 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37122 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37124 [C99-based standards] (LLONG_MAX): Likewise.
37125 [C99-based standards] (ULLONG_MAX): Likewise.
37126 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37128 [ISO11] (max_align_t): Require type.
37129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37131 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37132 from $CFLAGS, without defining away __attribute__ calls.
37133 (checknamespace): Use $CFLAGS_namespace.
37135 * conform/conformtest.pl (@keywords): Only include C99 keywords
37136 for standards based on C99 or C11.
37138 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37140 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37143 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37144 usability of symbols in #if.
37146 * conform/conformtest.pl: If macro or constant types start
37147 "promoted:", expect the symbol to be of the following type
37148 promoted by the integer promotions.
37150 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37151 in one place. Also handle "macro-constant".
37153 * conform/conformtest.pl: Only accept expected macro values with
37154 "==". Parse all "macro" lines in one place.
37155 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37157 * conform/conformtest.pl: Handle braced types on "constant" lines
37158 instead of handling "typed-constant".
37159 * conform/data/signal.h-data: Use "constant" instead of
37162 * conform/conformtest.pl: Handle "optional-" at start of lines in
37163 one place rather than duplicating several cases. Handle each
37164 format of "macro" line with initial "optional-".
37166 * conform/conformtest.pl: Only accept expected constant or
37167 optional-constant values with "==". Parse all "constant" lines in
37168 one place. Parse all "optional-constant" lines in one place.
37169 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37170 * conform/data/fmtmsg.h-data: Likewise.
37171 * conform/data/netinet/in.h-data: Likewise.
37172 * conform/data/tar.h-data: Likewise.
37173 * conform/data/limits.h-data: Use "==" form on "constant" and
37174 "optional-constant" lines.
37176 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37177 Use -std=c99 for XOPEN2K.
37178 (@knownproblems): Remove.
37179 (newtoken): Don't check %isknown.
37181 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37182 Do not expect macro.
37183 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37195 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37196 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37213 [XPG3] (acosh): Likewise.
37214 [XPG3] (asinh): Likewise.
37215 [XPG3] (atanh): Likewise.
37216 [XPG3] (cbrt): Likewise.
37217 [XPG3] (expm1): Likewise.
37218 [XPG3] (ilogb): Likewise.
37219 [XPG3] (log1p): Likewise.
37220 [XPG3] (logb): Likewise.
37221 [XPG3] (nextafter): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37224 [XPG3] (remainder): Likewise.
37225 [XPG3] (rint): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37233 [UNIX98 || XOPEN2K] (scalb): Expect.
37234 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37235 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37282 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37323 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37324 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37334 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37372 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37373 _XOPEN_SOURCE_EXTENDED for XPG4.
37375 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37377 * Makeconfig (localtime): Remove variable.
37378 (inst_localtime-file): Likewise.
37380 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37401 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37405 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37406 comparisons to determine direction to adjust input.
37407 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37408 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37418 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37420 * math/libm-test.inc (nexttoward_test): Add more tests.
37422 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37426 in version GLIBC_2.1, not GLIBC_2.0.
37427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37430 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37436 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37437 * math/libm-test.inc (acos_test): Add more tests.
37438 (asin_test): Likewise.
37439 * sysdeps/i386/fpu/libm-test-ulps: Update.
37440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37445 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37447 * math/libm-test.inc (acos_test_tonearest): New function.
37448 (acos_test_towardzero): Likewise.
37449 (acos_test_downward): Likewise.
37450 (acos_test_upward): Likewise.
37451 (asin_test_tonearest): Likewise.
37452 (asin_test_towardzero): Likewise.
37453 (asin_test_downward): Likewise.
37454 (asin_test_upward): Likewise.
37455 (main): Call the new functions.
37456 * sysdeps/i386/fpu/libm-test-ulps: Update.
37457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37461 * math/e_exp10.c: Include <float.h>.
37462 (__ieee754_exp10): Handle underflow here rather than multiplying
37463 large negative argument by M_LN10.
37464 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37466 * math/e_exp10l.c: Include <float.h>.
37467 (__ieee754_exp10l): Handle underflow here rather than multiplying
37468 large negative argument by M_LN10l.
37469 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37470 spurious overflow exception on underflow.
37472 2012-04-29 Marek Polacek <polacek@redhat.com>
37474 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37475 (__fortify_function): New macro.
37476 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37477 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37478 __extern_always_inline.
37479 * libio/bits/stdio2.h: Likewise.
37480 * libio/bits/stdio.h: Likewise.
37481 * string/string.h: Likewise.
37482 * string/bits/string3.h: Likewise.
37483 * include/stdio.h: Likewise.
37484 * stdlib/bits/stdlib.h: Likewise.
37485 * stdlib/stdlib.h: Likewise.
37486 * rt/bits/mqueue2.h: Likewise.
37487 * rt/mqueue.h: Likewise.
37488 * posix/bits/unistd.h: Likewise.
37489 * posix/unistd.h: Likewise.
37490 * io/bits/poll2.h: Likewise.
37491 * io/bits/fcntl2.h: Likewise.
37492 * io/fcntl.h: Likewise.
37493 * io/sys/poll.h: Likewise.
37494 * misc/bits/syslog.h: Likewise.
37495 * misc/bits/syslog-ldbl.h: Likewise.
37496 * misc/sys/syslog.h: Likewise.
37497 * socket/bits/socket2.h: Likewise.
37498 * socket/sys/socket.h: Likewise.
37499 * debug/tst-chk1.c: Likewise.
37500 * wcsmbs/bits/wchar2.h: Likewise.
37501 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37502 * wcsmbs/wchar.h: Likewise.
37504 2012-04-29 Andreas Jaeger <aj@suse.de>
37506 * Makerules (tests): Remove enable-check-abi protection.
37507 (check-abi-warn): Remove.
37508 (check-abi-%): Remove check-abi-warn usage.
37510 * configure.in: Remove check-abi configure option.
37511 * configure: Regenerated.
37512 * config.make.in (enable-check-abi): Remove.
37514 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37517 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37518 double functions to double *_finite functions.
37521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37522 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37524 * stdio-common/Makefile (tests): Add tst-sprintf3.
37525 * stdio-common/tst-sprintf3.c: New file.
37527 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37528 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37530 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37532 * conform/conformtest.pl: Remove duplicate typed-constant
37535 2012-04-28 David S. Miller <davem@davemloft.net>
37537 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37538 (check-abi-%): Remove AWK script prerequisite and explicit
37540 (check-abi): Rewrite to just diff the symlist with the abilist.
37541 (config-tls, config-abi-config): Delete, no longer used.
37542 (update-abi-%): Remove AWK script and explicit abilist directory.
37543 (update-abi): Rewrite to simply compare and conditionally copy the
37544 symlist and the sysdep abilist file. Remove update-abi-config
37546 * abilist/ld.abilist: Remove.
37547 * abilist/libBrokenLocale.abilist: Remove.
37548 * abilist/libanl.abilist: Remove.
37549 * abilist/libcrypt.abilist: Remove.
37550 * abilist/libdl.abilist: Remove.
37551 * abilist/librt.abilist: Remove.
37552 * abilist/libthread_db.abilist: Remove.
37553 * abilist/libutil.abilist: Remove.
37554 * scripts/extract-abilist.awk: Remove.
37555 * scripts/merge-abilist.awk: Remove.
37556 * sysdeps/generic/libcidn.abilist: New file.
37557 * sysdeps/generic/libnss_compat.abilist: New file.
37558 * sysdeps/generic/libnss_db.abilist: New file.
37559 * sysdeps/generic/libnss_dns.abilist: New file.
37560 * sysdeps/generic/libnss_files.abilist: New file.
37561 * sysdeps/generic/libnss_hesiod.abilist: New file.
37562 * sysdeps/generic/libnss_nis.abilist: New file.
37563 * sysdeps/generic/libnss_nisplus.abilist: New file.
37564 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37566 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37570 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37571 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37574 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37576 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37578 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37579 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37580 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37581 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37583 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37587 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37588 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37591 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37592 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37697 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37698 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37699 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37702 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37703 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37705 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37706 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37709 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37710 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37762 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37764 * conform/conformtest.pl: Fix typo in handling typed-constant from
37767 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37769 * README: Cut down references to pre-2.6 Linux kernels and
37770 Linuxthreads. Update lists of configurations in libc and ports
37771 and sort alphabetically. Say "or newer" with Linux kernel version
37774 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37776 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37779 * math/libm-test.inc (logb_test_downward): New test to expose
37780 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37783 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37786 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37788 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37789 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37791 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37793 * sysdeps/unix/i386/brk.S: Remove file.
37794 * sysdeps/unix/i386/dl-brk.S: Likewise.
37795 * sysdeps/unix/i386/pipe.S: Likewise.
37796 * sysdeps/unix/i386/sigreturn.S: Likewise.
37797 * sysdeps/unix/i386/syscall.S: Likewise.
37798 * sysdeps/unix/i386/vfork.S: Likewise.
37799 * sysdeps/unix/i386/wait.S: Likewise.
37801 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37802 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37804 * configure.in (arm*-none*): Do not allow without
37805 --enable-hacker-mode.
37806 (netbsd*): Remove case setting base_os.
37807 (386bsd*): Likewise.
37808 (freebsd*): Likewise.
37811 (sunos*): Likewise.
37812 (ultrix*): Likewise.
37813 (newsos*): Likewise.
37814 (dynix*): Likewise.
37820 (minix*): Likewise.
37821 (irix4*): Likewise.
37822 (irix6*): Likewise.
37823 (solaris[2-9]*): Likewise.
37825 * configure: Regenerated.
37827 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37831 overflow or cancellation in calculating denominator.
37832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37834 down expression to avoid unexpected rounding in newer GCCs.
37835 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37837 2012-04-26 David S. Miller <davem@davemloft.net>
37839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37840 long-double compat symbols.
37841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37855 2012-04-25 David S. Miller <davem@davemloft.net>
37857 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37858 HWCAP_* values only after the memory barriers have been defined.
37859 (atomic_full_barrier): Define.
37860 (atomic_read_barrier): Define.
37861 (atomic_write_barrier): Define.
37863 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37865 * shlib-versions: Add libgcc_s version information.
37866 * sysdeps/generic/libgcc_s.h: Remove.
37867 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37869 * sysdeps/gnu/unwind-resume.c: Likewise.
37870 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37872 2012-04-25 David S. Miller <davem@davemloft.net>
37874 * sysdeps/unix/sparc/brk.S: Delete.
37875 * sysdeps/unix/sparc/dl-brk.S: Delete.
37876 * sysdeps/unix/sparc/pipe.S: Delete.
37877 * sysdeps/unix/sparc/sysdep.S: Delete.
37878 * sysdeps/unix/sparc/sysdep.h: Delete.
37879 * sysdeps/unix/sparc/vfork.S: Delete.
37880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37881 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37883 (ret_ERRVAL, r0, r1, MOVE): Define.
37884 (JUMPTARGET): Remove.
37885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37886 sysdeps/unix/sparc/sysdep.h
37887 (ENTRY, END): Remove.
37888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37890 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37892 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37893 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37896 * timezone/README: Update upstream location and email address for
37898 * timezone/zdump.c: Update from tzcode 2012b.
37899 * timezone/zic.c: Likewise.
37901 * configure.in (libc_cv_as_needed): Remove test.
37902 * configure: Regenerated.
37903 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37904 conditional definition.
37905 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37906 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37907 * config.make.in (have-as-needed): Remove variable.
37909 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37910 Paul Pluzhnikov <ppluzhnikov@google.com>
37912 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37915 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37917 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37918 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37919 * sysdeps/sh/strlen.S: Likewise.
37921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37923 * sysdeps/unix/fork.S: Remove file.
37924 * sysdeps/unix/i386/fork.S: Likewise.
37925 * sysdeps/unix/sparc/fork.S: Likewise.
37927 * sysdeps/unix/system.c: Remove file.
37928 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37930 * sysdeps/unix/getegid.S: Remove file.
37931 * sysdeps/unix/geteuid.S: Likewise.
37933 2012-04-24 Roland McGrath <roland@hack.frob.com>
37935 * scripts/check-localplt.awk: New file.
37936 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37938 * scripts/data/localplt-generic.data: Add a comment.
37940 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37941 NODE when __dir_mkfile failed.
37942 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37943 Reported by Ludovic Courtès <ludo@gnu.org>.
37945 2012-04-24 Andreas Jaeger <aj@suse.de>
37947 * Makerules (common-clean): Also remove gen-as-const-headers
37950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37952 * Makerules (native-compile): Do not change working directory for
37953 build. Use $(OUTPUT_OPTION) in command.
37954 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37956 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37959 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37960 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37961 * math/libm-test.inc (floor_test): Add more tests.
37962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37964 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37966 * sysdeps/unix/getdents.c: Remove file.
37967 * sysdeps/unix/sysv/getdents.c: Likewise.
37968 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37970 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37971 sysdeps/unix/mman/syscalls.list.
37973 (mprotect): Likewise.
37975 (munmap): Likewise.
37976 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37977 * sysdeps/unix/mman/syscalls.list: Remove.
37978 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37980 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37981 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37982 * configure: Regenerated.
37983 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37984 $(libgcc_s_suffix).
37985 * config.make.in (libgcc_s_suffix): Remove variable.
37987 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37989 * sysdeps/unix/sysv/gethostname.c: Move to ...
37990 * sysdeps/posix/gethostname.c: ... here.
37992 * sysdeps/unix/execve.S: Remove file.
37994 * sysdeps/unix/_exit.S: Remove file.
37996 2012-04-23 Andreas Jaeger <aj@suse.de>
37999 * manual/Makefile: Remove make dist support, there's no
38000 need for a stand-alone documentation tar ball.
38001 (TEXI2DVI): Define always, it's not in Makeconfig.
38004 (edition): Removed.
38005 (glibc-doc-$(edition).tar): Removed
38009 (ETAGS): Remove, it's in Makeconfig.
38010 (move-if-change): Remove, it's in Makeconfig.
38012 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38015 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38016 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38017 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38018 (strtod_l, strtof_l, strtold_l): Remove __wur.
38019 It is not necessarily an error to ignore strtol's return value.
38020 One can reliably look at the stored endptr to decide whether
38021 the number had valid syntax.
38023 2012-04-21 Andreas Jaeger <aj@suse.de>
38026 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38028 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38030 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38031 * sysdeps/unix/sysv/Versions: Remove file.
38033 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38038 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38042 version from __vm86.
38044 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38046 * sysdeps/unix/common/lxstat.c: Remove file.
38047 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38049 * sysdeps/unix/sysv/Makefile: Remove file.
38051 * sysdeps/unix/sysv/direct.h: Remove file.
38053 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38054 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38055 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38056 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38057 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38058 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38059 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38061 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38063 * sysdeps/unix/xmknod.c: Remove file.
38064 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38066 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38068 * sysdeps/unix/sysv/i386/time.S: Remove file.
38070 * sysdeps/unix/fxstat.c: Remove file.
38071 * sysdeps/unix/xstat.c: Likewise.
38072 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38074 * sysdeps/unix/sysv/sigaction.c: Remove file.
38076 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38077 (sysdep_headers): Remove variable.
38078 [termio.h not in sysdep_headers] (generated): Likewise.
38079 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38080 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38081 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38082 * sysdeps/unix/sysv/tcflow.c: Likewise.
38083 * sysdeps/unix/sysv/tcflush.c: Likewise.
38084 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38085 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38086 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38087 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38088 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38090 * sysdeps/unix/siglist.c: Remove file.
38092 * sysdeps/unix/getppid.S: Remove file.
38094 * sysdeps/unix/mkdir.c: Remove file.
38095 * sysdeps/unix/rmdir.c: Likewise.
38097 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38099 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38102 errlist-compat value.
38104 2012-04-18 David S. Miller <davem@davemloft.net>
38106 * sysdeps/generic/memcopy.h (reg_char): Delete.
38107 * debug/strcat_chk.c: Use char, not reg_char.
38108 * debug/strcpy_chk.c: Likewise.
38109 * debug/strncat_chk.c: Likewise.
38110 * debug/strncpy_chk.c: Likewise.
38111 * string/memchr.c: Likewise.
38112 * string/memrchr.c: Likewise.
38113 * string/rawmemchr.c: Likewise.
38114 * string/strcat.c: Likewise.
38115 * string/strchr.c: Likewise.
38116 * string/strchrnul.c: Likewise.
38117 * string/strcmp.c: Likewise.
38118 * string/strcpy.c: Likewise.
38119 * string/strncat.c: Likewise.
38120 * string/strncmp.c: Likewise.
38121 * string/strncpy.c: Likewise.
38123 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38125 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38126 __builtin_memcopy is called when src and dest ranges are known to not
38129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38132 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38133 fwd_align_merge macro call.
38134 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38135 bwd_align_merge macro call.
38136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38138 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38141 bwd_align_merge macros.
38142 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38143 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38146 2012-04-18 David S. Miller <davem@davemloft.net>
38148 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38150 2012-04-18 Andreas Jaeger <aj@suse.de>
38153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38154 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38158 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38161 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38162 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38163 Adjust for changed ldbl-128 files.
38165 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38166 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38169 2012-04-17 David S. Miller <davem@davemloft.net>
38171 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38173 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38175 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38176 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38177 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38178 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38179 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38180 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38182 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38185 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38186 * math/libm-test.inc: Add ilogb errno and exception tests.
38187 * math/w_ilogb.c: New file: ilogb wrapper.
38188 * math/w_ilogbf.c: New file: ilogbf wrapper.
38189 * math/w_ilogbl.c: New file: ilogbl wrapper.
38190 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38191 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38192 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38193 exception being thrown with 0.0 as argument.
38194 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38195 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38196 exception being thrown with 0.0 as argument.
38197 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38198 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38199 exception being thrown with 0.0 as argument.
38200 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38201 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38202 exception being thrown with 0.0 as argument.
38203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38204 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38206 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38209 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38210 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38211 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38213 2012-04-17 Petr Baudis <pasky@ucw.cz>
38215 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38218 2012-04-16 Marek Polacek <polacek@redhat.com>
38220 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38222 2012-04-16 Marek Polacek <polacek@redhat.com>
38224 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38225 operands of fdivp instruction.
38227 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38229 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38230 * elf/tst-auditmod3b.c: Likewise.
38231 * elf/tst-auditmod4b.c: Likewise.
38232 * elf/tst-auditmod5b.c: Likewise.
38233 * elf/tst-auditmod6b.c: Likewise.
38234 * elf/tst-auditmod6c.c: Likewise.
38235 * elf/tst-auditmod7b.c: Likewise.
38236 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38237 * sysdeps/x86_64/preconfigure.in: Likewise.
38238 * sysdeps/x86_64/preconfigure: Regenerated.
38240 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38245 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38248 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38250 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38253 * locale/iso-639.def: Fix gl language name. Spotted by
38256 2012-04-12 Roland McGrath <roland@hack.frob.com>
38259 * libio/libio.h (__io_write_fn): Update comment.
38261 2012-04-12 Petr Baudis <pasky@ucw.cz>
38264 * stdio.texi (Hook Functions): The user provided writer function
38265 is not allowed to return -1.
38267 2012-04-11 David S. Miller <davem@davemloft.net>
38269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38271 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38273 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38274 Add a leading slash to rtkaio.
38276 2012-04-11 Jim Meyering <meyering@redhat.com>
38279 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38280 It is not necessarily an error to ignore fwrite's return
38281 value. One can reliably use ferror to test for errors after
38284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38286 * bits/types.h (__snseconds_t): New type.
38287 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38289 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38291 (__SNSECONDS_T_TYPE): Likewise.
38292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38293 (__SNSECONDS_T_TYPE): Likewise.
38294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38295 (__SNSECONDS_T_TYPE): Likewise.
38297 2012-04-10 Andreas Jaeger <aj@suse.de>
38300 * manual/time.texi (Processor Time): Return type of times is
38301 elapsed real time since an arbitrary point in the past.
38302 (CPU Time): Move CLK_TCK from here...
38303 (Processor Time): ...to here. Correct description.
38304 * manual/conf.texi (Constants for Sysconf): Correct description of
38307 2012-04-10 David S. Miller <davem@davemloft.net>
38310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38311 where the is a gap between DT_REL(A) and DT_JMPREL.
38313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38315 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38319 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38321 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38322 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38323 (dl_main): Handle --inhibit-cache.
38324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38326 * elf/dl-load.c (_dl_map_object): Use it.
38327 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38329 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38332 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38333 (__ieee754_powl): Saturate large exponents rather than testing for
38334 overflow of y*log2(x).
38335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38336 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38340 * math/s_ctan.c: Include <float.h>.
38341 (__ctan): Avoid internal overflow or cancellation in calculating
38343 * math/s_ctanf.c: Likewise.
38344 * math/s_ctanl.c: Likewise.
38345 * math/s_ctanh.c: Likewise.
38346 * math/s_ctanhf.c: Likewise.
38347 * math/s_ctanhl.c: Likewise.
38348 * math/libm-test.inc (ctan_test): Add more tests.
38349 (ctanh_test): Likewise.
38350 * sysdeps/i386/fpu/libm-test-ulps: Update.
38351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38353 2012-04-09 Andreas Jaeger <aj@suse.de>
38356 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38357 is an optional BSD extension.
38360 * manual/stdio.texi (Opening Streams): Document additional fopen
38363 2012-04-09 Roland McGrath <roland@hack.frob.com>
38365 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38366 %eax without telling the compiler.
38368 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38371 * manual/install.texi: Use sourceware.org.
38373 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38376 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38377 (__ieee754_pow): Generate overflow and underflow using huge*huge
38378 and tiny*tiny rather than just returning constant infinity or zero
38379 for large exponents.
38380 * math/libm-test.inc (pow_test): Require overflow exceptions for
38381 applicable cases of large exponents.
38384 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38385 (__ieee754_pow): Use iterative multiplication algorithm only for
38386 integer exponents with absolute value below 1024. Check for odd
38387 integer exponents when using algorithm for real exponents.
38388 * math/libm-test.inc (pow_test): Add more tests.
38389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38391 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38394 * math/libm-test.inc (exp_test): Do not allow overflow exception
38397 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38400 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38401 instead of __kernel_standard_f.
38403 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38405 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38406 * sysdeps/x86_64/memset_chk.S: Likewise.
38408 2012-04-08 Andreas Jaeger <aj@suse.de>
38411 * manual/startup.texi (Environment Access): Describe return value
38412 for putenv and setenv.
38415 * manual/filesys.texi (Directory Entries): Add description for
38419 * manual/filesys.texi (Directory Entries): Clarify that it's file
38420 system not operating system in the description of DT_UNKNOWN.
38423 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38425 2012-04-08 Stephen Compall <s11@member.fsf.org>
38428 * manual/llio.texi (Opening and Closing Files): Add cross
38429 reference to explain mode argument.
38431 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38433 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38434 * sysdeps/x86_64/memset_chk.S: Likewise.
38436 2012-04-07 David S. Miller <davem@davemloft.net>
38438 * elf/elf.h (R_SPARC_WDISP10): Define.
38439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38442 R_SPARC_SIZE64 and R_SPARC_H34.
38444 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38446 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38447 conditions and remove no longer applicable assertion.
38449 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38451 * bits/byteswap.h: Include <features.h>.
38452 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38453 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38455 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38457 * bits/byteswap.h (__bswap_16): Removed.
38458 Include <bits/byteswap-16.h> to get __bswap_16.
38459 * sysdeps/i386/bits/byteswap.h: Likewise.
38460 * sysdeps/s390/bits/byteswap.h: Likewise.
38461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38462 * bits/byteswap-16.h: New file.
38463 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38464 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38465 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38466 * string/Makefile (headers): Add bits/byteswap-16.h.
38468 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38471 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38473 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38474 * nss/tst-nss-static.c: New.
38476 2012-04-06 Robert Millan <rmh@gnu.org>
38479 * manual/llio.texi (File Position Primitive): lseek
38480 refers to WHENCE when it really means OFFSET.
38482 2012-04-06 Andreas Jaeger <aj@suse.de>
38484 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38485 strncmp declarations.
38487 * abilist/libc.abilist: Add __poll and __ppoll.
38489 2012-04-05 David S. Miller <davem@davemloft.net>
38491 * scripts/check-local-headers.sh: Accept a host triplet in the
38492 path matched by the exclude regexp.
38494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38496 * sysdeps/powerpc/powerpc32/dl-machine.h
38497 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38498 * sysdeps/s390/s390-32/dl-machine.h
38499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38500 * sysdeps/sparc/sparc32/dl-machine.h
38501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38502 * sysdeps/sparc/sparc64/dl-machine.h
38503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38505 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38508 undefined symbol errors.
38510 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38513 2012-04-05 Michael Matz <matz@suse.de>
38516 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38518 2012-04-05 Andreas Jaeger <aj@suse.de>
38521 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38524 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38527 which ROUND is no valid rounding mode.
38529 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38533 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38535 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38538 an exception using FPU order intentionally.
38540 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38543 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38544 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38545 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38547 2012-04-05 Simon Josefsson <simon@josefsson.org>
38550 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38551 EINVAL when BUFLEN is too smal.
38553 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38556 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38557 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38559 2012-04-03 Andreas Jaeger <aj@suse.de>
38562 * manual/setjmp.texi (System V contexts): Fix sentence.
38565 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38566 New macro for this case.
38567 [!__GNUC__] (__bswap_64): New inline function for this case.
38568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38569 * bits/byteswap.h: Likewise.
38570 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38571 ull, guard with __GLIBC_HAVE_LONG_LONG.
38573 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38574 __GLIBC_HAVE_LONG_LONG.
38576 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38577 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38579 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38583 inptr and inend, rather than using last_ch.
38585 2012-04-02 David S. Miller <davem@davemloft.net>
38587 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38588 * stdio-common/printf-parse.h (read_int): Change return type to
38589 'int', return -1 on INT_MAX overflow.
38590 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38591 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38592 overflows INT_MAX. Check for overflow of in-format-string precision
38593 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38594 SIZE_MAX not INT_MAX for integer overflow test.
38595 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38596 skip the construct in the format string but do not record anything.
38597 * stdio-common/bug22.c: Adjust to test both width/prevision
38598 INT_MAX overflow as well as total length INT_MAX overflow. Check
38599 explicitly for proper errno values.
38601 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38603 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38605 * string/test-strcmp.c [! WIDE]: Likewise.
38606 * time/tst-mktime2.c: Likewise for INT_MAX.
38607 * string/test-string.h: #include <sys/param.h> for MIN.
38609 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38610 * sysdeps/i386/init-first.c (init): Likewise.
38611 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38612 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38613 * sysdeps/sh/init-first.c (init): Likewise.
38615 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38617 * po/ru.po: Update from translation team.
38618 * po/vi.po: Likewise.
38620 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38622 * resolv/nss_dns/dns-host.c: Merge copyright years.
38624 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38627 Optimize memcpy with prefetch if
38628 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38629 src, dst pointers have unequal 16 byte alignments.
38631 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38634 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38635 from a CNAME entry and return the minimum ttl for the query.
38636 (gaih_getanswer_slice): Likewise.
38638 2012-03-30 Jeff Law <law@redhat.com>
38640 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38642 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38643 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38645 * resolv/nss_dns/dns-host.c: Update copyright year.
38647 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38649 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38650 requests to save a system call. Fix check that all bytes are sent.
38652 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38653 comments for sendmmsg.
38655 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38659 with only 1 character between 0x0041 and 0x01b0.
38660 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38661 * wcsmbs/tst-mbsnrtowcs.c: New file.
38663 2012-03-29 David S. Miller <davem@davemloft.net>
38665 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38666 small copies by hand.
38668 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38671 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38672 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38675 2012-03-28 David S. Miller <davem@davemloft.net>
38677 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38678 that branches into memcpy.
38679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38682 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38685 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38686 implementation too.
38687 * sysdeps/sparc/mempcpy.S: New file.
38689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38690 the IFUNC routine in the libc case.
38691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38693 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38695 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38696 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38697 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38698 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38699 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38700 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38702 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38703 loop to 256 bytes instead of 64 bytes and fix test signedness.
38705 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38706 * sysdeps/sparc/sparc32/Makefile: rather than here...
38707 * sysdeps/sparc/sparc64/Makefile: and here.
38709 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38711 * malloc/mallocbug.c: Avoid warnings about unused variables.
38713 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38716 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38717 in the right place. Discard and retry query if response is
38718 larger than input buffer size.
38720 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38726 x for large integer exponent.
38727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38728 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38729 sign of result as needed afterwards.
38730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38732 result for underflowing pow the same as for overflow.
38733 (__kernel_standard_l): Handle powl overflow and underflow here
38734 rather than calling __kernel_standard.
38735 * math/libm-test.inc (pow_test): Add more tests.
38750 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38751 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38752 (__kernel_standard_l): New function.
38753 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38755 * math/w_acosl.c (__acosl): Likewise.
38756 * math/w_asinl.c (__asinl): Likewise.
38757 * math/w_atan2l.c (__atan2l): Likewise.
38758 * math/w_atanhl.c (__atanhl): Likewise.
38759 * math/w_coshl.c (__coshl): Likewise.
38760 * math/w_exp10l.c (__exp10l): Likewise.
38761 * math/w_exp2l.c (__exp2l): Likewise.
38762 * math/w_fmodl.c (__fmodl): Likewise.
38763 * math/w_hypotl.c (__hypotl): Likewise.
38764 * math/w_j0l.c (__j0l, __y0l): Likewise.
38765 * math/w_j1l.c (__j1l, __y1l): Likewise.
38766 * math/w_jnl.c (__jnl, __ynl): Likewise.
38767 * math/w_lgammal.c (__lgammal): Likewise.
38768 * math/w_log10l.c (__log10l): Likewise.
38769 * math/w_log2l.c (__log2l): Likewise.
38770 * math/w_logl.c (__logl): Likewise.
38771 * math/w_powl.c (__powl): Likewise.
38772 * math/w_remainderl.c (__remainderl): Likewise.
38773 * math/w_scalbl.c (sysv_scalbl): Likewise.
38774 * math/w_sinhl.c (__sinhl): Likewise.
38775 * math/w_sqrtl.c (__sqrtl): Likewise.
38776 * math/w_tgammal.c (__tgammal): Likewise.
38777 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38778 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38779 * math/libm-test.inc (acos_test): Add more tests.
38780 (acosh_test): Likewise.
38781 (asin_test): Likewise.
38782 (atanh_test): Likewise.
38783 (exp_test): Likewise.
38784 (exp10_test): Likewise.
38785 (exp2_test): Likewise.
38786 (expm1_test): Likewise.
38787 (lgamma_test): Likewise.
38788 (log_test): Likewise.
38789 (log10_test): Likewise.
38790 (log1p_test): Likewise.
38791 (log2_test): Likewise.
38792 (pow_test): Do not allow some spurious overflow exceptions.
38793 (sqrt_test): Add more tests.
38794 (tgamma_test): Likewise.
38795 (y0_test): Likewise.
38796 (y1_test): Likewise.
38797 (yn_test): Likewise.
38799 2012-03-27 Anton Blanchard <anton@samba.org>
38801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38804 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38807 2012-03-27 David S. Miller <davem@davemloft.net>
38809 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38811 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38812 have-as-vis3 check.
38814 2012-03-27 Andreas Jaeger <aj@suse.de>
38816 * sysdeps/x86_64/elf/configure.in: Moved to ...
38817 * sysdeps/x86_64/configure.in: ... here.
38818 * sysdeps/x86_64/elf/start.S: Moved to ...
38819 * sysdeps/x86_64/start.S: ... here.
38820 * sysdeps/x86_64/elf/configure: Delete.
38822 * sysdeps/x86_64/configure.in: Merge contents from
38823 sysdeps/i386/configure.in (without i686 check).
38825 * sysdeps/i386/elf/Versions: Merge into ...
38826 * sysdeps/i386/Versions: ... this.
38827 * sysdeps/i386/elf/Versions: Delete file.
38828 * sysdeps/i386/elf/start.S: Moved to ...
38829 * sysdeps/i386/start.S: ...here.
38830 * sysdeps/i386/elf/configure.in: Merge into...
38831 * sysdeps/i386/configure.in: ...here.
38832 * sysdeps/i386/elf/configure.in: Delete file.
38833 * sysdeps/i386/elf/configure: Delete file.
38835 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38836 * debug/backtracesyms.c: ... here.
38837 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38838 * debug/backtracesymsfd.c: ... here.
38839 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38840 * sysdeps/generic/ifunc-sel.h: ... here.
38842 * sysdeps/unix/i386/start.c: Delete file.
38843 * sysdeps/unix/sparc/start.c: Delete file.
38844 * sysdeps/unix/start.c: Delete file.
38846 * sysdeps/sh/elf/configure.in: Moved to ...
38847 * sysdeps/sh/configure.in: ... here.
38848 * sysdeps/sh/elf/start.S: Moved to ...
38849 * sysdeps/sh/start.S: ... here.
38850 * sysdeps/sh/elf/configure: Delete file.
38852 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38853 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38854 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38855 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38856 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38857 * sysdeps/powerpc/powerpc64/start.S: here.
38858 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38859 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38860 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38861 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38862 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38864 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38865 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38866 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38867 * sysdeps/powerpc/powerpc32/start.S: ... here.
38868 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38869 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38870 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38872 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38873 * sysdeps/powerpc/ifunc-sel.h: ... here.
38874 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38875 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38877 * sysdeps/sparc/elf/configure.in: Moved to ...
38878 * sysdeps/sparc/configure.in: ... here.
38879 * sysdeps/sparc/elf/configure: Delete file.
38880 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38881 * sysdeps/sparc/sparc32/start.S: ... here.
38882 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38883 * sysdeps/sparc/sparc64/start.S: ... here.
38884 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38885 * sysdeps/sparc/sparc32/Makefile: ... this.
38886 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38887 * sysdeps/sparc/sparc64/Makefile: ... this.
38889 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38890 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38891 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38892 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38893 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38894 * sysdeps/s390/s390-32/setjmp.S: ... here.
38895 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38896 * sysdeps/s390/s390-32/configure.in: ... here.
38897 * sysdeps/s390/s390-32/elf/configure: Delete file.
38898 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38899 * sysdeps/s390/s390-32/start.S: ... here.
38901 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38902 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38903 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38904 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38905 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38906 * sysdeps/s390/s390-64/setjmp.S: ... here.
38907 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38908 * sysdeps/s390/s390-64/configure.in: ... here
38909 * sysdeps/s390/s390-64/elf/configure: Delete file.
38910 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38911 * sysdeps/s390/s390-64/start.S: ... here.
38912 * sysdeps/s390/s390-64/elf/configure: Delete.
38914 * configure.in: Remove support for elf directories in sysdeps.
38916 * configure: Regenerated.
38917 * sysdeps/i386/configure: Regenerated.
38918 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38919 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38920 * sysdeps/s390/s390-32/configure: Regenerated.
38921 * sysdeps/s390/s390-64/configure: Regenerated.
38922 * sysdeps/sh/configure: Regenerated.
38923 * sysdeps/sparc/configure: Regenerated.
38924 * sysdeps/x86_64/configure: Regenerated.
38926 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38931 denormal result into account.
38933 2012-03-25 Roland McGrath <roland@hack.frob.com>
38935 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38936 Reported by Allan McRae <allan@archlinux.org>.
38938 2012-03-23 Jeff Law <law@redhat.com>
38940 * nss/getnssent.c (__nss_getent): Fix typo.
38942 2012-03-23 David S. Miller <davem@davemloft.net>
38944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38946 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38948 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38949 to pad to uint64_t for each field.
38950 (dl_tls_index): Replace unsigned long with uint64_t.
38952 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38953 Paul Pluzhnikov <ppluzhnikov@google.com>
38956 * grp/Makefile (otherlibs): Don't set it.
38957 * inet/Makefile (otherlibs): Likewise.
38958 * login/Makefile (otherlibs): Likewise.
38959 * nscd/Makefile (otherlibs): Likewise.
38960 * posix/Makefile (otherlibs): Likewise.
38961 * pwd/Makefile (otherlibs): Likewise.
38962 * rt/Makefile (otherlibs): Likewise.
38963 * sunrpc/Makefile (otherlibs): Likewise.
38964 * nss/Makefile (otherlibs): Likewise.
38965 Add libnss_files to routines and static-only-routines.
38966 ($(objpfx)getent): Remove rule.
38967 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38968 static-only-routines.
38970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38973 * math/s_cexp.c: Include <float.h>.
38974 (__cexp): Handle exp result overflowing not necessarily
38975 overflowing both real and imaginary parts of result.
38976 * math/s_cexpf.c: Likewise.
38977 * math/s_cexpl.c: Likewise.
38978 * math/libm-test.inc (cexp_test): Add more tests.
38979 * sysdeps/i386/fpu/libm-test-ulps: Update.
38980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38982 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38984 * include/link.h (ELFW): New macro.
38985 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38986 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38988 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38990 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38993 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38995 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38997 (struct La_x32_retval): Likewise.
38999 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39001 * sysdeps/x86_64/preconfigure.in: New file.
39002 * sysdeps/x86_64/preconfigure: New generated file.
39004 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39007 * math/e_exp2l.c: Include <float.h>.
39008 (__ieee754_exp2l): Handle overflow and underflow cases
39009 separately. Only pass fractional part of argument to
39011 * math/libm-test.inc (exp2_test): Add more tests.
39013 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39014 negating x to take absolute value.
39015 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39021 computing low part if x was negated.
39022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39024 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39026 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39027 la_x32_gnu_pltexit.
39028 (pltexit): Cast int_retval to ptrdiff_t.
39029 * elf/tst-auditmod3b.c: Likewise.
39030 * elf/tst-auditmod4b.c: Likewise.
39031 * elf/tst-auditmod5b.c: Likewise.
39032 * elf/tst-auditmod6b.c: Likewise.
39033 * elf/tst-auditmod6c.c: Likewise.
39034 * elf/tst-auditmod7b.c: Likewise.
39036 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39037 and x32_gnu_pltexit.
39039 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39040 __ELF_NATIVE_CLASS.
39041 (La_x32_regs): New macro.
39042 (La_x32_retval): Likewise.
39043 (la_x32_gnu_pltenter): New function prototype.
39044 (la_x32_gnu_pltexit): Likewise.
39046 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39053 * configure.in (libc_cv_cc_nofma): Check for option to disable
39054 generation of FMA instructions.
39055 * configure: Regenerate.
39056 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39057 * sysdeps/ieee754/dbl-64/Makefile: New file.
39058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39059 Remove brandred-fma4.
39060 (CFLAGS-brandred-fma4.c): Remove.
39061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39062 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39070 LLONG_MAX != LONG_MAX.
39071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39072 (_fitoa_word): Likewise.
39073 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39074 LLONG_MAX != LONG_MAX.
39075 * stdio-common/_itowa.h: Include <_itoa.h>.
39076 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39077 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39078 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39079 only if not defined.
39080 (_ITOA_WORD_TYPE): Likewise.
39081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39082 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39084 2012-03-21 David S. Miller <davem@davemloft.net>
39086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39088 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39090 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39091 of x86_64 when setting libc_cv_slibdir, libdir and
39093 * sysdeps/unix/sysv/linux/configure: Regenerated.
39095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39097 * manual/lang.texi (Old Varargs): Remove section.
39098 (How Variadic): Update menu.
39099 (va_start): Do not mention varargs.h.
39101 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39102 Joseph Myers <joseph@codesourcery.com>
39104 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39106 * configure: Regenerated.
39108 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39110 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39111 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39117 * Makefile (files-for-dist): Remove NOTES.
39118 (NOTES): Remove rule.
39119 * README: Don't refer to NOTES.
39120 * manual/creature.texi: Don't include macros.texi.
39121 * manual/intro.texi (creature.texi): Remove comment referring to
39124 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39125 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39126 * configure: Regenerated.
39127 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39128 LIBC_TRY_CC_OPTION.
39129 (libc_cv_as_i686): Likewise.
39130 (libc_cv_cc_avx): Likewise.
39131 (libc_cv_cc_sse2avx): Likewise.
39132 (libc_cv_cc_fma4): Likewise.
39133 (libc_cv_cc_novzeroupper): Likewise.
39134 * sysdeps/i386/configure: Regenerated.
39137 * sysdeps/i386/fpu/s_cexp.S: Remove.
39138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39139 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39140 * math/libm-test.inc (cexp_test): Add more tests.
39141 * sysdeps/i386/fpu/libm-test-ulps: Update.
39142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39144 2012-03-21 Allan McRae <allan@archlinux.org>
39146 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39148 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39151 * math/w_exp2.c: Do not include <float.h>.
39152 (o_threshold, u_threshold): Remove.
39153 (__exp2): Calculate result before checking finiteness and calling
39155 * math/w_exp2f.c: Likewise.
39156 * math/w_exp2l.c: Likewise.
39157 * math/libm-test.inc (exp2_test): Require overflow exception for
39161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39162 range of signed 64-bit integers before using fistpll. Remove
39163 checks for whether integers fit in mantissa bits.
39164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39165 the range of signed 32-bit integers before using fistpl. Remove
39166 checks for whether integers fit in mantissa bits.
39167 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39168 (__ieee754_powl): Test for y outside the range of signed 64-bit
39169 integers before using fistpll. Reduce 64-bit values to 63-bit
39171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39172 divide-by-zero is raised for zero to large negative powers.
39173 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39174 (__ieee754_powl): Test for y outside the range of signed 64-bit
39175 integers before using fistpll. Reduce 64-bit values to 63-bit
39177 * math/libm-test.inc (pow_test): Add more tests.
39179 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39181 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39182 <stdio-common/_itoa.h>.
39183 * debug/segfault.c: Likewise.
39184 * elf/dl-cache.c: Likewise.
39185 * elf/dl-minimal.c: Likewise.
39186 * elf/dl-misc.c: Likewise.
39187 * elf/dl-sysdep.c: Likewise.
39188 * elf/dl-version.c: Likewise.
39189 * elf/rtld.c: Likewise.
39190 * hurd/hurdsock.c: Likewise.
39191 * hurd/lookup-retry.c: Likewise.
39192 * malloc/malloc.c: Likewise.
39193 * malloc/mtrace.c: Likewise.
39194 * nscd/nscd_getgr_r.c: Likewise.
39195 * nscd/nscd_getpw_r.c: Likewise.
39196 * nscd/nscd_getserv_r.c: Likewise.
39197 * posix/getopt_init.c: Likewise.
39198 * posix/wordexp.c: Likewise.
39199 * stdio-common/_itoa.c: Likewise.
39200 * stdio-common/printf_fphex.c: Likewise.
39201 * stdio-common/vfprintf.c: Likewise.
39202 * string/_strerror.c: Likewise.
39203 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39204 * sysdeps/i386/i686/hp-timing.h: Likewise.
39205 * sysdeps/mach/_strerror.c: Likewise.
39206 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39207 * sysdeps/mach/hurd/sethostid.c: Likewise.
39208 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39209 * sysdeps/mach/xpg-strerror.c: Likewise.
39210 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39211 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39212 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39213 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39215 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39218 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39219 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39220 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39222 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39223 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39226 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39230 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39232 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39234 * stdio-common/_itoa.h: Moved to ...
39235 * sysdeps/generic/_itoa.h: Here.
39237 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39239 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39240 instead of "_itoa.h" and "_itowa.h".
39241 * stdio-common/vfprintf.: Likewise.
39243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39247 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39248 (__signbit): Likwise.
39249 (llrintf): Likwise.
39252 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39254 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39257 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39259 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39260 OVERFLOW_EXCEPTION_OK.
39261 * math/libm-test.inc ("Philosophy"): Update comment about
39263 (OVERFLOW_EXCEPTION): Define.
39264 (OVERFLOW_EXCEPTION_OK): Likewise.
39265 (INVALID_EXCEPTION_OK): Renumber.
39266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39267 (IGNORE_ZERO_INF_SIGN): Likewise.
39268 (test_exceptions): Handle FE_OVERFLOW.
39269 (exp10_test): Expect overflow exceptions.
39270 (exp2_test): Likewise.
39271 (expm1_test): Likewise.
39272 (nextafter_test): Likewise.
39273 (pow_test): Likewise.
39274 (scalbn_test): Likewise.
39275 (scalbln_test): Likewise.
39277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39279 * sysdeps/x86_64/bits/atomic.h
39280 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39282 (atomic_exchange_acq): Likewise.
39283 (__arch_exchange_and_add_body): Likewise.
39284 (__arch_add_body): Likewise.
39285 (atomic_add_negative): Likewise.
39286 (atomic_add_zero): Likewise.
39288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39290 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39291 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39293 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39295 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39296 Check __x86_64__ instead of __WORDSIZE.
39298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39300 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39302 2012-03-19 David S. Miller <davem@davemloft.net>
39304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39306 * sysdeps/sparc/fpu/fenv_private.h: New file.
39307 * sysdeps/sparc/fpu/math_private.h: Use it.
39308 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39311 (libc_feholdexcept_setroundl): Remove.
39312 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39319 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39320 int64_t instead of long int.
39321 (INSERT_WORDS64): Likwise.
39323 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39325 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39326 _Unwind_GetCFA return to _Unwind_Ptr first.
39328 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39331 * math/s_clog.c: Include <float.h>.
39332 (__clog): Scale large or subnormal inputs.
39333 * math/s_clogf.c: Likewise.
39334 * math/s_clogl.c: Likewise.
39335 * math/s_clog10.c: Include <float.h>.
39336 (M_LOG10_2): Define.
39337 (__clog10): Scale large or subnormal inputs.
39338 * math/s_clog10f.c: Likewise.
39339 * math/s_clog10l.c: Likewise.
39340 * math/libm-test.inc (clog_test): Add more tests.
39341 (clog10_test): Likewise.
39342 * sysdeps/i386/fpu/libm-test-ulps: Update.
39343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39346 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39348 * math/libm-test.inc (atan2_test): Add another test.
39350 * Makerules (common-objdir-compile): Remove.
39351 * sysdeps/unix/Makefile (config-generated): Do not add
39352 $(unix-generated) to variable.
39353 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39354 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39356 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39358 [generic bits/local_lim.h] (before-compile): Do not append to
39360 [generic bits/local_lim.h] (common-generated): Likewise.
39361 [generic sys/param.h] (before-compile): Do not append to variable.
39362 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39363 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39364 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39367 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39368 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39369 [generic sys/param.h] ($(addprefix
39370 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39371 [generic sys/param.h] (common-generated): Do not append to
39373 [generic sys/param.h] (sysdep_headers): Likewise.
39374 [generic bits/errno.h] (before-compile): Do not append to
39376 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39378 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39379 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39380 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39381 [generic bits/errno.h] (common-generated): Do not append to
39383 [generic bits/ioctls.h] (before-compile): Do not append to
39385 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39387 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39388 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39392 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39393 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39394 [generic bits/ioctls.h] (common-generated): Do not append to
39396 [generic sys/syscall.h] (syscall.h): Remove variable.
39397 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39399 [generic sys/syscall.h] (before-compile): Do not append to
39401 [generic sys/syscall.h] (common-generated): Likewise.
39402 * sysdeps/unix/errnos-tmpl.c: Remove file.
39403 * sysdeps/unix/errnos.awk: Likewise.
39404 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39405 * sysdeps/unix/ioctls.awk: Likewise.
39406 * sysdeps/unix/mk-local_lim.c: Likewise.
39407 * sysdeps/unix/snarf-ioctls: Likewise.
39409 2012-03-19 Richard Henderson <rth@twiddle.net>
39411 * sysdeps/i386/fpu/fenv_private.h: New file.
39412 * sysdeps/i386/fpu/math_private.h: Use it.
39413 (math_opt_barrier, math_force_eval): Remove.
39414 (libc_feholdexcept_setround_53bit): Remove.
39415 (libc_feupdateenv_53bit): Remove.
39416 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39417 (math_opt_barrier, math_force_eval): Remove.
39418 (libc_feholdexcept): Remove.
39419 (libc_feholdexcept_setround): Remove.
39420 (libc_fetestexcept, libc_fesetenv): Remove.
39421 (libc_feupdateenv_test): Remove.
39422 (libc_feupdateenv, libc_feholdsetround): Remove.
39423 (libc_feresetround): Remove.
39425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39426 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39428 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39429 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39430 (libc_feupdateenv_testl): New.
39431 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39432 (libc_feupdateenv_testf): New.
39433 (libc_feupdateenv): Use libc_feupdateenv_test.
39434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39437 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39438 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39439 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39440 (libc_feresetround_noex): New.
39441 (libc_feresetround_noexf): New.
39442 (libc_feresetround_noexl): New.
39443 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39444 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39445 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39446 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39451 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39452 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39453 SET_RESTORE_ROUND_NOEX.
39454 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39455 SET_RESTORE_ROUND_NOEXF.
39456 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39457 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39458 (libc_feholdsetroundf): New.
39459 (libc_feresetround, libc_feresetroundf): New.
39461 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39462 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39463 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39465 * sysdeps/generic/math_private.h: Include <fenv.h>.
39466 (default_libc_feholdexcept): New.
39467 (default_libc_feholdexcept_setround): New.
39468 (default_libc_fesetenv, default_libc_feupdateenv): New.
39469 (libc_feholdexcept): Only define if undefined.
39470 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39472 (libc_feholdexcept_setroundl): Likewise.
39473 (libc_feholdexcept_setround_53bit): Likewise.
39474 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39477 (libc_feupdateenv_53bit): Likewise.
39478 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39479 (libc_feholdexcept): Convert from macro to inline function.
39480 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39481 (libc_fesetenv, libc_feupdateenv): Likewise.
39483 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39484 not previously defined.
39485 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39486 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39487 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39489 * sysdeps/ieee754/flt-32/math_private.h: New file.
39490 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39491 math_private.h below SET_FLOAT_WORD.
39492 (__isnan, __isinf_ns, __finite): Remove.
39493 (__isnanf, __isinf_nsf, __finitef): Remove.
39495 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39499 2012-03-17 David S. Miller <davem@davemloft.net>
39502 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39505 2012-03-16 David S. Miller <davem@davemloft.net>
39507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39513 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39514 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39515 sysdep_routines when subdir is sysvipc.
39516 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39517 __getshmlba helper.
39519 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39523 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39528 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39530 (__lround): Renamed to ...
39531 (__llround): This. Replace long int with long long int.
39532 Define lround functions as aliases of llround functions.
39533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39538 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39539 adresses to uintptr_t. Replace "long int" and "unsigned long
39540 int" with "greg_t" on va_arg.
39542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39544 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39545 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39547 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39548 Move e_machine check before EI_CLASS check. Handle x32
39549 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39550 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39551 SKIP_EM_IA_64 and include
39552 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39554 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39555 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39556 (add_system_dir): New macro.
39558 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39559 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39561 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39572 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39574 * math/w_j0f.c (j0f): Likewise.
39576 * math/w_j0l.c (__j0l): Likewise.
39578 * math/w_j1.c (j1): Likewise.
39580 * math/w_j1f.c (j1f): Likewise.
39582 * math/w_j1l.c (__j1l): Likewise.
39584 * math/w_jn.c (jn): Likewise.
39586 * math/w_jnf.c (jnf): Likewise.
39588 * math/w_jnl.c (__jnl): Likewise.
39590 * math/libm-test.inc (j0_test): Add more tests.
39591 (j1_test): Likewise.
39592 (jn_test): Likewise. Add trailing semicolon to existing test.
39593 (y0_test): Likewise.
39594 (y1_test): Likewise.
39595 * sysdeps/i386/fpu/libm-test-ulps: Update.
39596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39601 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39602 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39604 (__tanl): Set errno for infinite argument.
39605 * sysdeps/i386/fpu/mptan.c: Remove.
39606 * sysdeps/i386/fpu/s_tan.S: Likewise.
39607 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39608 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39609 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39610 * math/libm-test.inc (tan_test): Add more tests and enable more
39611 tests for double and long double.
39612 * sysdeps/i386/fpu/libm-test-ulps: Update.
39613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39615 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39617 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39618 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39620 2012-03-16 Roland McGrath <roland@hack.frob.com>
39622 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39623 * configure.in: Use it for both main tree and add-ons.
39624 * configure: Regenerated.
39626 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39628 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39630 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39636 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39637 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39642 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39644 != 0 for prec == 2.
39645 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39646 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39647 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39648 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39649 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39650 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39651 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39652 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39653 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39654 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39655 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39656 * math/libm-test.inc (cos_test): Add more tests and enable more
39657 tests for long double.
39658 (sin_test): Likewise.
39659 (sincos_test): Likewise.
39660 * sysdeps/i386/fpu/libm-test-ulps: Update.
39661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663 2012-03-16 David S. Miller <davem@davemloft.net>
39665 * sysdeps/sparc/fpu/math_private.h: New file.
39667 2012-03-15 David S. Miller <davem@davemloft.net>
39669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39683 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39684 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39686 * sysdeps/sparc/sparc-ifunc.h: New file.
39687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39732 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39734 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39738 2012-03-15 Andreas Jaeger <aj@suse.de>
39741 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39742 ieee754/flt-32 implementation for sin, cos and sincos.
39743 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39744 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39745 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39746 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39747 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39748 ieee754/flt-32 implementation for tan.
39750 * math/libm-test.inc (cos_test): Enable some large input tests for
39752 (sin_test): Likewise.
39753 (sincos_test): Likewise.
39754 (tan_test): Add tests for large input.
39756 * sysdeps/i386/fpu/libm-test-ulps: Update.
39758 2012-03-15 Andreas Jaeger <aj@suse.de>
39761 * math/libm-test.inc (cos_test): Add more test cases.
39762 (sin_test): Likewise.
39763 (sincos_test): Likewise.
39765 2012-03-15 Andreas Jaeger <aj@suse.de>
39768 * math/libm-test.inc (cos_test): Add a test case for large input
39770 (sin_test): Likewise.
39771 (sincos_test): Likewise.
39773 2012-03-15 Andreas Jaeger <aj@suse.de>
39774 Joseph Myers <joseph@codesourcery.com>
39777 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39778 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39779 * sysdeps/i386/fpu/branred.c: Likewise.
39780 * sysdeps/i386/fpu/dosincos.c: Likewise.
39781 * sysdeps/i386/fpu/mpa.c: Likewise.
39782 * sysdeps/i386/fpu/s_cos.S: Likewise.
39783 * sysdeps/i386/fpu/s_sin.S: Likewise.
39784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39785 * sysdeps/i386/fpu/sincos32.c: Likewise.
39787 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39789 (libc_feupdateenv_53bit): Define.
39790 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39792 (libc_feupdateenv_53bit): Define.
39794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39795 53 bit (without extend i386 double precision).
39797 * math/libm-test.inc (sincos_test): Add tests for large input.
39801 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39803 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39807 2012-03-15 David S. Miller <davem@davemloft.net>
39809 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39810 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39811 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39812 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39837 fmin/fmax sysdep routines.
39838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39840 2012-03-14 David S. Miller <davem@davemloft.net>
39842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39919 * sysdeps/sparc/configure.in: New file.
39920 * sysdeps/sparc/configure: Generate.
39921 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39922 * configure: Regenerate.
39923 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39924 * config.make.in (have-as-vis3): New.
39925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39926 available use -Av9d instead of -Av9a.
39927 * sysdeps/sparc/sparc64/Makefile: Likewise.
39928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39943 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39944 fzeros/fnegs to load 0x80000000 into a float register instead of
39946 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39948 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39952 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39953 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39954 ($(inst_includedir)/bits/syscall.h): Remove rule.
39955 ($(objpfx)bits/syscall.d): Include instead of
39956 $(objpfx)syscall-list.d.
39957 (generated): Change syscall-list.h and syscall-list.d to
39958 bits/syscall.h and bits/syscall.d.
39960 2012-03-14 Roland McGrath <roland@hack.frob.com>
39963 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39965 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39968 * math/s_csqrt.c: Include <float.h>.
39969 (__csqrt): Scale large or subnormal inputs.
39970 * math/s_csqrtf.c: Likewise.
39971 * math/s_csqrtl.c: Likewise.
39972 * math/libm-test.inc (csqrt_test): Add more tests.
39973 * sysdeps/i386/fpu/libm-test-ulps: Update.
39974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39977 * math/libm-test.inc (hypot_test): Add more tests.
39979 2012-03-13 David S. Miller <davem@davemloft.net>
39982 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39983 double-precision for the calculation instead of scaling.
39985 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39988 manipulate bits before adding and subtracting TWO52[sx].
39989 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39994 2012-03-13 David S. Miller <davem@davemloft.net>
39996 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39997 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39999 rtld-global-offsets.h
40000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40002 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40005 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40008 'err' in the ifdef scope in which it is actually used.
40010 * nss/nss_db/db-init.c: Include string.h
40012 2012-03-12 David S. Miller <davem@davemloft.net>
40014 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40015 masking out of the most significant byte of random value used.
40016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40017 Fix coding style in previous change.
40019 * sysdeps/unix/sysv/linux/kernel-features.h
40020 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40021 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40023 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40026 2012-03-11 David S. Miller <davem@davemloft.net>
40028 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40029 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40031 for 'resultvar' otherwise things get truncated on 64-bit.
40033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40034 Fix masking out of the most significant byte of random value used.
40036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40038 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40042 2012-03-09 David S. Miller <davem@davemloft.net>
40044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40045 variables with appropriate CPP guards.
40046 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40047 from the frame pointer, not the stack pointer. Correct layout
40048 comments. Fix test on resulting framesize and the management of
40049 the outregs buffer for pltexit. Preserve floating point return
40050 values across _dl_call_pltexit call.
40051 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40052 framesize and the management of the outregs buffer for pltexit.
40053 Preserve floating point return values across _dl_call_pltexit
40055 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40056 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40057 (la_sparc64_gnu_pltexit): New functions.
40058 (print_exit): Fix format string for return register value.
40060 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40062 * sunrpc/Makefile (others): Add rpcgen.
40063 ($(objpfx)rpcgen): Remove special build rule and dependency on
40065 * sunrpc/rpcgen.c: New file.
40067 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40070 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40071 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40072 * sysdeps/i386/crti.S: Likewise.
40073 * sysdeps/i386/crtn.S: Likewise.
40074 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40075 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40076 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40077 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40078 * sysdeps/sh/crti.S: Likewise.
40079 * sysdeps/sh/crtn.S: Likewise.
40080 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40083 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40085 * locale/programs/locfile-kw.gperf: Likewise.
40086 * locale/programs/charmap-kw.h: Regenerated.
40087 * locale/programs/locfile-kw.h: Likewise.
40090 * intl/plural.y: Replace FSF snail mail address with URL.
40091 * intl/plural.c: Regenerated.
40093 2012-03-09 Richard Henderson <rth@twiddle.net>
40095 * include/math_private.h: Remove file.
40096 * math/math_private.h: Move file ...
40097 * sysdeps/generic/math_private.h: ... here.
40099 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40100 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40103 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40104 and <math_private.h>.
40105 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40106 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40107 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40108 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40109 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40110 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40113 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40120 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40122 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40123 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40124 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40126 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40127 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40129 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40135 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40136 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40137 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40138 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40142 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40143 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40145 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40147 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40148 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40151 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40179 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40184 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40185 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40186 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40193 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40196 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40197 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40198 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40199 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40200 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40205 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40207 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40210 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40212 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40217 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40218 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40219 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40221 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40222 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40223 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40224 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40225 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40226 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40228 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40232 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40233 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40234 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40235 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40236 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40237 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40238 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40239 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40241 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40242 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40243 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40246 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40247 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40248 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40249 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40250 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40251 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40252 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40253 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40254 * sysdeps/ieee754/k_standard.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40281 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40282 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40286 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40288 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40293 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40298 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40307 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40315 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40328 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40332 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40337 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40349 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40350 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40351 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40352 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40353 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40370 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40374 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40377 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40382 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40387 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40403 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40404 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40405 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40415 * sysdeps/ieee754/s_lib_version.c: Likewise.
40416 * sysdeps/ieee754/s_matherr.c: Likewise.
40417 * sysdeps/ieee754/s_signgam.c: Likewise.
40418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40420 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40421 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40422 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40423 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40424 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40425 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40426 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40427 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40428 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40429 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40430 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40431 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40432 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40433 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40434 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40436 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40440 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40442 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40443 * sunrpc/rpc_main.c: Likewise.
40444 * sunrpc/rpc_svcout.c: Likewise.
40446 2012-03-09 David S. Miller <davem@davemloft.net>
40448 * include/math_private.h: New file.
40450 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40452 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40453 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40454 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40455 from <bits/socket_type.h>.
40456 (enum __socket_type): Don't define here.
40457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40459 bits/socket_type.h.
40462 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40463 checking __USE_GNU.
40465 * Makerules ($(inst_includedir)/%.h): New rule.
40466 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40467 (install-others): Remove variable setting.
40468 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40470 2012-03-08 Richard Henderson <rth@twiddle.net>
40472 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40473 from macro to inline function; merge with the
40474 !__LIBC_INTERNAL_MATH_INLINES version.
40475 (__ieee754_sqrtf): Likewise.
40477 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40478 to inline function.
40479 (__rintf, __floor, __floorf): Likewise.
40481 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40482 macro to inline function.
40483 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40486 not <math/math_private.h>.
40488 2012-03-08 David S. Miller <davem@davemloft.net>
40490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40492 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40494 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40496 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40498 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40499 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40501 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40503 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40504 be defined individually, they must be defined as a block. Define
40505 S for printing a string instead of hidint the different by using a
40506 macro for adding the 'l'.
40507 * stdio-common/tst-fphex-wide.c: Adjust.
40509 2012-03-07 Marek Polacek <polacek@redhat.com>
40511 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40513 2012-03-08 Marek Polacek <polacek@redhat.com>
40516 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40517 * stdio-common/tst-fphex.c: Define a few macros to make the
40518 test reusable. Use them.
40519 * stdio-common/tst-fphex-wide.c: New file.
40521 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40524 * manual/macros.texi (gnusystems): New macro.
40525 (nongnusystems): Likewise.
40526 (gnulinuxhurdsystems): Likewise.
40527 (gnuhurdsystems): Likewise..
40528 (gnulinuxsystems): Likewise.
40529 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40530 variants of the GNU system, not "GNU system".
40531 * manual/conf.texi: Likewise.
40532 * manual/errno.texi: Likewise. Update example of errno macro
40534 * manual/filesys.texi: Likewise.
40535 (getumask): Document as specific to GNU/Hurd.
40536 * manual/install.texi: Likewise. Reword some references to
40538 * manual/intro.texi: Likewise.
40539 * manual/io.texi: Likewise.
40540 (File Name Portability): Detail which constraints are inapplicable
40541 to all GNU systems and which are only inapplicable to GNU/Hurd.
40542 * manual/job.texi: Likewise.
40543 * manual/llio.texi: Likewise.
40544 (O_NOCTTY): Document as present on GNU/Linux.
40545 * manual/maint.texi: Likewise.
40546 * manual/memory.texi: Likewise.
40547 * manual/pattern.texi: Likewise.
40548 * manual/pipe.texi: Likewise.
40549 * manual/process.texi: Likewise.
40550 * manual/resource.texi: Likewise.
40551 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40553 * manual/setjmp.texi: Likewise.
40554 * manual/signal.texi: Likewise.
40555 * manual/startup.texi: Likewise.
40556 * manual/stdio.texi: Likewise.
40557 * manual/terminal.texi: Likewise.
40558 (ONLCR): Document as POSIX.
40559 (OXTABS): Document availability on GNU/Linux as XTABS.
40560 (ONOEOT): Document availability separately from other bits.
40561 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40562 * manual/time.texi: Likewise.
40563 * manual/users.texi: Likewise.
40564 * INSTALL: Regenerated.
40565 * sysdeps/gnu/errlist.c: Regenerated.
40567 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40568 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40569 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40571 * configure: Regenerated.
40573 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40575 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40576 default includes instead of AC_HEADER_CHECK.
40577 * sysdeps/i386/configure: Regenerated.
40580 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40581 * math/s_cacoshf.c (__cacoshf): Likewise.
40582 * math/s_cacoshl.c (__cacoshl): Likewise.
40583 * math/s_casinh.c (__casinh): Set signs of result from argument.
40584 * math/s_casinhf.c (__casinhf): Likewise.
40585 * math/s_casinhl.c (__casinhl): Likewise.
40586 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40587 (casinh_test): Add more tests.
40588 * sysdeps/i386/fpu/libm-test-ulps: Update.
40589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40591 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40593 * po/zh_TW.po: Update from translation team.
40595 * login/Makefile (distribute): Remove variable.
40596 * catgets/Makefile: Likewise.
40597 * mach/Makefile: Likewise.
40598 * malloc/Makefile: Likewise.
40599 * misc/Makefile: Likewise.
40600 * iconv/Makefile: Likewise.
40601 * nscd/Makefile: Likewise.
40602 * hurd/Makefile: Likewise.
40603 * manual/Makefile: Likewise.
40604 * locale/Makefile: Likewise.
40605 * intl/Makefile: Likewise.
40606 * conform/Makefile: Likewise.
40607 * nss/Makefile: Likewise.
40608 * time/Makefile: Likewise.
40609 * soft-fp/Makefile: Likewise.
40610 * dirent/Makefile: Likewise.
40611 * gmon/Makefile: Likewise.
40612 * po/Makefile: Likewise.
40613 * rt/Makefile: Likewise.
40614 * socket/Makefile: Likewise.
40615 * math/Makefile: Likewise.
40616 * signal/Makefile: Likewise.
40617 * debug/Makefile: Likewise.
40618 * elf/Makefile: Likewise.
40619 * timezone/Makefile: Likewise.
40620 * stdlib/Makefile: Likewise.
40621 * iconvdata/Makefile: Likewise.
40622 * sunrpc/Makefile: Likewise.
40623 * io/Makefile: Likewise.
40624 * argp/Makefile: Likewise.
40625 * inet/Makefile: Likewise.
40626 * hesiod/Makefile: Likewise.
40627 * grp/Makefile: Likewise.
40628 * csu/Makefile: Likewise.
40629 * wctype/Makefile: Likewise.
40630 * crypt/Makefile: Likewise.
40631 * libio/Makefile: Likewise.
40632 * string/Makefile: Likewise.
40633 * nis/Makefile: Likewise.
40634 * resolv/Makefile: Likewise.
40635 * stdio-common/Makefile: Likewise.
40636 * wcsmbs/Makefile: Likewise.
40637 * dlfcn/Makefile: Likewise.
40638 * posix/Makefile: Likewise.
40641 * timezone/Makefile: Don't install timezone files, just the programs
40644 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40646 * nss/databases.def: Add missing gshadow entry.
40648 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40650 2012-03-06 Marek Polacek <polacek@redhat.com>
40653 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40654 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40655 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40656 * stdio-common/tst-long-dbl-fphex.c: New file.
40658 2012-03-06 David S. Miller <davem@davemloft.net>
40660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40661 (set_obp_int): New function.
40662 (get_obp_int): New function.
40663 (__get_clockfreq_via_dev_openprom): Likewise.
40664 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40665 Avoid unused variable warnings on 'val' and use builtin_expect.
40666 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40668 (INLINE_CLONE_SYSCALL): Likewise.
40670 2012-03-05 David S. Miller <davem@davemloft.net>
40672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40674 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40678 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40679 only for |x| >= 40.
40680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40682 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40685 Replace gettimeofday with __vdso_gettimeofday.
40687 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40688 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40689 __vdso_clock_gettime and __vdso_getcpu.
40691 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40692 time with __vdso_time.
40694 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40696 * manual/lang.texi (size_t): Note types to which size_t may be
40697 equivalent with the GNU C Library, but do not describe when
40698 differences between them are significant.
40700 2012-03-05 Andreas Jaeger <aj@suse.de>
40702 * sysdeps/i386/fpu/libm-test-ulps: Update.
40704 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40707 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40708 (__ieee754_pow): Save and restore rounding mode and use
40709 round-to-nearest for main computations.
40710 * math/libm-test.inc (pow_test_tonearest): New function.
40711 (pow_test_towardzero): Likewise.
40712 (pow_test_downward): Likewise.
40713 (pow_test_upward): Likewise.
40714 (main): Call the new functions.
40715 * sysdeps/i386/fpu/libm-test-ulps: Update.
40716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40719 * math/libm-test.inc (cosh_test_tonearest): New function.
40720 (cosh_test_towardzero): Likewise.
40721 (cosh_test_downward): Likewise.
40722 (cosh_test_upward): Likewise.
40723 (sinh_test_tonearest): Likewise.
40724 (sinh_test_towardzero): Likewise.
40725 (sinh_test_downward): Likewise.
40726 (sinh_test_upward): Likewise.
40727 (main): Call the new functions.
40728 * sysdeps/i386/fpu/libm-test-ulps: Update.
40729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40731 2012-03-05 Tom de Vries <tom@codesourcery.com>
40733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40734 default stack guard is set in last bytes.
40735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40737 2012-03-05 Kees Cook <keescook@chromium.org>
40739 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40742 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40743 possibly allocate from heap instead of stack.
40744 * stdio-common/bug-vfprintf-nargs.c: New file.
40745 * stdio-common/Makefile (tests): Add nargs overflow test.
40747 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40751 2012-03-03 Marek Polacek <polacek@redhat.com>
40753 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40754 * math/math_private.h: Likewise.
40755 * stdlib/tst-strtod.c: Likewise.
40756 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40757 * sysdeps/x86_64/bits/atomic.h: Likewise.
40759 2012-03-02 David S. Miller <davem@davemloft.net>
40761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40765 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40766 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40767 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40768 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40770 2012-03-02 Roland McGrath <roland@hack.frob.com>
40773 * manual/examples/README: New file, says the example source files
40774 can be used under GPL>=2.
40775 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40776 line containing just "*/".
40777 * manual/examples/add.c: Add copyright header (GPL>=2).
40778 * manual/examples/argp-ex1.c: Likewise.
40779 * manual/examples/argp-ex2.c: Likewise.
40780 * manual/examples/argp-ex3.c: Likewise.
40781 * manual/examples/argp-ex4.c: Likewise.
40782 * manual/examples/atexit.c: Likewise.
40783 * manual/examples/db.c: Likewise.
40784 * manual/examples/dir.c: Likewise.
40785 * manual/examples/dir2.c: Likewise.
40786 * manual/examples/execinfo.c: Likewise.
40787 * manual/examples/filecli.c: Likewise.
40788 * manual/examples/filesrv.c: Likewise.
40789 * manual/examples/fmtmsgexpl.c: Likewise.
40790 * manual/examples/genpass.c: Likewise.
40791 * manual/examples/inetcli.c: Likewise.
40792 * manual/examples/inetsrv.c: Likewise.
40793 * manual/examples/isockad.c: Likewise.
40794 * manual/examples/longopt.c: Likewise.
40795 * manual/examples/memopen.c: Likewise.
40796 * manual/examples/memstrm.c: Likewise.
40797 * manual/examples/mkfsock.c: Likewise.
40798 * manual/examples/mkisock.c: Likewise.
40799 * manual/examples/mygetpass.c: Likewise.
40800 * manual/examples/pipe.c: Likewise.
40801 * manual/examples/popen.c: Likewise.
40802 * manual/examples/rprintf.c: Likewise.
40803 * manual/examples/search.c: Likewise.
40804 * manual/examples/select.c: Likewise.
40805 * manual/examples/setjmp.c: Likewise.
40806 * manual/examples/sigh1.c: Likewise.
40807 * manual/examples/sigusr.c: Likewise.
40808 * manual/examples/stpcpy.c: Likewise.
40809 * manual/examples/strdupa.c: Likewise.
40810 * manual/examples/strftim.c: Likewise.
40811 * manual/examples/strncat.c: Likewise.
40812 * manual/examples/subopt.c: Likewise.
40813 * manual/examples/swapcontext.c: Likewise.
40814 * manual/examples/termios.c: Likewise.
40815 * manual/examples/testopt.c: Likewise.
40816 * manual/examples/testpass.c: Likewise.
40817 * manual/examples/timeval_subtract.c: Likewise.
40820 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40822 * manual/timeval_subtract.c.texi: ... here, new file.
40824 2012-03-02 David S. Miller <davem@davemloft.net>
40826 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40828 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40831 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40832 (__sin): Save and restore rounding mode and use round-to-nearest
40833 for all computations.
40834 (__cos): Save and restore rounding mode and use round-to-nearest
40835 for all computations.
40836 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40838 (tan): Save and restore rounding mode and use round-to-nearest for
40840 * math/libm-test.inc (cos_test_tonearest): New function.
40841 (cos_test_towardzero): Likewise.
40842 (cos_test_downward): Likewise.
40843 (cos_test_upward): Likewise.
40844 (sin_test_tonearest): Likewise.
40845 (sin_test_towardzero): Likewise.
40846 (sin_test_downward): Likewise.
40847 (sin_test_upward): Likewise.
40848 (tan_test_tonearest): Likewise.
40849 (tan_test_towardzero): Likewise.
40850 (tan_test_downward): Likewise.
40851 (tan_test_upward): Likewise.
40852 (main): Call the new functions.
40853 * sysdeps/i386/fpu/libm-test-ulps: Update.
40854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40858 small n, then large n, before computing and testing k+n.
40859 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40864 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40865 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40867 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40870 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40871 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40872 * math/libm-test.inc (scalbn_test): Add more tests.
40873 (scalbln_test): Likewise.
40875 * manual/filesys.texi (mode_t): Describe constraints on size and
40876 signedness, not exact equivalence to a particular type.
40878 (ino64_t): Likewise.
40880 (nlink_t): Likewise.
40881 (blkcnt_t): Likewise.
40882 (blkcnt64_t): Likewise.
40883 * manual/llio.texi (off_t): Likewise.
40886 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40887 (__ieee754_exp): Save and restore rounding mode and use
40888 round-to-nearest for all computations.
40889 * math/libm-test.inc (exp_test_tonearest): New function.
40890 (exp_test_towardzero): Likewise.
40891 (exp_test_downward): Likewise.
40892 (exp_test_upward): Likewise.
40893 (main): Call the new functions.
40894 * sysdeps/i386/fpu/libm-test-ulps: Update.
40895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40897 2012-03-01 Chris Demetriou <cgd@google.com>
40899 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40900 have predictable order.
40902 2012-03-01 David S. Miller <davem@davemloft.net>
40904 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40906 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40907 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40908 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40909 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40911 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40912 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40913 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40915 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40916 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40917 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40918 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40919 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40923 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40924 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40927 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40928 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40929 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40930 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40931 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40934 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40936 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40937 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40940 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40941 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40943 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40944 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40945 * sysdeps/sparc/elf/configure: Regenerated.
40947 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40949 * configure.in (AS, LD): Require binutils 2.20 or later.
40950 * configure: Regenerated.
40951 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40952 as required minimum version.
40953 * INSTALL: Regenerated.
40957 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40958 before squaring exponent.
40959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40960 bottom long double and 27 bits of top long double before squaring
40962 * math/libm-test.inc (erfc_test): Add more tests.
40963 * sysdeps/i386/fpu/libm-test-ulps: Update.
40964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40967 2012-03-01 Kai Tietz <ktietz@redhat.com>
40969 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40970 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40971 containing bit-fields.
40972 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40973 * soft-fp/single.h (_FP_UNION_S): Likewise.
40974 * soft-fp/double.h (_FP_UNION_D): Likewise.
40976 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40979 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40980 not include ../strcmp.S.
40981 [USE_AS_STRNCASECMP_L]: Likewise.
40982 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40983 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40984 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40985 (__strncasecmp_l_ia32): Define as alias to
40986 __strncasecmp_l_nonascii.
40989 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40990 * sysdeps/i386/fpu/libm-test-ulps: Update.
40991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40993 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40996 2012-02-29 Jeff Law <law@redhat.com>
40998 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40999 out of bounds read.
41001 2012-02-29 Marek Polacek <polacek@redhat.com>
41004 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41005 * elf/Makefile: Add rules to run tst-unused-dep.out.
41007 2012-02-28 David S. Miller <davem@davemloft.net>
41009 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41010 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41013 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41014 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41016 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41018 * math/libm-test.inc (llround_test): Move one test from
41019 lround_test. Use TEST_f_L in moved test.
41020 (lround_test): Move misplaced test to llround_test. Add testcase
41023 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41025 * sysdeps/x86_64/fpu/e_expf.S: New file.
41026 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41028 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41031 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41032 of remain_len that may cause incomplete multi-byte character and
41034 * posix/bug-regex33.c: New file.
41035 * posix/Makefile (tests): Add bug-regex33.
41037 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41039 * manual/macros.texi: New file.
41040 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41041 * manual/libc.texinfo: Include macros.texi.
41042 * manual/creatute.texi: Likewise.
41043 * manual/install.texi: Likewise.
41044 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41045 @glibcadj{} in references to the GNU C Library.
41046 * manual/charset.texi: Likewise.
41047 * manual/conf.texi: Likewise.
41048 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41049 when not using those macros.
41050 * manual/creature.texi: Likewise.
41051 * manual/crypt.texi: Likewise.
41052 * manual/errno.texi: Likewise.
41053 * manual/filesys.texi: Likewise.
41054 * manual/header.texi: Likewise.
41055 * manual/install.texi: Likewise.
41056 * manual/intro.texi: Likewise.
41057 * manual/io.texi: Likewise.
41058 * manual/job.texi: Likewise.
41059 * manual/lang.texi: Likewise.
41060 * manual/libc.texiinfo: Likewise.
41061 * manual/llio.texi: Likewise.
41062 * manual/locale.texi: Likewise.
41063 * manual/maint.texi: Likewise.
41064 * manual/math.texi: Likewise.
41065 * manual/memory.texi: Likewise.
41066 * manual/message.texi: Likewise.
41067 * manual/nss.texi: Likewise.
41068 * manual/pattern.texi: Likewise.
41069 * manual/process.texi: Likewise.
41070 * manual/resource.texi: Likewise.
41071 * manual/search.texi: Likewise.
41072 * manual/setjmp.texi: Likewise.
41073 * manual/signal.texi: Likewise.
41074 * manual/socket.texi: Likewise.
41075 * manual/startup.texi: Likewise.
41076 * manual/stdio.texi: Likewise.
41077 * manual/string.texi: Likewise.
41078 * manual/sysinfo.texi: Likewise.
41079 * manual/syslog.texi: Likewise.
41080 * manual/terminal.texi: Likewise.
41081 * manual/time.texi: Likewise.
41082 * manual/users.texi: Likewise.
41083 * INSTALL: Regenerated.
41084 * NOTES: Regenerated.
41085 * sysdeps/gnu/errlist.c: Regenerated.
41087 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41089 * include/dirent.h: Include <dirstream.h> before
41092 2012-02-28 David S. Miller <davem@davemloft.net>
41094 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41095 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41096 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41097 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41099 2012-02-27 David S. Miller <davem@davemloft.net>
41101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41103 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41104 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41107 frame pointer instead of stack pointer relative arg slot.
41108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41109 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41110 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41112 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41115 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41117 2012-02-27 David S. Miller <davem@davemloft.net>
41119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41123 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41124 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41125 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41126 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41128 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41130 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41131 later. Allow versions 5-9.
41132 * configure: Regenerated.
41133 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41134 required minimum version and 4.6 as recommended version. Do not
41135 mention bugs in GCC 2.7 and 2.8.
41136 * INSTALL: Regenerated.
41138 2012-02-27 David S. Miller <davem@davemloft.net>
41140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41144 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41145 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41146 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41147 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41150 manipulate bits before adding and subtracting TWO112[sx].
41151 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41153 2012-02-27 Roland McGrath <roland@hack.frob.com>
41156 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41157 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41158 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41159 being in POSIX, because they are in 1003.1-2008.
41161 * rt/tst-aio.c: Include <fcntl.h>.
41162 * rt/tst-aio7.c: Likewise.
41163 * rt/tst-aio64.c: Likewise.
41165 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41167 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41169 * manual/install.texi (--with-headers): Describe headers as
41170 interface headers, not private headers.
41171 (Specific advice for GNU/Linux systems): Describe use of headers
41172 from "make headers_install", not private headers from older
41174 * INSTALL: Regenerated.
41175 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41177 * sysdeps/unix/sysv/linux/configure: Regenerated.
41179 * manual/llio.texi (fclean): Remove documentation.
41181 * manual/Makefile (libc-texi-generated): New variable. Include
41183 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41184 $(libc-texi-generated), not duplicated list of files.
41185 (version.texi, stamp-version): New rules.
41186 (realclean): Remove $(libc-texi-generated), not individual files
41187 from that list. Do not remove dir-add.texinfo.
41188 * manual/libc.texinfo: Comment out uses of edition numbers and
41189 references to printed manual. Remove last-updated dates.
41190 (EDITION): Comment out.
41192 (VERSION, UPDATED): Remove.
41193 (version.texi): Include.
41195 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41197 * sysdeps/posix/spawni.c: Include <signal.h>.
41198 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41199 * sysdeps/pthread/aio_fsync.c: Likewise.
41201 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41203 * conform/Makefile (tests): Run only when not cross-compiling and
41204 when fast-check is not defined.
41206 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41207 * conform/data/limits.h-data: Fixes for POSIX2008.
41208 * conform/run-conformtest.sh: Run all tests.
41209 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41211 * include/bits/dlfcn.h: Likewise.
41212 * include/langinfo.h: Likewise.
41213 * include/monetary.h: Likewise.
41214 * include/sys/poll.h: Likewise.
41216 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41218 * posix/spawn.h: Define __need_sigset_t.
41219 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41220 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41221 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41222 to get sigevent_t only.
41223 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41224 only for __USE_GNU.
41225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41226 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41227 process_vm_writev only for __USE_GNU.
41228 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41230 * conform/Makefile: For now ignore errors from run-conformtest.
41231 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41232 POSIX to avoid namespace pollution. Don't prepend headers.
41233 * conform/data/aio.h-data: Fixes for POSIX testing.
41234 * conform/data/fcntl.h-data: Likewise.
41235 * conform/data/glob.h-data: Likewise.
41236 * conform/data/grp.h-data: Likewise.
41237 * conform/data/pthread.h-data: Likewise.
41238 * conform/data/pwd.h-data: Likewise.
41239 * conform/data/signal.h-data: Likewise.
41240 * conform/data/spawn.h-data: Likewise.
41241 * conform/data/stdio.h-data: Likewise.
41242 * conform/data/stdlib.h-data: Likewise.
41243 * conform/data/stropts.h-data: Likewise.
41244 * conform/data/sys/mman.h-data: Likewise.
41245 * conform/data/sys/stat.h-data: Likewise.
41246 * conform/data/sys/types.h-data: Likewise.
41247 * conform/data/sys/wait.h-data: Likewise.
41248 * conform/data/time.h-data: Likewise.
41249 * conform/data/unistd.h-data: Likewise.
41250 * conform/data/utime.h-data: Likewise.
41252 * io/sys/stat.h: fchmod was always in POSIX.
41253 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41254 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41255 * rt/aio.h: Define __need_timespec before including <time.h>.
41256 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41257 struct. Add forward declaration of pthread_attr_t and use it in
41259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41261 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41262 always remove CLK_TCK definition.
41264 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41266 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41268 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41270 * conform/run-conformtest.sh: New file.
41271 * conform/Makefile: Run run-conformtest for tests.
41272 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41275 * conform/data/uchar.h-data: New file.
41276 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41277 * conform/data/arpa/inet.h-data: Likewise.
41278 * conform/data/assert.h-data: Likewise.
41279 * conform/data/complex.h-data: Likewise.
41280 * conform/data/cpio.h-data: Likewise.
41281 * conform/data/ctype.h-data: Likewise.
41282 * conform/data/dirent.h-data: Likewise.
41283 * conform/data/dlfcn.h-data: Likewise.
41284 * conform/data/errno.h-data: Likewise.
41285 * conform/data/fcntl.h-data: Likewise.
41286 * conform/data/float.h-data: Likewise.
41287 * conform/data/fmtmsg.h-data: Likewise.
41288 * conform/data/fnmatch.h-data: Likewise.
41289 * conform/data/ftw.h-data: Likewise.
41290 * conform/data/glob.h-data: Likewise.
41291 * conform/data/grp.h-data: Likewise.
41292 * conform/data/iconv.h-data: Likewise.
41293 * conform/data/inttypes.h-data: Likewise.
41294 * conform/data/langinfo.h-data: Likewise.
41295 * conform/data/libgen.h-data: Likewise.
41296 * conform/data/limits.h-data: Likewise.
41297 * conform/data/locale.h-data: Likewise.
41298 * conform/data/math.h-data: Likewise.
41299 * conform/data/monetary.h-data: Likewise.
41300 * conform/data/mqueue.h-data: Likewise.
41301 * conform/data/ndbm.h-data: Likewise.
41302 * conform/data/net/if.h-data: Likewise.
41303 * conform/data/netdb.h-data: Likewise.
41304 * conform/data/netinet/in.h-data: Likewise.
41305 * conform/data/nl_types.h-data: Likewise.
41306 * conform/data/poll.h-data: Likewise.
41307 * conform/data/pthread.h-data: Likewise.
41308 * conform/data/pwd.h-data: Likewise.
41309 * conform/data/regex.h-data: Likewise.
41310 * conform/data/sched.h-data: Likewise.
41311 * conform/data/search.h-data: Likewise.
41312 * conform/data/semaphore.h-data: Likewise.
41313 * conform/data/setjmp.h-data: Likewise.
41314 * conform/data/signal.h-data: Likewise.
41315 * conform/data/spawn.h-data: Likewise.
41316 * conform/data/stdarg.h-data: Likewise.
41317 * conform/data/stdio.h-data: Likewise.
41318 * conform/data/stdlib.h-data: Likewise.
41319 * conform/data/string.h-data: Likewise.
41320 * conform/data/strings.h-data: Likewise.
41321 * conform/data/stropts.h-data: Likewise.
41322 * conform/data/sys/ipc.h-data: Likewise.
41323 * conform/data/sys/mman.h-data: Likewise.
41324 * conform/data/sys/msg.h-data: Likewise.
41325 * conform/data/sys/resource.h-data: Likewise.
41326 * conform/data/sys/select.h-data: Likewise.
41327 * conform/data/sys/sem.h-data: Likewise.
41328 * conform/data/sys/shm.h-data: Likewise.
41329 * conform/data/sys/socket.h-data: Likewise.
41330 * conform/data/sys/stat.h-data: Likewise.
41331 * conform/data/sys/statvfs.h-data: Likewise.
41332 * conform/data/sys/time.h-data: Likewise.
41333 * conform/data/sys/timeb.h-data: Likewise.
41334 * conform/data/sys/times.h-data: Likewise.
41335 * conform/data/sys/types.h-data: Likewise.
41336 * conform/data/sys/uio.h-data: Likewise.
41337 * conform/data/sys/un.h-data: Likewise.
41338 * conform/data/sys/utsname.h-data: Likewise.
41339 * conform/data/sys/wait.h-data: Likewise.
41340 * conform/data/syslog.h-data: Likewise.
41341 * conform/data/tar.h-data: Likewise.
41342 * conform/data/termios.h-data: Likewise.
41343 * conform/data/utime.h-data: Likewise.
41344 * conform/data/utmpx.h-data: Likewise.
41345 * conform/data/varargs.h-data: Likewise.
41346 * conform/data/wchar.h-data: Likewise.
41347 * conform/data/wctype.h-data: Likewise.
41348 * conform/data/wordexp.h-data: Likewise.
41350 * include/stropts.h: New file.
41351 * include/uchar.h: New file.
41352 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41353 * include/assert.h: Likewise.
41354 * include/ctype.h: Likewise.
41355 * include/dirent.h: Likewise.
41356 * include/dlfcn.h: Likewise.
41357 * include/fcntl.h: Likewise.
41358 * include/fnmatch.h: Likewise.
41359 * include/glob.h: Likewise.
41360 * include/grp.h: Likewise.
41361 * include/libio.h: Likewise.
41362 * include/locale.h: Likewise.
41363 * include/math.h: Likewise.
41364 * include/net/if.h: Likewise.
41365 * include/netdb.h: Likewise.
41366 * include/netinet/in.h: Likewise.
41367 * include/pthread.h: Likewise.
41368 * include/pwd.h: Likewise.
41369 * include/regex.h: Likewise.
41370 * include/sched.h: Likewise.
41371 * include/search.h: Likewise.
41372 * include/setjmp.h: Likewise.
41373 * include/signal.h: Likewise.
41374 * include/stdio.h: Likewise.
41375 * include/stdlib.h: Likewise.
41376 * include/string.h: Likewise.
41377 * include/sys/cdefs.h: Likewise.
41378 * include/sys/mman.h: Likewise.
41379 * include/sys/msg.h: Likewise.
41380 * include/sys/resource.h: Likewise.
41381 * include/sys/select.h: Likewise.
41382 * include/sys/socket.h: Likewise.
41383 * include/sys/stat.h: Likewise.
41384 * include/sys/statvfs.h: Likewise.
41385 * include/sys/time.h: Likewise.
41386 * include/sys/times.h: Likewise.
41387 * include/sys/uio.h: Likewise.
41388 * include/sys/utsname.h: Likewise.
41389 * include/sys/wait.h: Likewise.
41390 * include/termios.h: Likewise.
41391 * include/time.h: Likewise.
41392 * include/ulimit.h: Likewise.
41393 * include/unistd.h: Likewise.
41394 * include/utime.h: Likewise.
41395 * include/wchar.h: Likewise.
41396 * include/wctype.h: Likewise.
41397 * include/wordexp.h: Likewise.
41399 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41401 * time/time.h: TIME_UTC must be a macro.
41402 Make timespec_get available for ISO C11 only as well.
41404 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41406 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41407 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41409 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41411 * configure.in: Use -o not -a in test for unsupported multi-arch.
41413 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41415 * manual/texinfo.tex: Update to version 2012-01-19.16.
41417 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41419 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41421 2012-02-24 Roland McGrath <roland@hack.frob.com>
41424 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41425 * manual/fdl-1.3.texi: New file.
41426 * manual/fdl-1.1.texi: File removed.
41429 * manual/libc.texinfo (FDL_VERSION): New @set.
41430 Use it for mention of FDL in cover text.
41431 (Documentation License): Use it in @include file name.
41433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41434 Roland McGrath <roland@hack.frob.com>
41437 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41438 (not LONG_LONG_MAX and LONG_LONG_MIN.
41439 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41440 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41442 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41444 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41448 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41449 manipulate bits before adding and subtracting TWO23[sx].
41450 * math/libm-test.inc (nearbyint_test): Add more tests.
41452 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41455 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41456 bits before adding and subtracting TWO23[sx].
41457 * math/libm-test.inc (rint_test): Add more tests.
41458 (rint_test_tonearest): Likewise.
41459 (rint_test_towardzero): Likewise.
41460 (rint_test_downward): Likewise.
41461 (rint_test_upward: Likewise.
41463 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41466 * include/stdc-predef.h: New file. Extracted from features.h.
41467 * include/features.h: Include stdc-predef.h.
41468 * Makefile (headers): Add stdc-predef.h.
41469 * CONFORMANCE (Compiler limitations): Update.
41471 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41473 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41475 2012-02-21 David S. Miller <davem@davemloft.net>
41477 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41478 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41480 2012-02-20 David S. Miller <davem@davemloft.net>
41482 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41483 using a normal save/restore sequence, rather than allocating a
41484 dummy stack frame just to store a frame pointer and restore.
41485 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41487 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41489 * manual/install.texi: Fix stray word in line-wrapped comment.
41491 2012-02-20 David S. Miller <davem@davemloft.net>
41493 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41494 both binutils and gcc support GOTDATA.
41496 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41497 "rd %pc" in the PIC register setup sequences.
41499 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41500 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41501 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41502 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41503 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41508 (SYSCALL_ERROR_HANDLER): Likewise.
41509 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41510 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41512 (SYSCALL_ERROR_HANDLER): Likewise.
41514 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41515 (HAVE_GCC_GOTDATA): New.
41516 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41517 relocation support in both binutils and gcc.
41518 * sysdeps/sparc/elf/configure: Regenerate.
41520 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41521 * sysdeps/sparc/sparc32/elf/configure: Delete.
41522 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41523 * sysdeps/sparc/sparc64/elf/configure: Delete.
41524 * sysdeps/sparc/elf/configure.in: New file.
41525 * sysdeps/sparc/elf/configure: Generate.
41527 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41528 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41529 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41530 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41531 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41533 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41535 * manual/install.texi: Do not mention specific glibc version
41537 * manual/libc.texinfo (VERSION, UPDATED): Update.
41538 (@copying): Use @copyright{} and range of years.
41540 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41543 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41544 [crti.S not in sysdirs] (generated): Do not append.
41545 [crti.S not in sysdirs] (omit-deps): Likewise.
41546 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41547 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41548 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41549 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41550 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41552 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41553 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41554 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41555 * csu/defs.awk: Remove file.
41556 * sysdeps/generic/initfini.c: Likewise.
41557 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41559 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41562 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41564 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41565 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41566 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41569 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41571 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41572 (__EPOLL_PACKED): Define to empty if not defined by
41574 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41580 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41581 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41582 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41583 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41585 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41589 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41591 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41594 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41598 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41600 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41601 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41603 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41605 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41606 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41608 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41610 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41613 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41615 * math/w_acos.c: Use non-signaling floating-point comparisons.
41616 * math/w_acosf.c: Likewise.
41617 * math/w_acosh.c: Likewise.
41618 * math/w_acoshf.c: Likewise.
41619 * math/w_acoshl.c: Likewise.
41620 * math/w_acosl.c: Likewise.
41621 * math/w_asin.c: Likewise.
41622 * math/w_asinf.c: Likewise.
41623 * math/w_asinl.c: Likewise.
41624 * math/w_atanh.c: Likewise.
41625 * math/w_atanhf.c: Likewise.
41626 * math/w_atanhl.c: Likewise.
41627 * math/w_exp2.c: Likewise.
41628 * math/w_exp2f.c: Likewise.
41629 * math/w_exp2l.c: Likewise.
41630 * math/w_j0.c: Likewise.
41631 * math/w_j0f.c: Likewise.
41632 * math/w_j0l.c: Likewise.
41633 * math/w_j1.c: Likewise.
41634 * math/w_j1f.c: Likewise.
41635 * math/w_j1l.c: Likewise.
41636 * math/w_jn.c: Likewise.
41637 * math/w_jnf.c: Likewise.
41638 * math/w_log.c: Likewise.
41639 * math/w_log10.c: Likewise.
41640 * math/w_log10f.c: Likewise.
41641 * math/w_log10l.c: Likewise.
41642 * math/w_log2.c: Likewise.
41643 * math/w_log2f.c: Likewise.
41644 * math/w_log2l.c: Likewise.
41645 * math/w_logf.c: Likewise.
41646 * math/w_logl.c: Likewise.
41647 * math/w_sqrt.c: Likewise.
41648 * math/w_sqrtf.c: Likewise.
41649 * math/w_sqrtl.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41652 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41653 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41654 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41656 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41659 * manual/string.texi (strnlen): Use correct parameter name in
41660 equivalent expression.
41662 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41665 * manual/users.texi (seteuid): Consistently use neweuid for
41668 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41671 * manual/nss.texi (Services in the NSS configuration): Correct
41672 list of services in example configuration file.
41674 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41677 * manual/arith.texi: Remove statements about negative zero
41678 behaving identically to zero.
41680 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41683 * manual/install.texi: Do not document upgrading from libc5.
41685 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41688 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41690 2012-02-18 David S. Miller <davem@davemloft.net>
41692 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41693 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41694 %o7 across the call.
41695 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41698 SETUP_PIC_REG_LEAF.
41699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41700 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41701 * sysdeps/sparc/crtn.S: Likewise.
41703 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41705 * aout/Makefile: Remove.
41707 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41710 * manual/examples/argp-ex1.c (main): Format definition in GNU
41712 * manual/examples/argp-ex2.c (main): Likewise.
41713 * manual/examples/argp-ex3.c (main): Likewise.
41714 * manual/examples/argp-ex4.c (main): Likewise.
41715 * manual/examples/longopt.c (main): Use new-style prototype
41717 * manual/examples/strncat.c (main): Specify return type and use
41718 (void) for arguments.
41719 * manual/examples/subopt.c (main): Use char **argv argument.
41721 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41724 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41727 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41730 * manual/string.texi (strchr): Change when strchrnul is
41733 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41736 * manual/locale.texi (setlocale): Document LOCPATH.
41738 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41741 * manual/process.texi (execle): Move @dots{} before last argument.
41743 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41746 * manual/charset.texi (Generic Charset Conversion): Fix typo
41747 (LC_TYPE -> LC_CTYPE).
41749 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41752 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41753 (scalbnf): Likewise.
41754 (scalbnl): Likewise.
41755 (scalbln): Likewise.
41756 (scalblnf): Likewise.
41757 (scalblnl): Likewise.
41758 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41759 (vwarnx): Likewise.
41762 * manual/filesys.texi (telldir): Use braces around return type.
41763 * manual/llio.texi (mmap): Add space after comma.
41764 (mmap64): Likewise.
41765 * manual/math.texi (jn): Use @var{} on parameter names.
41771 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41773 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41775 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41776 (sched_get_priority_max): Likewise.
41777 * manual/signal.texi (sigvec): Add space after comma.
41778 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41780 (if_indextoname): Likewise.
41781 (if_freenameindex): Likewise.
41782 (sendto): Use ',' instead of '.' in prototype.
41783 * manual/startup.texi (syscall): Use @dots{} instead of literal
41785 * manual/stdio.texi (__fpending): Separate initial words of
41786 paragraph from @deftypefun line.
41787 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41789 (vsyslog): Use @var{} on parameter names.
41790 * manual/terminal.texi (stty): Use @var{} on parameter names.
41791 * manual/users.texi (getutmp): Use @var{} on parameter names.
41792 (getutmpx): Likewise.
41794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41797 * manual/stdio.texi (fopen): Fix typos in description of
41800 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41803 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41804 get clock_id definition.
41806 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41809 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41810 (madvise): Cast every argument to void on its own.
41812 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41815 * manual/startup.texi (Exit Status): Fix typo.
41817 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41820 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41821 * manual/examples/argp-ex2.c: Likewise.
41822 * manual/examples/argp-ex3.c: Likewise.
41824 2012-02-16 Richard Henderson <rth@redhat.com>
41826 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41827 * sysdeps/s390/s390-32/initfini.c: Remove.
41828 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41829 * sysdeps/s390/s390-64/initfini.c: Remove.
41831 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41833 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41834 compiler output for sysdeps/generic/initfini.c.
41835 * sysdeps/sh/elf/initfini.c: Remove file.
41837 2012-02-16 David S. Miller <davem@davemloft.net>
41840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41842 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41843 * sysdeps/sparc/crti.S: New file.
41844 * sysdeps/sparc/crtn.S: New file.
41845 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41846 * sysdeps/sparc/sparc64/Makefile: Likewise.
41848 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41851 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41853 2012-02-15 Roland McGrath <roland@hack.frob.com>
41856 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41858 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41859 (write, read, close): Likewise.
41860 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41862 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41864 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41865 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41866 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41867 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41869 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41873 2012-02-14 Marek Polacek <polacek@redhat.com>
41875 * sysdeps/x86_64/crti.S: New file.
41876 * sysdeps/x86_64/crtn.S: New file.
41877 * sysdeps/x86_64/elf/initfini.c: Remove file.
41879 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41881 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41882 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41883 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41884 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41886 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41890 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41892 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41893 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41894 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41895 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41897 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41901 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41903 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41904 __feraiseexcept instead of feraiseexcept.
41906 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41907 nanosleep invocations.
41908 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41909 strings, and add error checking for a nanosleep invocations.
41911 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41913 Replace FSF snail mail address with URLs, as per GNU coding standards.
41914 Most of the snail mail addresses were wrong anyway, and omitting
41915 them makes the source code easier to maintain. Almost all of the
41916 changes are to license notices and to locale LC_IDENTIFICATION
41917 addresses, except for this one:
41918 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41919 not its snail mail address.
41921 2012-02-09 Richard Henderson <rth@twiddle.net>
41923 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41924 of kernel-features.h.
41926 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41928 2012-02-08 Marek Polacek <polacek@redhat.com>
41930 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41931 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41932 * sysdeps/gnu/_G_config.h: Likewise.
41933 * sysdeps/generic/_G_config.h: Likewise.
41935 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41937 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41941 * sysdeps/powerpc/powerpc32/crti.S: New file.
41942 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41943 * sysdeps/powerpc/powerpc64/crti.S: New file.
41944 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41946 * Makeconfig (have-initfini): Don't set.
41947 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41948 * configure.in (nopic_initfini): Don't substitute.
41949 * config.h.in (HAVE_INITFINI): Don't #undef.
41950 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41951 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41953 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41955 Support crti.S and crtn.S provided directly by architectures.
41956 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41957 [crti.S in sysdirs] (omit-deps): Likewise.
41958 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41959 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41960 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41961 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41962 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41963 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41964 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41965 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41966 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41967 compiler output for sysdeps/generic/initfini.c.
41968 * sysdeps/i386/elf/Makefile: Remove file.
41969 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41971 2012-02-07 Marek Polacek <polacek@redhat.com>
41973 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41974 * sysdeps/gnu/_G_config.h: Likewise.
41975 * sysdeps/mach/hurd/_G_config.h: Likewise.
41977 2012-02-07 Marek Polacek <polacek@redhat.com>
41979 * math/Makefile (tests): Add tst-CMPLX2.
41980 * math/tst-CMPLX2.c: New file.
41982 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41984 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41986 * math/libm-test.inc (jn_test): Add missing L suffix.
41988 2012-02-06 Marek Polacek <polacek@redhat.com>
41990 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41991 * sysdeps/i386/fpu/e_powf.S: Likewise.
41992 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41993 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41994 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41995 * sysdeps/i386/fpu/e_pow.S: Likewise.
41996 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41997 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41998 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41999 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42000 * sysdeps/i386/fpu/e_log2.S: Likewise.
42001 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42003 * sysdeps/i386/fpu/e_powl.S: Likewise.
42004 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42005 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42006 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42007 * sysdeps/i386/fpu/e_logl.S: Likewise.
42008 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42009 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42010 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42011 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42012 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42013 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42014 * sysdeps/i386/fpu/e_log.S: Likewise.
42015 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42016 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42017 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42018 * sysdeps/i386/fpu/e_logf.S: Likewise.
42019 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42020 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42021 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42022 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42023 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42024 * sysdeps/i386/fpu/e_log10.S: Likewise.
42025 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42026 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42027 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42028 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42029 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42030 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42031 * sysdeps/i386/asm-syntax.h: Likewise.
42032 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42033 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42035 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42036 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42037 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42038 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42039 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42040 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42041 * sysdeps/powerpc/sysdep.h: Likewise.
42042 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42043 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42045 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42048 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42050 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42052 * sysdeps/i386/sysdep.h: Include <features.h>.
42053 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42056 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42058 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42060 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42063 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42065 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42066 (SETUP_PIC_REG): Use GET_PC_THUNK.
42067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42070 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42072 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42073 for non-PIC compilation.
42074 (SETUP_PIC_REG): Add .p2align directive.
42075 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42076 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42077 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42078 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42079 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42080 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42081 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42083 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42084 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42085 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42086 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42087 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42088 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42089 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42090 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42091 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42095 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42096 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42097 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42098 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42099 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42101 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42103 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42104 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42105 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42106 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42107 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42108 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42109 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42110 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42111 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42117 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42119 * math/tst-CMPLX.c: Include <stdio.h>.
42121 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42123 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42125 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42126 * sysdeps/sparc/bits/mathdef.h: Likewise.
42128 2012-01-31 Marek Polacek <polacek@redhat.com>
42130 * libio/libio.h: Don't define _PARAMS.
42131 * locale/programs/config.h: Don't define PARAMS.
42132 * stdlib/strtol_l.c: Likewise.
42133 (__strtol_l): Remove PARAMS from the prototype.
42135 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42137 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42138 names. Just use the correct names. Remove unnecessary wrapper
42140 * malloc/arena.c: Likewise.
42141 * malloc/hooks.c: Likewise.
42143 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42144 ARENA_TEST says not to. Simplify test for creation of a new arena.
42145 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42147 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42149 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42151 (update_get_addr): New function.
42152 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42153 GET_ADDR_MODULE parameter.
42155 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42157 * crypt/cert.c: Remove __STDC__ conditionals.
42158 * crypt/crypt-entry.c: Likewise.
42159 * crypt/crypt_util.c: Likewise.
42160 * libio/filedoalloc.c: Likewise.
42161 * libio/fileops.c: Likewise.
42162 * libio/genops.c: Likewise.
42163 * libio/iofclose.c: Likewise.
42164 * libio/iofdopen.c: Likewise.
42165 * libio/iofopen.c: Likewise.
42166 * libio/iofopen64.c: Likewise.
42167 * libio/iogetdelim.c: Likewise.
42168 * libio/iopopen.c: Likewise.
42169 * libio/obprintf.c: Likewise.
42170 * libio/oldfileops.c: Likewise.
42171 * libio/oldiofclose.c: Likewise.
42172 * libio/oldiofdopen.c: Likewise.
42173 * libio/oldiofopen.c: Likewise.
42174 * libio/oldiopopen.c: Likewise.
42175 * libio/wfiledoalloc.c: Likewise.
42176 * libio/wgenops.c: Likewise.
42177 * locale/programs/xmalloc.c: Likewise.
42178 * misc/syslog.c: Likewise.
42179 * stdio-common/xbug.c: Likewise.
42180 * string/memchr.c: Likewise.
42181 * string/memcmp.c: Likewise.
42182 * string/memrchr.c: Likewise.
42183 * string/rawmemchr.c: Likewise.
42184 * sysdeps/posix/getcwd.c: Likewise.
42185 * time/strftime_l.c: Likewise.
42187 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42189 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42190 * config.make.in (config-cflags-sse2avx): Define.
42191 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42194 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42196 * scripts/config.guess: Update from upstream config git repository.
42197 * scripts/config.sub: Likewise.
42199 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42201 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42203 (R_TILEPRO_*, R_TILEGX_*): New macros.
42205 * scripts/firstversions.awk: Fix bug in version range handling.
42207 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42209 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42211 * include/sys/epoll.h: New file.
42212 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42215 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42217 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42218 Avoid unnecessary __WORDSIZE == 64 test.
42219 (fmaxf): Use VEX format if possible.
42224 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42225 * math/math_private.h: Remove libc_fegetround* and
42227 * sysdeps/i386/configure.in: Check for -msse2avx.
42228 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42229 also if SSE2AVX is defined.
42230 Remove libc_fegetround* and libc_fesetround*.
42231 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42232 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42233 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42235 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42236 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42237 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42238 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42239 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42241 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42243 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42245 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42247 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42249 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42252 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42254 * Makeconfig (libm): Define.
42255 * elf/Makefile: Add rules to build and run tst-relsort1.
42256 * elf/tst-relsort1.c: New file.
42257 * elf/tst-relsort1mod1.c: New file.
42258 * elf/tst-relsort1mod2.c: New file.
42260 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42262 * math/s_ldexp.c: Remove __STDC__ conditionals.
42263 * math/s_ldexpf.c: Likewise.
42264 * math/s_ldexpl.c: Likewise.
42265 * math/s_nextafter.c: Likewise.
42266 * math/s_nexttowardf.c: Likewise.
42267 * math/s_significand.c: Likewise.
42268 * math/s_significandf.c: Likewise.
42269 * math/s_significandl.c: Likewise.
42270 * math/w_jnl.c: Likewise.
42271 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42272 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42273 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42274 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42275 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42290 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42291 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42292 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42293 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42294 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42295 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42296 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42297 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42299 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42301 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42302 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42303 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42304 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42305 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42308 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42310 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42311 * sysdeps/ieee754/k_standard.c: Likewise.
42312 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42315 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42316 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42320 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42321 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42326 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42386 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42387 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42391 * sysdeps/ieee754/s_matherr.c: Likewise.
42392 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42393 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42397 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42399 * crypt/md5.h: Remove __STDC__ conditionals.
42400 * libio/libioP.h: Likewise.
42401 * locale/programs/config.h: Likewise.
42402 * sysdeps/generic/sysdep.h: Likewise.
42403 * sysdeps/i386/asm-syntax.h: Likewise.
42404 * sysdeps/s390/asm-syntax.h: Likewise.
42405 * sysdeps/unix/sysdep.h: Likewise.
42406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42409 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42411 * libio/libio.h: Remove __STDC__ conditionals.
42412 * malloc/obstack.h: Likewise.
42413 * math/complex.h: Likewise.
42414 * math/math.h: Likewise.
42415 * sysdeps/generic/_G_config.h: Likewise.
42416 * sysdeps/gnu/_G_config.h: Likewise.
42417 * sysdeps/mach/hurd/_G_config.h: Likewise.
42418 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42419 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42420 * sysdeps/sparc/bits/mathdef.h: Likewise.
42422 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42425 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42426 Clean up HAS_* macros.
42427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42428 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42433 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42438 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42440 * elf/tst-unique3.cc (gets): Remove declaration.
42441 * elf/tst-unique3lib.cc (gets): Likewise.
42442 * elf/tst-unique3lib2.cc (gets): Likewise.
42443 * elf/tst-unique4.cc (gets): Likewise.
42445 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42447 * include/stdio.h: Add C++ protection. Add gets declarations and
42449 * debug/tst-chk1.c: Don't declare gets here.
42450 * stdio-common/tst-gets.c: Likewise.
42452 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42454 * posix/glob: Remove directory.
42456 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42458 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42460 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42462 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42463 of the non-standard EPFNOSUPPORT.
42465 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42467 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42468 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42469 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42471 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42473 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42475 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42477 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42479 * nscd/grpcache.c (cache_addgr): Likewise.
42480 * nscd/hstcache.c (cache_addhst): Likewise.
42481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42482 * nscd/pwdcache.c (cache_addpw): Likewise.
42483 * nscd/servicescache.c (cache_addserv): Likewise.
42485 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42487 * malloc/malloc.c: Various cleanups.
42488 * malloc/hooks.c: Likewise.
42490 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42491 * stdlib/bug-fmtmsg1.c: New file.
42493 * stdlib/fmtmsg.c (init): Add missing unlock.
42494 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42496 2012-01-12 Marek Polacek <polacek@redhat.com>
42498 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42501 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42503 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42504 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42505 macro to ensure uniqueness of label name.
42506 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42507 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42509 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42511 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42513 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42514 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42515 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42518 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42520 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42522 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42523 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42524 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42526 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42529 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42530 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42533 * math/bits/math-finite.h: Add ldexp support.
42535 2012-01-10 Marek Polacek <polacek@redhat.com>
42537 * locale/programs/localedef.h (show_archive_content): Add noreturn
42540 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42542 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42546 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42548 * io/Makefile (headers): Add bits/poll2.h.
42550 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42553 typo #include statement.
42555 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42557 * include/sys/cdefs.h: Define __attribute_alloc_size.
42558 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42559 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42560 * elf/pldd.c: Likewise.
42561 * iconv/iconv_charmap.c: Likewise.
42562 * iconv/iconvconfig.c: Likewise.
42563 * iconv/strtab.c: Likewise.
42564 * locale/programs/locale.c: Likewise.
42565 * locale/programs/localedef.h: Likewise.
42566 * locale/programs/simple-hash.c: Likewise.
42567 * nscd/nscd.h: Likewise.
42568 * nss/makedb.c: Likewise.
42569 * sysdeps/generic/ldconfig.h: Likewise.
42570 * locale/programs/localedef.c: Remove xmalloc prototype.
42571 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42573 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42575 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42578 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42580 * math/Makefile (tests): Add tst-CMPLX.
42581 * math/tst-CMPLX.c: New file.
42583 * math/complex.h (CMPLXL): Fix typo.
42585 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42586 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42588 * debug/tst-chk1.c: Add poll and ppoll tests.
42589 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42590 * include/sys/poll.h: Add hidden proto for ppoll.
42591 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42592 * sysdeps/mach/hurd/ppoll.c: Likewise.
42593 * io/ppoll.c: Likewise.
42594 * debug/poll_chk.c: New file.
42595 * debug/ppoll_chk.c: New file.
42596 * include/bits/poll2.h: New file.
42597 * io/bits/poll2.h: New file.
42600 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42602 * configure.in: static is always set to yes. Remove.
42603 * config.make.in: Don't set build-static.
42604 * Makeconfig: Remove use of build-static.
42605 * dlfcn/Makefile: Likewise.
42606 * elf/Makefile: Likewise.
42607 * math/Makefile: Likewise.
42608 * misc/Makefile: Likewise.
42609 * nptl/Makefile: Likewise.
42610 * sysdeps/mach/hurd/Makefile: Likewise.
42612 * configure.in: PWD_P is not used anymore.
42613 * config.make.in: Remove PWD_P entry.
42615 * configure.in: Remove last remnants of RANLIB.
42616 No need to check for signed size_t anymore.
42617 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42619 Remove __builtin_expect test because we require at least gcc 3.4.
42620 * aclocal.m4: Likewise.
42622 * wcsmbs/mbrtoc16.c: Implement using towc function.
42623 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42624 * wcsmbs/wcsmbsload.c: Likewise.
42625 * iconv/gconv_simple.c: Likewise.
42626 * iconv/gconv_int.h: Likewise.
42627 * iconv/gconv_builtin.h: Likewise.
42628 * iconv/iconv_prog.c: Remove CHAR16 handling.
42630 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42632 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42634 * configure.in: Remove --with-elf and --enable-bounded options.
42635 Dont set base_machine for ia64. More non-ELF conditions removed.
42636 Remove testing and setting of leading underscore information.
42637 * config.make.in (build-bounded): Set to no.
42638 * config.h.in: Remove NO_UNDERSCORES entry.
42639 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42641 * csu/start.c: Remove !NO_UNDERSCORE code.
42642 * locale/localeinfo.h: Likewise.
42643 * sysdeps/generic/machine-gmon.h: Likewise.
42644 * sysdeps/generic/sysdep.h: Likewise.
42645 * sysdeps/i386/sysdep.h: Likewise.
42646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42647 * sysdeps/mach/sysdep.h: Likewise.
42648 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42649 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42650 * sysdeps/sh/sysdep.h: Likewise.
42651 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42652 * sysdeps/unix/i386/sysdep.S: Likewise.
42653 * sysdeps/unix/sparc/start.c: Likewise.
42654 * sysdeps/unix/sparc/sysdep.S: Likewise.
42655 * sysdeps/unix/sparc/sysdep.h: Likewise.
42656 * sysdeps/unix/start.c: Likewise.
42657 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42658 * sysdeps/x86_64/sysdep.h: Likewise.
42660 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42663 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42665 * argp/argp-fmtstream.h: Use const instead __const.
42666 * argp/argp.h: Likewise.
42667 * assert/assert.h: Likewise.
42668 * bits/fenv.h: Likewise.
42669 * bits/sched.h: Likewise.
42670 * bits/sigset.h: Likewise.
42671 * bits/sigthread.h: Likewise.
42672 * catgets/nl_types.h: Likewise.
42673 * conform/data/pthread.h-data: Likewise.
42674 * crypt/crypt-private.h: Likewise.
42675 * crypt/crypt.h: Likewise.
42676 * crypt/crypt_util.c: Likewise.
42677 * ctype/ctype.h: Likewise.
42678 * debug/execinfo.h: Likewise.
42679 * debug/mbsnrtowcs_chk.c: Likewise.
42680 * debug/mbsrtowcs_chk.c: Likewise.
42681 * debug/wcsnrtombs_chk.c: Likewise.
42682 * debug/wcsrtombs_chk.c: Likewise.
42683 * debug/wcstombs_chk.c: Likewise.
42684 * dirent/dirent.h: Likewise.
42685 * dlfcn/dlfcn.h: Likewise.
42686 * elf/neededtest4.c: Likewise.
42687 * grp/grp.h: Likewise.
42688 * gshadow/gshadow.h: Likewise.
42689 * iconv/gconv.h: Likewise.
42690 * iconv/gconv_int.h: Likewise.
42691 * iconv/gconv_simple.c: Likewise.
42692 * iconv/iconv.h: Likewise.
42693 * iconv/loop.c: Likewise.
42694 * iconv/skeleton.c: Likewise.
42695 * include/aio.h: Likewise.
42696 * include/aliases.h: Likewise.
42697 * include/argz.h: Likewise.
42698 * include/arpa/inet.h: Likewise.
42699 * include/assert.h: Likewise.
42700 * include/dirent.h: Likewise.
42701 * include/dlfcn.h: Likewise.
42702 * include/execinfo.h: Likewise.
42703 * include/fcntl.h: Likewise.
42704 * include/fenv.h: Likewise.
42705 * include/glob.h: Likewise.
42706 * include/grp.h: Likewise.
42707 * include/libintl.h: Likewise.
42708 * include/mntent.h: Likewise.
42709 * include/netdb.h: Likewise.
42710 * include/pwd.h: Likewise.
42711 * include/rpc/netdb.h: Likewise.
42712 * include/sched.h: Likewise.
42713 * include/search.h: Likewise.
42714 * include/shadow.h: Likewise.
42715 * include/signal.h: Likewise.
42716 * include/stdio.h: Likewise.
42717 * include/stdlib.h: Likewise.
42718 * include/string.h: Likewise.
42719 * include/sys/socket.h: Likewise.
42720 * include/sys/stat.h: Likewise.
42721 * include/sys/statfs.h: Likewise.
42722 * include/sys/statvfs.h: Likewise.
42723 * include/sys/syslog.h: Likewise.
42724 * include/sys/time.h: Likewise.
42725 * include/sys/uio.h: Likewise.
42726 * include/time.h: Likewise.
42727 * include/unistd.h: Likewise.
42728 * include/utmp.h: Likewise.
42729 * include/wchar.h: Likewise.
42730 * include/wctype.h: Likewise.
42731 * inet/aliases.h: Likewise.
42732 * inet/arpa/inet.h: Likewise.
42733 * inet/netinet/ether.h: Likewise.
42734 * inet/netinet/in.h: Likewise.
42735 * intl/libintl.h: Likewise.
42736 * io/bits/fcntl2.h: Likewise.
42737 * io/fcntl.h: Likewise.
42738 * io/ftw.h: Likewise.
42739 * io/sys/poll.h: Likewise.
42740 * io/sys/stat.h: Likewise.
42741 * io/sys/statfs.h: Likewise.
42742 * io/sys/statvfs.h: Likewise.
42743 * io/utime.h: Likewise.
42744 * libio/bits/stdio.h: Likewise.
42745 * libio/bits/stdio2.h: Likewise.
42746 * libio/libio.h: Likewise.
42747 * libio/libioP.h: Likewise.
42748 * libio/stdio.h: Likewise.
42749 * locale/lc-ctype.c: Likewise.
42750 * locale/locale.h: Likewise.
42751 * login/utmp.h: Likewise.
42752 * malloc/arena.c: Likewise.
42753 * malloc/malloc.c: Likewise.
42754 * malloc/malloc.h: Likewise.
42755 * malloc/mcheck.c: Likewise.
42756 * malloc/mtrace.c: Likewise.
42757 * math/bits/mathcalls.h: Likewise.
42758 * math/fenv.h: Likewise.
42759 * math/math_private.h: Likewise.
42760 * misc/bits/error.h: Likewise.
42761 * misc/bits/syslog.h: Likewise.
42762 * misc/err.h: Likewise.
42763 * misc/error.h: Likewise.
42764 * misc/fstab.h: Likewise.
42765 * misc/mntent.h: Likewise.
42766 * misc/regexp.h: Likewise.
42767 * misc/search.h: Likewise.
42768 * misc/sgtty.h: Likewise.
42769 * misc/sys/mman.h: Likewise.
42770 * misc/sys/syslog.h: Likewise.
42771 * misc/sys/uio.h: Likewise.
42772 * misc/sys/xattr.h: Likewise.
42773 * misc/ttyent.h: Likewise.
42774 * nis/rpcsvc/ypclnt.h: Likewise.
42775 * nss/nss.h: Likewise.
42776 * posix/bits/unistd.h: Likewise.
42777 * posix/fnmatch.h: Likewise.
42778 * posix/glob.h: Likewise.
42779 * posix/sched.h: Likewise.
42780 * posix/spawn.h: Likewise.
42781 * posix/sys/wait.h: Likewise.
42782 * posix/unistd.h: Likewise.
42783 * posix/wordexp.h: Likewise.
42784 * pwd/pwd.h: Likewise.
42785 * resolv/netdb.h: Likewise.
42786 * resource/sys/resource.h: Likewise.
42787 * rt/aio.h: Likewise.
42788 * rt/bits/mqueue2.h: Likewise.
42789 * rt/mqueue.h: Likewise.
42790 * shadow/shadow.h: Likewise.
42791 * signal/signal.h: Likewise.
42792 * socket/send.c: Likewise.
42793 * socket/sendto.c: Likewise.
42794 * socket/sys/socket.h: Likewise.
42795 * stdio-common/printf.h: Likewise.
42796 * stdlib/bits/stdlib.h: Likewise.
42797 * stdlib/fmtmsg.h: Likewise.
42798 * stdlib/monetary.h: Likewise.
42799 * stdlib/stdlib.h: Likewise.
42800 * stdlib/ucontext.h: Likewise.
42801 * streams/stropts.h: Likewise.
42802 * string/argz.h: Likewise.
42803 * string/bits/string2.h: Likewise.
42804 * string/string.h: Likewise.
42805 * string/strings.h: Likewise.
42806 * sunrpc/rpc/auth.h: Likewise.
42807 * sunrpc/rpc/auth_des.h: Likewise.
42808 * sunrpc/rpc/clnt.h: Likewise.
42809 * sunrpc/rpc/netdb.h: Likewise.
42810 * sunrpc/rpc/pmap_clnt.h: Likewise.
42811 * sunrpc/rpc/xdr.h: Likewise.
42812 * sysdeps/generic/inttypes.h: Likewise.
42813 * sysdeps/generic/net/if.h: Likewise.
42814 * sysdeps/generic/sys/swap.h: Likewise.
42815 * sysdeps/gnu/net/if.h: Likewise.
42816 * sysdeps/gnu/utmpx.h: Likewise.
42817 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42818 * sysdeps/i386/i486/bits/string.h: Likewise.
42819 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42820 * sysdeps/s390/bits/string.h: Likewise.
42821 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42822 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42823 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42824 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42825 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42826 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42827 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42828 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42829 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42830 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42831 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42832 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42833 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42834 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42835 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42836 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42837 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42839 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42841 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42842 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42843 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42844 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42845 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42846 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42847 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42849 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42851 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42852 * sysvipc/sys/ipc.h: Likewise.
42853 * sysvipc/sys/msg.h: Likewise.
42854 * sysvipc/sys/sem.h: Likewise.
42855 * sysvipc/sys/shm.h: Likewise.
42856 * termios/termios.h: Likewise.
42857 * time/sys/time.h: Likewise.
42858 * time/time.h: Likewise.
42859 * wcsmbs/bits/wchar2.h: Likewise.
42860 * wcsmbs/uchar.h: Likewise.
42861 * wcsmbs/wchar.h: Likewise.
42862 * wctype/wctype.h: Likewise.
42865 * Makeconfig: Remove all but ELF support including AIX support.
42866 * Makerules: Likewise.
42867 * config.h.in: Likewise.
42868 * config.make.in: Likewise.
42869 * configure: Likewise.
42870 * configure.in: Likewise.
42871 * csu/Makefile: Likewise.
42872 * csu/version.c: Likewise.
42873 * debug/Makefile: Likewise.
42874 * dlfcn/Makefile: Likewise.
42875 * elf/Makefile: Likewise.
42876 * extra-lib.mk: Likewise.
42877 * iconv/Makefile: Likewise.
42878 * include/libc-symbols.h: Likewise.
42879 * include/shlib-compat.h: Likewise.
42880 * resolv/Makefile: Likewise.
42881 * resolv/res_libc.c: Likewise.
42882 * rt/Makefile: Likewise.
42883 * sysdeps/i386/asm-syntax.h: Likewise.
42884 * sysdeps/i386/sysdep.h: Likewise.
42885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42886 * sysdeps/mach/sysdep.h: Likewise.
42887 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42888 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42889 * sysdeps/s390/asm-syntax.h: Likewise.
42890 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42892 * sysdeps/sh/sysdep.h: Likewise.
42893 * sysdeps/unix/sparc/sysdep.h: Likewise.
42894 * sysdeps/wordsize-32/divdi3.c: Likewise.
42895 * sysdeps/x86_64/sysdep.h: Likewise.
42897 * argp/Versions: Remove _argp_unlock_xxx.
42900 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42901 * abilist/libBrokenLocale.abilist: Likewise.
42902 * abilist/libanl.abilist: Likewise.
42903 * abilist/libc.abilist: Likewise.
42904 * abilist/libcrypt.abilist: Likewise.
42905 * abilist/libdl.abilist: Likewise.
42906 * abilist/libm.abilist: Likewise.
42907 * abilist/libnsl.abilist: Likewise.
42908 * abilist/libpthread.abilist: Likewise.
42909 * abilist/libresolv.abilist: Likewise.
42910 * abilist/librt.abilist: Likewise.
42911 * abilist/libthread_db.abilist: Likewise.
42912 * abilist/libutil.abilist: Likewise.
42913 * abilist/libnss_db.abilist: New file.
42915 * scripts/abilist.awk: Add support for indirect functions.
42917 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42919 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42921 * shlib-versions: Remove entries for ports architectures.
42923 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42925 * elf/stackguard-macros.h: Remove support for IA-64.
42926 * elf/tst-auditmod1.c: Likewise.
42927 * sysdeps/generic/ldsodefs.h: Likewise.
42929 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42930 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42934 * configure.in: Remove --enable-omitfp support.
42936 * config.make.in: Likewise.
42937 * Makeconfig: Likewise.
42938 * manual/install.texi: Likewise.
42940 In case anyone cares, the IA-64 architecture could move to ports.
42941 * sysdeps/ia64/*: Removed.
42942 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42943 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42946 * configure.in: Remove entries for unsupported architectures.
42949 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42950 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42952 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42953 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42954 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42955 fall back to using wcrtomb.
42956 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42957 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42959 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42960 * wcsmbs/tst-c16c32-1.c: New file.
42962 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42965 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42967 * elf/tst-unique3.cc: Add explicit declaration of gets.
42968 * elf/tst-unique3lib.cc: Likewise.
42969 * elf/tst-unique3lib2.cc: Likewise.
42970 * elf/tst-unique4.cc: Likewise.
42972 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42974 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42977 * assert/assert.h (static_assert): Don't define for C++.
42978 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42979 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42981 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42983 * iconv/loop.c (single loop): Fix assertion in storing of
42986 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42988 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42990 * posix/getconf.c: Update copyright year.
42991 * nss/getent.c: Likewise.
42992 * nss/makedb.c: Likewise.
42993 * iconv/iconvconfig.c: Likewise.
42994 * iconv/iconv_prog.c: Likewise.
42995 * elf/ldconfig.c: Likewise.
42996 * elf/pldd.c: Likewise.
42997 * elf/sotruss.ksh: Likewise.
42998 * catgets/gencat.c: Likewise.
42999 * csu/version.c: Likewise.
43000 * elf/ldd.bash.in: Likewise.
43001 * elf/sprof.c (print_version): Likewise.
43002 * locale/programs/locale.c: Likewise.
43003 * locale/programs/localedef.c: Likewise.
43004 * login/programs/pt_chown.c: Likewise.
43005 * nscd/nscd.c (print_version): Likewise.
43006 * debug/xtrace.sh: Likewise.
43007 * malloc/memusage.sh: Likewise.
43008 * malloc/mtrace.pl: Likewise.
43009 * debug/catchsegv.sh: Likewise.
43011 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43013 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43016 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43019 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43020 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43022 * iconv/gconv_int.h: Likewise.
43023 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43024 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43025 from libc for GLIBC_2.16.
43026 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43027 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43028 * wcsmbs/uchar.h: Really define mbstate_t.
43029 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43030 * wcsmbs/c16rtomb.c: New file.
43031 * wcsmbs/mbrtoc16.c: New file.
43032 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43033 for C/POSIX locale.
43034 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43035 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43037 * wcsmbs/wchar.h: Add missing __restrict.
43039 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43042 * time/Makefile (routines): Add timespec_get.
43043 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43044 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43045 timespec for ISO C11.
43046 * time/timespec_get.c: New file.
43047 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43048 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43051 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43052 * stdlib/stdlib.h: Declare aligned_alloc.
43053 * Versions.def: Add GLIBC_2.16 for libc.
43054 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43057 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43060 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43064 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43067 * assert/assert.h (static_assert): Define.
43069 * version.h: Update for 2.16 development version.
43072 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43075 * version.h (RELEASE): Bump for 2.15 release.
43076 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43078 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43079 Patch by Marek Polacek <mpolacek@redhat.com>.
43081 * bits/byteswap.h: Protect long long constants with __extension__.
43082 * sysdeps/i386/bits/byteswap.h: Likewise.
43083 * sysdeps/ia64/bits/byteswap.h: Likewise.
43084 * sysdeps/s390/bits/byteswap.h: Likewise.
43085 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43087 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43091 destination buffer.
43092 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43094 2011-12-23 Marek Polacek <polacek@redhat.com>
43096 * elf/dl-addr.c (determine_info): Add inline keyword.
43097 * elf/tst-auditmod4b.c (check_avx): Likewise.
43098 * elf/tst-auditmod6b.c (check_avx): Likewise.
43099 * elf/tst-auditmod6c.c (check_avx): Likewise.
43100 * elf/tst-auditmod7b.c (check_avx): Likewise.
43102 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43104 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43107 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43110 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43111 processing for last bytes.
43113 2011-08-06 Bruno Haible <bruno@clisp.org>
43116 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43117 U+0385, not to U+1FEE.
43120 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43121 entry for U+00A5 U+0301.
43123 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43126 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43127 buffer for the output is too small.
43129 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43133 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43134 SSE flags if possible.
43136 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43140 processing for last bytes.
43142 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43144 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43145 (syscall-list-default-options, syscall-list-default-condition)
43146 (syscall-list-includes): Define.
43147 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43148 list of ABIs and options and #if conditions for each ABI. Do not
43149 handle common syscalls between ABIs specially.
43150 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43152 (syscall-list-variants, syscall-list-32bit-options)
43153 (syscall-list-32bit-condition, syscall-list-64bit-options)
43154 (syscall-list-64bit-condition): Define.
43155 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43156 (syscall-list-variants, syscall-list-32bit-options)
43157 (syscall-list-32bit-condition, syscall-list-64bit-options)
43158 (syscall-list-64bit-condition): Define.
43159 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43161 (syscall-list-variants, syscall-list-32bit-options)
43162 (syscall-list-32bit-condition, syscall-list-64bit-options)
43163 (syscall-list-64bit-condition): Define.
43164 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43166 (syscall-list-variants, syscall-list-32bit-options)
43167 (syscall-list-32bit-condition, syscall-list-64bit-options)
43168 (syscall-list-64bit-condition): Define.
43170 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43172 * locale/iso-639.def: Add brx entry.
43175 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43176 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43178 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43179 __feraiseexcept_renamed.
43181 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43184 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43185 EPOLLET with unsigned values.
43186 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43189 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43190 to large cancellation.
43191 * math/s_cacoshf.c: Likewise.
43192 * math/s_cacoshl.c: Likewise.
43194 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43198 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43199 * math/s_cacoshf.c: Likewise.
43200 * math/s_cacoshl.c: Likewise.
43202 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43205 * iconv/gconv.h: Define __GCONV_SWAP.
43206 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43207 * iconvdata/utf-16.c: Likewise.
43208 * iconvdata/utf-32.c: Likewise.
43210 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43214 numerator after shifting it by one limb.
43216 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43218 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43219 under [__USE_EXTERN_INLINES].
43221 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43224 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43226 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43228 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43229 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43231 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43232 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43233 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43234 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43235 for strncasecmp/strncasecmp_l compilation.
43236 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43237 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43239 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43242 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43245 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43248 * time/tzfile.c (__tzfile_read): Check values from file header.
43250 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43252 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43253 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43254 * powerpc/powerpc32/dl-start.S: Likewise.
43255 * powerpc/powerpc32/elf/start.S: Likewise.
43256 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43257 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43258 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43259 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43260 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43261 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43262 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43263 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43264 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43265 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43266 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43267 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43268 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43269 * powerpc/powerpc32/memset.S: Likewise.
43270 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43271 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43272 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43273 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43274 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43275 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43276 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43277 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43278 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43279 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43280 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43281 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43282 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43284 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43286 * math/libm-test.inc: Added more nearbyint tests.
43287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43292 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43294 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43297 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43299 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43300 Add wcscpy-ssse3 wcscpy-c.
43301 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43302 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43303 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43304 * sysdeps/x86_64/wcschr.S: New file.
43305 * sysdeps/x86_64/wcsrchr.S: New file.
43306 * string/test-strcmp.c: Remove checking of wcscmp function for
43308 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43309 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43310 wcsrchr-sse2 wcsrchr-c.
43311 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43312 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43313 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43314 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43315 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43316 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43317 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43318 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43319 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43320 * wcsmbc/wcschr.c (WCSCHR): New macro.
43322 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43324 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43325 * wcsmbs/test-wcsrchr.c: New file.
43326 * string/test-strrchr.c: Add wcsrchr support.
43328 * wcsmbs/test-wcscpy.c: New file.
43329 * string/test-strcpy.c: Add wcscpy support.
43332 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43334 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43337 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43340 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43342 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43345 Minor optimizations.
43347 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43348 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43349 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43351 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43353 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43354 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43355 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43356 for gcc to avoid warnings.
43357 * inet/Makefile (tests): Add tst-checks.
43358 * inet/tst-checks.c: New file.
43360 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43363 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43366 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43367 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43369 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43371 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43373 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43376 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43378 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43380 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43381 conditional on GCC version.
43382 (__arch_compare_and_exchange_val_8_acq)
43383 (__arch_compare_and_exchange_val_16_acq)
43384 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43385 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43386 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43388 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43390 * sysdeps/sh/backtrace.c: New file.
43392 2011-12-02 Andreas Schwab <schwab@redhat.com>
43394 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43397 2011-12-01 Andreas Schwab <schwab@redhat.com>
43399 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43400 falling back to utime.
43402 2011-11-30 Andreas Schwab <schwab@redhat.com>
43404 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43405 expectations for float.
43407 2011-11-29 Andreas Schwab <schwab@redhat.com>
43409 * locale/weight.h (findidx): Add parameter len.
43410 * locale/weightwc.h (findidx): Likewise.
43411 * posix/fnmatch_loop.c (FCT): Adjust caller.
43412 * posix/regcomp.c (build_equiv_class): Likewise.
43413 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43414 * posix/regexec.c (check_node_accept_bytes): Likewise.
43415 * string/strcoll_l.c (STRCOLL): Likewise.
43416 * string/strxfrm_l.c (STRXFRM): Likewise.
43418 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43420 * Makefile.in: Remove CVSOPT handling.
43421 * configure.in: Remove use of AC_REVISION.
43422 * iconvdata/Makefile (distribute): No need to filter out CVS.
43423 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43426 2011-11-16 Andreas Schwab <schwab@redhat.com>
43428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43429 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43430 [USE_AS_STRNCASECMP_L]: Likewise.
43431 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43432 NO_TLS_DIRECT_SEG_REFS.
43433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43434 Fix argument offsets for non-PIC.
43435 [USE_AS_STRNCASECMP_L]: Likewise.
43436 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43437 NO_TLS_DIRECT_SEG_REFS.
43439 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43441 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43443 * locale/loadlocale.c (_nl_load_locale): Likewise.
43445 2011-11-15 Andreas Schwab <schwab@redhat.com>
43447 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43448 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43449 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43450 (SYSCALL_GETTIME): Set errno on error.
43452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43453 count references to noai6ai_cached.
43455 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43457 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43459 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43460 FD_CLOEXEC for /proc/self/maps.
43462 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43463 FD_CLOEXEC for /proc/meminfo.
43465 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43468 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43469 FD_CLOEXEC for given file.
43471 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43473 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43474 FD_CLOEXEC for /etc/hosts.
43475 (_gethtent): Likewise.
43477 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43479 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43480 cancellation and set FD_CLOEXEC for /etc/netgroup.
43482 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43483 reading /etc/publickey.
43485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43486 allow cancellation when reading /etc/group.
43488 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43490 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43492 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43493 when using data file.
43495 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43497 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43498 (write_nis_obj): Use "c" and "e" in fopen.
43500 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43502 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43504 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43506 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43508 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43511 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43513 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43515 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43517 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43518 file parsing and set FD_CLOEXEC.
43520 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43522 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43524 2011-11-14 Andreas Schwab <schwab@redhat.com>
43526 * malloc/arena.c (arena_get2): Don't call reused_arena when
43527 _int_new_arena failed.
43529 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43531 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43532 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43535 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43536 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43537 to compile strcasecmp and strncasecmp.
43538 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43539 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43543 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43545 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43546 locale-defines.sym to gen-as-const-headers.
43547 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43548 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43550 to compile strcasecmp and strncasecmp.
43551 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43552 strcasecmp_l and strncasecmp_l.
43553 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43554 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43555 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43556 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43557 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43558 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43559 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43560 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43561 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43562 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43563 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43565 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43567 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43568 result of SYSDEP_GETTIME_CPU to retval.
43569 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43570 parameter list to macro. Remove trailing semicolon. Adjust users.
43572 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43575 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43577 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43579 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43580 from unused variable.
43582 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43584 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43587 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43590 * sunrpc/rpc_prot.c (rejected): Fix case value.
43592 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43593 unsigned long long int to avoid warnings in shift.
43595 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43597 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43600 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43601 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43602 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43604 * nis/nis_table.c (nis_list): Use variable of correct type for
43605 result of __follow_path call.
43607 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43609 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43610 of math functions ceil, trunc, floor, round, and sqrt, when
43611 avaliable on the platform.
43612 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43614 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43615 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43616 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43618 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43620 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43621 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43623 2011-11-11 Roland McGrath <roland@hack.frob.com>
43625 * include/unistd.h: Fix __readlink return type.
43626 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43628 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43630 * stdlib/ucontext.h: Undo last change for makecontext.
43632 2011-11-11 Andreas Schwab <schwab@redhat.com>
43634 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43636 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43637 * setjmp/setjmp.h: Mark functions as non-leaf.
43638 * setjmp/bits/setjmp2.h: Likewise.
43639 * stdlib/ucontext.h: Likewise.
43641 2011-11-10 Andreas Schwab <schwab@redhat.com>
43643 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43644 (reused_arena): Don't check arena limit.
43645 (arena_get2): Atomically check arena limit.
43647 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43649 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43650 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43655 2011-11-07 Andreas Schwab <schwab@redhat.com>
43657 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43658 handler when locking.
43660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43661 Fix size of allocated buffer.
43663 2011-11-04 Andreas Schwab <schwab@redhat.com>
43666 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43667 declarations for long double functions.
43668 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43670 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43672 2011-11-03 Andreas Schwab <schwab@redhat.com>
43674 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43677 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43680 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43682 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43684 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43686 * include/alloca.h (stackinfo_alloca_round): Define.
43687 (extend_alloca): Use it.
43688 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43689 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43692 * scripts/check-local-headers.sh: Ignore libaudit.h.
43694 * nscd/Makefile (extra-objs): Make recursively expanded.
43696 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43698 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43699 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43701 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43702 * posix/tst-rfc3484-2.c: Likewise.
43703 * posix/tst-rfc3484-3.c: Likewise.
43705 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43707 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43709 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43710 process_vm_writev from libc using GLIBC_2.15 version.
43712 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43714 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43716 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43719 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43722 * nss/getent.c (initgroups_keys): Show error message in case no group
43725 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43726 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43727 __bump_nl_timestamp.
43728 * nscd/connections (nscd_init): When host database is served open
43729 netlink socket and request notification about configuration changes.
43730 (main_loop_poll): Track netlink file descriptor and bump timestamp
43731 in case data becomes available.
43732 (main_loop_epoll): Likewise.
43733 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43734 (database_pers_head): Add extra_data fileds.
43735 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43737 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43739 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43740 in6ai data, call __free_in6ai.
43741 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43742 Add -DHAVE_NETLINK.
43743 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43744 interface information. Reuse previous data if netlink timestamp
43746 (__bump_nl_timestamp): New function.
43747 (__free_in6ai): New function.
43749 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43751 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43752 close_not_cancel_no_status here.
43753 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43755 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43758 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43761 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43762 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43763 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43765 2011-07-03 Andreas Jaeger <aj@suse.de>
43768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43769 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43770 * math/libm-test.inc (sin_test): Add test case.
43772 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43775 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43776 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43778 * elf/chroot_canon.c (chroot_canon): Cleanups.
43780 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43783 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43784 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43786 * string/test-strchr.c: Make usable for strchrnul testing.
43787 * string/test-strchrnul.c: New file.
43788 * string/Makefile (strop-tests): Add strchrnul.
43790 * po/it.po: Update from translation team.
43791 * po/es.po: Likewise.
43793 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43796 the three constants needed as parameters. Drop the others.
43797 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43798 __m128i_strloadu_tolower.
43799 Create and initialize variable zero and use it in all the places
43800 where _mm_setzero_si128 was used.
43802 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43803 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43804 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43807 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43808 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43809 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43810 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43811 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43812 __mpranred, __mptan.
43813 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43814 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43815 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43816 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43817 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43818 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43819 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43820 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43821 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43823 2011-10-28 Andreas Schwab <schwab@redhat.com>
43825 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43826 redefine if SHARED.
43827 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43830 wide char related routines to wcsmbs subdir.
43832 2011-10-27 Andreas Schwab <schwab@redhat.com>
43835 * misc/sys/cdefs.h (__THROWNL): Define.
43836 * posix/unistd.h: Use __THREADNL instead of __THREAD
43837 for memory synchronization functions.
43839 2011-10-26 Roland McGrath <roland@hack.frob.com>
43842 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43844 * manual/stdio.texi (Obstack Streams): Node removed.
43846 2011-10-26 Andreas Schwab <schwab@redhat.com>
43848 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43849 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43852 * math/math_private.h (math_force_eval): Allow non-addressable
43854 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43856 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43858 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43859 file is not needed.
43861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43863 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43864 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43865 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43866 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43867 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43868 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43870 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43871 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43872 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43873 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43874 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43875 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43876 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43877 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43878 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43879 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43881 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43883 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43885 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43890 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43891 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43893 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43894 place. Use VEX encoding when compiling for AVX.
43896 2011-10-25 Andreas Schwab <schwab@redhat.com>
43898 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43899 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43901 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43903 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43905 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43906 useless if() expression.
43907 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43909 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43910 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43911 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43917 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43918 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43919 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43921 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43922 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43923 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43925 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43927 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43929 2011-10-25 Andreas Schwab <schwab@redhat.com>
43931 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43933 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43935 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43937 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43938 .text section. Avoid duplicate constants.
43939 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43949 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43951 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43954 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43956 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43961 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43963 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43964 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43965 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43966 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43968 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43969 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43970 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43971 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43972 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43973 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43974 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43975 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43976 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43977 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43978 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43979 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43980 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43981 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43982 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43983 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43985 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43987 * sysdeps/x86_64/dla.h: Move to ...
43988 * sysdeps/x86_64/fpu/dla.h: ...here.
43989 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43990 situations. Use __builtin_fma only for gcc 4.6 and up.
43992 * config.make.in: Add have-mfma4 entry.
43993 * configure.in: Substitute libc_cv_cc_fma4.
43994 * math/Makefile (dbl-only-routines): Add sincostab.
43995 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43996 Use __sincostab not sincos.
43997 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44004 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44005 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44006 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44007 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44009 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44010 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44012 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44013 define aliases when function name is a macro.
44014 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44015 sysdeps/ieee754/dbl-64/sincos.tbl.
44016 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44017 fma4-enabled routines.
44018 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44019 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44020 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44021 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44023 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44025 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44026 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44027 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44028 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44029 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44030 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44031 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44032 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44033 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44034 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44035 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44036 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44038 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44039 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44040 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44041 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44042 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44045 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44046 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44047 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44049 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44060 2011-10-24 Andreas Schwab <schwab@redhat.com>
44062 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44064 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44068 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44070 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44072 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44073 Remove unused variable magic_bits.
44074 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44076 * string/strnlen.c: Define and use STRNLEN macro.
44077 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44078 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44080 * wcsmbs/wcslen.c: Define and use WCSLEN.
44081 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44082 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44083 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44084 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44085 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44086 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44087 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44089 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44092 strnlen-sse2-no-bsf.
44093 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44095 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44096 Add strnlen support.
44097 (USE_AS_STRNLEN): New macro.
44098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44100 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44101 * sysdeps/x86_64/wcslen.S: New file.
44103 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44106 XMM-moves are used for copying on small sizes.
44108 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44110 * wcsmbs/Makefile (strop-tests): Add wcschr.
44111 * wcsmbs/test-wcschr.c: New file.
44112 * string/test-strchr.c: Update.
44113 Add wcschr support.
44116 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44118 * wcsmbs/Makefile (strop-tests): Add wcslen.
44119 * wcsmbs/test-wcslen.c: New file.
44120 * string/test-strlen.c: Update.
44121 Add wcslen support.
44124 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44126 * po/it.po: Update from translation team.
44128 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44130 * sysdeps/x86_64/wcscmp.S: Update.
44131 Fix wrong comparison semantics.
44132 wcscmp shall use signed comparison not unsigned.
44133 Don't use substraction to avoid overflow bug.
44134 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44135 * wcsmbc/wcscmp.c: Likewise.
44136 * string/test-strcmp.c: Likewise.
44137 Add new tests to check cases with negative values.
44139 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44141 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44142 * sysdeps/x86_64/dla.h: ...here. New file.
44143 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44153 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44156 __ynl_finite aliases.
44158 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44162 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44164 [DLA_FMA] (EMULV): Use DLA_FMA.
44165 [DLA_FMA] (MUL12): Use EMULV.
44166 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44167 that are not needed.
44168 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44176 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44178 * math/s_nan.c: Undef __nan.
44179 * math/s_nanf.c: Undef __nanf.
44180 * math/s_nanl.c: Undef __nanl.
44181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44184 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44186 * math/s_catan.c: Add branch predictions.
44187 * math/s_catanf.c: Likewise.
44188 * math/s_catanh.c: Likewise.
44189 * math/s_catanhf.c: Likewise.
44190 * math/s_catanhl.c: Likewise.
44191 * math/s_catanl.c: Likewise.
44192 * math/s_cexp.c: Likewise.
44193 * math/s_cexpf.c: Likewise.
44194 * math/s_cexpl.c: Likewise.
44195 * math/s_clog.c: Likewise.
44196 * math/s_clog10.c: Likewise.
44197 * math/s_clog10f.c: Likewise.
44198 * math/s_clog10l.c: Likewise.
44199 * math/s_clogf.c: Likewise.
44200 * math/s_clogl.c: Likewise.
44201 * math/s_csqrt.c: Likewise.
44202 * math/s_csqrtf.c: Likewise.
44203 * math/s_csqrtl.c: Likewise.
44204 * math/s_ctanf.c: Likewise.
44205 * math/s_ctanh.c: Likewise.
44206 * math/s_ctanhf.c: Likewise.
44207 * math/s_ctanhl.c: Likewise.
44208 * math/s_ctanl.c: Likewise.
44210 * math/math_private.h: Define __nan, __nanf, __nanl.
44211 * math/s_cacosh.c: Include <math_private.h>.
44212 * math/s_cacoshl.c: Likewise.
44213 * math/s_casinh.c: Likewise.
44214 * math/s_casinhf.c: Likewise.
44215 * math/s_casinhl.c: Likewise.
44216 * math/s_ccos.c: Rely entire on ccosh.
44217 * math/s_ccosf.c: Rely entire on ccoshf.
44218 * math/s_ccosl.c: Rely entirely on ccoshl.
44219 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44220 Remove tests for FE_INVALID.
44221 * math/s_ccoshf.c: Likewise.
44222 * math/s_ccoshl.c: Likewise.
44223 * math/s_csin.c: Likewise.
44224 * math/s_csinf.c: Likewise.
44225 * math/s_csinh.c Likewise.
44226 * math/s_csinhf.c: Likewise.
44227 * math/s_csinhl.c: Likewise.
44228 * math/s_csinl.c: Likewise.
44229 * math/s_ctan.c: Likewise.
44230 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44231 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44234 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44237 compilation problems.
44239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44242 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44244 * sysdeps/i386/configure.in: Test for -mfma4 option.
44245 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44246 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44247 COMMON_CPUID_INDEX_80000001.
44248 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44249 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44250 use it if FMA3 is not supported.
44251 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44253 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44254 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44256 2011-10-20 Andreas Schwab <schwab@redhat.com>
44259 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44260 it would create a cycle with a link time dependency.
44262 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44264 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44266 * string/Makefile (strop-tests): Add rawmemchr.
44267 * string/test-rawmemchr.c: New file.
44269 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44271 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44272 when compiling str{,n}casecmp and when AVX is available. Hook up
44273 new optimized code in initializers.
44275 2011-10-19 Andreas Schwab <schwab@redhat.com>
44277 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44278 __feraiseexcept instead of feraiseexcept.
44280 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44282 * math/math_private.h: Define defaults for libc_fetestexcept and
44284 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44285 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44286 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44287 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44288 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44289 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44290 libc_fetestexcept and libc_feupdateenv.
44292 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44293 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44294 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44295 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44296 libc_feholdexcept_setround.
44298 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44299 Add s_nearbyint-c and s_nearbyintf-c.
44300 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44301 nearbyintf inlines.
44302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44303 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44304 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44305 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44307 * math/math_private.h: Define defaults for libc_fegetround,
44308 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44309 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44310 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44312 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44313 standard functions.
44314 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44315 Remove comments and hacks for old compiler versions.
44316 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44317 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44318 libc_feholdexceptl.
44320 2011-10-18 Andreas Schwab <schwab@redhat.com>
44322 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44323 (__feraiseexcept_renamed): Add __NTH.
44324 (feraiseexcept): Add __NTH. Rename local variables to fix
44325 namespace violations.
44327 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44329 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44331 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44333 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44334 recently added interfaces.
44335 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44337 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44338 about macro parameter expansion.
44340 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44341 __NO_MATH_INLINES is defined. Cleanups.
44343 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44344 and __floorf is target has SSE4.1.
44345 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44346 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44347 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44348 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44350 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44352 (floorf): Likewise.
44354 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44356 2011-10-17 Andreas Schwab <schwab@redhat.com>
44358 * misc/sys/cdefs.h: Fix last change.
44360 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44363 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44365 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44367 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44368 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44369 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44373 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44374 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44375 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44376 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44377 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44378 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44379 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44380 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44381 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44382 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44383 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44384 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44385 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44386 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44387 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44388 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44390 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44391 ceil, ceilf, floor, floorf.
44393 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44394 Perform IRELATIVE relocations last.
44396 * elf/do-rel.h: Add another parameter nrelative, replacing the
44397 local variable with the same name. Change name of the function
44398 to end in Rel or Rela (uppercase).
44399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44400 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44401 elf_dynamic_do_##reloc function.
44403 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44405 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44406 is sufficient, at least on modern CPUs.
44408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44410 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44413 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44415 * math/bits/math-finite.h: Add entries for exp.
44416 * math/e_expl.c: Add __*_finite alias.
44417 * sysdeps/i386/fpu/e_exp.S: Likewise.
44418 * sysdeps/i386/fpu/e_expf.S: Likewise.
44419 * sysdeps/i386/fpu/e_expl.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44421 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44425 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44426 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44428 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44429 is sufficient, at least on modern CPUs.
44431 * ctype/ctype-info.c (__ctype_init): Define.
44432 * include/ctype.h (__ctype_init): Declare.
44433 (__ctype_b_loc): The variable is always initialized.
44434 (__ctype_toupper_loc): Likewise.
44435 (__ctype_tolower_loc): Likewise.
44436 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44437 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44439 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44441 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44443 * configure.in: Also look in $cxxmachine/include for C++ system
44446 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44448 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44449 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44450 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44451 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44453 (USE_AS_WMEMCMP): New macro.
44455 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44456 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44457 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44458 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44460 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44461 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44463 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44464 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44465 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44466 (USE_AS_WMEMCMP): New macro.
44467 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44468 * sysdeps/string/test-memcmp.c: Update.
44469 Fix simple_wmemcmp.
44471 * wcsmbs/wmemcmp.c: Update.
44472 (WMEMCMP): New macro.
44475 2011-10-12 Andreas Jaeger <aj@suse.de>
44478 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44480 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44482 * libio/iofwide.c (do_length): Avoid warning.
44484 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44486 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44488 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44490 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44491 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44492 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44493 * sysdeps/i386/i686/fpu/e_log.S: New file.
44494 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44495 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44497 * ctype/ctype.h: Add support for inlined isXXX functions when
44498 compiling C++ code.
44500 2011-10-14 Andreas Schwab <schwab@redhat.com>
44502 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44506 2011-10-13 Roland McGrath <roland@hack.frob.com>
44509 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44511 2011-10-13 Andreas Schwab <schwab@redhat.com>
44513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44514 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44517 * sysdeps/x86_64/memrchr.S: Check for zero size.
44519 * string/stratcliff.c: Add memrchr tests.
44521 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44524 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44525 rawmemchr-sse2 rawmemchr-sse2-bsf.
44526 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44527 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44528 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44529 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44530 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44531 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44532 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44533 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44534 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44535 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44536 * string/memrchr.c (MEMRCHR): New macro.
44538 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44540 Add integration with gcc's -ffinite-math-only and optimize wrapper
44542 * Versions.def: Define GLIBC_2.15 version for libm.
44543 * math/Makefile (headers): Add bits/math-finite.h.
44544 * math/bits/math-finite.h: New file.
44545 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44546 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44547 * math/e_acoshl.c: Add __*_finite alias.
44548 * math/e_acosl.c: Likewise.
44549 * math/e_asinl.c: Likewise.
44550 * math/e_atan2l.c: Likewise.
44551 * math/e_atanhl.c: Likewise.
44552 * math/e_coshl.c: Likewise.
44553 * math/e_exp10.c: Likewise.
44554 * math/e_exp10f.c: Likewise.
44555 * math/e_exp10l.c: Likewise.
44556 * math/e_exp2l.c: Likewise.
44557 * math/e_fmodl.c: Likewise.
44558 * math/e_gammal_r.c: Likewise.
44559 * math/e_hypotl.c: Likewise.
44560 * math/e_j0l.c: Likewise.
44561 * math/e_j1l.c: Likewise.
44562 * math/e_jnl.c: Likewise.
44563 * math/e_lgammal_r.c: Likewise.
44564 * math/e_log10l.c: Likewise.
44565 * math/e_log2l.c: Likewise.
44566 * math/e_logl.c: Likewise.
44567 * math/e_powl.c: Likewise.
44568 * math/e_sinhl.c: Likewise.
44569 * math/e_sqrtl.c: Likewise.
44570 * math/e_scalb.c: Completely rewritten and optimized.
44571 * math/e_scalbf.c: Likewise.
44572 * math/e_scalbl.c: Likewise.
44573 * math/w_acos.c: Likewise.
44574 * math/w_acosf.c: Likewise.
44575 * math/w_acosl.c: Likewise.
44576 * math/w_acosh.c: Likewise.
44577 * math/w_acoshf.c: Likewise.
44578 * math/w_acoshl.c: Likewise.
44579 * math/w_asin.c: Likewise.
44580 * math/w_asinf.c: Likewise.
44581 * math/w_asinl.c: Likewise.
44582 * math/w_atan2.c: Likewise.
44583 * math/w_atan2f.c: Likewise.
44584 * math/w_atan2l.c: Likewise.
44585 * math/w_atanh.c: Likewise.
44586 * math/w_atanhf.c: Likewise.
44587 * math/w_atanhl.c: Likewise.
44588 * math/w_exp10.c: Likewise.
44589 * math/w_exp10f.c: Likewise.
44590 * math/w_exp10l.c: Likewise.
44591 * math/w_fmod.c: Likewise.
44592 * math/w_fmodf.c: Likewise.
44593 * math/w_fmodl.c: Likewise.
44594 * math/w_j0.c: Likewise.
44595 * math/w_j0f.c: Likewise.
44596 * math/w_j0l.c: Likewise.
44597 * math/w_j1.c: Likewise.
44598 * math/w_j1f.c: Likewise.
44599 * math/w_j1l.c: Likewise.
44600 * math/w_jn.c: Likewise.
44601 * math/w_jnf.c: Likewise.
44602 * math/w_log.c: Likewise.
44603 * math/w_logf.c: Likewise.
44604 * math/w_logl.c: Likewise.
44605 * math/w_log10.c: Likewise.
44606 * math/w_log10f.c: Likewise.
44607 * math/w_log10l.c: Likewise.
44608 * math/w_log2.c: Likewise.
44609 * math/w_log2f.c: Likewise.
44610 * math/w_log2l.c: Likewise.
44611 * math/w_pow.c: Likewise.
44612 * math/w_powf.c: Likewise.
44613 * math/w_powl.c: Likewise.
44614 * math/w_remainder.c: Likewise.
44615 * math/w_remainderf.c: Likewise.
44616 * math/w_remainderl.c: Likewise.
44617 * math/w_scalb.c: Likewise.
44618 * math/w_scalbf.c: Likewise.
44619 * math/w_scalbl.c: Likewise.
44620 * math/w_sqrt.c: Likewise.
44621 * math/w_sqrtf.c: Likewise.
44622 * math/w_sqrtl.c: Likewise.
44623 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44624 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44626 * math/math_private.h: Declare __kernel_standard_f.
44627 * math/w_cosh.c: Remove cruft and optimize a bit.
44628 * math/w_coshf.c: Likewise.
44629 * math/w_coshl.c: Likewise.
44630 * math/w_exp2.c: Likewise.
44631 * math/w_exp2f.c: Likewise.
44632 * math/w_exp2l.c: Likewise.
44633 * math/w_hypot.c: Likewise.
44634 * math/w_hypotf.c: Likewise.
44635 * math/w_hypotl.c: Likewise.
44636 * math/w_lgamma.c: Likewise.
44637 * math/w_lgamma_r.c: Likewise.
44638 * math/w_lgammaf.c: Likewise.
44639 * math/w_lgammaf_r.c: Likewise.
44640 * math/w_lgammal.c: Likewise.
44641 * math/w_lgammal_r.c: Likewise.
44642 * math/w_sinh.c: Likewise.
44643 * math/w_sinhf.c: Likewise.
44644 * math/w_sinhl.c: Likewise.
44645 * math/w_tgamma.c: Likewise.
44646 * math/w_tgammaf.c: Likewise.
44647 * math/w_tgammal.c: Likewise.
44648 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44649 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44650 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44651 Minor optimizations. Pretty printing. Remove cruft.
44652 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44653 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44654 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44656 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44657 * sysdeps/i386/fpu/e_asin.S: Likewise.
44658 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44659 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44660 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44661 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44662 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44664 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44665 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44666 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44667 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44668 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44669 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44670 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44671 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44672 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44673 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44674 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44675 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44676 * sysdeps/i386/fpu/e_log.S: Likewise.
44677 * sysdeps/i386/fpu/e_log10.S: Likewise.
44678 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44679 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44680 * sysdeps/i386/fpu/e_log2.S: Likewise.
44681 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44682 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44683 * sysdeps/i386/fpu/e_logf.S: Likewise.
44684 * sysdeps/i386/fpu/e_logl.S: Likewise.
44685 * sysdeps/i386/fpu/e_pow.S: Likewise.
44686 * sysdeps/i386/fpu/e_powf.S: Likewise.
44687 * sysdeps/i386/fpu/e_powl.S: Likewise.
44688 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44689 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44690 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44692 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44693 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44694 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44695 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44696 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44707 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44711 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44717 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44718 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44719 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44720 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44721 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44722 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44723 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44724 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44725 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44726 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44727 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44728 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44729 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44730 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44731 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44732 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44736 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44737 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44738 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44739 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44743 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44744 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44780 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44781 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44782 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44790 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44791 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44792 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44793 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44794 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44795 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44796 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44797 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44798 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44799 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44800 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44801 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44802 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44803 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44805 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44806 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44807 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44808 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44809 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44810 (__isnanf): Likewise.
44811 (__isinf_ns): Likewise.
44812 (__isinf_nsf): Likewise.
44813 (__finite): Likewise.
44814 (__finitef): Likewise.
44815 (__ieee754_sqrt): Define as macro.
44816 (__ieee754_sqrtf): Define as macro.
44817 (__ieee754_sqrtl): Define as macro.
44818 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44820 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44821 __FINITE_MATH_ONLY__ consistent.
44822 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44824 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44826 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44829 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44831 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44833 * po/ja.po: Update from translation team.
44835 2011-10-08 Roland McGrath <roland@hack.frob.com>
44837 * locale/programs/locarchive.c (prepare_address_space): New function.
44838 (create_archive, enlarge_archive, open_archive): Use it.
44840 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44841 inside [SHARED], where it is used.
44843 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44845 * nss/getent.c (netgroup_keys): Remove unused variable.
44846 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44848 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44850 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44851 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44854 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44855 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44856 * math/Makefile (libm-calls): Add s_isinf_ns.
44857 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44858 * math/multc3.c: Likewise.
44859 * math/s_casin.c: Likewise.
44860 * math/s_casinf.c: Likewise.
44861 * math/s_casinl.c: Likewise.
44862 * math/s_ccos.c: Likewise.
44863 * math/s_ccosf.c: Likewise.
44864 * math/s_ccosl.c: Likewise.
44865 * math/s_ctan.c: Likewise.
44866 * math/s_ctanf.c: Likewise.
44867 * math/s_ctanh.c: Likewise.
44868 * math/s_ctanhf.c: Likewise.
44869 * math/s_ctanhl.c: Likewise.
44870 * math/s_ctanl.c: Likewise.
44871 * math/w_fmod.c: Likewise.
44872 * math/w_fmodf.c: Likewise.
44873 * math/w_fmodl.c: Likewise.
44874 * math/w_remainder.c: Likewise.
44875 * math/w_remainderf.c: Likewise.
44876 * math/w_remainderl.c: Likewise.
44877 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44878 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44879 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44880 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44881 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44882 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44883 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44884 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44886 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44888 * stdio-common/printf_fphex.c: Likewise.
44889 * stdio-common/printf_size.c: Likewise.
44891 * math/e_exp10.c: Include math_private.h using <...> not "...".
44892 * math/e_exp10f.c: Likewise.
44893 * math/e_exp10l.c: Likewise.
44894 * math/e_exp2l.c: Likewise.
44895 * math/e_j0l.c: Likewise.
44896 * math/e_j1l.c: Likewise.
44897 * math/e_jnl.c: Likewise.
44898 * math/e_lgammal_r.c: Likewise.
44899 * math/e_rem_pio2l.c: Likewise.
44900 * math/e_scalb.c: Likewise.
44901 * math/e_scalbf.c: Likewise.
44902 * math/e_scalbl.c: Likewise.
44903 * math/k_cosl.c: Likewise.
44904 * math/k_sinl.c: Likewise.
44905 * math/k_tanl.c: Likewise.
44906 * math/s_cacoshf.c: Likewise.
44907 * math/s_catan.c: Likewise.
44908 * math/s_catanf.c: Likewise.
44909 * math/s_catanh.c: Likewise.
44910 * math/s_catanhf.c: Likewise.
44911 * math/s_catanhl.c: Likewise.
44912 * math/s_catanl.c: Likewise.
44913 * math/s_ccosh.c: Likewise.
44914 * math/s_ccoshf.c: Likewise.
44915 * math/s_ccoshl.c: Likewise.
44916 * math/s_cexp.c: Likewise.
44917 * math/s_cexpf.c: Likewise.
44918 * math/s_cexpl.c: Likewise.
44919 * math/s_clog.c: Likewise.
44920 * math/s_clog10.c: Likewise.
44921 * math/s_clog10f.c: Likewise.
44922 * math/s_clog10l.c: Likewise.
44923 * math/s_clogf.c: Likewise.
44924 * math/s_clogl.c: Likewise.
44925 * math/s_csin.c: Likewise.
44926 * math/s_csinf.c: Likewise.
44927 * math/s_csinh.c: Likewise.
44928 * math/s_csinhf.c: Likewise.
44929 * math/s_csinhl.c: Likewise.
44930 * math/s_csinl.c: Likewise.
44931 * math/s_csqrt.c: Likewise.
44932 * math/s_csqrtf.c: Likewise.
44933 * math/s_csqrtl.c: Likewise.
44934 * math/s_ctan.c: Likewise.
44935 * math/s_ctanf.c: Likewise.
44936 * math/s_ctanh.c: Likewise.
44937 * math/s_ctanhf.c: Likewise.
44938 * math/s_ctanhl.c: Likewise.
44939 * math/s_ctanl.c: Likewise.
44940 * math/s_ldexp.c: Likewise.
44941 * math/s_ldexpf.c: Likewise.
44942 * math/s_ldexpl.c: Likewise.
44943 * math/s_significand.c: Likewise.
44944 * math/s_significandf.c: Likewise.
44945 * math/s_significandl.c: Likewise.
44946 * math/w_acos.c: Likewise.
44947 * math/w_acosf.c: Likewise.
44948 * math/w_acosh.c: Likewise.
44949 * math/w_acoshf.c: Likewise.
44950 * math/w_acoshl.c: Likewise.
44951 * math/w_acosl.c: Likewise.
44952 * math/w_asin.c: Likewise.
44953 * math/w_asinf.c: Likewise.
44954 * math/w_asinl.c: Likewise.
44955 * math/w_atan2.c: Likewise.
44956 * math/w_atan2f.c: Likewise.
44957 * math/w_atan2l.c: Likewise.
44958 * math/w_atanh.c: Likewise.
44959 * math/w_atanhf.c: Likewise.
44960 * math/w_atanhl.c: Likewise.
44961 * math/w_cosh.c: Likewise.
44962 * math/w_coshf.c: Likewise.
44963 * math/w_coshl.c: Likewise.
44964 * math/w_dremf.c: Likewise.
44965 * math/w_exp10.c: Likewise.
44966 * math/w_exp10f.c: Likewise.
44967 * math/w_exp10l.c: Likewise.
44968 * math/w_exp2.c: Likewise.
44969 * math/w_exp2f.c: Likewise.
44970 * math/w_fmod.c: Likewise.
44971 * math/w_fmodf.c: Likewise.
44972 * math/w_fmodl.c: Likewise.
44973 * math/w_hypot.c: Likewise.
44974 * math/w_hypotf.c: Likewise.
44975 * math/w_hypotl.c: Likewise.
44976 * math/w_j0.c: Likewise.
44977 * math/w_j0f.c: Likewise.
44978 * math/w_j0l.c: Likewise.
44979 * math/w_j1.c: Likewise.
44980 * math/w_j1f.c: Likewise.
44981 * math/w_j1l.c: Likewise.
44982 * math/w_jn.c: Likewise.
44983 * math/w_jnf.c: Likewise.
44984 * math/w_jnl.c: Likewise.
44985 * math/w_lgamma.c: Likewise.
44986 * math/w_lgamma_r.c: Likewise.
44987 * math/w_lgammaf.c: Likewise.
44988 * math/w_lgammaf_r.c: Likewise.
44989 * math/w_lgammal.c: Likewise.
44990 * math/w_lgammal_r.c: Likewise.
44991 * math/w_log.c: Likewise.
44992 * math/w_log10.c: Likewise.
44993 * math/w_log10f.c: Likewise.
44994 * math/w_log10l.c: Likewise.
44995 * math/w_log2.c: Likewise.
44996 * math/w_log2f.c: Likewise.
44997 * math/w_log2l.c: Likewise.
44998 * math/w_logf.c: Likewise.
44999 * math/w_logl.c: Likewise.
45000 * math/w_pow.c: Likewise.
45001 * math/w_powf.c: Likewise.
45002 * math/w_powl.c: Likewise.
45003 * math/w_remainder.c: Likewise.
45004 * math/w_remainderf.c: Likewise.
45005 * math/w_remainderl.c: Likewise.
45006 * math/w_scalb.c: Likewise.
45007 * math/w_scalbf.c: Likewise.
45008 * math/w_scalbl.c: Likewise.
45009 * math/w_sinh.c: Likewise.
45010 * math/w_sinhf.c: Likewise.
45011 * math/w_sinhl.c: Likewise.
45012 * math/w_sqrt.c: Likewise.
45013 * math/w_sqrtf.c: Likewise.
45014 * math/w_sqrtl.c: Likewise.
45015 * math/w_tgamma.c: Likewise.
45016 * math/w_tgammaf.c: Likewise.
45017 * math/w_tgammal.c: Likewise.
45019 * po/ja.po: Update from translation team.
45021 2011-09-29 Andreas Jaeger <aj@suse.de>
45024 * sunrpc/netname.c (netname2host): Fix logic.
45028 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45030 * math/w_remainder.c (__remainder): Likewise.
45031 * math/w_remainderf.c (__remainderf): Likewise.
45032 * math/libm-test.inc (remainder_test): Add test cases.
45034 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45036 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45039 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45041 * string/test-memcmp.c: Avoid unncessary #defines.
45042 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45044 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45046 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45047 Use new sse2 version for core i3 - i7 as it's faster
45048 than sse42 version.
45049 (bit_Prefer_PMINUB_for_stringop): New.
45050 * sysdeps/x86_64/rawmemchr.S: Update.
45051 Replace with faster SSE2 version.
45052 * sysdeps/x86_64/memrchr.S: New file.
45053 * sysdeps/x86_64/memchr.S: Update.
45054 Replace with faster SSE2 version.
45056 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45058 * elf/dl-load.c (lose): Add cast to avoid warning.
45060 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45062 * po/ca.po: Update from translation team.
45064 * inet/getnetgrent_r.c: Hook up nscd.
45065 * nscd/Makefile (routines): Add nscd_netgroup.
45066 (nscd-modules): Add netgroupcache.
45067 (CFLAGS-netgroupcache.c): Define.
45068 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45069 (cache_search): Add const to second parameter.
45070 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45072 (dbs): Add netgrdb entry.
45073 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45074 (verify_persistent_db): Handle netgrdb.
45075 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45076 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45078 (netgroup_response_header): Define.
45079 (innetgroup_response_header): Define.
45080 (datahead): Add netgroup_response_header and innetgroup_response_header
45082 * nscd/nscd.conf: Add entries for netgroup cache.
45083 * nscd/nscd.h (dbtype): Add netgrdb.
45084 (_PATH_NSCD_NETGROUP_DB): Define.
45085 (netgroup_iov_disabled): Declare.
45086 (xmalloc, xcalloc, xrealloc): Move declarations here.
45087 (cache_search): Adjust prototype.
45088 Add netgroup-related prototypes.
45089 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45090 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45091 (__nscd_innetgr): Declare.
45092 * nscd/selinux.c (perms): Use access_vector_t as element type and
45093 add netgroup-related initializers.
45094 * nscd/netgroupcache.c: New file.
45095 * nscd/nscd_netgroup.c: New file.
45096 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45097 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45098 For four parameters use innetgr.
45099 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45100 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45101 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45102 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45104 * nscd/connections.c (register_traced_file): Don't register file
45105 for disabled databases.
45107 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45109 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45111 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45112 from tree and freeing node.
45114 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45116 * nss/nsswitch.c (__nss_database_lookup): Handle
45117 nss_parse_service_list out of memory case.
45119 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45121 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45122 out of memory case.
45124 2011-10-04 Andreas Schwab <schwab@redhat.com>
45126 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45127 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45129 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45130 elf_machine_rela, elf_machine_lazy_rel.
45131 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45132 (ELF_DYNAMIC_DO_REL): Likewise.
45133 (ELF_DYNAMIC_DO_RELA): Likewise.
45134 (ELF_DYNAMIC_RELOCATE): Likewise.
45135 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45136 to ELF_DYNAMIC_DO_REL.
45137 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45138 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45139 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45142 skip_ifunc, don't call ifunc function if non-zero.
45143 (elf_machine_rela): Likewise.
45144 (elf_machine_lazy_rel): Likewise.
45145 (elf_machine_lazy_rela): Likewise.
45146 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45147 (elf_machine_lazy_rel): Likewise.
45148 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45150 (elf_machine_lazy_rel): Likewise.
45151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45153 (elf_machine_lazy_rel): Likewise.
45154 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45155 (elf_machine_lazy_rel): Likewise.
45156 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45157 (elf_machine_lazy_rel): Likewise.
45158 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45159 (elf_machine_lazy_rel): Likewise.
45160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45161 (elf_machine_lazy_rel): Likewise.
45162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45163 (elf_machine_lazy_rel): Likewise.
45164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45165 (elf_machine_lazy_rel): Likewise.
45167 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45169 * nss/nss_files/files-init.c (_nss_files_init): Use static
45170 initialization for all the *_traced_file variables.
45172 2011-09-28 Andreas Schwab <schwab@redhat.com>
45174 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45176 2011-09-27 Roland McGrath <roland@hack.frob.com>
45179 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45181 2011-09-27 Andreas Schwab <schwab@redhat.com>
45183 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45184 Reread the line before reparsing it.
45186 2011-09-26 Andreas Schwab <schwab@redhat.com>
45188 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45190 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45191 Maxim Kuvyrkov <maxim@codesourcery.com>
45192 Joseph Myers <joseph@codesourcery.com>
45194 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45195 if needed for __stack_chk_guard.
45197 2011-09-19 Roland McGrath <roland@hack.frob.com>
45199 * sysdeps/posix/spawni.c (script_execute): Always define it.
45200 It will be optimized away if unused.
45201 (maybe_script_execute): New function.
45202 (__spawni): Call it.
45204 * Makerules: Don't include tls.make.
45205 (config-tls): Always set to thread.
45206 * tls.make.c: File removed.
45208 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45210 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45211 * config.make.in (CPPFLAGS-config): New substituted variable.
45213 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45215 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45218 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45219 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45221 2011-09-15 Roland McGrath <roland@hack.frob.com>
45223 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45224 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45226 (CALL_FAIL): Likewise.
45227 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45228 (CALL_FAIL): Macro removed.
45229 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45231 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45233 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45234 for __FINITE_MATH_ONLY__ == 1.
45236 2011-09-15 Andreas Schwab <schwab@redhat.com>
45238 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45239 __ieee754_sqrt instead of sqrt.
45240 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45241 __ieee754_sqrtf instead of sqrtf.
45242 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45243 __floorf instead of floorf.
45244 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45245 __floorf, __truncf instead of floorf, truncf.
45247 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45249 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45251 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45252 __extern_always_inline.
45253 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45256 2011-09-14 Andreas Schwab <schwab@redhat.com>
45258 * elf/rtld.c (dl_main): Also relocate in dependency order when
45259 doing symbol dependency testing.
45261 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45264 Always define `refsym'.
45266 2011-09-13 Andreas Schwab <schwab@redhat.com>
45268 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45269 (__FD_ELT): Renamed from __FDELT.
45270 * misc/bits/select2.h (__FD_ELT): Likewise.
45271 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45272 __FD_MASK instead of __FDELT, __FDMASK.
45273 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45275 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45278 * elf/Makefile (gen-ldd): Fix pattern.
45280 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45281 (init_tls): Likewise.
45283 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45287 2011-09-12 Andreas Schwab <schwab@redhat.com>
45289 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45290 `struct cmsghdr *' instead of `void *'.
45291 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45294 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45296 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45298 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45299 ldd_rewrite_script.
45301 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45303 * configure.in: Remove --with-tls option.
45304 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45305 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45306 out in case it is missing.
45307 * sysdeps/ia64/elf/configure.in: Likewise.
45308 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45309 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45310 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45311 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45312 * sysdeps/sh/elf/configure.in: Likewise.
45313 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45314 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45315 * sysdeps/x86_64/elf/configure.in: Likewise.
45316 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45317 * sysdeps/mach/hurd/tls.h: Likewise.
45320 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45323 * configure.in: Fix use of AC_INIT.
45325 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45327 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45329 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45331 * malloc/hooks.c: Likewise.
45334 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45335 variables statically.
45336 (narenas): Initialize.
45337 (list_lock): Initialize.
45338 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45339 initializtion of main_arena and list_lock. Small cleanups.
45340 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45341 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45342 Add initializers to main_arena and mp_.
45343 (malloc_state): Remove pagesize member. Change all users to use
45346 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45347 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45348 is always initialized.
45350 * malloc/malloc.c: Removed unused configurations and dead code.
45351 * malloc/arena.c: Likewise.
45352 * malloc/hooks.c: Likewise.
45353 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45355 * include/tls.h: Removed. USE___THREAD must always be defined.
45356 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45357 * elf/dl-libc.c: Likewise.
45358 * elf/dl-tsd.c: Likewise.
45359 * include/errno.h: Likewise.
45360 * include/netdb.h: Likewise.
45361 * include/resolv.h: Likewise.
45362 * inet/herrno-loc.c: Likewise.
45363 * inet/herrno.c: Likewise.
45364 * malloc/arena.c: Likewise.
45365 * malloc/hooks.c: Likewise.
45366 * malloc/malloc.c: Likewise.
45367 * resolv/res-state.c: Likewise.
45368 * resolv/res_libc.c: Likewise.
45369 * sysdeps/i386/dl-machine.h: Likewise.
45370 * sysdeps/ia64/dl-machine.h: Likewise.
45371 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45372 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45373 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45374 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45375 * sysdeps/sh/dl-machine.h: Likewise.
45376 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45377 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45378 * sysdeps/unix/i386/sysdep.S: Likewise.
45379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45380 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45385 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45389 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45390 * sysdeps/x86_64/dl-machine.h: Likewise.
45391 * tls.make.c: Likewise.
45393 * configure.in: Remove --with-__thread option. Make tests for
45394 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45395 tls_model attribute fail if no support is available. Remove
45397 * Makeconfig: Adjust for dropped configure option. All features are
45399 * Makerules: Likewise.
45400 * Versions.def: Likewise.
45401 * argp/argp-fmtstream.c: Likewise.
45402 * argp/argp-fmtstream.h: Likewise.
45403 * argp/argp-help.c: Likewise.
45404 * assert/assert.c: Likewise.
45405 * config.h.in: Likewise.
45406 * config.make.in: Likewise.
45407 * configure: Likewise.
45408 * configure.in: Likewise.
45409 * csu/Versions: Likewise.
45410 * csu/init.c: Likewise.
45411 * elf/tst-audit2.c: Likewise.
45412 * elf/tst-tls10.c: Likewise.
45413 * elf/tst-tls10.h: Likewise.
45414 * elf/tst-tls11.c: Likewise.
45415 * elf/tst-tls12.c: Likewise.
45416 * elf/tst-tls14.c: Likewise.
45417 * elf/tst-tlsmod11.c: Likewise.
45418 * elf/tst-tlsmod12.c: Likewise.
45419 * elf/tst-tlsmod13.c: Likewise.
45420 * elf/tst-tlsmod13a.c: Likewise.
45421 * elf/tst-tlsmod14a.c: Likewise.
45422 * elf/tst-tlsmod15b.c: Likewise.
45423 * elf/tst-tlsmod16a.c: Likewise.
45424 * elf/tst-tlsmod16b.c: Likewise.
45425 * elf/tst-tlsmod7.c: Likewise.
45426 * elf/tst-tlsmod8.c: Likewise.
45427 * elf/tst-tlsmod9.c: Likewise.
45428 * gmon/gmon.c: Likewise.
45429 * grp/fgetgrent_r.c: Likewise.
45430 * grp/putgrent.c: Likewise.
45431 * hurd/fopenport.c: Likewise.
45432 * include/libc-symbols.h: Likewise.
45433 * include/tls.h: Likewise.
45434 * intl/gettextP.h: Likewise.
45435 * intl/loadinfo.h: Likewise.
45436 * locale/global-locale.c: Likewise.
45437 * locale/localeinfo.h: Likewise.
45438 * mach/devstream.c: Likewise.
45439 * malloc/arena.c: Likewise.
45440 * malloc/set-freeres.c: Likewise.
45441 * misc/err.c: Likewise.
45442 * misc/getttyent.c: Likewise.
45443 * misc/mntent_r.c: Likewise.
45444 * posix/getopt.c: Likewise.
45445 * posix/wordexp.c: Likewise.
45446 * pwd/fgetpwent_r.c: Likewise.
45447 * resolv/Versions: Likewise.
45448 * resolv/res_hconf.c: Likewise.
45449 * shadow/fgetspent_r.c: Likewise.
45450 * shadow/putspent.c: Likewise.
45451 * stdio-common/printf_fphex.c: Likewise.
45452 * stdio-common/tmpfile.c: Likewise.
45453 * stdlib/abort.c: Likewise.
45454 * stdlib/fmtmsg.c: Likewise.
45455 * sunrpc/auth_unix.c: Likewise.
45456 * sunrpc/clnt_perr.c: Likewise.
45457 * sunrpc/clnt_tcp.c: Likewise.
45458 * sunrpc/clnt_udp.c: Likewise.
45459 * sunrpc/clnt_unix.c: Likewise.
45460 * sunrpc/openchild.c: Likewise.
45461 * sunrpc/svc_simple.c: Likewise.
45462 * sunrpc/svc_tcp.c: Likewise.
45463 * sunrpc/svc_udp.c: Likewise.
45464 * sunrpc/svc_unix.c: Likewise.
45465 * sunrpc/xdr.c: Likewise.
45466 * sunrpc/xdr_array.c: Likewise.
45467 * sunrpc/xdr_rec.c: Likewise.
45468 * sunrpc/xdr_ref.c: Likewise.
45469 * sunrpc/xdr_stdio.c: Likewise.
45471 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45473 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45475 2011-07-03 Andreas Jaeger <aj@suse.de>
45477 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45478 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45479 regenerate with gen-libm-tests.pl.
45481 2010-05-12 Petr Baudis <pasky@suse.cz>
45484 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45485 around j0() zero points by switching to j1().
45486 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45487 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45491 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45493 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45495 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45498 Patch in part by Pavel Roskin <proski@gnu.org>.
45501 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45503 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45504 Free memory block if necessary.
45507 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45508 be NULL. Don't lock in this case.
45510 2011-09-09 Roland McGrath <roland@hack.frob.com>
45512 * elf/elf.h (ELFOSABI_GNU): New macro.
45513 (ELFOSABI_LINUX): Define to that.
45515 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45517 * string/strncat.c (strncat): Undef the symbol in case it has been
45518 defined in bits/string.h.
45520 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45522 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45524 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45527 2011-08-17 Andreas Jaeger <aj@suse.de>
45529 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45531 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45532 Ian Lance Taylor <iant@google.com>
45534 * math/libm-test.inc (lround_test): New testcase.
45535 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45537 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45539 * Makefile: Remove support for automatic cvs check-ins.
45540 * Makerules: Likewise.
45541 * config.make.in: Likewise.
45542 * configure.in: Likewise.
45543 * intl/Makefile: Likewise.
45544 * locale/Makefile: Likewise.
45545 * po/Makefile: Likewise.
45546 * posix/Makefile: Likewise.
45547 * sysdeps/gnu/Makefile: Likewise.
45548 * sysdeps/mach/hurd/Makefile: Likewise.
45549 * sysdeps/sparc/sparc32/Makefile: Likewise.
45552 * posix/Makefile (bug-regex32-ENV): Define.
45553 Patch by John Stanley <jpsinthemix@verizon.net>.
45555 * misc/Makefile (headers): Add bits/select2.h.
45556 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45557 * misc/bits/select2.h: New file.
45558 * include/bits/select2.h: New file.
45559 * debug/Makefile (routines): Add fdelt_chk.
45560 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45561 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45563 * debug/fdelt_chk.c: New file.
45565 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45566 * wcsmbs/test-wmemcmp.c: Likewise.
45567 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45568 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45570 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45572 * string/Makefile (strop-tests): Add memcmp.
45573 * string/test-wmemcmp.c: New file.
45574 * string/test-memcmp.c: Add wmemcmp support.
45576 2011-09-08 Roland McGrath <roland@hack.frob.com>
45579 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45582 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45583 garbage value in a __mach_port_mod_refs call in the cases of the
45584 task-self and thread-self ports.
45586 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45588 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45590 2011-09-08 Andreas Schwab <schwab@redhat.com>
45592 * elf/dl-load.c (lose): Check for non-null L.
45594 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45596 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45598 * elf/dl-libc.c (dlerror_run): Pass back error code from
45602 * elf/dl-load.c (lose): Free l_origin if it is valid.
45604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45607 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45610 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45611 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45613 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45615 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45616 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45617 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45618 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45619 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45620 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45621 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45622 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45623 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45624 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45626 2011-08-15 Alan Modra <amodra@gmail.com>
45629 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45630 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45631 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45632 ppc_mcount to static-only-routines.
45633 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45635 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45636 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45638 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45640 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45641 for finite and infinity parameters.
45643 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45646 and add nop instructions for throughput optimization.
45647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45649 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45651 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45652 aligned copy for power7 with vector-scalar instructions.
45653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45655 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45660 2011-09-07 Andreas Schwab <schwab@redhat.com>
45663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45666 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45668 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45669 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45670 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45671 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45674 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45676 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45677 Forgot to demangle the pointer.
45679 * sysdeps/i386/sysdep.h: Define atom_text_section.
45680 * sysdeps/x86_64/sysdep.h: Likewise.
45681 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45682 section with atom_text_section.
45683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45684 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45685 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45686 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45687 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45689 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45690 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45691 already be defined. Change to take two parameters and don't assign
45692 result to variable. Adjust all users.
45693 Define INTERNAL_GETTIME if not already defined.
45694 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45697 HAVE_CLOCK_GETTIME_VSYSCALL.
45698 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45700 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45701 gettimeofday vsyscall, just use time.
45703 2011-09-06 Andreas Schwab <schwab@redhat.com>
45705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45708 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45710 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45714 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45716 syscall if possible.
45718 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45720 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45721 e_ident. Don't pass to find_mapsXX.
45722 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45724 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45727 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45728 * sysdeps/x86_64/multiarch/strchr.S: Update.
45729 Check bit_slow_BSF bit.
45730 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45732 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45734 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45737 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45739 (tryshell): Define.
45740 (__spawni): Change last parameter to be flag. Test
45741 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45742 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45743 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45744 * posix/spawni.c: Likewise.
45745 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45746 * posix/spawnp.c: Likewise. Change normal version to use
45747 SPAWN_XFLAGS_USE_PATH.
45748 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45749 SPAWN_XFLAGS_TRY_SHELL.
45752 * posix/glob.h: Remove gcc 1.x support.
45755 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45757 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45760 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45762 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45763 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45764 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45765 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45766 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45767 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45769 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45771 * sysdeps/x86_64/wcscmp.S: New file.
45773 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45774 wcscmp-c wcscmp-sse2
45775 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45776 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45777 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45778 * wcsmbs/wcscmp.c: Allow renaming.
45780 2011-09-05 David S. Miller <davem@davemloft.net>
45782 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45783 stack slot, rather than the struct return pointer slot.
45784 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45785 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45787 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45789 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45791 * po/ja.po: Update from translation team.
45794 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45795 kernel in 64-bit binaries.
45797 2011-09-01 David S. Miller <davem@davemloft.net>
45799 * elf/elf.h (HWCAP_SPARC_*): Move to..
45800 * sysdeps/sparc/sysdep.h: this new file and add new values.
45801 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45802 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45803 _DL_HWCAP_COUNT to 24.
45804 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45806 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45807 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45808 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45810 instead of magic constants.
45811 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45813 2011-08-31 David S. Miller <davem@davemloft.net>
45815 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45817 Reimplement to do errno handling inline.
45818 (SYSCALL_ERROR_HANDLER): New macro.
45819 (__SYSCALL_STRING): Do not do errno handling in asm.
45820 (__CLONE_SYSCALL_STRING): Delete.
45821 (__INTERNAL_SYSCALL_STRING): Delete.
45822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45823 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45824 (PSEUDO): Reimplement to do errno handling inline.
45825 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45826 (SYSCALL_ERROR_HANDLER): New macro.
45827 (__SYSCALL_STRING): Do not do errno handling in asm.
45828 (__CLONE_SYSCALL_STRING): Delete.
45829 (__INTERNAL_SYSCALL_STRING): Delete.
45830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45831 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45833 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45834 (inline_syscall*): Add 'err' argument.
45835 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45836 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45837 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45838 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45840 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45841 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45843 2011-08-30 Andreas Schwab <schwab@redhat.com>
45845 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45847 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45849 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45852 2011-08-24 David S. Miller <davem@davemloft.net>
45854 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45856 2011-08-24 Andreas Schwab <schwab@redhat.com>
45858 * elf/Makefile: Add rules to build and run unload8 test.
45859 * elf/unload8.c: New file.
45860 * elf/unload8mod1.c: New file.
45861 * elf/unload8mod1x.c: New file.
45862 * elf/unload8mod2.c: New file.
45863 * elf/unload8mod3.c: New file.
45865 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45868 2011-08-23 David S. Miller <davem@davemloft.net>
45870 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45871 subtract stack bias.
45872 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45873 %sp not %fp in calculations.
45874 (_JMPBUF_UNWINDS_ADJ): Likewise.
45876 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45877 (aio_suspend): Call it to force an exception region around the
45878 AIO_MISC_WAIT() invocation.
45880 2011-08-23 Andreas Schwab <schwab@redhat.com>
45882 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45885 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45887 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45889 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45890 and <dl-machine.h>.
45891 (Elf64_FuncDesc): Remove.
45893 2011-08-22 David S. Miller <davem@davemloft.net>
45895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45896 sigaltstack check, add missing cfi directives.
45897 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45898 missing cfi directives, and sigaltstack handling.
45900 2011-08-16 Andreas Schwab <schwab@redhat.com>
45903 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45904 object is seen twice.
45905 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45907 * elf/Makefile (distribute): Add tst-initorder2.c.
45908 (tests): Add tst-initorder2.
45909 (modules-names): Add tst-initorder2a tst-initorder2b
45910 tst-initorder2c tst-initorder2d. Add rules to build them.
45911 ($(objpfx)tst-initorder2.out): New rule.
45912 * elf/tst-initorder2.c: New file.
45913 * elf/tst-initorder2.exp: New file.
45915 2011-08-22 Andreas Schwab <schwab@redhat.com>
45917 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45919 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45920 dependencies back to end of function.
45922 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45923 $(elfobjdir)/ld.so.
45925 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45928 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45930 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45931 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45932 of __vdso_gettimeofday.
45933 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45934 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45936 (_libc_vdso_platform_setup): Remove initialization of
45937 __vdso_gettimeofday and __vdso_time.
45939 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45941 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45942 and fgetc_unlocked.
45943 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45946 * elf/dl-open.c (add_to_global): Report additions to the global scope
45947 for LD_DEBUG=scopes.
45948 (dl_open_worker): Also print scope of newly loaded dependencies.
45949 (_dl_show_scope): Indicate if there is no scope.
45952 * stdio-common/Makefile (tests): Add bug24.
45953 * stdio-common/bug24.c: New file.
45955 2011-08-19 Andreas Jaeger <aj@suse.de>
45958 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45959 non-existant file when using close-on-exec mode.
45961 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45964 the very first instruction.
45966 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45967 the CFI state in the end.
45968 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45969 inclusion of dl-trampoline.h.
45970 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45972 2011-08-19 Andreas Schwab <schwab@redhat.com>
45974 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45975 expectations for long double.
45977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45978 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45980 2011-08-14 David S. Miller <davem@davemloft.net>
45982 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45983 artificual limit depends upon the system page size.
45985 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45987 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45988 * resolv/Makefile: Define CFLAGS-libresolv.
45990 2011-08-17 Andreas Schwab <schwab@redhat.com>
45992 * nss/makedb.c (compute_tables): Make variables used in nested
45995 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45997 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45998 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45999 if buffer was too small.
46001 * elf/pldd.c (main): Attach to all threads in the process.
46002 Rewrite /proc handling to use *at functions.
46004 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46006 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46007 specifies first scope to show.
46008 (dl_open_worker): Update callers. Move printing scope of new
46009 object to before the relocation.
46010 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46011 * sysdeps/generic/ldsodefs.h: Update declaration.
46013 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46014 string for the scope number.
46016 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46018 * nscd/servicescache.c (cache_addserv): Make sure written is always
46021 2011-08-14 Roland McGrath <roland@hack.frob.com>
46023 * sysdeps/i386/i486/bits/atomic.h
46024 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46025 statement expression, so as to suppress "set but not used" warning.
46026 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46028 * string/strncat.c (STRNCAT): Use prototype definition.
46030 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46031 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46033 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46034 (localedef-modules): Add localedef.
46035 (locale-modules): Add locale.
46037 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46038 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46039 to avoid a warning.
46041 2011-08-14 David S. Miller <davem@davemloft.net>
46043 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46044 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46046 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46048 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46049 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46050 * elf/rtld.c (dl_main): Set l_name of vDSO.
46051 Call _dl_show_scope when DL_DEBUG_SCOPES.
46052 (process_dl_debug): Recognize scopes flag and also set it for all.
46053 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46054 Declare _dl_show_scope.
46056 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46057 (do_dlopen): Pass caller_dlopen to dl_open.
46058 (__libc_dlopen_mode): Initialize caller_dlopen.
46060 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46061 of libc. Make tolower call locale-independent. Optimize a bit by
46062 using isdigit instead of isalnum.
46063 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46065 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46067 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46068 was a dependency or dynamically loaded.
46070 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46072 * intl/l10nflist.c: Allow architecture-specific pop function.
46073 * sysdeps/x86_64/l10nflist.c: New file.
46075 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46078 2011-08-10 Andreas Schwab <schwab@redhat.com>
46080 * include/dirent.h: Add libc_hidden_proto for scandirat and
46081 scandirat64. Don't declare __scandirat64.
46082 * dirent/scandirat.c: Add libc_hidden_def.
46083 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46084 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46086 2011-08-10 David S. Miller <davem@davemloft.net>
46088 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46091 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46092 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46094 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46096 * Versions.def [libc]: Add GLIBC_2.15.
46097 * dirent/Makefile (routines): Add scandirat and scandirat64.
46098 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46100 * dirent/dirent.h: Declare scandirat and scandirat64.
46101 * dirent/scandirat.c: New file.
46102 * dirent/scandirat64.c: New file.
46103 * sysdeps/wordsize-64/scandirat.c: New file.
46104 * sysdeps/wordsize-64/scandirat64.c: New file.
46105 * dirent/opendir.c: Define opendirat.
46106 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46108 * dirent/scandir64.c: Adjust for scandir.c change.
46109 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46110 __scandirat64, and __scandir_cancel_handler.
46111 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46112 additional parameter and use openat instead of open (outside of ld.so).
46113 Add new __opendir as wrapper around __opendirat.
46114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46115 here without requiring old scandirat implementation.
46117 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46119 * dirent/scandir.c (cancel_handler): Renamed to
46120 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46121 defined. Adjust users.
46122 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46125 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46127 * string/test-string.h (IMPL): Use __STRING to expand name and then
46130 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46133 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46135 * string/Makefile: Update.
46136 (strop-tests): Append strncat.
46137 * string/test-wcscmp.c: New file.
46138 New comprehensive test for wcscmp.
46139 * string/test-strcmp.c: Update.
46140 (WIDE): New define.
46142 2011-07-22 Andreas Schwab <schwab@redhat.com>
46144 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46147 2011-07-26 Andreas Schwab <schwab@redhat.com>
46149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46150 encoding to ACE if AI_IDN.
46152 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46155 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46157 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46159 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46160 Fix overflow bug in strncat.
46161 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46163 * string/test-strncat.c: Update.
46164 Add new tests for checking overflow bugs.
46166 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46169 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46170 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46171 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46173 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46174 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46175 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46176 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46178 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46179 (USE_AS_STRCAT): Define.
46180 Add strcat and strncat support.
46181 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46183 2011-07-25 Andreas Schwab <schwab@redhat.com>
46185 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46186 __n bigger than INT_MAX+1.
46187 (__strncmp_g): Likewise.
46189 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46191 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46192 * libio/stido.h: Likewise.
46194 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46199 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46200 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46202 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46206 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46211 (_dl_x86_64_save_sse): Likewise.
46213 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46217 (_dl_x86_64_save_sse): Likewise.
46219 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46221 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46223 2011-07-21 Andreas Schwab <schwab@redhat.com>
46225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46227 (_dl_x86_64_save_sse): Use correct AVX check.
46229 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46232 bug in strncpy/strncat.
46233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46235 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46237 * string/tester.c (test_strcat): Add tests for different alignments
46238 of source and destination.
46239 (test_strncat): Likewise.
46241 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46244 * posix/glob.c (glob): Check passed in values before using them in
46245 expressions to avoid some overflows.
46246 (glob_in_dir): Likewise.
46249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46250 check for AVX enablement so that we don't crash with old kernels and
46252 * elf/tst-audit4.c: Add same checks here.
46253 * elf/tst-audit6.c: Likewise.
46255 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46257 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46259 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46261 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46263 * po/cs.po: Update from translation team.
46264 * po/bg.po: Likewise.
46266 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46268 * misc/sys/cdefs.h: Add support for const attribute.
46269 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46270 to gnu_dev_{major,minor,makedev} functions.
46272 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46274 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46276 2011-07-20 Andreas Schwab <schwab@redhat.com>
46278 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46281 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46284 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46285 register in order to avoid conflicts with the soft frame pointer
46286 being held in r11 when necessary.
46287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46288 (INTERNAL_VSYSCALL_NCS): Likewise.
46290 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46292 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46293 * elf/dl-fini.c (_dl_fini): Adjust caller.
46294 * elf/dl-close.c (_dl_close_worker): Likewise.
46295 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46297 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46299 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46300 "aux_cache->nlibs < 0".
46302 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46303 in the reload-count case.
46305 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46308 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46309 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46311 * sysdeps/x86_64/multiarch/strcat.S: New file.
46312 * sysdeps/x86_64/multiarch/strncat.S: New file.
46313 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46314 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46315 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46316 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46318 (USE_AS_STRCAT): Define.
46319 Add strcat and strncat support.
46320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46321 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46322 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46323 * string/strncat.c: Update.
46324 (USE_AS_STRNCAT): Define.
46325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46326 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46328 * sysdeps/x86_64/multiarch/init-arch.h
46329 (bit_Prefer_PMINUB_for_stringop): New.
46330 (index_Prefer_PMINUB_for_stringop): Likewise.
46331 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46332 bit_Prefer_PMINUB_for_stringop.
46334 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46336 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46338 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46339 of casting of buffer.
46340 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46341 buffer32 and buffer64.
46342 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46343 writes instead of casting of buffer.
46344 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46346 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46349 2011-07-19 Andreas Schwab <schwab@redhat.com>
46351 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46353 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46355 * nscd/nscd.c (termination_handler): Don't do anything for a database
46356 if it has not yet been initialized.
46358 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46360 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46362 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46364 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46366 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46368 * po/nl.po: Update from translation team.
46369 * po/sv.po: Likewise.
46371 2011-07-16 Roland McGrath <roland@hack.frob.com>
46373 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46374 now disallowed by GCC.
46376 * configure.in (use-default-link): Default to yes if a test -shared
46377 link meets our qualifications.
46378 * configure: Regenerated.
46380 * config.make.in (output-format): New variable.
46381 * configure.in: Check for ld --print-output-format support.
46382 * configure: Regenerated.
46383 * Makerules ($(common-objpfx)format.lds)
46384 [$(output-format) != unknown]: Just use $(output-format),
46385 instead of the linker-script munging.
46387 2011-07-14 Roland McGrath <roland@hack.frob.com>
46389 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46390 of $(common-objpfx)shlib.lds.
46391 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46393 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46394 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46396 * configure.in (-z relro check): Adjust test code to add a large
46397 writable data section after it.
46398 * configure: Regenerated.
46400 2011-07-11 Roland McGrath <roland@hack.frob.com>
46402 * configure.in (-z relro check): Fix test code to make the variable
46404 * configure: Regenerated.
46406 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46408 * nscd/nscd.h (struct traced_file): Define.
46409 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46410 elements. Add traced_files.
46411 (inotify_fd): Declare.
46412 (register_traced_file): Declare.
46413 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46414 (inotify_fd): Export.
46415 (resolv_conf_descr): Remove.
46416 (nscd_init): Move inotify descriptor creation to main.
46417 Don't register files for notification here.
46418 (register_traced_file): New function.
46419 (invalidate_cache): Don't use reset_res to determine whether to call
46420 res_init, go through the list of registered files.
46421 (main_loop_poll): The inotify descriptors are now stored in the
46422 structures for the traced files.
46423 (main_loop_epoll): Likewise
46424 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46425 to __nss_disable_nscd.
46426 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46427 for a database anymore. Check the records for all the registered
46429 * nss/Makefile (libnss_files-routines): Add files-init.
46430 (libnss_db-routines): Add db-init.
46431 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46432 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46433 * nss/nss_db/db-init.c: New file.
46434 * nss/nss_files/files-init.c: New file.
46435 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46436 __nss_lookup_function.
46437 (__nss_lookup_function): Call nss_load_library.
46438 (nss_load_all_libraries): New function.
46439 (__nss_disable_nscd): Take parameter with callback function for files
46440 to register. Set is_nscd. Load all the DSOs for the NSS modules
46441 used for the cached services.
46442 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46443 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46444 options for features to all the files in nscd.
46446 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46448 2011-07-10 Roland McGrath <roland@hack.frob.com>
46450 * csu/elf-init.c (__libc_csu_init): Comment typo.
46452 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46454 * po/pl.po: Update from translation team.
46455 * po/ja.po: Likewise.
46456 * po/ru.po: Likewise.
46457 * po/ko.po: Likewise.
46458 * po/fr.po: Likewise.
46460 2011-07-09 Roland McGrath <roland@hack.frob.com>
46462 * configure.in (.ctors/.dtors header and trailer check):
46463 Use an empirical test on a built program.
46464 * configure: Regenerated.
46466 * configure.in (-z relro check): Use an empirical test on a built DSO.
46467 Detect, but do not require, on ia64.
46468 * configure: Regenerated.
46470 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46471 Update tests that use readelf to use $READELF instead.
46472 * configure: Regenerated.
46474 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46476 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46477 if the result is not used.
46479 2011-07-05 Andreas Jaeger <aj@suse.de>
46482 * stdlib/tst-strtod.c: Add testcase.
46484 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46486 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46487 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46488 The latter has a higher limit. Take additional parameter to pass to
46490 (__pathconf): Pass file to __statfs_link_max.
46491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46493 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46497 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46500 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46501 (__statfs_filesize_max): Likewise.
46502 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46504 2011-07-05 Andreas Jaeger <aj@suse.de>
46506 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46508 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46510 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46512 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46515 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46517 * Makefile (strop-tests): Add strncat.
46518 * string/test-strncat.c: New file.
46520 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46522 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46524 2011-06-21 Andreas Jaeger <aj@suse.de>
46526 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46527 Copy rule from iconvdata/Makefile.
46529 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46532 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46533 but no long options are defined, just return 'W'.
46535 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46538 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46540 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46542 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46544 (innetgr): Likewise.
46546 2011-07-05 Roland McGrath <roland@hack.frob.com>
46548 * config.make.in (install_root): Default to $(DESTDIR).
46550 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46552 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46554 2011-07-02 Roland McGrath <roland@hack.frob.com>
46556 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46558 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46559 containing directory rather than embedding absolute directory names.
46561 * scripts/check-local-headers.sh: Rewritten using awk.
46562 Match by word, not by line. Print error messages for matches.
46563 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46565 * Makerules [shlib-lds-flags empty]:
46566 ($(common-objpfx)libc_pic.opts): New target.
46567 ($(common-objpfx)libc_pic.os.clean): New target.
46568 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46570 * config.make.in (OBJCOPY): New variable.
46571 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46572 * configure: Regenerated.
46574 * config.make.in (use-default-link): New variable.
46575 * configure.in (use_default_link): Grok --with-default-link to set it.
46576 * configure: Regenerated.
46577 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46578 (shlib-lds, shlib-lds-flags): Define to empty.
46580 * Makerules (shlib-lds): New variable.
46581 (shlib-lds-flags): New variable.
46582 (build-shlib, build-moduile, build-module-asneeded): Use it.
46583 ($(common-objpfx)libc.so): Use $(shlib-lds).
46584 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46585 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46587 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46588 DT_FLAGS/DT_FLAGS_1 with zero flags.
46590 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46591 linker script munging.
46593 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46595 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46597 * crypt/sha512.c (sha512_process_block): Perform total addition using
46598 128-bit if possible.
46599 (__sha512_finish_ctx): Likewise.
46600 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46602 * crypt/sha256.c (SWAP64): Define.
46603 (sha256_process_block): Perform total addition using 64-bit if
46605 (__sha256_finish_ctx): Likewise.
46607 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46609 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46611 * nscd/hstcache.c (cache_addhst): Likewise.
46612 * nscd/grpcache.c (cache_addgr): Likewise.
46613 * nscd/aicache.c (addhstaiX): Likewise
46614 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46616 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46618 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46620 * nscd/hstcache.c (cache_addhst): Likewise.
46621 * nscd/grpcache.c (cache_addgr): Likewise.
46622 * nscd/aicache.c (addhstaiX): Likewise
46624 2011-07-01 Andreas Schwab <schwab@redhat.com>
46626 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46627 domain only when needed.
46629 2011-06-30 Andreas Schwab <schwab@redhat.com>
46631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46632 is always restored.
46634 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46636 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46637 are re-adding the entry.
46638 * nscd/servicescache.c (cache_addserv): Likewise.
46640 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46642 * sysdeps/generic/dl-irel.h: fix protection against multiple
46644 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46646 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46649 * malloc/memusage.sh: Fix quoting in message.
46650 * debug/xtrace.sh: Likewise.
46652 * configure.in: Remove support for --experimental-malloc option, make
46654 * config.make.in: Likewise.
46655 * malloc/Makefile: Likewise.
46657 2011-06-27 Andreas Schwab <schwab@redhat.com>
46659 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46660 two-byte characters.
46662 2011-06-27 Roland McGrath <roland@hack.frob.com>
46664 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46665 AC_CACHE_CHECK invocation.
46666 * configure: Regenerated.
46668 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46670 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46673 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46674 bit from old_res_options.
46676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46678 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46679 value type for setfct.
46681 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46684 __gettimeofday instead of gettimeofday.
46686 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46688 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46690 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46692 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46697 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46700 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46701 strcpy-sse2-unaligned strncpy-sse2-unaligned
46702 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46703 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46704 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46705 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46706 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46707 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46709 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46710 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46711 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46712 (STRCPY): Support SSE2 and SSSE3 versions.
46714 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46717 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46718 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46719 kernels which artificially limit size of requests.
46721 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46724 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46725 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46726 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46727 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46728 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46729 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46730 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46732 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46733 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46734 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46735 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46736 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46737 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46739 Enable unaligned load optimization for Intel Core i3, i5 and i7
46741 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46743 (index_Fast_Unaligned_Load): Define.
46744 (HAS_FAST_UNALIGNED_LOAD): Define.
46746 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46748 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46750 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46753 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46754 until it is clear that the information is realy needed.
46755 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46757 2011-06-22 Andreas Schwab <schwab@redhat.com>
46759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46761 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46764 /sys/devices/system/cpu/online if it is usable.
46766 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46767 reading the information from the /proc filesystem to once a second.
46769 2011-06-21 Andreas Jaeger <aj@suse.de>
46771 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46772 NULL after inclusion of kernel headers.
46774 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46776 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46777 calls to internal_setent.
46780 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46781 addresses using gethostbyname4_r ignore IPv4 addresses.
46783 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46784 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46786 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46788 2011-06-20 David S. Miller <davem@davemloft.net>
46790 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46792 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46794 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46795 (elf_irel): Use it.
46796 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46797 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46798 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46799 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46800 * sysdeps/x86_64/dl-irel.h: Likewise.
46802 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46803 * elf/dl-sym.c: Likewise.
46805 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46807 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46808 need to dereference resplen2.
46810 2011-06-14 Andreas Schwab <schwab@redhat.com>
46812 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46814 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46816 * Makeconfig: Define vardbdir and inst_vardbdir.
46817 * nss/Makefile: Add rules to install db-Makefile.
46819 * nss/nss_db/db-XXX.c: Cleanup.
46821 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46822 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46824 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46825 * nss/makedb.c: Implement -g option to specify that value strings
46826 are generated and should not be added to table iterated over for
46828 * nss/nss_db/db-initgroups.c: New file.
46830 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46833 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46834 (internal_getgrouplist): Adjust to name change.
46835 Update use_initgroups_entry if this is not the first call.
46836 * nss/databases.def: Add initgroups entry.
46838 * nss/makedb.c (compute_tables): Check result of multiple hash table
46839 sizes to minimize maximum chain length.
46841 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46843 * Versions.def: Add entry for libnss_db.
46844 * shlib-versions: Likewise.
46845 * nss/Makefile: Add rules to build libnss_db.
46846 * nss/Versions: Add libnss_db information. Organize libnss_files
46848 * nss/db-Makefile: Add gshadow support. Change rules for the new
46849 makedb progra. Some minor improvements to generate smaller files.
46850 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46852 * nss/makedb.c: ...here.
46853 Improve database format to be smaller and require less memory at
46855 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46857 * nss/nss_db/db-netgrp.c: Likewise.
46858 * nss/nss_db/db-open.c: Likewise.
46859 * nss/nss_files/flies-XXX.x: Adjust comments.
46860 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46861 * nss/nss_files/files-grp.c: Likewise.
46862 * nss/nss_files/files-hosts.c: Likewise.
46863 * nss/nss_files/files-network.c: Likewise.
46864 * nss/nss_files/files-proto.c: Likewise.
46865 * nss/nss_files/files-pwd.c: Likewise.
46866 * nss/nss_files/files-rpc.c: Likewise.
46867 * nss/nss_files/files-service.c: Likewise.
46868 * nss/nss_files/files-sgrp.c: Likewise.
46869 * nss/nss_files/files-spwd.c: Likewise.
46870 * nss/nss_db/db-alias.c: Removed.
46871 * nss/nss_db/dummy-db.h: Removed.
46873 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46875 * nss/makedb.c: Rewritten to not use database library.
46876 * nss/Makefile: Update to build new makedb program.
46878 2011-06-14 Andreas Jaeger <aj@suse.de>
46880 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46881 memset declaration.
46883 2011-06-10 Andreas Schwab <schwab@redhat.com>
46885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46888 2011-06-10 Roland McGrath <roland@hack.frob.com>
46890 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46891 * elf/Makefile ($(objpfx)ld.so): Likewise.
46893 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46894 Don't list ld.so twice in dependencies.
46896 * posix/bug-regex31.c: Include <stdlib.h>.
46898 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46900 * nis/nss_compat/compat-spwd.c
46901 (getspent_next_nss_netgr): Remove unused variable.
46902 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46904 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46905 nonmembers" output to use the right array.
46907 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46909 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46911 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46912 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46913 * catgets/gencat.c (read_input_file): Likewise.
46914 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46916 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46917 variable definition inside #if's controlling its use.
46919 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46921 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46923 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46925 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46928 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46930 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46931 * configure: Regenerated.
46933 * Makerules: Revert last change.
46934 * elf/Makefile: Likewise.
46936 2011-06-09 Roland McGrath <roland@hack.frob.com>
46938 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46939 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46940 (reloc-link): Likewise.
46942 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46944 * elf/Makefile: Add rules to build pldd.
46945 * elf/pldd.c: New file.
46946 * elf/pldd-xx.c: New file.
46948 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46950 * version.h: Update for 2.15 development version.
46952 2011-06-07 David S. Miller <davem@davemloft.net>
46954 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46957 elf_machine_lazy_rel): Likewise.
46958 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46960 elf_machine_lazy_rel): Likewise.
46961 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46962 dl_hwcap via passed in argument.
46963 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46966 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46968 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46970 2011-06-06 Roland McGrath <roland@hack.frob.com>
46973 * manual/fdl-1.1.texi: New file, verbatim from:
46974 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46975 * manual/lgpl-2.1.texi: New file, verbatim from:
46976 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46977 * manual/Makefile (licenses): New variable, list those new file names.
46979 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46981 * manual/fdl.texi: File removed.
46982 * manual/lesser.texi: File removed.
46983 * manual/libc.texinfo (Copying, Documentation License):
46984 Use new @include file names, put @appendix directive before @include.
46986 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46989 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46990 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46991 (mq_open): Add __NTH.
46993 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46996 Assume Intel Core i3/i5/i7 processor if AVX is available.
46998 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47003 2011-05-31 Andreas Schwab <schwab@redhat.com>
47005 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47006 memory. Use alloca_account. Fix memory leak when retrying.
47008 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47010 * version.h (RELEASE): Bump for 2.14 release.
47011 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47013 * config.make.in (RANLIB): Remove entry.
47015 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47017 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47018 (libc.pot): Work around missing support for .ksh extension in xgettext.
47021 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47022 if both request failed.
47023 (send_dg): In case of server errors clear resplen or *resplen2.
47026 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47027 when there are multiple maps.
47028 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47029 (_dl_fini): Remove test here.
47031 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47033 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47036 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47037 bit from old_res_options.
47038 (gaih_inet): Likewise.
47041 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47044 * resolv/res_init.c (res_setoptions): Make the code more compact.
47047 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47051 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47053 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47056 * malloc/malloc.h: Declare malloc hook variables as volatile.
47058 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47062 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47063 raise in the comment.
47064 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47065 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47066 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47068 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47071 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47072 grow the buffers more if it already has to be sufficient.
47073 (build_wcs_upper_buffer): Likewise.
47074 * posix/regexec.c (check_matching): Likewise.
47075 (clean_state_log_if_needed): Likewise.
47076 (extend_buffers): Don't enlarge buffers beyond size of the input
47078 Patches mostly by Emil Wojak <emil@wojak.eu>.
47079 * posix/bug-regex32.c: New file.
47080 * posix/Makefile (tests): Add bug-regex32.
47082 * locale/findlocale.c (_nl_find_locale): Return right away if
47083 _nl_explode_name failed.
47084 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47086 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47088 * debug/xtrace.sh: Unify messages.
47089 * malloc/memusage.sh: Likewise.
47092 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47093 time symbol from vDSO. Substitute with vsyscall if not available.
47094 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47097 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47098 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47099 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47100 Add sendmmsg and internal_sendmmsg.
47101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47102 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47103 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47105 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47106 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47109 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47112 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47113 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47119 * iconvdata/Makefile (tests): Add bug-iconv9.
47120 * iconvdata/bug-iconv9.c: New file.
47122 2011-05-27 Andreas Schwab <schwab@redhat.com>
47125 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47127 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47130 (struct user_regs_struct): Change intcs field back to cs.
47132 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47134 * po/ja.po: Update from translation team.
47136 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47139 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47140 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47142 2011-05-20 Andreas Schwab <schwab@redhat.com>
47144 * stdlib/longlong.h: Update from GCC.
47146 2011-05-23 Andreas Schwab <schwab@redhat.com>
47148 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47150 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47151 Add parameter name.
47152 (__sysconf): Pass it down.
47154 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47157 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47159 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47160 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47161 add in in __libc_use_alloca calls. Adjust callers.
47162 (glob): Use malloc in some situations.
47164 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47165 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47168 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47170 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47171 and CLOCK_BOOTTIME_ALARM.
47174 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47177 * string/_strerror.c (__strerror_r): Print negative errors as signed
47181 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47182 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47183 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47185 * configure.in: Fix typo in redirection and correct removal of test
47186 files in two cases.
47189 * locale/setlocale.c (new_composite_name): Fix test to check for
47190 identical name of all categories.
47193 * libio/filedoalloc.c (local_isatty): New function.
47194 (_IO_file_doallocate): Use local_isatty.
47195 * stdio-common/perror.c (perror): In case a new stream is used
47196 forward the stream error.
47197 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47200 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47205 * include/alloca.h (extend_alloca_account): Define.
47208 * posix/regex.h: Fix comments with documentation of user-accessible
47209 fields after compilation and describe correct free'ing of pattern
47210 after re_compile_pattern.
47211 Patch by Reuben Thomas <rrt@sc3d.org>.
47213 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47215 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47216 and -mno-altivec to prevent the compiler from using Altivec and/or
47217 VSX instructions when the corresponding registers are not available.
47219 2011-05-19 Andreas Schwab <schwab@redhat.com>
47221 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47223 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47225 * libio/freopen.c (freopen): Use __dup2, not dup2.
47226 * libio/freopen64.c (freopen64): Likewise.
47228 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47231 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47232 * math/Makefile (tests): Add test-powl.
47233 (CFLAGS-test-powl.c): Define.
47234 * math/test-powl.c: New file.
47236 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47238 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47240 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47243 * iconvdata/gb18030.c: Update to GB18020-2005.
47245 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47247 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47248 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47249 Patch by Aharon Robbins <arnold@skeeve.com>.
47252 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47256 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47257 through underflows.
47260 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47261 point to strings before performing equality test for error_one_per_line
47265 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47269 (struct user_fpregs_struct): Avoid __uint*_t types.
47272 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47273 symbol info. Use it instead of calling _dl_addr locally.
47274 (lock_and_info): New function.
47275 (tr_freehook): Call lock_and_info and pass symbol info as additional
47276 parameter to tr_where.
47277 (tr_mallochook): Likewise.
47278 (tr_reallochook): Likewise.
47279 (tr_memalignhook): Likewise.
47281 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47282 used and couldn't be at all thread-safe.
47284 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47286 * libio/freopen.c (freopen): Don't close old file descriptor
47287 before the new one is opened. Instead dup the new file descriptor
47288 to the old one after the new stream is created.
47289 * libio/freopen64.c (freopen64): Likewise.
47290 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47291 * libio/fileops.c (_IO_new_file_close_it): Handle new
47292 _IO_FLAGS2_NOCLOSE flag.
47293 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47294 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47295 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47296 _IO_FLAGS2_NOCLOSE flag.
47297 * include/unistd.h: Add hidden_proto for dup3.
47298 Define __have_dup3.
47299 * io/dup3.c: Define hidden symbol.
47300 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47303 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47304 when an incomplete long option is used.
47305 * posix/tst-getopt_long1.c: New file.
47306 * posix/Makefile (tests): Add tst-getopt_long1.
47309 * scripts/config.guess: Update from autoconf-2.68.
47310 * scripts/config.sub: Likewise.
47313 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47315 (has_cpuclock): ...this. New function.
47316 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47317 macro here based on has_cpuclock code.
47320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47321 First byte (not low byte) is now always NUL.
47322 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47325 Use non-cancelable interfaces.
47328 * locale/iso-639.def: Add entry for Sorani.
47331 * include/stdlib.h: Move include protection to the right place.
47332 Define abort_msg_s. Declare __abort_msg with it.
47333 * stdlib/abort.c (__abort_msg): Adjust type.
47334 * assert/assert.c (__assert_fail_base): New function. Majority
47335 of code from __assert_fail. Allocate memory for __abort_msg with
47337 (__assert_fail): Now call __assert_fail_base.
47338 * assert/assert-perr.c: Remove bulk of implementation. Use
47339 __assert_fail_base.
47340 * include/assert.hL Declare __assert_fail_base.
47341 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47343 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47345 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47349 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47350 until all modules are registered in the DTV.
47351 * elf/Makefile: Add rules to build and run tst-tls19.
47352 * elf/tst-tls19.c: New file.
47353 * elf/tst-tls19mod1.c: New file.
47354 * elf/tst-tls19mod2.c: New file.
47355 * elf/tst-tls19mod3.c: New file.
47356 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47359 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47363 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47364 two-byte sequence errors.
47365 * iconvdata/Makefile (tests): Add bug-iconv8.
47366 * iconvdata/bug-iconv8.c: New file.
47369 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47372 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47375 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47376 (dummy_getcfa): New function.
47377 (init): Get _Unwind_GetCFA address, use dummy if not found.
47378 (backtrace_helper): In recursion check, also check whether CFA changes.
47379 (__backtrace): Completely initialize arg.
47381 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47382 storing incomplete byte sequence in state object. Avoid testing for
47383 guaranteed too small input if we know there is enough data available.
47385 2011-05-11 Andreas Schwab <schwab@redhat.com>
47387 * Makeconfig (+link-pie): Indent.
47388 * Rules (binaries-pie): Define if $(have-fpie) and
47390 (binaries-shared): Also filter out $(binaries-pie).
47391 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47392 * nscd/Makefile (others-pie): Add nscd.
47393 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47394 ($(objpfx)nscd): Remove command override.
47395 * login/Makefile (others-pie): Add pt_chown.
47396 ($(objpfx)pt_chown): Remove command override.
47397 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47398 remove command overrides.
47400 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47402 * libio/tst_putwc.c: Fix error messages.
47405 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47406 currently writing and seek to current position when not.
47407 * libio/Makefile (tests): Add bug-fclose1.
47408 * libio/bug-fclose1.c: New file.
47410 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47413 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47414 don't set DF_1_NODELETE here.
47415 (do_lookup_x): When entering new entry test for copy relocation
47416 and if necessary set DF_1_NODELETE flag.
47417 * elf/tst-unique4.cc: New file.
47418 * elf/tst-unique4.h: New file.
47419 * elf/tst-unique4lib.cc: New file.
47420 * elf/Makefile: Add rules to build and run tst-unique4.
47421 Patch by Piotr Bury <pbury@goahead.com>.
47423 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47426 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47429 * misc/mntent_r.c (addmntent): Flush the stream after the output
47432 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47433 (is_trusted_path_normalize): Skip initial colon. Append slash
47434 to empty buffer. Duplicate is_trusted_path code but allow
47435 constructed patch to be prefix.
47436 (is_dst): Allow $ORIGIN followed by /.
47437 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47438 Correct testing of result of is_trusted_path_normalize
47439 (decompose_rpath): Fix warning.
47441 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47444 * grp/initgroups.c (internal_getgrouplist): When we found the service
47445 list through the initgroups entry in nsswitch.conf do not always
47446 continue on a successful lookup. Don't always use the
47447 __nss_group_database value if it is set.
47448 * nss/nsswitch.conf (initgroups): Change action for successful db
47449 lookup to continue for compatibility.
47451 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47454 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47456 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47458 * iconvdata/tst-tables.sh: Likewise.
47459 * iconvdata/cp770.c: New file.
47460 * iconvdata/cp771.c: New file.
47461 * iconvdata/cp772.c: New file.
47462 * iconvdata/cp773.c: New file.
47463 * iconvdata/cp774.c: New file.
47464 * iconvdata/testdata/CP770: New file.
47465 * iconvdata/testdata/CP770..UTF8: New file.
47466 * iconvdata/testdata/CP771: New file.
47467 * iconvdata/testdata/CP771..UTF8: New file.
47468 * iconvdata/testdata/CP772: New file.
47469 * iconvdata/testdata/CP772..UTF8: New file.
47470 * iconvdata/testdata/CP773: New file.
47471 * iconvdata/testdata/CP773..UTF8: New file.
47472 * iconvdata/testdata/CP774: New file.
47473 * iconvdata/testdata/CP774..UTF8: New file.
47475 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47477 * iconvdata/gen-8bit-gap.sh: Likewise.
47478 * iconvdata/gen-8bit.sh: Likewise.
47480 * locale/iso-639.def: Add ary entry.
47483 * locale/C-translit.h.in: Add U20A1 transliteration.
47486 * locale/iso-639.def: Add wae entry.
47487 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47490 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47494 * locale/C-translit.h.in: Add entry for U20B9.
47495 Patch by pravin.d.s@gmail.com.
47497 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47500 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47501 ENAMETOOLONG use generic getcwd.
47502 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47503 in rtld. Use *stat64.
47504 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47505 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47506 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47507 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47508 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47509 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47510 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47511 __fstatat64 macros.
47512 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47513 * dirent/rewinddir.c: Add libc_hidden_def.
47514 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47515 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47517 * include/dirent.h (__alloc_dir): Add flags parameter.
47518 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47519 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47521 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47522 from fdopendir if O_CLOEXEC is already set.
47524 2011-03-15 Alan Modra <amodra@gmail.com>
47526 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47527 l_tls_firstbyte_offset non-zero. Save padding offset in
47528 l_tls_firstbyte_offset for later use.
47529 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47530 freeing static tls block.
47532 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47534 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47535 where #ifdef was intended. The intent is to prevent ARG_MAX from
47536 being defined by the kernel headers.
47538 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47541 * resolv/resolv.h: Define RES_NOTLDQUERY.
47542 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47543 no-tld-query and set RES_NOTLDQUERY.
47544 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47545 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47546 modern BIND to search name as TLD unless forbidden.
47548 2011-05-07 Petr Baudis <pasky@suse.cz>
47549 Ulrich Drepper <drepper@gmail.com>
47552 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47553 (is_trusted_path): ...to here.
47554 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47555 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47556 using is_trusted_path_normalize() in setuid scripts.
47558 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47560 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47561 __BEGIN/__END_DECLS.
47563 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47566 NSS_STATUS_NOTFOUND if no record was found.
47568 2011-05-05 Andreas Schwab <schwab@redhat.com>
47570 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47571 (headers-not-in-tirpc): Remove rpc/netdb.h
47572 * resolv/netdb.h: Revert last change.
47574 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47576 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47577 circular dependency between libgcc.a and libc.a.
47579 2011-05-05 Andreas Schwab <schwab@redhat.com>
47581 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47582 * nis/Makefile: Don't install rpcsvc/*.
47583 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47584 instead of <rpc/types.h>.
47585 (MAXHOSTNAMELEN): Define.
47587 2011-05-03 Andreas Schwab <schwab@redhat.com>
47589 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47591 2011-04-28 Maciej Babinski <mbabinski@google.com>
47594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47595 gethostbyname4_r when IPv6 results are possible.
47597 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47600 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47601 _PC_PIPE_BUF handling.
47603 2011-04-30 Bruno Haible <bruno@clisp.org>
47606 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47607 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47609 * inet/getnameinfo.c (getnameinfo): Likewise.
47611 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47613 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47614 to groups setting in database lookup.
47615 * nss/nsswitch.conf: Add initgroups entry.
47617 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47620 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47622 Patch by Eric Blake <eblake@redhat.com>.
47624 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47626 * sunrpc/Makefile (need-export-routines): Add svc_run.
47627 (routines): Remove svc_run.
47628 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47629 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47630 * sunrpc/svc_run.c (svc_run): Likewise.
47631 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47633 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47636 problem in reallocation in last patch.
47638 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47640 * sunrpc/Makefile: Move inclusion of Rules.
47642 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47644 * nss/nss_files/files-initgroups.c: New file.
47645 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47646 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47647 _nss_files_initgroups_dyn.
47649 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47651 * elf/elf.h (R_ARM_IRELATIVE): Define.
47653 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47655 * po/ru.po: Update from translation team.
47657 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47659 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47662 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47665 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47666 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47667 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47668 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47671 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47673 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47675 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47677 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47679 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47684 * stdlib/bug-getcontext.c: New file.
47685 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47687 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47689 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47690 instructions into .machine "z9-109".
47691 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47692 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47694 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47696 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47697 between environment variables and auxiliary vector.
47699 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47701 * Makefile: Add rules to build linkobj/libc.so.
47702 * include/libc-symbols.h: Define libc_hidden_nolink.
47703 * include/rpc/auth.h: Mark functions which are to be hidden.
47704 * include/rpc/auth_des.h: Likewise.
47705 * include/rpc/auth_unix.h: Likewise.
47706 * include/rpc/clnt.h: Likewise.
47707 * include/rpc/des_crypt.h: Likewise.
47708 * include/rpc/key_prot.h: Likewise.
47709 * include/rpc/pmap_clnt.h: Likewise.
47710 * include/rpc/pmap_prot.h: Likewise.
47711 * include/rpc/pmap_rmt.h: Likewise.
47712 * include/rpc/rpc_msg.h: Likewise.
47713 * include/rpc/svc.h: Likewise.
47714 * include/rpc/svc_auth.h: Likewise.
47715 * include/rpc/xdr.h: Likewise.
47716 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47717 * nss/Makefile: Likewise.
47718 * sunrpc/Makefile: Don't install headers. Build library with normal
47719 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47720 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47721 for the compat linking library. Remove use of INTDEF/INTUSE.
47722 * sunrpc/auth_none.c: Likewise.
47723 * sunrpc/auth_unix.c: Likewise.
47724 * sunrpc/authdes_prot.c: Likewise.
47725 * sunrpc/authuxprot.c: Likewise.
47726 * sunrpc/clnt_gen.c: Likewise.
47727 * sunrpc/clnt_perr.c: Likewise.
47728 * sunrpc/clnt_raw.c: Likewise.
47729 * sunrpc/clnt_simp.c: Likewise.
47730 * sunrpc/clnt_tcp.c: Likewise.
47731 * sunrpc/clnt_udp.c: Likewise.
47732 * sunrpc/clnt_unix.c: Likewise.
47733 * sunrpc/des_crypt.c: Likewise.
47734 * sunrpc/des_soft.c: Likewise.
47735 * sunrpc/get_myaddr.c: Likewise.
47736 * sunrpc/key_call.c: Likewise.
47737 * sunrpc/key_prot.c: Likewise.
47738 * sunrpc/netname.c: Likewise.
47739 * sunrpc/pm_getmaps.c: Likewise.
47740 * sunrpc/pm_getport.c: Likewise.
47741 * sunrpc/pmap_clnt.c: Likewise.
47742 * sunrpc/pmap_prot.c: Likewise.
47743 * sunrpc/pmap_prot2.c: Likewise.
47744 * sunrpc/pmap_rmt.c: Likewise.
47745 * sunrpc/publickey.c: Likewise.
47746 * sunrpc/rpc_cmsg.c: Likewise.
47747 * sunrpc/rpc_common.c: Likewise.
47748 * sunrpc/rpc_dtable.c: Likewise.
47749 * sunrpc/rpc_prot.c: Likewise.
47750 * sunrpc/rpc_thread.c: Likewise.
47751 * sunrpc/rtime.c: Likewise.
47752 * sunrpc/svc.c: Likewise.
47753 * sunrpc/svc_auth.c: Likewise.
47754 * sunrpc/svc_authux.c: Likewise.
47755 * sunrpc/svc_raw.c: Likewise.
47756 * sunrpc/svc_run.c: Likewise.
47757 * sunrpc/svc_simple.c: Likewise.
47758 * sunrpc/svc_tcp.c: Likewise.
47759 * sunrpc/svc_udp.c: Likewise.
47760 * sunrpc/svc_unix.c: Likewise.
47761 * sunrpc/svcauth_des.c: Likewise.
47762 * sunrpc/xcrypt.c: Likewise.
47763 * sunrpc/xdr.c: Likewise.
47764 * sunrpc/xdr_array.c: Likewise.
47765 * sunrpc/xdr_float.c: Likewise.
47766 * sunrpc/xdr_intXX_t.c: Likewise.
47767 * sunrpc/xdr_mem.c: Likewise.
47768 * sunrpc/xdr_rec.c: Likewise.
47769 * sunrpc/xdr_ref.c: Likewise.
47770 * sunrpc/xdr_sizeof.c: Likewise.
47771 * sunrpc/xdr_stdio.c: Likewise.
47773 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47776 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47777 * sysdeps/ia64/dl-tls.h: Likewise.
47778 * sysdeps/powerpc/dl-tls.h: Likewise.
47779 * sysdeps/s390/dl-tls.h: Likewise.
47780 * sysdeps/sh/dl-tls.h: Likewise.
47781 * sysdeps/sparc/dl-tls.h: Likewise.
47782 * sysdeps/x86_64/dl-tls.h: Likewise.
47783 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47785 2011-03-14 Andreas Schwab <schwab@redhat.com>
47787 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47788 rpath element also skip the following colon.
47789 (expand_dynamic_string_token): Add is_path parameter and pass
47790 down to DL_DST_REQUIRED and _dl_dst_substitute.
47791 (decompose_rpath): Call expand_dynamic_string_token with
47792 non-zero is_path. Ignore empty rpaths.
47793 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47796 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47801 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47804 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47805 Patch by Filipe David Manana <fdmanana@apache.org>.
47807 2011-04-07 Andreas Schwab <schwab@redhat.com>
47809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47810 Maintain aligned stack.
47811 (CHECK_RSP): Remove unused macro.
47813 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47815 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47816 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47818 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47820 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47822 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47824 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47827 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47828 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47829 * sysdeps/x86_64/memmove.c: New file.
47830 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47831 (memcpy): Renamed to ...
47832 (__new_memcpy): This.
47833 (memcpy): Provide GLIBC_2_14 memcpy.
47834 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47835 (memcpy): Provide GLIBC_2_2_5 memcpy.
47837 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47840 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47842 2011-03-30 Andreas Schwab <schwab@redhat.com>
47844 * misc/syncfs.c: New file.
47845 * misc/Makefile (routines): Add syncfs.
47846 * posix/unistd.h: Declare syncfs.
47847 * sysdeps/unix/syscalls.list: Add syncfs.
47849 2011-04-01 Andreas Schwab <schwab@redhat.com>
47851 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47858 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47861 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47865 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47871 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47872 sync_file_range.c with -fexceptions.
47873 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47874 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47875 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47876 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47877 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47878 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47880 sync_file_range as cancellation point
47881 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47882 now a wrapper around __call_sync_file_range with cancellation handling.
47883 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47884 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47885 function name to __call_sync_file_range.
47886 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47887 Add call_sync_file_range.
47889 2011-04-01 Andreas Schwab <schwab@redhat.com>
47891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47894 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47896 * iconv/iconv.h: Fix typo in comment.
47897 * io/fcntl.h: Likewise.
47898 * libio/stdio.h: Likewise.
47899 * posix/spawn.h: Likewise.
47900 * posix/unistd.h: Likewise.
47901 * stdlib/stdlib.h: Likewise.
47902 * time/time.h: Likewise.
47903 * wcsmbs/wchar.h: Likewise.
47905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47906 open_by_handle): Add.
47907 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47908 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47909 Augment a few comments.
47910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47915 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47918 * io/fcntl.h (AT_EMPTY_PATH): Define.
47920 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47922 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47923 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47924 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47926 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47927 * Versions.def: Add GLIBC_2.14.
47928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47931 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47933 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47935 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47937 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47940 * string/test-strncmp.c (do_page_test): New function.
47941 (check2): Likewise.
47942 (test_main): Call check2.
47943 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47945 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47949 Handle cache information in CPU leaf 4.
47950 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47952 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47955 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47956 character representation.
47957 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47959 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47961 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47962 END(__isnan) to END(__isnanf) to match function entry point/label
47963 EALIGN(__isnanf,...).
47965 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47967 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47969 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47972 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47973 copy from the symbol referenced in the relocation to initialize the
47975 Patch by Piotr Bury <pbury@goahead.com>.
47976 * elf/Makefile: Add rules to build and tst-unique3.
47977 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47978 * elf/tst-unique3.cc: New file.
47979 * elf/tst-unique3.h: New file.
47980 * elf/tst-unique3lib.cc: New file.
47981 * elf/tst-unique3lib2.cc: New file.
47983 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47985 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47987 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47988 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47991 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47993 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47994 to-be-loaded object along a path to loader is ld.so.
47996 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47997 Ulrich Drepper <drepper@gmail.com>
47999 * sysdeps/x86_64/memset.S: After aligning destination, code
48000 branches to different locations depending on the value of
48001 misalignment, when multiarch is enabled. Fix this.
48003 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48005 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48006 Set _x86_64_preferred_memory_instruction for AMD processsors.
48007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48008 Set bit_Prefer_SSE_for_memop for AMD processors.
48010 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48012 * libio/fmemopen.c (fmemopen): Optimize a bit.
48014 2011-03-03 Andreas Schwab <schwab@redhat.com>
48016 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48018 2011-03-03 Roland McGrath <roland@redhat.com>
48020 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48022 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48024 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48025 __bzero_ultra1 instead of __memset_ultra1.
48027 2011-02-23 Andreas Schwab <schwab@redhat.com>
48028 Ulrich Drepper <drepper@gmail.com>
48031 * include/link.h (struct link_map): Add l_orig_initfini.
48032 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48033 returning unsuccessfully.
48034 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48035 close of a file loaded at startup, restore the original l_initfini
48037 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48038 list, store the pointer.
48039 * elf/Makefile ($(objpfx)noload-mem): New rule.
48040 (noload-ENV): Define.
48041 (tests): Add $(objpfx)noload-mem.
48042 * elf/noload.c: Include <memcheck.h>.
48043 (main): Call mtrace. Close all opened handles.
48045 2011-02-17 Andreas Schwab <schwab@redhat.com>
48048 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48049 dependencies are missing.
48051 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48053 Fix __if_freereq crash: Unlike the generic version which uses free,
48055 * sysdeps/mach/hurd/ifreq.h: New file.
48057 2011-01-27 Petr Baudis <pasky@suse.cz>
48058 Ulrich Drepper <drepper@gmail.com>
48061 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48062 to extend_alloca().
48063 * stdio-common/bug23.c: New file.
48064 * stdio-common/Makefile (tests): Add bug23.
48066 2010-09-28 Andreas Schwab <schwab@redhat.com>
48067 Ulrich Drepper <drepper@gmail.com>
48070 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48071 before performing relro protection. At old place add assertion
48072 to make sure nothing changed.
48074 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48075 Glauber de Oliveira Costa <glommer@gmail.com>
48077 * elf/elf.h: Add new ARM TLS relocs.
48079 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48082 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48084 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48086 * sysdeps/wordsize-64/tst-writev.c: New file.
48088 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48090 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48091 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48092 insns in _dl_start to prevent a TOC reference before relocs are
48095 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48098 * Makeconfig: Remove RANLIB definition.
48099 * Makerules: Don't use RANLIB.
48100 * aclocal.m4: Remove ranlib test.
48101 * configure.in: No need to check for ranlib.
48102 * elf/rtld-Rules: Don't use RANLIB.
48104 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48106 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48108 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48109 inclusion protection macro.
48111 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48112 SIGRTMIN and SIGRTMAX and print information in that case only when
48113 SIGRTMIN is defined.
48115 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48117 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48118 arginfo fn returning -1.
48120 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48121 and thousands string is zero terminated.
48123 2011-02-03 Andreas Schwab <schwab@redhat.com>
48125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48126 sysdeps/unix/sysv/linux/bits/socket.h.
48128 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48130 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48131 (__CPU_COUNT): Remove old macros.
48132 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48133 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48134 (__CPU_ALLOC, __CPU_FREE): Add macros.
48135 (__sched_cpualloc, __sched_cpufree): Add declarations.
48137 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48139 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48140 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48141 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48142 (readdhstai): Return value of addhstaiX call.
48143 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48144 (addgrbyX): Return value returned by cache_addgr.
48145 (readdgrbyname): Return value returned by addgrbyX.
48146 (readdgrbygid): Likewise.
48147 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48148 (addpwbyX): Return value returned by cache_addpw.
48149 (readdpwbyname): Return value returned by addhstbyX.
48150 (readdpwbyuid): Likewise.
48151 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48152 (addservbyX): Return value returned by cache_addserv.
48153 (readdservbyname): Return value returned by addservbyX:
48154 (readdservbyport): Likewise.
48155 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48156 (addhstbyX): Return value returned by cache_addhst.
48157 (readdhstbyname): Return value returned by addhstbyX.
48158 (readdhstbyaddr): Likewise.
48159 (readdhstbynamev6): Likewise.
48160 (readdhstbyaddrv6): Likewise.
48161 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48162 (readdinitgroups): Return value returned by addinitgroupsX.
48163 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48164 (prune_cache): Keep track of timeout value of re-added entries.
48165 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48166 * nscd/nscd.h: Adjust prototypes of readd* functions.
48168 2011-02-04 Roland McGrath <roland@redhat.com>
48170 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48171 (nis_stats): Likewise.
48172 * nis/nis_modify.c (nis_modify): Likewise.
48173 * nis/nis_remove.c (nis_remove): Likewise.
48174 * nis/nis_add.c (nis_add): Likewise.
48176 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48178 * posix/fnmatch_loop.c: Add some consts.
48180 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48182 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48185 * config.make.in (config-cflags-novzeroupper): Define.
48186 * configure.in: Substitute libc_cv_cc_novzeroupper.
48187 * elf/Makefile (AVX-CFLAGS): Define.
48188 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48189 (CFLAGS-tst-auditmod4a.c): Likewise.
48190 (CFLAGS-tst-auditmod4b.c): Likewise.
48191 (CFLAGS-tst-auditmod6b.c): Likewise.
48192 (CFLAGS-tst-auditmod6c.c): Likewise.
48193 (CFLAGS-tst-auditmod7b.c): Likewise.
48194 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48196 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48198 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48199 function to the callback.
48200 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48202 2011-02-02 Andreas Schwab <schwab@redhat.com>
48204 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48207 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48210 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48212 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48214 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48217 * elf/Makefile: Add rules to build and run new test.
48218 * elf/tst-initorder.c: New file.
48219 * elf/tst-initorder.exp: New file.
48220 * elf/tst-initordera1.c: New file.
48221 * elf/tst-initordera2.c: New file.
48222 * elf/tst-initordera3.c: New file.
48223 * elf/tst-initordera4.c: New file.
48224 * elf/tst-initorderb1.c: New file.
48225 * elf/tst-initorderb2.c: New file.
48226 * elf/tst-order-a1.c: New file.
48227 * elf/tst-order-a2.c: New file.
48228 * elf/tst-order-a3.c: New file.
48229 * elf/tst-order-a4.c: New file.
48230 * elf/tst-order-b1.c: New file.
48231 * elf/tst-order-b2.c: New file.
48232 * elf/tst-order-main.c: New file.
48233 New test case by George Gensure <werkt0@gmail.com>.
48235 2010-10-01 Andreas Schwab <schwab@redhat.com>
48237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48238 decoding ACE if AI_CANONIDN.
48240 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48242 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48244 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48246 * version.h (RELEASE): Bump for 2.13 release.
48247 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48249 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48251 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48253 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48254 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48255 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48256 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48257 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48258 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48260 * posix/getconf.c: Update copyright year.
48261 * catgets/gencat.c: Likewise.
48262 * csu/version.c: Likewise.
48263 * debug/catchsegv.sh: Likewise.
48264 * debug/xtrace.sh: Likewise.
48265 * elf/ldconfig.c: Likewise.
48266 * elf/ldd.bash.in: Likewise.
48267 * elf/sprof.c (print_version): Likewise.
48268 * iconv/iconv_prog.c: Likewise.
48269 * iconv/iconvconfig.c: Likewise.
48270 * locale/programs/locale.c: Likewise.
48271 * locale/programs/localedef.c: Likewise.
48272 * malloc/memusage.sh: Likewise.
48273 * malloc/mtrace.pl: Likewise.
48274 * nscd/nscd.c (print_version): Likewise.
48275 * nss/getent.c: Likewise.
48277 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48278 PF_CAIF, and PF_ALG.
48279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48281 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48283 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48284 (modules-names): Use them.
48285 (ifunc-test-modules, ifunc-pie-tests): Define.
48286 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48287 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48288 (test-extras): Likewise.
48289 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48290 $(compile-command.c).
48291 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48292 (all-built-dso): Define.
48293 (check-textrel.out, check-execstack.out): Depend on it.
48295 * configure.in: Don't override --enable-multi-arch.
48297 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48300 * nscd/hstcache.c (tryagain): Define.
48301 (cache_addhst): Return tryagain not notfound for temporary errors.
48302 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48305 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48309 to make the syscall.
48310 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48313 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48314 and fall back to matching as normal character if the string ends before
48315 the matching ']' is found. This is what POSIX requires.
48316 * posix/testfnm.c: Adjust test result.
48317 * posix/globtest.sh: Adjust test result. Add new test.
48318 * posix/tst-fnmatch.input: Likewise.
48319 * posix/tst-fnmatch2.c: Add new test.
48321 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48323 * elf/Makefile (check-execstack): Revert last change. Depend on
48325 (check-execstack.h): New target.
48326 (generated): Add check-execstack.h.
48327 * elf/check-execstack.c: Include "check-execstack.h".
48328 (main): Revert last change.
48329 (handle_file): Return zero if GNU_STACK is absent and
48330 DEFAULT_STACK_PERMS doesn't include PF_X.
48332 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48334 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48335 in child fails because the descriptor is already closed.
48336 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48337 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48338 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48341 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48345 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48346 temporary buffer used to handle multi lookups locally.
48347 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48349 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48351 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48354 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48356 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48357 alignment for SSE2.
48359 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48362 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48363 characters. When rounding increased number of integer digits recompute
48365 * stdio-common/tst-grouping.c: New file.
48366 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48368 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48370 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48371 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48373 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48375 * bits/select.h: Likewise.
48377 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48379 * po/ja.po: Update from translation team.
48381 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48384 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48385 implementation just like for lxstat, fxstatat, et al.
48387 2010-12-27 Jim Meyering <meyering@redhat.com>
48390 * posix/regexec.c (build_trtable): Return failure indication upon
48391 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48393 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48396 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48397 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48398 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48399 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48402 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48405 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48406 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48408 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48410 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48411 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48412 script has SORT_BY_INIT_PRIORITY.
48413 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48414 NO_CTORS_DTORS_SECTIONS is defined.
48415 * elf/soinit.c: Likewise.
48416 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48417 NO_CTORS_DTORS_SECTIONS is defined.
48418 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48419 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48420 * sysdeps/sh/init-first.c: Likewise.
48421 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48423 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48425 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48426 always use the slow path.
48428 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48430 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48431 similar rule which adds the sysdep directories to the header search in
48432 order to pick up the correct platform stackinfo.h.
48433 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48434 perform test if it is, otherwise return successfully without testing.
48435 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48436 DEFAULT_STACK_PERMS define in stackinfo.h.
48437 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48438 defined in stackinfo.h.
48439 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48440 DEFAULT_STACK_PERMS defined in stackinfo.h.
48441 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48442 * sysdeps/ia64/stackinfo.h: Likewise.
48443 * sysdeps/s390/stackinfo.h: Likewise.
48444 * sysdeps/sh/stackinfo.h: Likewise.
48445 * sysdeps/sparc/stackinfo.h: Likewise.
48446 * sysdeps/x86_64/stackinfo.h: Likewise.
48447 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48448 PF_X for powerpc64. Retain PF_X for powerpc32.
48450 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48452 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48454 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48455 GETDENTS_64BIT_ALIGNED.
48457 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48459 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48461 2010-12-10 Andreas Schwab <schwab@redhat.com>
48463 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48466 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48467 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48469 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48470 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48472 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48475 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48478 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48480 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48482 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48484 * po/it.po: Update from translation team.
48486 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48491 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48493 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48495 2010-11-24 Andreas Schwab <schwab@redhat.com>
48497 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48499 (gaih_getanswer_slice): Likewise.
48501 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48505 2010-05-31 Petr Baudis <pasky@suse.cz>
48508 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48509 silently even in the chroot mode.
48511 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48514 last patch a bit. Pretty printing
48516 2010-05-31 Petr Baudis <pasky@suse.cz>
48519 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48520 initialization of skip_initgroups_dyn.
48522 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48524 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48527 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48529 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48531 2010-11-11 Andreas Schwab <schwab@redhat.com>
48533 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48534 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48535 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48536 ($(objpfx)tst-fnmatch-mem): New rule.
48537 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48538 * posix/tst-fnmatch.c (main): Call mtrace.
48540 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48543 Support Intel processor model 6 and model 0x2c.
48545 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48547 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48550 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48553 * string/test-strncasecmp.c (check_result): New function.
48554 (do_one_test): Use it.
48555 (check1): New function.
48556 (test_main): Use it.
48557 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48558 Support strcasecmp and strncasecmp.
48560 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48563 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48564 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48566 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48568 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48572 * sysdeps/x86_64/multiarch/bzero.S: New file.
48573 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48574 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48575 * sysdeps/x86_64/multiarch/memset.S: New file.
48576 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48578 Set bit_Prefer_SSE_for_memop for Intel processors.
48579 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48581 (index_Prefer_SSE_for_memop): Define.
48582 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48584 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48586 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48587 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48589 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48592 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48593 (__x86_64_raw_data_cache_size_half): Likewise.
48594 (__x86_64_raw_shared_cache_size): Likewise.
48595 (__x86_64_raw_shared_cache_size_half): Likewise.
48597 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48598 (__x86_64_raw_data_cache_size_half): Likewise.
48599 (__x86_64_raw_shared_cache_size): Likewise.
48600 (__x86_64_raw_shared_cache_size_half): Likewise.
48601 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48602 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48603 and __x86_64_raw_shared_cache_size_half. Round
48604 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48605 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48606 to multiple of 256 bytes.
48608 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48611 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48612 of inacessible symlinks. Verify result of symlink before returning it.
48613 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48614 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48616 2010-10-28 Erich Ritz <erichritz@gmail.com>
48618 * math/math.h (isinf): Fix typo in comment.
48620 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48622 * po/da.po: Update from translation team.
48624 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48626 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48627 is added to the list.
48629 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48630 Ulrich Drepper <drepper@gmail.com>
48632 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48633 the global list here. Move code to...
48634 (_dl_add_to_namespace_list): ...here. New function.
48635 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48636 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48637 * elf/dl-load.c (lose): Don't remove the element from the list.
48638 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48639 (_dl_map_object): Likewise.
48641 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48644 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48645 into all bytes of SSE register.
48646 Patch by Richard Li <richardpku@gmail.com>.
48648 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48651 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48654 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48656 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48657 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48658 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48659 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48664 2010-10-22 Andreas Schwab <schwab@redhat.com>
48666 * include/dlfcn.h (__RTLD_SECURE): Define.
48667 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48668 mode & __RTLD_SECURE instead.
48669 (open_path): Rename preloaded parameter to secure.
48670 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48671 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48672 * elf/dl-deps.c (openaux): Likewise.
48673 * elf/rtld.c (struct map_args): Remove is_preloaded.
48674 (map_doit): Don't use it.
48675 (dl_main): Likewise.
48676 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48677 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48679 2010-09-09 Andreas Schwab <schwab@redhat.com>
48681 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48682 (sysd-rules-targets): Remove duplicates.
48683 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48684 rtld-%.$o dependency.
48686 2010-10-18 Andreas Schwab <schwab@redhat.com>
48688 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48689 _dl_map_object do it.
48691 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48693 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48694 fast fma builtins, define the macros in the C99 standard.
48695 (FP_FAST_FMAF): Likewise.
48696 (FP_FAST_FMAL): Likewise.
48697 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48699 * bits/mathdef.h: Update copyright year.
48700 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48702 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48704 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48705 builtins, define the macros in the C99 standard.
48706 (FP_FAST_FMAF): Likewise.
48707 (FP_FAST_FMAL): Likewise.
48708 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48710 (FP_FAST_FMAF): Likewise.
48712 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48715 * math/libm-test.inc (fma_test): Some new testcases.
48716 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48718 y and infinite z. Do multiplication by C already in long double.
48719 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48721 y and infinite z. Do bitwise or of inexact bit into u.d.
48722 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48723 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48724 * sysdeps/i386/fpu/s_fma.S: Removed.
48725 * sysdeps/i386/fpu/s_fmal.S: Removed.
48727 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48730 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48732 computation is not scheduled after fetestexcept. Fix value
48733 of minimum denormal long double.
48735 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48738 * math/libm-test.inc (fma_test): Add some more tests.
48739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48742 2010-10-15 Andreas Schwab <schwab@redhat.com>
48744 * scripts/data/localplt-s390-linux-gnu.data: New file.
48745 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48747 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48750 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48751 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48753 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48755 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48757 if one of x and y is very large and the other is subnormal.
48758 * sysdeps/s390/fpu/s_fmaf.c: New file.
48759 * sysdeps/s390/fpu/s_fma.c: New file.
48760 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48761 * sysdeps/powerpc/fpu/s_fma.S: New file.
48762 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48763 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48764 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48766 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48769 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48772 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48773 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48774 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48775 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48776 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48779 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48782 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48783 * posix/bug-regex31.input: Add test case.
48785 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48787 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48788 * posix/bug-regex31.input: New file.
48791 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48792 (parse_sub_exp): Fix last change, use postorder.
48794 * posix/bug-regex31.c: New file.
48795 * posix/Makefile: Add rules to build and run bug-regex31.
48797 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48800 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48803 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48804 to have entries in sys_siglist.
48807 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48810 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48813 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48814 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48815 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48816 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48817 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48818 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48819 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48820 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48821 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48822 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48823 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48824 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48825 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48826 * math/ftestexcept.c (fetestexcept): Likewise.
48827 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48828 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48829 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48830 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48831 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48832 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48833 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48835 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48838 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48841 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48843 * string/bug-strstr1.c: New file.
48844 * string/Makefile: Add rules to build and run bug-strstr1.
48846 2010-10-05 Eric Blake <eblake@redhat.com>
48849 * string/str-two-way.h (two_way_long_needle): Always clear memory
48850 when skipping input due to the shift table.
48852 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48855 * malloc/mcheck.c: Handle large requests.
48858 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48859 for strncmp and strncasecmp.
48860 * string/stratcliff.c: Add tests for strcmp and strncmp.
48861 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48863 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48865 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48868 2010-09-30 Andreas Jaeger <aj@suse.de>
48870 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48871 (CGROUP_SUPER_MAGIC): Define.
48872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48873 Handle btrfs and cgroup file systems.
48874 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48877 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48879 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48880 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48882 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48885 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48886 trying to locate the ELF header.
48888 2010-09-27 Andreas Schwab <schwab@redhat.com>
48891 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48892 Mask out sign-bit copies when constructing f_fsid.
48894 2010-09-24 Petr Baudis <pasky@suse.cz>
48896 * debug/stack_chk_fail_local.c: Add missing licence exception.
48897 * debug/warning-nop.c: Likewise.
48899 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48901 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48902 implementing getdents64 using getdents syscall, set d_type if
48903 __ASSUME_GETDENTS32_D_TYPE.
48905 2010-09-16 Andreas Schwab <schwab@redhat.com>
48907 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48908 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48910 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48913 * posix/unistd.h: Undo change of feature selection for ftruncate from
48916 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48918 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48921 2010-09-20 Andreas Schwab <schwab@redhat.com>
48923 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48927 2010-09-14 Andreas Schwab <schwab@redhat.com>
48929 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48930 variables after CHECK_SP call.
48931 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48933 2010-09-13 Andreas Schwab <schwab@redhat.com>
48934 Ulrich Drepper <drepper@redhat.com>
48936 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48937 re-relocationg ld.so.
48938 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48939 _dl_init_paths call.
48940 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48943 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48945 * resolv/res_init.c (__res_vinit): Count the default server we added.
48947 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48948 Ulrich Drepper <drepper@redhat.com>
48951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48952 (____longjmp_chk): Use %ebx for saving value across system call.
48955 2010-09-06 Andreas Schwab <schwab@redhat.com>
48957 * manual/Makefile: Don't mix pattern rules with normal rules.
48959 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48961 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48963 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48964 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48965 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48966 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48970 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48973 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48974 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48976 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48978 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48979 * sysdeps/x86_64/addmul_1.S: Likewise.
48980 * sysdeps/x86_64/lshift.S: Likewise.
48981 * sysdeps/x86_64/mul_1.S: Likewise.
48982 * sysdeps/x86_64/rshift.S: Likewise.
48983 * sysdeps/x86_64/sub_n.S: Likewise.
48984 * sysdeps/x86_64/submul_1.S: Likewise.
48986 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48988 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48989 Define __sched_param instead of SCHED_* and sched_param when
48990 <bits/sched.h> is included with __need_schedparam defined.
48991 * bits/sched.h [__need_schedparam]
48992 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48993 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48994 (__defined_schedparam): Define to 1.
48995 (__sched_param): New structure, identical to sched_param.
48996 (__need_schedparam): Undefine.
48998 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49000 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49001 (epoll_create1): Declare.
49003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49005 2010-08-31 Andreas Schwab <schwab@redhat.com>
49008 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49009 shifting retval into place.
49011 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49013 * nis/rpcsvc/nis.h: Update copyright notice.
49014 * nis/rpcsvc/nis.x: Likewise.
49015 * nis/rpcsvc/nis_callback.h: Likewise.
49016 * nis/rpcsvc/nis_callback.x: Likewise.
49017 * nis/rpcsvc/nis_object.x: Likewise.
49018 * nis/rpcsvc/nis_tags.h: Likewise.
49019 * nis/rpcsvc/yp.h: Likewise.
49020 * nis/rpcsvc/yp.x: Likewise.
49021 * nis/rpcsvc/ypupd.h: Likewise.
49022 * nis/yp_xdr.c: Likewise.
49023 * nis/ypupdate_xdr.c: Likewise.
49025 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49026 mainly the body of pmap_getport. Add parameters to specify timeouts.
49027 (pmap_getport): Use __libc_rpc_getport.
49028 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49029 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49030 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49032 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49037 2010-08-27 Roland McGrath <roland@redhat.com>
49039 * sysdeps/i386/i686/multiarch/Makefile
49040 (CFLAGS-varshift.c): New variable.
49042 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49044 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49045 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49047 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49049 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49051 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49053 * sysdeps/x86_64/strlen.S: Unroll the loop.
49054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49055 strlen-sse2 strlen-sse2-bsf.
49056 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49057 __strlen_no_bsf if bit_Slow_BSF is set.
49058 (__strlen_sse42): Removed.
49059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49060 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49062 2010-08-25 Roland McGrath <roland@redhat.com>
49064 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49065 * sysdeps/x86_64/multiarch/varshift.c: New file.
49066 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49067 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49068 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49069 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49071 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49074 strlen-sse2 strlen-sse2-bsf.
49075 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49076 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49077 (__strlen_sse2): Removed.
49078 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49081 bit_Slow_BSF for Atom.
49082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49083 (index_Slow_BSF): Define.
49084 (HAS_SLOW_BSF): Define.
49086 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49089 * resolv/res_init.c (__res_vinit): When no server address at all
49090 is given default to loopback.
49092 2010-08-24 Roland McGrath <roland@redhat.com>
49094 * configure.in: Remove config-name.h generation.
49095 * configure: Regenerated.
49096 * config-name.in: File removed.
49097 * scripts/config-uname.sh: New file.
49098 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49099 ($(objdir)config-name.h): New target.
49101 * sunrpc/rpc_parse.h: Avoid nested comment.
49103 2010-08-24 Richard Henderson <rth@redhat.com>
49104 Ulrich Drepper <drepper@redhat.com>
49105 H.J. Lu <hongjiu.lu@intel.com>
49107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49109 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49110 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49111 _mm_alignr_epi8 with _mm_loadu_si128.
49112 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49113 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49114 (__m128i_shift_right): Removed.
49115 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49116 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49117 * sysdeps/x86_64/multiarch/varshift.h: New file.
49118 * sysdeps/x86_64/multiarch/varshift.S: New file.
49120 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49122 * configure.in: Move assembler checks to before sysdep dir checking.
49124 2010-08-20 Petr Baudis <pasky@suse.cz>
49126 * LICENSES: Sync the sunrpc license.
49128 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49130 * sunrpc/auth_des.c: Update copyright notice once again.
49131 * sunrpc/auth_none.c: Likewise.
49132 * sunrpc/auth_unix.c: Likewise.
49133 * sunrpc/authdes_prot.c: Likewise.
49134 * sunrpc/authuxprot.c: Likewise.
49135 * sunrpc/bindrsvprt.c: Likewise.
49136 * sunrpc/clnt_gen.c: Likewise.
49137 * sunrpc/clnt_perr.c: Likewise.
49138 * sunrpc/clnt_raw.c: Likewise.
49139 * sunrpc/clnt_simp.c: Likewise.
49140 * sunrpc/clnt_tcp.c: Likewise.
49141 * sunrpc/clnt_udp.c: Likewise.
49142 * sunrpc/clnt_unix.c: Likewise.
49143 * sunrpc/des_crypt.c: Likewise.
49144 * sunrpc/des_soft.c: Likewise.
49145 * sunrpc/get_myaddr.c: Likewise.
49146 * sunrpc/getrpcport.c: Likewise.
49147 * sunrpc/key_call.c: Likewise.
49148 * sunrpc/key_prot.c: Likewise.
49149 * sunrpc/openchild.c: Likewise.
49150 * sunrpc/pm_getmaps.c: Likewise.
49151 * sunrpc/pm_getport.c: Likewise.
49152 * sunrpc/pmap_clnt.c: Likewise.
49153 * sunrpc/pmap_prot.c: Likewise.
49154 * sunrpc/pmap_prot2.c: Likewise.
49155 * sunrpc/pmap_rmt.c: Likewise.
49156 * sunrpc/rpc/auth.h: Likewise.
49157 * sunrpc/rpc/auth_unix.h: Likewise.
49158 * sunrpc/rpc/clnt.h: Likewise.
49159 * sunrpc/rpc/des_crypt.h: Likewise.
49160 * sunrpc/rpc/key_prot.h: Likewise.
49161 * sunrpc/rpc/netdb.h: Likewise.
49162 * sunrpc/rpc/pmap_clnt.h: Likewise.
49163 * sunrpc/rpc/pmap_prot.h: Likewise.
49164 * sunrpc/rpc/pmap_rmt.h: Likewise.
49165 * sunrpc/rpc/rpc.h: Likewise.
49166 * sunrpc/rpc/rpc_des.h: Likewise.
49167 * sunrpc/rpc/rpc_msg.h: Likewise.
49168 * sunrpc/rpc/svc.h: Likewise.
49169 * sunrpc/rpc/svc_auth.h: Likewise.
49170 * sunrpc/rpc/types.h: Likewise.
49171 * sunrpc/rpc/xdr.h: Likewise.
49172 * sunrpc/rpc_clntout.c: Likewise.
49173 * sunrpc/rpc_cmsg.c: Likewise.
49174 * sunrpc/rpc_common.c: Likewise.
49175 * sunrpc/rpc_cout.c: Likewise.
49176 * sunrpc/rpc_dtable.c: Likewise.
49177 * sunrpc/rpc_hout.c: Likewise.
49178 * sunrpc/rpc_main.c: Likewise.
49179 * sunrpc/rpc_parse.c: Likewise.
49180 * sunrpc/rpc_parse.h: Likewise.
49181 * sunrpc/rpc_prot.c: Likewise.
49182 * sunrpc/rpc_sample.c: Likewise.
49183 * sunrpc/rpc_scan.c: Likewise.
49184 * sunrpc/rpc_scan.h: Likewise.
49185 * sunrpc/rpc_svcout.c: Likewise.
49186 * sunrpc/rpc_tblout.c: Likewise.
49187 * sunrpc/rpc_util.c: Likewise.
49188 * sunrpc/rpc_util.h: Likewise.
49189 * sunrpc/rpcinfo.c: Likewise.
49190 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49191 * sunrpc/rpcsvc/key_prot.x: Likewise.
49192 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49193 * sunrpc/rpcsvc/mount.x: Likewise.
49194 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49195 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49196 * sunrpc/rpcsvc/rex.x: Likewise.
49197 * sunrpc/rpcsvc/rstat.x: Likewise.
49198 * sunrpc/rpcsvc/rusers.x: Likewise.
49199 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49200 * sunrpc/rpcsvc/spray.x: Likewise.
49201 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49202 * sunrpc/rtime.c: Likewise.
49203 * sunrpc/svc.c: Likewise.
49204 * sunrpc/svc_auth.c: Likewise.
49205 * sunrpc/svc_authux.c: Likewise.
49206 * sunrpc/svc_raw.c: Likewise.
49207 * sunrpc/svc_run.c: Likewise.
49208 * sunrpc/svc_simple.c: Likewise.
49209 * sunrpc/svc_tcp.c: Likewise.
49210 * sunrpc/svc_udp.c: Likewise.
49211 * sunrpc/svc_unix.c: Likewise.
49212 * sunrpc/svcauth_des.c: Likewise.
49213 * sunrpc/xcrypt.c: Likewise.
49214 * sunrpc/xdr.c: Likewise.
49215 * sunrpc/xdr_array.c: Likewise.
49216 * sunrpc/xdr_float.c: Likewise.
49217 * sunrpc/xdr_mem.c: Likewise.
49218 * sunrpc/xdr_rec.c: Likewise.
49219 * sunrpc/xdr_ref.c: Likewise.
49220 * sunrpc/xdr_sizeof.c: Likewise.
49221 * sunrpc/xdr_stdio.c: Likewise.
49223 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49226 2010-08-19 Andreas Schwab <schwab@redhat.com>
49228 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49230 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49232 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49233 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49234 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49235 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49236 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49237 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49238 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49239 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49240 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49241 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49242 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49243 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49244 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49245 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49247 2010-07-26 Anton Blanchard <anton@samba.org>
49249 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49250 * malloc/arena.c (heap_trim): Likewise.
49252 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49254 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49257 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49259 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49261 * sysdeps/i386/elf/Makefile: New file.
49263 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49265 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49266 from fanotify_init.
49267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49270 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49272 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49274 * sysdeps/multiarch/strcmp.S: Likewise.
49276 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49278 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49279 strncase_l-nonascii.
49280 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49281 Add strncase_l-ssse3.
49282 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49283 * sysdeps/x86_64/strcmp.S: Likewise.
49284 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49285 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49286 * sysdeps/x86_64/strncase.S: New file.
49287 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49288 * sysdeps/x86_64/strncase_l.S: New file.
49289 * string/Makefile (strop-tests): Add strncasecmp.
49290 * string/test-strncasecmp.c: New file.
49292 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49295 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49296 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49298 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49300 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49302 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49304 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49306 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49308 2010-05-01 Alan Modra <amodra@gmail.com>
49310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49311 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49312 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49313 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49314 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49315 tidying. Don't tail-call __sigjmp_save for static lib.
49316 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49318 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49319 (CALL_MCOUNT): Add eh info, and nop after bl.
49320 (TAIL_CALL_SYSCALL_ERROR): New macro.
49321 (PSEUDO_RET): Use it.
49322 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49323 Correct save location of integer regs and cr.
49324 (_dl_profile_resolve): Correct cr save location. Delete nops
49325 after bl when SHARED. Reduce cfi size a little by better
49326 placement of cfi directives.
49327 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49328 make a stack frame. Instead use parm save area as a temp.
49329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49330 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49332 Don't make a stack frame for parent, use parm save area.
49333 Increase child stack frame to 112 bytes. Don't save unused reg,
49334 and adjust reg usage. Set up cfi on error recovery and
49335 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49337 (__makecontext): Add dummy nop after jump to exit.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49339 Use correct parm save area and cr save, reduce stack frame.
49340 Correct cfi for possible PSEUDO_RET frame setup.
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49342 Branch to local label emitted by PSEUDO_RET rather than
49345 2010-08-12 Andreas Schwab <schwab@redhat.com>
49348 * locale/programs/locale.c (print_assignment): New function.
49349 (show_locale_vars): Use it.
49351 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49353 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49355 (struct statfs64): Likewise.
49356 (_STATFS_F_FLAGS): Define.
49357 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49359 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49360 (ST_VALID): Define locally.
49361 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49362 __statvfs_getflags, use the provided value.
49363 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49364 __ASSUME_STATFS_F_FLAGS.
49366 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49369 Add sys/fanotify.h.
49370 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49371 fanotify_mask for GLIBC_2.13.
49372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49373 fanotify_init and fanotify_mark.
49374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49375 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49377 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49379 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49380 prlimit64 for GLIBC_2.13.
49381 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49386 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49387 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49388 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49391 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49394 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49395 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49397 * nss/Makefile: Add rules to build and run tst-nss-test1.
49398 * shlib-versions: Add entry for libnss_test1.
49399 * nss/nss_test1.c: New file.
49400 * nss/tst-nss-test1.c: New file.
49402 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49403 (__nss_configure_lookup): Set appropriate entry in
49404 __nss_configure_lookup to true.
49405 * nss/nsswitch.h: Define enum with indeces of databases in
49406 databases and __nss_database_custom arrays. Declare
49407 __nss_database_custom.
49408 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49409 to avoid using nscd when custom rules are installed.
49410 * nss/getXXbyYY_r.c: Likewise.
49411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49413 * nss/nss_files/files-parse.c: Whitespace fixes.
49415 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49418 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49419 * posix/fnmatch_loop.c: Likewise.
49421 2010-07-17 Andi Kleen <ak@linux.intel.com>
49423 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49424 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49425 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49426 * Versions.def [GLIBC_2.13]: Add.
49428 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49431 Also fail if tpwd after pwuid call is NULL.
49433 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49435 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49436 when converting to ms.
49438 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49440 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49441 EOPNOTSUPP errors with ENOTTY.
49442 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49443 EOPNOTSUPP errors with ENOTTY.
49445 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49447 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49448 Add strcasecmp_l-ssse3.
49449 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49451 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49452 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49453 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49455 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49457 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49459 * string/Makefile (strop-tests): Add strcasecmp.
49460 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49461 strcasecmp_l-nonascii.
49462 (gen-as-const-headers): Add locale-defines.sym.
49463 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49464 * sysdeps/x86_64/strcasecmp.S: New file.
49465 * sysdeps/x86_64/strcasecmp_l.S: New file.
49466 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49467 * sysdeps/x86_64/locale-defines.sym: New file.
49468 * string/test-strcasecmp.c: New file.
49470 * string/test-strcasestr.c: Test both ends of the range of characters.
49471 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49473 2010-07-29 Roland McGrath <roland@redhat.com>
49476 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49478 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49480 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49483 2010-07-27 Andreas Schwab <schwab@redhat.com>
49485 * manual/memory.texi (Malloc Tunable Parameters): Document
49488 2010-07-26 Roland McGrath <roland@redhat.com>
49491 * configure.in (-fgnu89-inline check): Set and substitute
49492 gnu89_inline, not libc_cv_gnu89_inline.
49493 * configure: Regenerated.
49494 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49496 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49498 * string/test-strnlen.c: New file.
49499 * string/Makefile (strop-tests): Add strnlen.
49500 * string/tester.c (test_strnlen): Add a few more test cases.
49501 * string/tst-strlen.c: Better error reporting.
49503 * sysdeps/x86_64/strnlen.S: New file.
49505 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49507 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49508 lower-latency instructions.
49510 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49512 * string/test-strcasestr.c: New file.
49513 * string/test-strstr.c: New file.
49514 * string/Makefile (strop-tests): Add strstr and strcasestr.
49515 * string/str-two-way.h: Don't undefine MAX.
49516 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49518 2010-07-21 Andreas Schwab <schwab@redhat.com>
49520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49521 strcasestr-nonascii.
49522 (CFLAGS-strcasestr-nonascii.c): Define.
49523 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49524 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49525 Remove unused attribute.
49527 2010-07-20 Roland McGrath <roland@redhat.com>
49529 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49530 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49531 ld.so.cache was broken. With it, there is no way to disable dsocaps
49532 like LD_HWCAP_MASK can disable hwcaps.
49534 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49536 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49538 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49540 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49541 call in strcasestr.
49542 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49543 __strcasestr_sse42_nonascii.
49544 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49545 strcasestr-nonascii.c.
49546 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49548 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49555 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49560 2010-07-06 Andreas Schwab <schwab@redhat.com>
49563 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49566 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49569 _PC_PIPE_BUF using F_GETPIPE_SZ.
49571 2010-07-05 Roland McGrath <roland@redhat.com>
49573 * manual/arith.texi (Rounding Functions): Fix rint description
49574 implicit in round description.
49576 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49578 * elf/Makefile: Fix linking for a few tests to make recent linker
49581 2010-06-30 Andreas Schwab <schwab@redhat.com>
49583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49584 $(common-objpfx)libc_nonshared.a.
49586 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49588 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49589 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49590 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49591 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49592 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49593 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49594 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49595 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49610 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49611 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49612 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49613 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49614 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49615 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49616 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49617 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49618 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49619 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49620 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49621 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49637 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49639 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49640 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49641 * string/memmove.c (memmove): Renamed to ...
49642 (MEMMOVE): ...this. Default to memmove.
49643 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49644 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49647 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49648 mempcpy-ssse3-back memmove-ssse3-back.
49649 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49652 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49653 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49654 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49655 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49656 * sysdeps/x86_64/multiarch/memmove.c: New file.
49657 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49658 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49659 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49660 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49661 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49664 (index_Fast_Copy_Backward): Define.
49665 (HAS_ARCH_FEATURE): Define.
49666 (HAS_FAST_REP_STRING): Define.
49667 (HAS_FAST_COPY_BACKWARD): Define.
49669 2010-06-21 Andreas Schwab <schwab@redhat.com>
49671 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49672 Restore proper fallback handling.
49674 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49677 * posix/group_member.c (__group_member): Correct checking loop.
49679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49680 OOM in getpwuid_r correctly. Return error number when the caller
49681 should return, otherwise -1.
49682 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49683 call returning > 0 value.
49684 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49686 2010-06-07 Andreas Schwab <schwab@redhat.com>
49688 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49689 libc_nonshared.a from targets in modules-names.
49691 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49693 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49696 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49698 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49699 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49701 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49703 2010-06-02 Andreas Schwab <schwab@redhat.com>
49705 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49707 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49709 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49711 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49718 2010-06-14 Roland McGrath <roland@redhat.com>
49720 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49722 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49724 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49725 __REDIRECT followed by __THROW.
49726 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49727 * posix/getopt.h (getopt): Likewise.
49729 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49731 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49732 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49733 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49735 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49736 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49738 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49740 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49742 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49746 Properly check family and model.
49748 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49750 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49752 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49754 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49756 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49758 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49761 2010-05-19 Andreas Schwab <schwab@redhat.com>
49763 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49766 2010-05-21 Andreas Schwab <schwab@redhat.com>
49768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49769 and internal_recvmmsg.
49770 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49771 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49772 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49773 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49775 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49776 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49777 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49779 2010-05-20 Andreas Schwab <schwab@redhat.com>
49781 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49783 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49785 POWER7 optimizations.
49786 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49787 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49789 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49791 * version.h: Update for 2.13 development version.
49793 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49795 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49796 exceptions. Return 0.
49798 2010-05-07 Roland McGrath <roland@redhat.com>
49800 * elf/ldconfig.c (main): Add a const.
49802 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49804 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49805 (args_options): Add no-idn option.
49806 (ahosts_keys_int): Add idn_flags to ai_flags.
49807 (parse_option): Handle 'i' option to clear idn_flags.
49809 * malloc/malloc.c (_int_free): Possible race in the most recently
49810 added check. Only act on the data if no current modification
49813 See ChangeLog.17 for earlier changes.