1 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5 macro for handling signed relocations.
7 2014-09-03 Florian Weimer <fweimer@redhat.com>
10 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14 * iconvdata/ibm935.c (BODY): Likewise.
15 * iconvdata/ibm937.c (BODY): Likewise.
16 * iconvdata/ibm939.c (BODY): Likewise.
17 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19 * iconvdata/Makefile (iconv-test.out): Pass module list to test
21 * iconvdata/run-iconv-test.sh: New test loop for checking for
24 2014-09-02 Khem Raj <raj.khem@gmail.com>
26 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29 2014-09-01 Allan McRae <allan@archlinux.org>
31 * po/eo.po: Update Esperanto translation from translation project.
33 * po/ca.po: Update Catalan translation from translation project.
35 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
37 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40 2014-08-27 Mark Wielaard <mjw@redhat.com>
43 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44 to call set_thread_area instead of hand written asm.
45 (__NR_set_thread_area): Removed define.
46 (TLS_FLAG_WRITABLE): Likewise.
47 (__ASSUME_SET_THREAD_AREA): Remove check.
48 (TLS_EBX_ARG): Remove define.
49 (TLS_LOAD_EBX): Likewise.
51 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
53 Simplify atomicity of socket creation in bind.
55 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
56 looking up the name after linking the file.
58 2014-08-27 Allan McRae <allan@archlinux.org>
60 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62 2014-08-26 Florian Weimer <fweimer@redhat.com>
65 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
66 trans_compare, open_translit, __gconv_translit_find):
67 Remove module loading code.
69 2014-08-26 Allan McRae <allan@archlinux.org>
71 * po/vi.po: Update Vietnamese translation from translation project.
73 * po/uk.po: Update Ukrainian translation from translation project.
75 * po/fr.po: Update French translation from translation project.
77 * po/ru.po: Update Russian translation from translation project.
79 * po/pl.po: Update Polish translation from translation project.
81 * po/cs.po: Update Czech translation from translation project.
83 * po/de.po: Update German translation from translation project.
85 * po/bg.po: Update Bulgarian translation from translation project.
87 * po/sv.po: Update Sweedish translation from translation project.
89 * po/nl.po: Update Dutch translation from translation project.
91 * po/es.po: Update Spanish translation from translation project.
93 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
97 * catgets/Makefile (CPPFLAGS-gencat): Remove.
98 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
99 (CPPFLAGS-iconvconfig): Likewise.
100 * timezone/Makefile (CPPFLAGS-zic): Likewise.
102 * include/libc-symbols.h: Remove unnecessary check for
104 * nptl/pthreadP.h: Likewise.
105 * sysdeps/aarch64/setjmp.S: Likewise.
106 * sysdeps/alpha/setjmp.S: Likewise.
107 * sysdeps/arm/sysdep.h: Likewise.
108 * sysdeps/i386/setjmp.S: Likewise.
109 * sysdeps/m68k/setjmp.c: Likewise.
110 * sysdeps/posix/getcwd.c: Likewise.
111 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
113 * sysdeps/s390/s390-32/setjmp.S: Likewise.
114 * sysdeps/s390/s390-64/setjmp.S: Likewise.
115 * sysdeps/sh/sh3/setjmp.S: Likewise.
116 * sysdeps/sh/sh4/setjmp.S: Likewise.
117 * sysdeps/unix/alpha/sysdep.h: Likewise.
118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
120 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
121 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
126 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
129 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
131 * sysdeps/x86_64/setjmp.S: Likewise.
133 2014-08-13 Joseph Myers <joseph@codesourcery.com>
136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
138 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
139 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
141 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
143 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
146 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
147 and __x86_64__ when disabling x87 inline functions.
149 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
152 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
153 asm statement with __cpuid_count.
155 2014-08-12 Mike Frysinger <vapier@gentoo.org>
157 * configure.ac: Change __ehdr_start code to dereference the struct.
158 Run readelf on the output to look for relocations.
159 * configure: Regenerated.
161 2014-08-12 Joseph Myers <joseph@codesourcery.com>
164 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
166 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
168 2014-08-12 Roland McGrath <roland@hack.frob.com>
170 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
172 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
175 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
176 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
178 2014-08-12 Sean Anderson <seanga2@gmail.com>
180 * malloc/malloc.c: Fix typo in comment.
182 2014-08-09 Allan McRae <allan@archlinux.org>
184 * Regenerate libc.po.
186 2014-08-08 Mike Frysinger <vapier@gentoo.org>
188 * intl/tst-gettext2.sh: Check every lang file for creation.
190 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
192 * sysdeps/aarch64/fpu/math_private.h
193 (libc_feholdsetround_noex_aarch64_ctx): New function.
195 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
197 * sysdeps/arm/armv6/strcpy.S (strcpy):
198 Fix performance issue in misaligned cases.
200 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
203 Move definition from termios.h.
204 (struct termio): Likewise.
205 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
206 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
207 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
208 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
211 Move definition to ioctl-types.h
212 (struct termio): Likewise.
213 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
214 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
215 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
216 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
219 2014-08-05 Richard Henderson <rth@redhat.com>
221 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
223 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
225 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
227 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
228 Protect libm symbols with IS_IN_libm.
230 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
232 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
234 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
236 2014-08-04 Will Newton <will.newton@linaro.org>
238 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
241 2014-08-04 Mike Frysinger <vapier@gentoo.org>
243 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
244 variants for each function.
246 2014-08-04 Roland McGrath <roland@hack.frob.com>
248 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
250 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
251 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
253 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
254 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
255 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
256 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
257 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
258 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
259 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
260 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
261 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
262 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
264 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
266 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
268 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
270 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
271 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
272 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
273 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
274 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
275 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
276 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
278 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
279 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
280 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
281 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
282 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
283 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
284 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
285 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
286 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
287 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
288 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
289 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
290 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
292 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
293 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
294 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
295 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
297 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
299 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
300 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
301 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
302 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
303 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
304 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
305 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
307 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
308 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
310 2014-08-04 Roland McGrath <roland@hack.frob.com>
312 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
313 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
314 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
315 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
316 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
317 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
319 2014-08-04 Roland McGrath <roland@hack.frob.com>
321 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
322 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
323 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
324 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
326 2014-08-04 Roland McGrath <roland@hack.frob.com>
328 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
329 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
330 (__libc_vfork): Define function under this name.
331 (__vfork): Define as an alias.
332 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
333 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
335 2014-08-04 Roland McGrath <roland@hack.frob.com>
337 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
338 that was previously under [RESET_PID].
339 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
341 2014-08-04 Andreas Schwab <schwab@suse.de>
343 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
345 2014-08-03 Mike Frysinger <vapier@gentoo.org>
347 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
350 2014-08-01 Roland McGrath <roland@hack.frob.com>
352 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
354 2014-08-01 Richard Henderon <rth@redhat.com>
356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
357 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
358 typo in exact zero test.
359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
360 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
363 2014-08-01 Roland McGrath <roland@hack.frob.com>
365 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
366 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
367 * sysdeps/arm/sysdep.h: ... here.
368 [!__ASSEMBLER__]: Include <stdint.h>.
370 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
372 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
373 (HAVE_WCTYPE_H): Likewise.
374 (HAVE_ISWCTYPE): Likewise.
375 (ENABLE_NLS): Likewise.
376 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
377 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
379 * posix/regex_internal.c: Check if DEBUG is defined and is
382 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
383 (HAVE_MBSRTOWCS): Likewise.
384 * posix/fnmatch.c: Include string.h unconditionally.
386 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
388 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
391 2014-07-31 Roland McGrath <roland@hack.frob.com>
393 * sysdeps/generic/safe-fatal.h: New file.
394 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
395 * nptl/forward.c: Include it.
396 (__pthread_unwind): Use __safe_fatal as default action, rather
397 than a bogus use of INTERNAL_SYSCALL that could never work.
399 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
400 * configure.ac (libc_cv_builtin_trap): New test.
401 * configure: Regenerated.
402 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
403 (ABORT_INSTRUCTION): Define using __builtin_trap.
405 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
406 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
407 * sysdeps/nptl/nptl-signals.h: New file.
408 * nptl/pthreadP.h: Include <nptl-signals.h>.
410 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
412 * sysdeps/s390/s390-64/utf16-utf32-z9.c
413 (ONE_DIRECTION): Define.
414 * sysdeps/s390/s390-64/utf8-utf16-z9.c
415 (ONE_DIRECTION): Define.
416 * sysdeps/s390/s390-64/utf8-utf32-z9.c
417 (ONE_DIRECTION): Define.
419 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
421 * sysdeps/s390/Makefile: Delete file.
422 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
423 * sysdeps/s390/__longjmp.c: Delete file.
424 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
425 Remove fields __flags and __reserved.
426 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
428 * sysdeps/s390/rtld-__longjmp.c: Delete file.
429 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
430 * sysdeps/s390/rtld-setjmp.S: Likewise.
431 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
432 * sysdeps/s390/s390-32/__longjmp.c: ... here.
433 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
434 * sysdeps/s390/s390-32/setjmp.S: ... here.
436 (__sigsetjmp): Remove setting __flags field.
437 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
438 * sysdeps/s390/s390-64/__longjmp.c: ... here.
439 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
440 * sysdeps/s390/s390-64/setjmp.S: ... here.
442 (__sigsetjmp): Remove setting __flags field.
443 * sysdeps/s390/setjmp.S: Delete file.
444 * sysdeps/s390/sigjmp.c: Likewise.
445 * sysdeps/s390/v1-longjmp.c: Likewise.
446 * sysdeps/s390/v1-setjmp.h: Likewise.
447 * sysdeps/s390/v1-sigjmp.c: Likewise.
448 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
449 Remove v1-longjmp_chk.
450 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
451 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
452 Include debug/longjmp_chk.c and add versioning.
453 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
454 Include nptl/pt-longjmp.c and add versioning.
455 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
456 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
458 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
461 (__getcontext): Remove setting __flags field.
463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
464 Don't restore upper high grps.
465 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
467 (__swapcontext): Remove setting uc_flags field.
468 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
470 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
472 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
474 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
475 (__getcontext): Remove setting __flags field.
477 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
478 (__swapcontext): Remove setting uc_flags field.
479 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
481 Remove fields uc_high_gprs and __reserved.
482 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
483 New file with reverted content.
484 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
485 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
490 2014-07-31 Andreas Schwab <schwab@suse.de>
492 * config.h.in (HAVE_IFUNC): Define to 0.
493 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
496 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
499 memmove-avx-unaligned, memcpy-avx-unaligned and
500 mempcpy-avx-unaligned.
501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
502 Add tests for AVX memcpy functions.
503 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
504 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
506 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
507 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
509 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
510 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
512 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
513 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
514 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
516 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
519 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
522 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
525 * manual/llio.texi: Add section about open file description locks.
526 * manual/examples/ofdlocks.c: Example of open file description
528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
529 F_OFD_SETLK, and F_OFD_SETLKW.
531 2014-07-23 Allan McRae <allan@archlinux.org>
533 * po/es.po: Update Spanish translation from translation project.
535 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
537 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
539 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
542 * sysdeps/arm/dl-machine.h (elf_machine_rela)
543 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
544 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
546 2014-07-17 Joseph Myers <joseph@codesourcery.com>
549 * math/fesetenv.c (__fesetenv)
550 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
551 * math/feupdateenv.c (__feupdateenv)
552 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
554 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
556 (__ASSUME_SOCKETCALL): Do not define.
558 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
559 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
560 (__ASSUME_SOCKETCALL): Do not define.
561 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
562 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
563 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
564 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
565 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
566 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
567 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
568 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
571 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
572 (__ASSUME_SOCKETCALL): Do not define.
573 (__ASSUME_IPC64): Define unconditionally.
574 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
575 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
576 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
577 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
578 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
579 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
580 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
583 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
584 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
585 (__ASSUME_SOCKETCALL): Do not define.
586 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
587 (__ASSUME_FUTEX_LOCK_PI): Likewise.
588 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
589 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
590 (__ASSUME_REQUEUE_PI): Define unconditionally.
591 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
592 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
593 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
594 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
595 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
596 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
598 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
599 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
600 (__ASSUME_SOCKETCALL): Do not define.
601 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
602 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
603 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
604 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
605 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
606 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
609 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
610 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
611 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
612 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
613 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
614 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
615 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
616 (__ASSUME_GETCPU_SYSCALL): Likewise.
618 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
619 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
620 cases for individual architectures.
621 * sysdeps/gnu/configure: Regenerated.
622 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
623 LIBC_SLIBDIR_RTLDDIR.
624 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
625 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
626 LIBC_SLIBDIR_RTLDDIR.
627 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
629 LIBC_SLIBDIR_RTLDDIR.
630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
632 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
633 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
635 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
638 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
639 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
640 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
641 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
643 * sysdeps/aarch64/shlib-versions: Move to ...
644 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
645 * sysdeps/alpha/shlib-versions: Move to ...
646 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
647 * sysdeps/arm/shlib-versions: Move to ...
648 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
649 * sysdeps/hppa/shlib-versions: Move all contents except for
650 libgcc_s entry to ...
651 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
653 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
654 * sysdeps/ia64/shlib-versions: Move to ...
655 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
657 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
658 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
659 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
660 * sysdeps/microblaze/shlib-versions: Move to ...
661 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
662 * sysdeps/mips/shlib-versions: Move to ...
663 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
665 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
666 * sysdeps/tile/shlib-versions: Move to ...
667 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
668 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
670 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
671 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
673 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
675 2014-07-17 Will Newton <will.newton@linaro.org>
677 * sysdeps/arm/bits/atomic.h
678 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
679 (__arch_compare_and_exchange_bool_16_int): Likewise.
680 (__arch_compare_and_exchange_bool_64_int): Likewise.
682 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
685 2014-07-16 Roland McGrath <roland@hack.frob.com>
687 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
688 just Linux configurations. Test empirically that the compiler sets
689 __ARM_EABI__, rather than using the tuple to decide.
690 * sysdeps/arm/preconfigure: Regenerated.
691 * sysdeps/unix/sysv/linux/arm/configure: File removed.
692 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
693 contents appended ...
694 * sysdeps/arm/configure.ac: ... here.
695 * sysdeps/arm/configure: Regenerated.
697 2014-07-15 Roland McGrath <roland@hack.frob.com>
699 * nptl/pthread_kill.c: New file.
700 * nptl/pthread_sigmask.c: New file.
701 * nptl/pthread_sigqueue.c: New file.
703 * sysdeps/nptl/lowlevellock.h: New file.
704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
705 * sysdeps/nptl/lowlevellock-futex.h: New file.
707 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
708 Remove dead declarations.
710 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
712 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
713 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
715 * sysdeps/x86_64/configure.ac: Likewise.
716 * sysdeps/i386/configure: Regenerated.
717 * sysdeps/x86_64/configure: Likewise.
718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
719 memset-avx2 only if config-cflags-avx2 is yes.
720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
721 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
723 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
724 only if HAVE_AVX2_SUPPORT is defined.
725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
727 2014-07-14 Alan Modra <amodra@gmail.com>
730 * elf/elf.h (DT_PPC64_NUM): Correct value.
731 * NEWS: Add to fixed bug list.
733 2014-07-13 Jim Meyering <meyering@fb.com>
736 regex: don't deref NULL upon heap allocation failure
737 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
738 failure in one more place.
739 To trigger the segfault, configure grep -with-included-regex,
740 build it, and run these commands:
741 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
743 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
745 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
747 2014-07-11 Richard Henderson <rth@redhat.com>
749 * sysdeps/aarch64/libm-test-ulps: Update.
751 2014-07-10 Florian Weimer <fweimer@redhat.com>
754 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
755 * nptl/allocatestack.c (__nptl_setxid_error): New function.
756 (__nptl_setxid): Initialize error member. Call
758 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
759 * nptl/descr.h (struct xid_command): Add error member.
760 * nptl/tst-setuid3.c: New file.
761 * nptl/Makefile (tests): Add it.
763 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
767 (__lll_trylock): Use __lll_base_trylock.
768 (__lll_cond_trylock): Likewise.
770 2014-07-10 Roland McGrath <roland@hack.frob.com>
772 * nptl/pthread_create.c (start_thread): Use atomic_or and
773 lll_futex_wake directly rather than lll_robust_dead.
774 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
775 (lll_robust_dead): Macro removed.
776 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
777 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
778 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
779 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
781 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
782 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
783 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
784 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
786 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
787 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
788 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
789 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
790 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
792 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
793 Use atomic_compare_and_exchange_val_acq directly rather than
795 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
796 (__lll_robust_trylock, lll_robust_trylock): Removed.
797 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
798 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
799 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
800 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
801 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
802 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
803 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
804 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
806 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
807 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
809 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
812 2014-07-02 Florian Weimer <fweimer@redhat.com>
814 * manual/locale.texi (Locale Names): New section documenting
815 locale name syntax. Adjust menu and node chaining accordingly.
816 (Choosing Locale): Reference Locale Names, Locale Categories.
817 Mention setting LC_ALL=C. Reflect that name syntax is now
819 (Locale Categories): New section title. Reference Locale Names.
820 LC_ALL is an environment variable, but not a category.
821 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
822 description, now in Locale Name. Reference that section. Locale
823 name syntax is now documented.
825 2014-07-02 Florian Weimer <fweimer@redhat.com>
828 * locale/findlocale.c (name_present, valid_locale_name): New
830 (_nl_find_locale): Use the loc_name variable to store name
831 candidates. Call name_present and valid_locale_name to check and
832 validate locale names. Return an error if the locale is invalid.
834 2014-07-02 Florian Weimer <fweimer@redhat.com>
836 * locale/setlocale.c (setlocale): Use strdup for allocating
839 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
842 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
843 [!_LIBC && ENABLE_NLS]: Include gettext.h.
844 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
846 [USE_UNLOCKED_IO]: Include unlocked-io.h.
847 [!_LIBC]: Include code for Windows and Cygwin.
848 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
849 Include prototype for int strerror_r.
850 [!_LIBC] (is_open): New function.
851 (flush_stdout): New function.
852 (print_errno_message): Use it.
854 (error_at_line): Likewise.
855 (error_tail) Add function attribute macros. Use
858 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
860 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
862 * io/ftw.c: Include sys/param.h unconditionally.
864 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
867 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
869 (freecache): New function to free CACHE on exit.
871 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
874 2014-07-09 David S. Miller <davem@davemloft.net>
876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
878 * sysdeps/sparc/nptl/internaltypes.h: Delete.
879 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
880 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
881 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
882 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
883 * sysdeps/sparc/nptl/sem_init.c: Likewise.
884 * sysdeps/sparc/nptl/sem_post.c: Likewise.
885 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
886 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
887 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
888 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
889 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
890 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
892 2014-07-09 Andreas Schwab <schwab@suse.de>
894 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
899 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
901 2014-07-09 Will Newton <will.newton@linaro.org>
903 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
904 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
905 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
906 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
907 * sysdeps/hppa/start.S (_start): Likewise.
909 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
913 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
916 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
918 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
919 after checking that it is non-NULL.
921 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
923 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * sysdeps/powerpc/memmove.c: Remove file.
926 * sysdeps/powerpc/powerpc32/power4/memcopy.h
927 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
929 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
931 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
932 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
933 string memmove instead of removed powerpc one.
935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
936 [weak_alias]: Fix compiler warning due trailing data.
937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
938 [weak_alias]: Likewise.
939 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
940 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
943 (__libc_ifunc_impl_list): Add memmove functions.
945 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
947 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
949 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
951 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
953 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
955 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
957 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
959 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
961 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
963 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
965 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
967 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
969 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
971 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
973 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
975 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
977 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
979 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
982 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
985 to avoid alignment traps in non-cacheable memory.
986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
990 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
991 file: multiarch power7 memmove.
992 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
993 multiarch default memmove.
994 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
995 multiarch memove for powerpc32/power4.
997 * string/bcopy.c: Use full path to include memmove.c.
998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1000 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1001 bcopy for powerpc64.
1002 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1003 bcopy for powerpc64.
1004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1005 and memmove implementations.
1006 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1007 optimized multiarch memmove for POWER7/powerpc64.
1008 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1009 default multiarch memmove for powerpc64.
1010 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1011 multiarch for powerpc64.
1012 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1013 for POWER7/powerpc64.
1014 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1015 memmove for POWER7/powerpc64.
1017 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1020 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1021 __ELF_NATIVE_CLASS equal to 64.
1023 2014-07-07 Roland McGrath <roland@hack.frob.com>
1025 * sysdeps/nptl/lowlevellock.h: File removed.
1027 * NEWS: NPTL is no longer an add-on!
1028 * nptl/internaltypes.h: Moved ...
1029 * sysdeps/nptl/internaltypes.h: ... here.
1030 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1031 * sysdeps/nptl/fork.c: Likewise.
1032 * sysdeps/nptl/gai_misc.h: Likewise.
1033 * sysdeps/nptl/librt-cancellation.c: Likewise.
1034 * sysdeps/nptl/jmp-unwind.c: Likewise.
1035 * sysdeps/nptl/setxid.h: Likewise.
1036 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1037 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1038 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1039 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1040 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1041 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1042 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1043 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1044 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1045 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1046 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1047 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1048 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1049 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1050 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1051 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1052 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1053 * nptl/Makeconfig: Moved ...
1054 * sysdeps/nptl/Makeconfig: ... here.
1055 * nptl/configure: File removed.
1056 * nptl/ANNOUNCE: File removed.
1057 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1058 * sysdeps/unix/sysv/linux/configure: Regenerated.
1060 * nptl/Makefile (routines): Add libc_pthread_init,
1061 libc_multiple_threads, register-atfork and unregister-atfork.
1062 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1063 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1064 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1065 pthread-pi-defines.sym, structsem.sym.
1066 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1067 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1068 [$(subdir) = nptl] (tests): Add tst-setgetname.
1069 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1070 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1071 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1072 [!LIBC_SIGACTION]: Remove aliases.
1073 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1074 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1075 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1076 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1077 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1078 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1082 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1083 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1084 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1085 __libc_allocate_rtsig_private.
1086 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1087 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1088 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1089 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1091 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1092 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1093 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1094 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1095 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1096 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1097 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1098 * nptl/internaltypes.h: ... here.
1099 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1100 * sysdeps/nptl/jmp-unwind.c: ... here.
1101 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1102 * nptl/libc-lowlevellock.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1104 * nptl/libc_multiple_threads.c: ... here.
1105 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1106 * nptl/libc_pthread_init.c: ... here.
1107 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1108 * nptl/lowlevelbarrier.sym: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1110 * nptl/lowlevelcond.sym: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1112 * nptl/lowlevellock.c: ... here.
1113 * nptl/lowlevellock.h: Moved ...
1114 * sysdeps/nptl/lowlevellock.h: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1116 * nptl/lowlevelrobustlock.c: ... here.
1117 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1118 * nptl/lowlevelrobustlock.sym: ... here.
1119 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1120 * nptl/lowlevelrwlock.sym: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1122 * nptl/pt-fork.c: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1124 * nptl/pthread-pi-defines.sym: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1126 * nptl/pthread_attr_getaffinity.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1128 * nptl/pthread_attr_setaffinity.c: ... here.
1129 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1130 * nptl/pthread_mutex_cond_lock.c: ... here.
1131 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1133 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1134 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1135 * nptl/pthread_once.c: ... here, replacing old file.
1136 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1137 * nptl/pthread_yield.c: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1139 * nptl/register-atfork.c: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1141 * nptl/sem_post.c: ... here.
1142 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1143 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1144 * nptl/sem_timedwait.c: ... here.
1145 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1146 * nptl/sem_trywait.c: ... here.
1147 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1148 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1149 * nptl/sem_wait.c: ... here.
1150 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1151 * nptl/structsem.sym: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1153 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1154 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1155 * nptl/unregister-atfork.c: ... here.
1156 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1157 * nptl/unwindbuf.sym: ... here.
1158 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1159 * sysdeps/nptl/fork.c: ... here.
1160 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1161 * sysdeps/nptl/fork.h: ... here.
1162 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1163 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1164 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1165 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1166 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1167 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1168 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1169 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1170 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1171 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1172 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1173 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1174 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1175 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1176 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1177 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1178 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1180 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1181 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1182 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1183 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1184 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1185 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1186 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1187 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1188 * sysdeps/unix/sysv/linux/raise.c: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1190 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1191 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1192 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1193 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1194 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1195 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1196 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1197 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1198 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1200 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1202 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1203 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1205 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1207 * sysdeps/generic/memcopy.h: Add comment for
1208 MEMCPY_OK_FOR_FWD_MEMMOVE.
1210 2014-07-04 Will Newton <will.newton@linaro.org>
1212 * string/memchr.c: Merge from gnulib.
1213 [_LIBC]: Remove conditionals.
1214 (__ptr_t): Remove define.
1215 (LONG_MAX_32_BITS): Likewise.
1216 (LONG_MAX): Likewise.
1217 (MEMCHR): Use ANSI prototype and optimize algorithm.
1219 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1221 2014-07-03 Roland McGrath <roland@hack.frob.com>
1223 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1224 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1226 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1227 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1228 in a bare environment with no <stdlib.h> installed.
1229 * sysdeps/nptl/configure: Regenerated.
1231 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1233 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1234 AC_EGREP_CPP for kernel header checks, so they only succeed if
1235 including <linux/version.h> actually works right.
1236 * sysdeps/unix/sysv/linux/configure: Regenerated.
1238 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1239 value so it's not diagnosed as unused.
1241 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1242 thing) with "ifeq ($(subdir),rt)".
1244 2014-07-03 Richard Henderson <rth@redhat.com>
1246 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1247 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1248 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1250 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1251 (math_force_eval): New.
1253 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1254 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1256 * sysdeps/alpha/fpu/s_round.c: Remove file.
1257 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1259 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1260 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1261 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1262 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1263 (_dl_start, print_statistics): Likewise.
1264 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1265 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1267 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1268 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1269 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1270 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1272 (HP_SMALL_TIMING_AVAIL): Define.
1273 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1274 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1275 (HP_SMALL_TIMING_AVAIL): Define.
1276 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1277 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1279 * sysdeps/aarch64/hp-timing.h: New file.
1281 * sysdeps/generic/hp-timing.h: Remove dead comment.
1282 * sysdeps/generic/hp-timing-common.h: New file.
1283 * sysdeps/alpha/hp-timing.h: Include it.
1284 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1285 * sysdeps/i386/i686/hp-timing.h: Likewise.
1286 * sysdeps/ia64/hp-timing.h: Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1290 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1291 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1292 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1295 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1296 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1297 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1298 * elf/rtld.c (_dl_start_final): Likewise.
1299 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1300 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1301 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1302 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1303 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1305 (HP_TIMING_DIFF_INIT): Remove.
1306 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1308 (HP_TIMING_DIFF_INIT): Remove.
1309 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1310 * sysdeps/i386/i686/hp-timing.c: Remove file.
1311 * sysdeps/x86_64/hp-timing.c: Remove file.
1312 * sysdeps/ia64/hp-timing.c: Remove file.
1313 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1314 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1316 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1318 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1319 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1320 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1321 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1322 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1323 (HP_TIMING_ACCUM): Remove.
1324 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1325 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1326 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1328 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1329 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1330 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1331 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1333 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1335 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1337 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1339 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1341 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1343 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 Sync up with gettext.
1346 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1347 [_MSC_VER]: Include malloc.h
1348 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1349 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1350 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1351 TEMP_FAILURE_RETRY. Cast return of alloca.
1352 [!_LIBC] Call gl_rwlock_init.
1353 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1355 2014-07-02 Roland McGrath <roland@hack.frob.com>
1357 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1358 before checking its value.
1360 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1364 * debug/memcpy_chk.c: Don't include pagecopy.h.
1365 * debug/mempcpy_chk.c: Likewise.
1366 * string/memcpy.c: Likewise.
1367 * string/memmove.c: Likewise.
1368 * sysdeps/powerpc/memmove.c: Likewise.
1369 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1370 definition of PAGE_COPY_FWD_MAYBE here...
1371 * sysdeps/generic/pagecopy.h: ... from here.
1372 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1374 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1375 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1381 (__libc_ifunc_impl_list): Likewise.
1382 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1383 multiarch strcat for PPC64.
1384 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1385 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1387 2014-07-02 Roland McGrath <roland@hack.frob.com>
1389 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1391 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1393 * intl/loadmsgcat.c: Remove declaration of
1394 get_sysdep_segment_value.
1395 (get_sysdep_segment_value): Use ISO C style.
1396 (_nl_load_domain): Use ISO C style. Get rid of redundant
1397 semicolon. Fix typo and formatting in comment.
1398 (_nl_unload_domain): Use ISO C style.
1400 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1402 2014-07-02 Will Newton <will.newton@linaro.org>
1404 * malloc/obstack.c: Merge from gnulib master.
1405 [HAVE_CONFIG_H]: Remove conditional code.
1406 [!_LIBC]: Include config.h.
1407 [!ELIDE_CODE]: Don't include inttypes.h, include
1408 stdint.h unconditionally.
1409 (print_and_abort): Mark as _Noreturn.
1410 (_obstack_allocated_p): Mark as __attribute_pure__.
1411 (obstack_free): Rename to __obstack_free.
1412 [!__attribute__]: Remove conditional code.
1413 * malloc/obstack.h: Merge from gnulib master.
1414 [__cplusplus]: Move conditional down.
1415 [!__attribute_pure__]: Define __attribute_pure__ here
1416 if it is not already defined.
1417 (_obstack_memory_used): Mark as __attribute_pure__.
1418 [!__obstack_free]: Define as obstack_free.
1419 [__GNUC__]: Remove check for ancient NeXT gcc.
1421 2014-07-02 Will Newton <will.newton@linaro.org>
1422 Paul Eggert <eggert@cs.ucla.edu>
1424 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1426 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * resolv/gethnamaddr.c: Add comment warning that the file is
1431 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1433 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1436 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1437 entry for aio_cancel and aio_cancel64.
1438 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1439 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1440 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1441 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1442 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1443 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1445 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1446 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1447 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1448 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1449 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1450 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1452 2014-07-01 Roland McGrath <roland@hack.frob.com>
1454 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1455 * nptl/pthread_mutex_lock.c: Likewise.
1456 * nptl/pthread_mutex_timedlock.c: Likewise.
1457 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1459 2014-07-01 Richard henderson <rth@redhat.com>
1461 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1462 (__isnan, __isnanl): Remove.
1463 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1465 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1467 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1469 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1471 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1473 * resolv/nss_dns/dns-host.c (getanswer_r)
1474 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1476 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1479 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1481 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1482 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1484 2014-07-01 Roland McGrath <roland@hack.frob.com>
1486 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1487 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1489 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1490 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1492 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1493 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1495 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1496 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1498 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1499 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1500 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1501 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1503 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1504 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1505 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1509 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1511 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1514 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1516 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1518 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1520 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1522 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1526 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1532 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1535 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1536 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1537 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1538 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1539 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1541 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1543 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1544 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1545 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1548 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1552 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1554 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1555 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1557 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1559 * sysdeps/arm/libm-test-ulps: Regenerated.
1561 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1562 Roland McGrath <roland@hack.frob.com>
1564 * test-skeleton.c (signal_handler): Kill the whole process group
1565 before killing the child individually.
1566 (main): Report any failure on `setpgid'.
1568 2014-06-30 Roland McGrath <roland@hack.frob.com>
1570 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1571 from _TLS_H to _ARM_NPTL_TLS_H.
1572 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1573 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1575 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1579 (__expm1l): Return argument unchanged when small but not
1582 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1584 (_FP_UNPACK_RAW_1_P): Likewise.
1585 (_FP_PACK_RAW_1): Likewise.
1586 (_FP_PACK_RAW_1_P): Likewise.
1587 (_FP_MUL_MEAT_1_wide): Likewise.
1588 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1589 (_FP_MUL_MEAT_1_hard): Likewise.
1590 (_FP_DIV_MEAT_1_imm): Likewise.
1591 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1592 (_FP_DIV_MEAT_1_udiv): Likewise.
1593 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1594 (_FP_UNPACK_RAW_2): Likewise.
1595 (_FP_UNPACK_RAW_2_P): Likewise.
1596 (_FP_PACK_RAW_2): Likewise.
1597 (_FP_PACK_RAW_2_P): Likewise.
1598 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1599 (_FP_MUL_MEAT_2_wide): Likewise.
1600 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1601 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1602 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1603 (_FP_MUL_MEAT_2_gmp): Likewise.
1604 (_FP_DIV_MEAT_2_udiv): Likewise.
1605 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1606 (_FP_FRAC_SRL_4): Likewise.
1607 (_FP_FRAC_SRST_4): Likewise.
1608 (_FP_FRAC_SRS_4): Likewise.
1609 (_FP_UNPACK_RAW_4): Likewise.
1610 (_FP_UNPACK_RAW_4_P): Likewise.
1611 (_FP_PACK_RAW_4): Likewise.
1612 (_FP_PACK_RAW_4_P): Likewise.
1613 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1614 (_FP_MUL_MEAT_4_wide): Likewise.
1615 (_FP_MUL_MEAT_4_gmp): Likewise.
1616 (umul_ppppmnnn): Likewise.
1617 (_FP_DIV_MEAT_4_udiv): Likewise.
1618 (__FP_FRAC_ADD_4): Likewise.
1619 (__FP_FRAC_SUB_3): Likewise.
1620 (__FP_FRAC_SUB_4): Likewise.
1621 (__FP_FRAC_DEC_3): Likewise.
1622 (__FP_FRAC_DEC_4): Likewise.
1623 (__FP_FRAC_ADDI_4): Likewise.
1624 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1625 (_FP_FRAC_SRL_8): Likewise.
1626 (_FP_FRAC_SRS_8): Likewise.
1628 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1630 (FP_UNPACK_RAW_EP): Likewise.
1631 (FP_PACK_RAW_E): Likewise.
1632 (FP_PACK_RAW_EP): Likewise.
1633 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1634 (_FP_ISSIGNAN): Likewise.
1635 (_FP_ADD_INTERNAL): Likewise.
1636 (_FP_FMA): Likewise.
1637 (_FP_CMP): Likewise.
1638 (_FP_SQRT): Likewise.
1639 (_FP_TO_INT): Likewise.
1640 (_FP_FROM_INT): Likewise.
1641 (FP_EXTEND): Likewise.
1642 (_FP_DIV_MEAT_N_loop): Likewise.
1644 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1646 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1649 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1652 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1653 result with correct sign in case of exponents that produce
1654 overflow except for X very close to 1.
1656 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1658 mktime: merge #if/#ifdef usage from glibc
1659 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1660 as that works with both Glibc's and Gnulib's style.
1661 See thread starting at Siddhesh Poyarekar's bug report at:
1662 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1664 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1666 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1667 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1668 * sysdeps/tile/tilegx/memmove.c: Remove file.
1670 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1672 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1673 abi-name definition.
1674 * scripts/soversions.awk: Do not handle or generate ABI lines.
1675 * shlib-versions: Remove ABI entries.
1676 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1677 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1679 2014-06-27 Roland McGrath <roland@hack.frob.com>
1681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1682 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1683 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1689 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1696 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1705 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1712 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1715 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1717 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1722 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1724 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1726 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1729 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1734 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1735 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1737 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1742 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1745 Identical file removed.
1746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1748 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1750 Identical file removed.
1751 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1752 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1753 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1755 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1757 Identical file removed.
1758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1761 Identical file removed.
1762 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1765 Identical file removed.
1766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1769 Identical file removed.
1770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1772 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1774 Identical file removed.
1775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1777 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1781 Identical file removed.
1782 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1784 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1786 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1787 Identical file removed.
1788 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1790 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1792 Identical file removed.
1793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1795 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1796 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1802 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1804 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1806 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1807 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1808 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1809 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1810 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1812 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1815 * nscd/nscd.c (monitor_child): Return exit status of child
1816 instead of return value from wait syscall.
1818 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1820 * configure.ac (libc_commonpagesize): Remove variable.
1821 (libc_relro_required): Likewise.
1822 (libc_cv_z_relro): Remove configure test.
1823 * configure: Regenerated.
1824 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1826 (libc_relro_required): Likewise.
1827 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1828 (libc_relro_required): Likewise.
1829 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1830 (libc_relro_required): Likewise.
1831 * sysdeps/arm/preconfigure: Regenerated.
1832 * sysdeps/ia64/preconfigure: Remove file.
1833 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1835 (libc_relro_required): Likewise.
1839 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1840 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1841 recompute overflowing results in original rounding mode.
1842 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1843 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1844 recompute overflowing results in original rounding mode.
1845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1846 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1847 recompute overflowing results in original rounding mode.
1848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1849 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1850 recompute overflowing results in original rounding mode.
1851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1852 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1853 recompute overflowing results in original rounding mode.
1854 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1855 (libc_feholdsetround_ctx): New macro.
1856 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1857 * sysdeps/i386/fpu/libm-test-ulps: Update.
1858 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1860 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1862 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1863 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1864 corresponding .cpsetup call.
1866 2014-06-26 Roland McGrath <roland@hack.frob.com>
1868 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1869 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1870 * sysdeps/arm/Makefile [$(subdir) = csu]
1871 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1872 (static-only-routines): Add aeabi_read_tp here.
1873 (shared-only-routines): Add libc-aeabi_read_tp here.
1874 (CFLAGS-libc-start.c): Add -fexceptions here.
1875 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1876 (sysdep_routines, static-only-routines, shared-only-routines):
1877 Don't add to these here.
1878 (CFLAGS-libc-start.c): Likewise.
1880 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1881 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1882 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1883 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1884 * sysdeps/arm/Makefile [$(subdir) = rt]
1885 (librt-sysdep_routines, librt-shared-only-routines):
1886 Append rt-aeabi_unwind_cpp_pr1 here.
1887 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1888 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1889 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1890 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1891 Append nptl-aeabi_unwind_cpp_pr1 here.
1892 (tests): Filter out tst-cleanupx4 here.
1893 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1894 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1895 Don't do those here.
1897 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1899 * scripts/list-sources.sh: Do not handle ports specially.
1901 2014-06-26 Roland McGrath <roland@hack.frob.com>
1903 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1904 * sysdeps/arm/feupdateenv.c: Likewise.
1906 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1908 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1910 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1911 trailing whitespace removed.
1912 * scripts/config.guess: Update to version 2014-03-23.
1913 * scripts/config.sub: Update to version 2014-05-01
1914 * scripts/install-sh: Update to version 2013-12-25.23.
1915 * scripts/move-if-change: Update from gnulib.
1917 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1919 * debug/memmove_chk.c: Remove pagecopy.h include.
1921 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1923 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1924 identical to gnulib mktime.
1926 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1928 * configure.ac: Do not test for machine being rs6000. Do not test
1930 * configure: Regenerated.
1932 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1934 * configure: Regenerated.
1935 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1936 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1937 Remove configure test.
1938 * sysdeps/arm/configure: Regenerated.
1939 * sysdeps/nptl/configure.ac: Do not check
1940 libc_cv_asm_cfi_directives.
1941 * sysdeps/nptl/configure: Regenerated.
1942 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1943 * sysdeps/x86_64/nptl/configure: Remove generated file.
1944 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1946 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1948 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1950 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1951 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1952 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1955 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1956 instead of whether it is defined.
1957 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1958 * sysdeps/hppa/dl-machine.h: Likewise.
1959 * sysdeps/ia64/dl-machine.h: Likewise.
1960 * sysdeps/m68k/dl-machine.h: Likewise.
1961 * sysdeps/microblaze/dl-machine.h: Likewise.
1962 * sysdeps/mips/dl-machine.: Likewise.
1963 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1964 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1965 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1966 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1967 * sysdeps/sh/dl-machine.h: Likewise.
1968 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1969 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1970 * sysdeps/tile/dl-machine.h: Likewise.
1971 * sysdeps/x86_64/dl-machine.h: Likewise.
1973 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1975 (verify_persistent_db): Likewise.
1977 2014-06-26 Roland McGrath <roland@hack.frob.com>
1979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1980 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1985 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1988 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1990 Identical file removed.
1991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1992 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1996 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2003 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2010 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2014 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2016 Identical file removed.
2017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2018 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2020 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2023 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2028 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2030 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2034 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2037 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2040 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2042 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2045 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2051 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2052 * sysdeps/unix/sysv/linux/s390/Versions
2053 (libpthread: GLIBC_2.19): New version set.
2054 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2055 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2056 (librt: GLIBC_2.3.3): New version set.
2057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2058 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2059 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2060 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2061 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2063 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2065 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2067 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2068 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2069 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2070 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2071 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2073 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2075 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2077 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2078 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2079 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2080 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2081 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2082 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2083 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2084 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2085 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2086 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2087 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2091 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2093 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2095 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2097 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2099 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2101 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2104 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2105 (__libc_vfork): Define the function under this name.
2106 [!NOT_IN_libc] (__vfork): Make this an alias.
2107 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2109 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2110 (__libc_vfork): Define the function under this name.
2111 [!NOT_IN_libc] (__vfork): Make this an alias.
2112 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2113 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2114 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2120 code that was previously under [RESET_PID].
2121 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2125 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2126 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2127 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2128 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2129 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2130 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2131 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2132 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2133 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2134 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2135 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2137 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2139 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2141 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2143 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2149 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2150 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2151 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2153 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2154 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2155 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2156 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2157 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2158 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2159 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2160 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2161 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2162 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2163 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2164 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2165 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2167 2014-06-25 Roland McGrath <roland@hack.frob.com>
2169 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2170 that was previously under [RESET_PID].
2171 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2173 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2175 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2176 not undefine and redefine.
2177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2178 [O_CLOEXEC]: Make code unconditional.
2179 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2180 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2181 <kernel-features.h>.
2182 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2183 conditional variable definition.
2184 (shm_open) [O_CLOEXEC]: Make code unconditional.
2185 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2188 * configure.ac (USE_REGPARMS): Don't define here.
2189 * configure: Regenerated.
2190 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2191 * sysdeps/i386/configure: Regenerated.
2193 * nptl/createthread.c: Don't include kernel-features.h.
2194 * nptl/pthread_cancel.c: Likewise.
2195 * nptl/pthread_condattr_setclock.c: Likewise.
2196 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2197 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2198 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2199 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2200 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2201 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2202 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2205 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2206 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2207 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2208 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2209 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2210 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2211 * nscd/gai.c: Likewise.
2212 * nss/nss_db/db-open.c: Likewise.
2213 * sysdeps/generic/ldsodefs.h: Likewise.
2214 * sysdeps/sh/nptl/tls.h: Likewise.
2215 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2216 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2217 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2218 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2219 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2220 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2221 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2222 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2224 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2225 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2226 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2227 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2228 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2229 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2230 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2231 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2232 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2233 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2234 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2235 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2236 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2237 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2238 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2239 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2240 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2242 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2243 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2244 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2245 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2246 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2247 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2248 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2249 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2250 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2251 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2252 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2253 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2254 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2255 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2256 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2257 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2258 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2259 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2260 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2261 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2262 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2263 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2264 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2265 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2266 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2267 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2268 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2269 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2270 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2295 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2296 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2297 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2298 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2299 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2300 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2301 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2302 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2303 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2304 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2305 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2306 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2307 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2308 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2309 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2310 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2313 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2314 * sysdeps/unix/sysv/linux/system.c: Likewise.
2315 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2316 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2317 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2318 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2319 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2321 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2323 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2324 * configure: Regenerated.
2325 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2327 * configure.ac (base_machine): Do not set specially for particular
2329 * configure: Regenerated.
2330 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2331 settings from configure.ac.
2332 * sysdeps/i386/preconfigure: New file.
2333 * sysdeps/s390/preconfigure: Likewise.
2334 * sysdeps/sh/preconfigure: Likewise.
2335 * sysdeps/sparc/preconfigure: Likewise.
2337 2014-06-25 Roland McGrath <roland@hack.frob.com>
2339 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2340 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2341 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2342 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2343 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2344 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2345 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2346 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2347 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2348 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2349 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2350 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2351 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2353 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2354 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2356 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2357 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2359 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2360 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2361 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2362 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2363 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2364 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2365 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2366 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2367 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2368 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2369 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2370 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2371 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2372 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2373 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2374 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2375 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2376 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2377 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2378 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2379 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2380 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2381 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2382 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2384 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2386 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2388 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2389 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2390 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2392 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2393 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2394 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2395 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2396 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2404 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2429 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2431 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2435 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2437 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2440 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2443 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2445 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2471 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2473 * timezone/checktab.awk: Update from tzcode 2014e.
2474 * timezone/private.h: Likewise.
2475 * timezone/tzfile.h: Likewise.
2476 * timezone/zdump.c: Likewise.
2477 * timezone/zic.c: Likewise.
2479 * sysdeps/unix/sysv/linux/kernel-features.h
2480 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2481 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2482 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2483 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2484 Remove conditional code.
2486 2014-06-25 Will Newton <will.newton@linaro.org>
2488 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2489 (_dl_arm_cap_flags): Add HWCAP2 values.
2490 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2491 (_DL_HWCAP_COUNT): Increase to 37.
2492 (_DL_HWCAP_LAST): New define.
2493 (_DL_HWCAP2_LAST): New define.
2494 (_dl_procinfo): Add support for printing
2496 (_dl_string_hwcap): Use _dl_hwcap_string.
2498 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2502 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2504 * README: Do not mention ports directory.
2506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2508 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2509 <kernel-features.h>.
2510 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2511 conditional variable definition.
2512 (__futimes): Update comment.
2513 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2514 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2517 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2518 arguments close to 0.
2519 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2523 * math/auto-libm-test-in: Add more tests of exp10.
2524 * math/auto-libm-test-out: Regenerated.
2525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2527 * sysdeps/unix/sysv/linux/kernel-features.h
2528 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2529 * sysdeps/unix/sysv/linux/readv.c: Do not include
2530 <kernel-features.h>.
2531 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2532 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2533 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2535 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2537 * sysdeps/unix/sysv/linux/writev.c: Do not include
2538 <kernel-features.h>.
2539 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2540 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2541 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2543 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2546 2014-06-25 Will Newton <will.newton@linaro.org>
2548 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2549 comment changes throughout the file. Remove checks
2550 for HAVE_*_H definitions that are not required.
2551 (__gen_tempname): Call abort if an unknown kind value is
2554 2014-06-25 Andreas Schwab <schwab@suse.de>
2557 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2558 scalbln, scalblnf, scalblnl in libc.
2560 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2564 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2565 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2567 2014-06-24 Roland McGrath <roland@hack.frob.com>
2569 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2570 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2571 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2572 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2574 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2575 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2577 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2578 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2579 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2580 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2581 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2582 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2583 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2584 * sysdeps/x86/bits/semaphore.h: ... here.
2585 * sysdeps/x86/nptl/elide.h: Moved ...
2586 * sysdeps/x86/elide.h: ... here.
2587 * sysdeps/x86_64/nptl/Implies: File removed.
2588 * sysdeps/i386/nptl/Implies: File removed.
2590 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2594 return the argument for normal arguments with exponent below -64.
2595 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2597 * math/auto-libm-test-in: Add another test of expm1.
2598 * math/auto-libm-test-out: Regenerated.
2601 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2602 calling __erfcl for arguments at least 16.
2603 * math/auto-libm-test-in: Add more tests of erf.
2604 * math/auto-libm-test-out: Regenerated.
2606 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2607 individual architectures.
2608 * sysdeps/unix/sysv/linux/configure: Regenerated.
2609 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2610 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2611 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2612 (ldd_rewrite_script): Define variable.
2613 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2618 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2619 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2620 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2621 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2622 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2623 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2624 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2625 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2627 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2630 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2631 Rename member __data.d to __data.__elision_data.
2633 2014-06-24 Wilco <wdijkstr@arm.com>
2635 * NEWS: Add 16918 to fixed bug list.
2637 2014-06-24 Wilco <wdijkstr@arm.com>
2639 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2641 2014-06-24 Wilco <wdijkstr@arm.com>
2643 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2644 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2645 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2646 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2647 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2648 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2649 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2652 2014-06-24 Wilco <wdijkstr@arm.com>
2654 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2656 2014-06-24 Wilco <wdijkstr@arm.com>
2658 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2659 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2660 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2661 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2663 2014-06-24 Wilco <wdijkstr@arm.com>
2666 * sysdeps/arm/feupdateenv.c (feupdateenv):
2667 Rewrite to reduce FPSCR accesses and fix return value.
2669 2014-06-24 Wilco <wdijkstr@arm.com>
2671 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2672 Optimize to avoid unnecessary FPSCR writes.
2673 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2674 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2675 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2676 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2678 2014-06-24 Wilco <wdijkstr@arm.com>
2680 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2681 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2682 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2683 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2684 Call libc_fetestexcept_vfp.
2685 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2686 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2687 __SOFTFP__ ifdef so that they can be built for softfp.
2689 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2691 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2692 argument type signed char.
2694 * Makerules (check-abi): Dump diff of symlist if the test
2697 2014-06-23 Roland McGrath <roland@hack.frob.com>
2699 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2702 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2703 Remove unused variable ST.
2705 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2709 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2710 small arguments before calling __expm1.
2711 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2712 small arguments before calling __expm1f.
2713 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2714 small arguments before calling __expm1l.
2715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2717 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2718 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2719 spurious underflow for some cosh tests.
2720 * math/auto-libm-test-out: Regenerated.
2721 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2725 (__ieee754_y1): Set errno if return value overflows.
2726 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2727 (__ieee754_y1f): Set errno if return value overflows.
2728 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2729 (__ieee754_y1l): Set errno if return value overflows.
2730 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2731 (__ieee754_y1l): Set errno if return value overflows.
2732 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2733 * math/auto-libm-test-out: Regenerated.
2735 * math/gen-auto-libm-tests.c: Document use of
2736 ignore-zero-inf-sign.
2737 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2738 (input_flags): Add ignore-zero-inf-sign.
2739 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2740 * math/gen-libm-test.pl (generate_testfile): Handle
2741 ignore-zero-inf-sign.
2742 * math/auto-libm-test-in: Mark some cpow tests with
2743 ignore-zero-inf-sign and some with xfail-rounding.
2744 * math/auto-libm-test-out: Regenerated.
2745 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2746 * sysdeps/i386/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2751 overflowing or underflowing operations take place with sign of
2753 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2754 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2755 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2756 (__ieee754_pow): Recompute overflowing and underflowing results in
2757 original rounding mode.
2758 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2759 (__powl_helper): Allow negative argument X and scale negated value
2760 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2761 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2762 overflowing or underflowing operations take place with sign of
2764 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2766 * math/auto-libm-test-in: Add more tests of pow.
2767 * math/auto-libm-test-out: Regenerated.
2768 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2769 (pow_tonearest_test_data): Remove.
2770 (pow_test_tonearest): Likewise.
2771 (pow_towardzero_test_data): Likewise.
2772 (pow_test_towardzero): Likewise.
2773 (pow_downward_test_data): Likewise.
2774 (pow_test_downward): Likewise.
2775 (pow_upward_test_data): Likewise.
2776 (pow_test_upward): Likewise.
2777 (main): Don't call removed functions.
2778 * sysdeps/i386/fpu/libm-test-ulps: Update.
2779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781 2014-06-23 Roland McGrath <roland@hack.frob.com>
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2957 2014-06-23 Will Newton <will.newton@linaro.org>
2958 Wilco <wdijkstr@arm.com>
2960 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2961 implementation. Include get-rounding-mode.h.
2962 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2963 [!libc_feholdsetround_noex_ctx]: Define
2964 libc_feholdsetround_noex_ctx.
2965 [!libc_feholdsetround_noexf_ctx]: Define
2966 libc_feholdsetround_noexf_ctx.
2967 [!libc_feholdsetround_noexl_ctx]: Define
2968 libc_feholdsetround_noexl_ctx.
2969 (libc_feholdsetround_ctx): New function.
2970 (libc_feresetround_ctx): New function.
2971 (libc_feholdsetround_noex_ctx): New function.
2972 (libc_feresetround_noex_ctx): New function.
2974 2014-06-23 Roland McGrath <roland@hack.frob.com>
2976 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2977 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2978 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2979 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2980 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2981 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2983 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2984 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2985 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2986 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2987 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2988 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2989 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2990 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2992 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2995 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3003 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3005 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3006 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3007 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3012 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3015 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3017 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3020 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3022 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3023 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3024 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3025 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3026 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3027 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3031 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3033 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3034 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3036 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3040 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3047 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3054 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3055 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3056 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3057 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3058 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3060 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3061 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3063 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3069 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3070 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3071 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3072 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3073 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3075 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3077 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3079 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3080 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3081 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3083 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3084 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3085 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3086 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3087 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3089 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3092 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3093 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3094 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3095 (IPV6_PMTUDISC_INTERFACE): Likewise.
3096 (IPV6_PMTUDISC_OMIT): Likewise.
3098 2014-06-23 Andreas Schwab <schwab@suse.de>
3100 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3101 Remove unused errout label.
3103 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3106 macro: hardware supports Vector Crypto instructions.
3108 2014-06-23 Will Newton <will.newton@linaro.org>
3110 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3111 rather than __builtin_expect.
3113 * elf/dl-lookup.c (undefined_msg): Remove variable.
3114 (_dl_lookup_symbol_x): Replace undefined_msg with string
3117 * elf/dl-lookup.c (do_lookup_unique): New function.
3118 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3119 to a separate function.
3121 2014-06-23 Andreas Schwab <schwab@suse.de>
3124 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3125 before reading the next line.
3127 2014-06-23 Will Newton <will.newton@linaro.org>
3129 * test-skeleton.c (signal_handler): Use printf and %m
3130 rather than perror. Use printf rather than fprintf to
3131 stderr. Use puts rather than fputs to stderr.
3134 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3136 * nscd/nscd.c (thread_info_t): Remove typedef.
3137 (thread_info): Remove variable.
3139 2014-06-21 Allan McRae <allan@archlinux.org>
3141 * NEWS: Mention CVE-2014-4043.
3143 2014-06-20 Roland McGrath <roland@hack.frob.com>
3145 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3146 * nptl/smp.h: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3150 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3151 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3152 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3153 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3155 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3156 * nptl/stack-aliasing.h: New file.
3157 * sysdeps/i386/i686/stack-aliasing.h: New file.
3158 * sysdeps/i386/i686/nptl/Makefile: File removed.
3159 * sysdeps/x86_64/stack-aliasing.h: New file.
3160 * sysdeps/x86_64/nptl/Makefile
3161 (CFLAGS-pthread_create.c): Variable removed.
3163 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3164 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3166 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3167 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3170 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3173 (__ASSUME_SIGFRAME_V2): Remove macro.
3174 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3175 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3176 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3177 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3178 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3179 Declare as function. Remove conditional macro definitions.
3180 (__default_rt_sa_restorer): Likewise.
3181 (__default_sa_restorer_v1): Remove declaration.
3182 (__default_sa_restorer_v2): Likewise.
3183 (__default_rt_sa_restorer_v1): Likewise.
3184 (__default_rt_sa_restorer_v2): Likewise.
3185 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3186 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3187 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3189 2014-06-20 Roland McGrath <roland@hack.frob.com>
3191 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3192 (libpthread-routines): Add sysdep.
3193 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3194 * sysdeps/unix/sysv/linux/sparc/Versions
3195 (libpthread: GLIBC_2.3.3): New version set.
3196 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3197 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3198 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3200 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3201 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3203 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3205 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3207 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3209 * sysdeps/sparc/nptl/sem_init.c: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3211 * sysdeps/sparc/nptl/sem_post.c: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3213 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3215 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3217 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3218 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3219 (libpthread-routines): Add cpu_relax.
3220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3222 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3223 (librt: GLIBC_2.3.3): New version set.
3224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3225 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3226 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3227 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3230 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3233 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3235 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3237 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3239 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3241 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3244 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3252 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3256 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3260 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3264 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3267 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3275 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3278 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3284 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3286 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3287 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3288 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3289 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3290 * nscd/nscd.c: Likewise.
3291 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3292 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3293 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3294 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3296 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3297 <kernel-features.h>.
3298 (init_mq_netlink): Remove conditional have_sock_cloexec
3299 definitions. Remove code conditional on have_sock_cloexec < 0.
3300 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3301 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3302 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3303 <kernel-features.h>.
3304 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3305 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3307 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3310 Add tests for memset_chk and memset.
3312 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3315 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3318 * elf/tst-dl-iter-static.c: New file.
3319 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3321 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3324 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3326 * sysdeps/unix/sysv/linux/kernel-features.h
3327 (__ASSUME_F_GETOWN_EX): Remove macro.
3328 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3329 <kernel-features.h>.
3330 (miss_F_GETOWN_EX): Remove variable or macro.
3331 (do_fcntl): Do not check miss_F_GETOWN_EX.
3332 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3337 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3338 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3340 * sysdeps/unix/sysv/linux/kernel-features.h
3341 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3342 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3343 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3344 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3346 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3349 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3350 Fix calculation of the symbol's value.
3351 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3352 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3353 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3354 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3355 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3356 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3357 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3358 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3359 (modules-names): Add `tst-armtlsdescmod',
3360 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3361 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3362 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3363 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3364 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3365 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3366 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3367 ($(objpfx)tst-armtlsdescloc): New dependency.
3368 ($(objpfx)tst-armtlsdescextnow): Likewise.
3369 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3370 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3372 * sysdeps/arm/configure: Regenerate.
3374 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3376 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3377 (__atfct_seterrno_2): Likewise.
3378 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3379 <kernel-features.h>.
3380 (__ASSUME_ATFCTS): Do not undefine and redefine.
3381 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3382 (__have_atfcts): Remove conditional definition.
3383 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3384 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3385 unreachable if [__ASSUME_ATFCTS].
3386 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3387 not undefine and redefine.
3388 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3389 <kernel-features.h>.
3390 (faccessat) [__NR_faccessat]: Make code unconditional.
3391 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3393 <kernel-features.h>.
3394 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3395 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3396 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3397 <kernel-features.h>.
3398 (fchownat) [__NR_fchownat]: Make code unconditional.
3399 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3400 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3401 <kernel-features.h>.
3402 (futimesat) [__NR_futimesat]: Make code unconditional.
3403 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3404 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3405 <kernel-features.h>.
3406 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3407 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3408 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3409 <kernel-features.h>.
3410 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3411 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3412 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3413 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3414 <kernel-features.h>.
3415 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3416 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3417 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3418 <kernel-features.h>.
3419 (linkat) [__NR_linkat]: Make code unconditional.
3420 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3421 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3422 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3423 <kernel-features.h>.
3424 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3425 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3426 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3427 <kernel-features.h>.
3428 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3429 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3430 * sysdeps/unix/sysv/linux/openat.c: Do not include
3431 <kernel-features.h>.
3432 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3433 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3434 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3435 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3436 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3437 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3438 <kernel-features.h>.
3439 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3440 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3441 result of INLINE_SYSCALL directly, not via int variable.
3442 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3443 <kernel-features.h>.
3444 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3445 (renameat) [__NR_renameat]: Make code unconditional.
3446 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3447 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3448 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3449 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3451 (__ASSUME_ATFCTS): Do not undefine and redefine.
3452 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3453 <kernel-features.h>.
3454 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3455 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3456 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3457 <kernel-features.h>.
3458 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3459 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3460 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3461 (__ASSUME_ATFCTS): Do not undefine and redefine.
3462 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3463 <kernel-features.h>.
3464 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3465 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3467 <kernel-features.h>.
3468 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3469 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3471 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3473 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3475 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3478 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3479 constructed tree before returning error.
3480 * posix/bug-regexp36.c: Expand test case.
3482 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3485 * math/libm-test.inc (scalbln_test_date):
3486 Add errno expectations.
3487 * math/w_scalblnf.c: New File.
3488 Add wrapper which checks for setting errno to ERANGE.
3489 Add weak_alias for corresponding scalbln function.
3490 * math/w_scalbln.c: Likewise.
3491 * math/w_scalblnl.c: Likewise.
3492 * math/Makefile (libm-calls): Add w_scalbln.
3493 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3494 Remove weak_alias for corresponding scalbln function.
3495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3498 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3499 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3500 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3501 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3502 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3503 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3504 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3505 Remove long_double_symbol for scalblnl function in libm, libc.
3506 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3507 Add wrapper which checks for setting errno to ERANGE.
3508 Add long_double_symbol for scalblnl function in libm, libc.
3509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3510 Remove long_double_symbol for scalblnl in libm.
3511 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3512 Add wrapper which checks for setting errno to ERANGE.
3513 Add long_double_symbol for scalblnl function in libm.
3514 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3515 Do not use wrapper because of own implementation.
3517 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3520 3 bytes for __pad1 for x32.
3521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3523 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3524 H.J. Lu <hongjiu.lu@intel.com>
3526 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3527 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3528 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3529 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3530 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3532 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3535 * posix/regcomp.c (parse_expression): Deallocate partially
3536 constructed tree before returning error.
3537 * posix/Makefile.c (tests): Add bug-regex36.
3538 (generated): Add bug-regex36.mtrace.
3539 (tests-special): Add $(objpfx)bug-regex36-mem.out
3540 (bug-regex36-ENV): New variable.
3541 ($(objpfx)bug-regex36-mem.out): New rule.
3542 * posix/bug-regex36.c: New file.
3544 2014-06-19 Will Newton <will.newton@linaro.org>
3546 * malloc/malloc.c (systrim): If extra is zero then return
3549 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3551 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3553 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3555 * sysdeps/aarch64/strchr.S: New file.
3557 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3561 from arguments -2 or below.
3562 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3563 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3565 2014-06-18 Andreas Schwab <schwab@suse.de>
3568 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3569 of a bracket expr not to run off the end of the string.
3570 * posix/Makefile (tests): Add tst-fnmatch3.
3571 * posix/tst-fnmatch3.c: New file.
3573 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3575 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3576 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3577 [$(cross-compiling) = no]: Likewise.
3578 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3579 [$(cross-compiling) = no]: Likewise.
3581 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3585 double, adjusted for any remainder from the high double.
3586 * math/libm-test.inc (nearbyint): Add tests.
3589 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591 * nptl/sysdeps/powerpc/Makefile: Moved ...
3592 * sysdeps/powerpc/nptl/Makefile: ... here.
3593 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3594 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3595 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3596 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3597 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3598 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3599 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3600 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3601 * nptl/sysdeps/powerpc/tls.h: Moved ...
3602 * sysdeps/powerpc/nptl/tls.h: ... here.
3604 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3607 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3608 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3609 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3610 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3611 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3612 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3613 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3614 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3615 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3617 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3619 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3621 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3623 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3626 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3629 2014-06-16 Florian Weimer <fweimer@redhat.com>
3632 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3633 non-executed part of the test.
3635 2014-06-16 Andreas Schwab <schwab@suse.de>
3637 * string/bits/string2.h (strdup, strndup): Update feature guard.
3639 2014-06-14 David S. Miller <davem@davemloft.net>
3641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3643 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3645 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3646 that was previously under [RESET_PID].
3647 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3649 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3650 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3651 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3652 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3653 (__libc_vfork): New strong alias.
3654 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3656 2014-06-14 Andi Kleen <ak@linux.intel.com>
3658 * sysdeps/generic/elide.h: New file.
3660 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3662 * Makefile (installed-headers): Adjust path of pthread.h header.
3664 2014-06-13 Roland McGrath <roland@hack.frob.com>
3666 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3667 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3669 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3671 * nptl/sysdeps/s390/Makefile: Moved ...
3672 * sysdeps/s390/nptl/Makefile: ... here.
3673 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3674 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3675 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3676 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3677 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3678 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3679 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3680 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3681 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3682 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3683 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3684 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3685 * nptl/sysdeps/s390/tls.h: Moved ...
3686 * sysdeps/s390/nptl/tls.h: ... here.
3688 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3689 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3691 2014-06-13 David S. Miller <davem@davemloft.net>
3693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3700 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3701 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3702 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3703 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3704 Remove RESET_PID cpp guards.
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3706 Remove RESET_PID cpp guards.
3707 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3709 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3711 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3714 2014-06-13 Andi Kleen <ak@linux.intel.com>
3716 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3717 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3718 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3719 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3723 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3724 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3726 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3727 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3728 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3729 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3730 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3731 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3733 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3734 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3735 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3737 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3738 (pthread_rwlock_rdlock): Add elision.
3739 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3740 (pthread_rwlock_wrlock): Add elision.
3741 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3742 (pthread_rwlock_trywrlock): Add elision.
3743 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3744 (pthread_rwlock_tryrdlock): Add elision.
3745 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3746 (pthread_rwlock_tryrdlock): Add elision unlock.
3747 * nptl/sysdeps/pthread/pthread.h:
3748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3749 (PTHREAD_RWLOCK_INITIALIZER,
3750 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3751 Handle new elision field.
3752 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3753 * sysdeps/arm/nptl/bits/pthreadtypes.h
3754 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3755 * sysdeps/sh/nptl/bits/pthreadtypes.h
3756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3757 * sysdeps/tile/nptl/bits/pthreadtypes.h
3758 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3759 * sysdeps/a/nptl/bits/pthreadtypes.h
3760 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3761 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3763 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3765 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3767 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3769 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3771 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3773 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3775 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3777 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3778 (elision_init): Set try_xbegin to zero when no RTM.
3779 * sysdeps/x86/nptl/bits/pthreadtypes.h
3780 (pthread_rwlock_t): Change __pad1 to __rwelision.
3781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3783 2014-06-13 Andi Kleen <ak@linux.intel.com>
3785 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3786 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3787 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3788 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3790 2014-06-13 Meador Inge <meadori@codesourcery.com>
3793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3794 that the cached result has been set before returning it.
3796 2014-06-12 Roland McGrath <roland@hack.frob.com>
3798 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3799 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3801 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3803 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3805 * nptl/sysdeps/sparc/Makefile: Moved ...
3806 * sysdeps/sparc/nptl/Makefile: ... here.
3807 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3808 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3809 * nptl/sysdeps/sparc/tls.h: Moved ...
3810 * sysdeps/sparc/nptl/tls.h: ... here.
3811 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3812 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3813 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3814 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3815 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3816 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3817 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3818 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3819 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3820 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3821 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3822 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3823 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3824 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3825 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3826 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3827 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3830 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3833 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3836 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3837 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3840 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3842 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3843 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3845 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3846 (struct list_links): Type removed.
3847 (struct thread_node, struct timer_node): Replace struct list_links
3848 with struct list_head.
3849 (list_unlink_ip): Likewise.
3850 * sysdeps/pthread/timer_routines.c
3851 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3852 (list_append, list_insbefore): Likewise.
3853 (list_init): Function removed.
3854 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3855 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3856 * sysdeps/pthread/Makefile: ... here, new file.
3858 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3859 * sysdeps/nptl/Implies: ... here.
3860 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3861 * nptl/sysdeps/pthread/list.h: Moved ...
3862 * include/list.h: ... here.
3863 * nptl/sysdeps/pthread/createthread.c: Moved ...
3864 * nptl/createthread.c: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3866 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3867 * nptl/pt-longjmp.c: ... here.
3868 * nptl/sysdeps/pthread/Makefile: Moved ...
3869 * sysdeps/nptl/Makefile: ... here.
3870 * nptl/sysdeps/pthread/Subdirs: Moved ...
3871 * sysdeps/nptl/Subdirs: ... here.
3872 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3873 * sysdeps/nptl/aio_misc.h: ... here.
3874 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3875 * sysdeps/nptl/bits/libc-lock.h: ... here.
3876 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3877 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3878 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3879 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3880 * nptl/sysdeps/pthread/configure: Moved ...
3881 * sysdeps/nptl/configure: ... here.
3882 * nptl/sysdeps/pthread/configure.ac: Moved ...
3883 * sysdeps/nptl/configure.ac: ... here.
3884 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3885 * sysdeps/nptl/gai_misc.h: ... here.
3886 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3887 * sysdeps/nptl/librt-cancellation.c: ... here.
3888 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3889 * sysdeps/nptl/malloc-machine.h: ... here.
3890 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3891 * sysdeps/nptl/pthread-functions.h: ... here.
3892 * nptl/sysdeps/pthread/pthread.h: Moved ...
3893 * sysdeps/nptl/pthread.h: ... here.
3894 * nptl/sysdeps/pthread/setxid.h: Moved ...
3895 * sysdeps/nptl/setxid.h: ... here.
3896 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3897 * sysdeps/nptl/sigfillset.c: ... here.
3898 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3899 * sysdeps/nptl/tcb-offsets.h: ... here.
3900 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3901 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3902 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3903 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3904 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3905 * sysdeps/pthread/allocalim.h: ... here.
3906 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3907 * sysdeps/pthread/bits/sigthread.h: ... here.
3908 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3909 * sysdeps/pthread/flockfile.c: ... here.
3910 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3911 * sysdeps/pthread/ftrylockfile.c: ... here.
3912 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3913 * sysdeps/pthread/funlockfile.c: ... here.
3914 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3915 * sysdeps/pthread/posix-timer.h: ... here.
3916 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3917 * sysdeps/pthread/timer_create.c: ... here.
3918 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3919 * sysdeps/pthread/timer_delete.c: ... here.
3920 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3921 * sysdeps/pthread/timer_getoverr.c: ... here.
3922 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3923 * sysdeps/pthread/timer_gettime.c: ... here.
3924 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3925 * sysdeps/pthread/timer_routines.c: ... here.
3926 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3927 * sysdeps/pthread/timer_settime.c: ... here.
3928 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3929 * sysdeps/pthread/tst-timer.c: ... here.
3930 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3931 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3933 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3934 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3936 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3937 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3938 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3939 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3940 Update #include target.
3941 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3942 * sysdeps/i386/i686/nptl/Makefile: ... here.
3943 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3944 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3945 Update #include target.
3946 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3947 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3948 * nptl/sysdeps/i386/Makefile: Moved ...
3949 * sysdeps/i386/nptl/Makefile: ... here.
3950 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3951 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3952 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3953 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3954 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3955 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3956 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3957 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3958 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3959 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3960 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3961 * nptl/sysdeps/i386/tls.h: Moved ...
3962 * sysdeps/i386/nptl/tls.h: ... here.
3964 * sysdeps/sh/Makefile [$(subdir) = csu]
3965 (gen-as-const-headers): Add tcb-offsets.sym.
3966 * nptl/sysdeps/sh/Makefile: File removed.
3967 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3968 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3969 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3970 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3971 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3972 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3973 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3974 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3975 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3976 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3977 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3978 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3979 * nptl/sysdeps/sh/tls.h: Moved ...
3980 * sysdeps/sh/nptl/tls.h: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3982 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3984 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3986 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3988 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3990 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3992 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3994 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3996 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3998 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4000 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4002 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4003 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4004 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4007 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4010 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4012 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4014 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4015 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4016 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4018 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4019 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4020 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4021 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4022 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4023 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4024 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4026 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4030 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4032 * posix/spawn_faction_addopen.c: Include string.h.
4034 2014-06-11 Roland McGrath <roland@hack.frob.com>
4036 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4037 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4038 * nptl/sysdeps/x86_64/Makefile: Moved ...
4039 * sysdeps/x86_64/nptl/Makefile: ... here.
4040 * nptl/sysdeps/x86_64/configure: Moved ...
4041 * sysdeps/x86_64/nptl/configure: ... here.
4042 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4043 * sysdeps/x86_64/nptl/configure.ac: ... here.
4044 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4045 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4046 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4047 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4048 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4049 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4050 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4051 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4052 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4053 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4054 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4055 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4056 * nptl/sysdeps/x86_64/tls.h: Moved ...
4057 * sysdeps/x86_64/nptl/tls.h: ... here.
4058 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4059 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4060 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4061 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4063 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4065 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4069 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4071 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4073 [POSIX] (off_t): Likewise.
4074 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4075 [POSIX] (S_ISBLK): Require macro.
4076 [POSIX] (S_ISCHR): Likewise.
4077 [POSIX] (S_ISDIR): Likewise.
4078 [POSIX] (S_ISFIFO): Likewise.
4079 [POSIX] (S_ISREG): Likewise.
4080 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4082 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4084 [POSIX] (time_t): Likewise.
4085 [POSIX] (timer_t): Likewise.
4087 2014-06-11 Florian Weimer <fweimer@redhat.com>
4090 * posix/spawn_int.h (struct __spawn_action): Make the path string
4091 non-const to support deallocation.
4092 * posix/spawn_faction_addopen.c
4093 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4094 * posix/spawn_faction_destroy.c
4095 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4096 path in all spawn_do_open actions.
4097 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4098 posix_spawn_file_actions_addopen.
4100 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4102 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4103 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4104 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4105 conditional code always true.
4106 (__libc_vfork): New alias.
4108 2014-06-11 Roland McGrath <roland@hack.frob.com>
4110 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4111 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4113 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4115 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4116 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4118 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4119 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4121 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4122 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4124 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4126 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4127 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4128 multiarch strcmp for PPC64.
4129 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4130 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4132 multiarch optimizations.
4133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4134 (__libc_ifunc_impl_list): Likewise.
4136 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4138 * benchtests/scripts/validate_benchout.py: New script.
4139 * benchtests/Makefile (bench-func): Call it.
4140 * benchtests/scripts/benchout.schema.json: New file.
4142 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4144 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4145 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4146 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4147 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4148 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4149 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4150 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4151 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4152 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4153 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4154 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4155 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4156 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4157 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4158 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4159 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4263 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4264 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4269 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4271 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4285 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4288 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4293 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4295 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4296 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4297 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4298 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4299 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4301 2014-06-10 Wilco <wdijkstr@arm.com>
4303 * math/test-fenv-return.c: New file.
4304 * math/Makefile: Add new test test-fenv-return.
4306 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4309 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4311 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4312 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4313 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4314 0.0L for an argument of 1.0L.
4315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4317 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4318 value when x - 1 is zero.
4319 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4320 * sysdeps/i386/fpu/libm-test-ulps: Update.
4321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4326 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4328 2014-06-09 Roland McGrath <roland@hack.frob.com>
4330 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4331 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4333 2014-06-09 Roland McGrath <roland@hack.frob.com>
4335 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4336 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4338 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4339 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4341 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4342 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4344 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4345 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4347 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4348 if not already defined.
4349 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4350 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4351 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4352 (TLS_INIT_TP): Use it.
4353 (TLS_DEFINE_INIT_TP): New macro.
4354 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4356 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4358 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4360 [POSIX] (IXANY): Likewise.
4361 [POSIX] (OLCUC): Likewise.
4362 [POSIX || POSIX2008] (CBAUD): Do not allow.
4363 [POSIX || POSIX2008] (DEFECHO): Likewise.
4364 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4365 [POSIX || POSIX2008] (ECHOKE): Likewise.
4366 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4367 [POSIX || POSIX2008] (EXTA): Likewise.
4368 [POSIX || POSIX2008] (EXTB): Likewise.
4369 [POSIX || POSIX2008] (FLUSHO): Likewise.
4370 [POSIX || POSIX2008] (LOBLK): Likewise.
4371 [POSIX || POSIX2008] (PENDIN): Likewise.
4372 [POSIX || POSIX2008] (SWTCH): Likewise.
4373 [POSIX || POSIX2008] (VDISCARD): Likewise.
4374 [POSIX || POSIX2008] (VDSUSP): Likewise.
4375 [POSIX || POSIX2008] (VLNEXT): Likewise.
4376 [POSIX || POSIX2008] (VREPRINT): Likewise.
4377 [POSIX || POSIX2008] (VSTATUS): Likewise.
4378 [POSIX || POSIX2008] (VWERASE): Likewise.
4379 (B*): Change to B[0123456789]*.
4380 * conform/data/time.h-data [POSIX || UNIX98]
4381 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4382 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4383 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4384 [POSIX] (tm_*): Do not allow.
4386 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4388 * Makefile (install): Don't set LANGUAGE.
4389 * Makefile.in (install): Likewise.
4390 * assert/Makefile (test-assert-ENV): Remove variable.
4391 (test-assert-perr-ENV): Likewise.
4392 * elf/Makefile (neededtest4-ENV): Likewise.
4393 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4394 [$(cross-compiling) = no]: Don't set LANGUAGE.
4395 * io/ftwtest-sh (LANG): Remove variable.
4396 * libio/Makefile (tst-widetext-ENV): Likewise.
4397 * manual/install.texi (Running make install): Don't refer to
4398 environment settings for make install.
4399 * INSTALL: Regenerated.
4400 * nptl/tst-tls6.sh: Don't set LANG.
4401 * posix/globtest.sh (LANG): Remove variable.
4402 * string/Makefile (tester-ENV): Likewise.
4403 (inl-tester-ENV): Likewise.
4404 (noinl-tester-ENV): Likewise.
4405 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4406 [$(cross-compiling) = no]: Don't set LANGUAGE.
4407 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4408 without explicit environment settings.
4410 2014-06-06 Roland McGrath <roland@hack.frob.com>
4412 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4413 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4414 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4415 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4417 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4419 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4420 other files in the crypt directory.
4421 * crypt/crypt.c: Remove duplicate includes.
4422 * crypt/crypt-entry.c: Likewise.
4423 * crypt/crypt_util.c: Likewise.
4425 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4427 * Makeconfig (run-program-env): New variable.
4428 (run-program-prefix-before-env): Likewise.
4429 (run-program-prefix-after-env): Likewise.
4430 (run-program-prefix): Define in terms of new variables.
4431 (built-program-cmd-before-env): New variable.
4432 (built-program-cmd-after-env): Likewise.
4433 (built-program-cmd): Define in terms of new variables.
4434 (test-program-prefix-before-env): New variable.
4435 (test-program-prefix-after-env): Likewise.
4436 (test-program-prefix): Define in terms of new variables.
4437 (test-program-cmd-before-env): New variable.
4438 (test-program-cmd-after-env): Likewise.
4439 (test-program-cmd): Define in terms of new variables.
4440 * Rules (make-test-out): Use $(run-program-env).
4441 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4442 (help): Do not mention environment variables. Mention
4443 --timeoutfactor option.
4444 (timeoutfactor): New variable.
4445 (blacklist_exports): Remove function.
4446 (exports): Remove variable.
4447 (command): Do not include ${exports}.
4448 * manual/install.texi (Configuring and compiling): Do not mention
4449 test wrappers preserving environment variables. Mention that last
4450 assignment to a variable must take precedence.
4451 * INSTALL: Regenerated.
4452 * benchtests/Makefile (run-bench): Use $(run-program-env).
4453 * catgets/Makefile ($(objpfx)test1.cat): Use
4454 $(built-program-cmd-before-env), $(run-program-env) and
4455 $(built-program-cmd-after-env).
4456 ($(objpfx)test2.cat): Do not specify environment variables
4458 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4459 $(run-program-env) and $(built-program-cmd-after-env).
4460 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4461 $(run-program-env) and $(test-program-cmd-after-env).
4462 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4464 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4465 run_program_env and test_program_cmd_after_env arguments.
4466 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4467 * elf/tst-pathopt.sh: Use run_program_env argument.
4468 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4469 $(test-wrapper-env) and $(run-program-env).
4470 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4471 run_program_env arguments.
4472 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4473 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4474 $(test-program-prefix-before-env), $(run-program-env) and
4475 $(test-program-prefix-after-env).
4476 ($(objpfx)tst-gettext2.out): Likewise.
4477 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4478 run_program_env and test_program_prefix_after_env arguments.
4479 * intl/tst-gettext2.sh: Likewise.
4480 * intl/tst-gettext4.sh: Do not set environment variables
4482 * intl/tst-gettext6.sh: Likewise.
4483 * intl/tst-translit.sh: Likewise.
4484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4485 $(test-program-prefix-before-env), $(run-program-env) and
4486 $(test-program-prefix-after-env).
4487 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4488 run_program_env and test_program_prefix_after_env arguments.
4489 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4490 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4491 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4492 explicitly with each use of ${test_wrapper_env}.
4493 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4494 $(test-program-prefix-before-env), $(run-program-env) and
4495 $(test-program-prefix-after-env).
4496 * posix/tst-getconf.sh: Do not set environment variables
4498 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4499 run_program_env and test_program_prefix_after_env arguments.
4500 * stdio-common/tst-printf.sh: Do not set environment variables
4502 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4503 $(test-program-prefix-before-env), $(run-program-env) and
4504 $(test-program-prefix-after-env).
4505 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4506 run_program_env and test_program_prefix_after_env arguments.
4507 Split $test calls into $test_pre and $test.
4508 * timezone/Makefile (build-testdata): Use
4509 $(built-program-cmd-before-env), $(run-program-env) and
4510 $(built-program-cmd-after-env).
4512 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4515 strlen for non SHARED builds.
4517 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4519 * nptl/allocatestack.c (check_list): Inlined function...
4520 (__reclaim_stacks): ... here.
4522 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4525 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4528 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4530 * Rules (make-test-out): Include
4531 LOCPATH=$(common-objpfx)localedata in default environment.
4532 * debug/Makefile (tst-chk1-ENV): Remove variable.
4533 (tst-chk2-ENV): Likewise.
4534 (tst-chk3-ENV): Likewise.
4535 (tst-chk4-ENV): Likewise.
4536 (tst-chk5-ENV): Likewise.
4537 (tst-chk6-ENV): Likewise.
4538 (tst-lfschk1-ENV): Likewise.
4539 (tst-lfschk2-ENV): Likewise.
4540 (tst-lfschk3-ENV): Likewise.
4541 (tst-lfschk4-ENV): Likewise.
4542 (tst-lfschk5-ENV): Likewise.
4543 (tst-lfschk6-ENV): Likewise.
4544 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4545 (tst-iconv7-ENV): Likewise.
4546 * intl/Makefile (LOCPATH-ENV): Likewise.
4547 (tst-codeset-ENV): Likewise.
4548 (tst-gettext3-ENV): Likewise.
4549 (tst-gettext5-ENV): Likewise.
4550 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4551 (tst-fopenloc-ENV): Likewise.
4552 (tst-fgetws-ENV): Remove variable.
4553 (tst-ungetwc1-ENV): Likewise.
4554 (tst-ungetwc2-ENV): Likewise.
4555 (bug-ungetwc2-ENV): Likewise.
4556 (tst-swscanf-ENV): Likewise.
4557 (bug-ftell-ENV): Likewise.
4558 (tst-fgetwc-ENV): Likewise.
4559 (tst-fseek-ENV): Likewise.
4560 (tst-ftell-partial-wide-ENV): Likewise.
4561 (tst-ftell-active-handler-ENV): Likewise.
4562 (tst-ftell-append-ENV): Likewise.
4563 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4564 (tst-regexloc-ENV): Likewise.
4565 (bug-regex1-ENV): Likewise.
4566 (tst-regex-ENV): Likewise.
4567 (tst-regex2-ENV): Likewise.
4568 (bug-regex5-ENV): Likewise.
4569 (bug-regex6-ENV): Likewise.
4570 (bug-regex17-ENV): Likewise.
4571 (bug-regex18-ENV): Likewise.
4572 (bug-regex19-ENV): Likewise.
4573 (bug-regex20-ENV): Likewise.
4574 (bug-regex22-ENV): Likewise.
4575 (bug-regex23-ENV): Likewise.
4576 (bug-regex25-ENV): Likewise.
4577 (bug-regex26-ENV): Likewise.
4578 (bug-regex30-ENV): Likewise.
4579 (bug-regex32-ENV): Likewise.
4580 (bug-regex33-ENV): Likewise.
4581 (bug-regex34-ENV): Likewise.
4582 (bug-regex35-ENV): Likewise.
4583 (tst-rxspencer-ENV): Likewise.
4584 (tst-rxspencer-no-utf8-ENV): Likewise.
4585 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4586 (tst-sscanf-ENV): Likewise.
4587 (tst-swprintf-ENV): Likewise.
4588 (tst-swscanf-ENV): Likewise.
4589 (test-vfprintf-ENV): Likewise.
4590 (scanf13-ENV): Likewise.
4591 (bug14-ENV): Likewise.
4592 (tst-grouping-ENV): Likewise.
4593 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4594 (tst-strtod3-ENV): Likewise.
4595 (tst-strtod4-ENV): Likewise.
4596 (tst-strtod5-ENV): Likewise.
4597 (testmb2-ENV): Likewise./
4598 * string/Makefile (tst-strxfrm-ENV): Likewise.
4599 (tst-strxfrm2-ENV): Likewise.
4600 (bug-strcoll1-ENV): Likewise.
4601 (test-strcasecmp-ENV): Likewise.
4602 (test-strncasecmp-ENV): Likewise.
4603 * time/Makefile (tst-strptime-ENV): Likewise.
4604 (tst-ftime_l-ENV): Likewise.
4605 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4606 (tst-mbrtowc-ENV): Likewise.
4607 (tst-wcrtomb-ENV): Likewise.
4608 (tst-mbrtowc2-ENV): Likewise.
4609 (tst-c16c32-1-ENV): Likewise.
4610 (tst-mbsnrtowcs-ENV): Likewise.
4612 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4614 * manual/resource.texi (How to get information about the memory
4615 subsystem?): Fix typo.
4616 Reported by Peon de la Parra Ivan <peon@keba.com>
4618 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4621 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4622 (pthread_spin_lock): Branch out of spin loop to proper location.
4623 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4624 (pthread_spin_lock): Likewise.
4626 * nptl/tst-spin4.c: New test.
4627 * nptl/Makefile (tests): Add tst-spin4.
4629 2014-06-03 Andreas Schwab <schwab@suse.de>
4632 * resolv/res_send.c (send_dg): Reload file descriptor after
4635 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4637 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4639 2014-06-03 Richard Henderson <rth@redhat.com>
4641 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4642 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4643 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4644 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4645 in the SAVE_PID block.
4646 (__libc_vfork): New alias.
4647 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4649 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4650 child in registers, not on the stack. Remove RESET_PID conditionals.
4651 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4653 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4655 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4657 2014-06-03 Wilco <wdijkstr@arm.com>
4659 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4660 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4661 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4662 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4663 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4666 2014-06-03 Wilco <wdijkstr@arm.com>
4668 * sysdeps/aarch64/fpu/math_private.h
4669 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4670 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4671 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4672 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4675 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4677 * crypt/crypt-private.h: Include ufc-crypt.h.
4678 (__b64_from_24bit): Declare extern.
4679 * crypt/crypt_util.c(__b64_from_24bit): New function.
4680 (b64t): New static const variable.
4681 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4682 (b64t): Remove variable.
4683 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4684 * crypt/sha256-crypt.c: Include crypt-private.h.
4685 (b64t): Remove variable.
4686 (__sha256_crypt_r): Remove b64_from_24bit and replace
4687 with __b64_from_24bit.
4688 * crypt/sha512-crypt.c: Likewise.
4690 2014-06-02 Roland McGrath <roland@hack.frob.com>
4692 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4693 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4694 Label the code __libc_vfork rather than __vfork.
4695 [!NOT_IN_libc] (vfork): Define as weak alias.
4696 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4697 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4698 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4700 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4702 * malloc/malloc.c (malloc_info): Fix format specifier for
4705 2014-06-02 Wilco <wdijkstr@arm.com>
4707 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4710 2014-06-02 Wilco <wdijkstr@arm.com>
4713 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4714 Rewrite to reduce FPCR/FPSR accesses.
4716 2014-06-01 David S. Miller <davem@davemloft.net>
4718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4720 2014-05-31 David S. Miller <davem@davemloft.net>
4722 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4723 to occur in round to nearest mode when |x| >= 2.0
4725 2014-05-30 Richard Henderson <rth@twiddle.net>
4727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4728 (PSEUDO_RET_NOERRNO): Remove.
4729 (ret): Don't redefine.
4730 (ret_NOERRNO): Define in terms of ret.
4731 (ret_ERRVAL): Likewise.
4733 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4734 use of PSEUDO_RET; perform the error check directly.
4736 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4738 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4741 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * malloc/malloc (malloc_info): Fix formatting.
4745 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4746 Roland McGrath <roland@hack.frob.com>
4748 * malloc/malloc (malloc_info): Also print mmapped statistics.
4750 2014-05-30 Roland McGrath <roland@hack.frob.com>
4752 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4753 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4755 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4757 * malloc/malloc.c (malloc_info): Inline mi_arena.
4759 2014-05-29 Richard Henderson <rth@twiddle.net>
4761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4762 Remove comma before expanding ASM_ARGS_##nr.
4763 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4764 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4766 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4767 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4768 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4769 (ASM_ARGS_1): Add leading comma.
4771 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4772 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4773 to __errno_location.
4774 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4775 Remove the expected plt for __errno_location.
4777 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4778 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4781 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4782 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4783 it and break it down.
4784 (DOCARGS_0, DOCARGS_1): Do nothing.
4785 (DOCARGS_2): Update to store into the new stack frame.
4786 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4787 (UNDOCARGS_1): Update to restore from the new stack frame.
4788 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4789 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4792 (SINGLE_THREAD_P): New parameter for result regno.
4793 (PSEUDO): Update to match; use cbz instead of beq.
4795 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4796 Use ENTRY to define the _nocancel entry point. Share the syscall
4797 and syscall error check paths with the cancel path.
4800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4801 whitespace; tabs before and after asm mnemonics.
4803 2014-05-29 Eric Wong <normalperson@yhbt.net>
4806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4807 Call fstat64 or stat64 internally, depending on arguments passed.
4808 Replace stat buffer argument with file descriptor argument.
4809 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4810 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4811 Pass fd to __internal_statvfs instead of calling fstat64.
4812 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4813 Pass fd to __internal_statvfs64 instead of calling fstat64.
4814 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4815 Pass -1 to __internal_statvfs instead of calling stat64.
4816 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4817 Pass -1 to __internal_statvfs64 instead of calling stat64.
4819 2014-05-28 Roland McGrath <roland@hack.frob.com>
4821 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4822 that was previously under [RESET_PID].
4823 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4825 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4826 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4828 2014-05-27 Roland McGrath <roland@hack.frob.com>
4830 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4832 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4833 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4835 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4837 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4839 2014-05-27 Andreas Schwab <schwab@suse.de>
4841 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4843 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4844 * elf/rtld.c (init_tls, dl_main): Likewise.
4845 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4846 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4847 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4848 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4849 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4850 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4851 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4852 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4853 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4854 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4855 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4856 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4857 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4858 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4859 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4860 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4861 * sysdeps/generic/tls.h: Update description.
4863 2014-05-27 Will Newton <will.newton@linaro.org>
4866 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4867 and restore r2 rather than just restoring.
4869 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4872 * libio/tst-ftell-append.c: New test case.
4873 * libio/Makefile (tests): Add test case.
4874 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4876 * libio/wfileops.c (do_ftell_wide): Likewise.
4878 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4882 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4886 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4887 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4889 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4891 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4899 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4901 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4904 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4907 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4909 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4911 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4913 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4916 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4918 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4941 conditional [RESET_PID].
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4950 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4951 (__libc_vfork): New strong alias.
4952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4954 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4959 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4960 (__libc_vfork): New strong alias.
4961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4966 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4968 * malloc/malloc.c (mi_arena): New function.
4969 (malloc_info): Remove nested function mi_arena. Call non-nosted
4972 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4974 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4976 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4977 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4978 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4979 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4980 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4981 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4984 2014-05-26 Andreas Schwab <schwab@suse.de>
4987 * locale/programs/repertoire.c (repertoire_read): Add slash
4988 between I18NPATH element and file name.
4989 * locale/programs/locfile.c (locfile_read): Likewise.
4991 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4993 * nptl/pthread_mutexattr_settype.c
4994 (__pthread_mutexattr_settype):
4995 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4997 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4999 * nptl/tst-mutex5 (do_test):
5000 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5002 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5004 * benchtests/README: Document 'init' directive.
5005 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5007 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5008 (parse_file): Recognize 'init' directive.
5010 2014-05-26 Kyle McMartin <kyle@redhat.com>
5013 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5014 alignment of struct pthread.
5016 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5019 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5020 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5021 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5022 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5024 2014-05-25 Richard Henderson <rth@twiddle.net>
5026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5027 (SINGLE_THREAD_P_PIC): Remove.
5028 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5029 (SINGLE_THREAD_P_PIC): Remove.
5031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5032 branch to syscall error ...
5034 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5035 from __local_syscall_error to .Lsyscall_error.
5036 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5037 (SYSCALL_ERROR): Update label name.
5039 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5040 Do not use DOARGS/UNDOARGS.
5041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5042 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5043 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5044 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5045 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5050 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5051 define if !NOT_IN_libc.
5052 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5053 define with non-default symbol versions.
5055 2014-05-23 Richard Henderson <rth@twiddle.net>
5057 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5058 (vfork, __vfork): Define via compat_symbol.
5060 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5061 [!HAVE_IFUNC] (vfork_compat): Remove.
5062 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5064 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5067 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5068 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5071 2014-05-23 Richard Henderson <rth@twiddle.net>
5073 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5074 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5075 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5076 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5078 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5079 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5080 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5081 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5082 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5083 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5084 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5085 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5086 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5087 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5088 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5089 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5090 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5093 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5097 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5099 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5100 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5101 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5102 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5107 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5111 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5115 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5117 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5118 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5119 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5120 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5121 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5122 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5123 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5125 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5127 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5129 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5131 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5133 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5135 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5136 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5137 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5138 before exiting on error.
5139 (__libc_vfork): New strong alias.
5140 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5141 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5143 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5144 that was previously under [RESET_PID].
5145 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5147 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5149 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5152 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5153 value when x - 1 is zero.
5154 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5155 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5156 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5157 0.0L for an argument of 1.0L.
5158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5160 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5161 value when x - 1 is zero.
5162 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5166 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5168 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5169 alphasort and versionsort.
5171 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5173 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5175 [copysignf]: Likewise.
5177 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5179 * crypt/md5-crypt.c: Fix formatting.
5181 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5183 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5184 (b64_from_24bit): New function.
5186 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5189 libc_hidden_builtin_def to ifunc.
5190 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5191 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5193 2014-05-21 Roland McGrath <roland@hack.frob.com>
5195 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5196 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5198 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5200 * nscd/Depend (linuxthreads): Remove.
5202 * resolv/Depend (linuxthreads): Remove.
5203 * rt/Depend (linuxthreads): Remove.
5205 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5206 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5207 $(common-objpfx)elf/.
5208 (link-libc-before-gnulib): Likewise.
5209 (elfobjdir): Remove variable.
5210 * Makefile (install): Use $(elf-objpfx) instead of
5211 $(common-objpfx)elf/.
5212 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5214 (link-libc-deps): Likewise.
5215 ($(common-objpfx)libc.so): Likewise.
5216 ($(common-objpfx)linkobj/libc.so): Likewise.
5217 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5218 instead of $(common-objpfx)elf/.
5219 (symbolic-link-list): Likewise.
5220 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5221 [$(cross-compiling) = no]: Likewise.
5222 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5224 (static-gnulib-arch): Likewise.
5225 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5226 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5227 $(common-objpfx)elf/.
5229 2014-05-21 Richard Henderson <rth@redhat.com>
5231 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5232 (SINGLE_THREAD_P): Use the correct width load. Fold
5233 into the ldr offset.
5235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5236 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5238 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5240 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5241 (libgcc_s_resume): Use __attribute_used__.
5242 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5245 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5248 optimization when used with float constants.
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5252 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5255 * locale/nl_langinfo_l.c: Make direct reference to every
5256 _nl_current_CATEGORY symbol.
5257 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5258 (tests-static): Add tst-langinfo-static.
5259 (tests-special): Add tst-langinfo-static.out.
5260 ($(objpfx)tst-langinfo.out): Redirect output.
5261 ($(objpfx)tst-langinfo-static.out): New.
5262 * localedata/tst-langinfo.sh: Send output to stdout.
5263 * localedata/tst-langinfo-static.c: New file.
5266 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5267 when the shift amount is modulo the limb size.
5269 2014-05-20 Richard Henderson <rth@redhat.com>
5272 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5273 Change type of sa_flags from unsigned int to int.
5276 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5278 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5280 2014-05-20 Will Newton <will.newton@linaro.org>
5282 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5283 Test the return value of the system call in the nocancel case.
5285 2014-05-20 Will Newton <will.newton@linaro.org>
5286 Yvan Roux <yvan.roux@linaro.org>
5288 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5289 #include of asm/ptrace.h.
5290 (PTRACE_GET_THREAD_AREA): Remove #undef.
5291 (PTRACE_GETHBPREGS): Likewise.
5292 (PTRACE_SETHBPREGS): Likewise.
5293 (struct user_regs_struct): New structure.
5294 (struct user_fpsimd_struct): New structure.
5295 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5296 #include of asm/ptrace.h and second #include of sys/user.h.
5297 (PTRACE_GET_THREAD_AREA): Remove #undef.
5298 (PTRACE_GETHBPREGS): Likewise.
5299 (PTRACE_SETHBPREGS): Likewise.
5300 (ELF_NGREG): Use new struct user_regs_struct.
5301 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5303 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5308 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5312 membar to avoid block loads/stores to overlap previous stores.
5314 2014-05-17 Richard Henderson <rth@redhat.com>
5316 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5317 Create the __##syscall_name##_nocancel entry point.
5318 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5319 Remove; let the sysdep-cancel.h code create it.
5321 2014-05-17 David S. Miller <davem@davemloft.net>
5323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5324 Protect with __USE_GNU.
5325 (TIOCSET_TEMPT): Likewise.
5326 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5327 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5328 these are already provided in bits/ioctl-types.h
5330 2014-05-16 Roland McGrath <roland@hack.frob.com>
5332 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5333 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5335 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5336 Use wait4 regardless of [__NR_waitpid].
5338 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5341 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5342 (_FP_NANSIGN_Q): Set the quiet bit.
5344 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5346 * benchtests/Makefile
5347 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5348 not $(common-objpfx)math/libm.so.
5349 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5350 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5351 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5352 $(common-objpfx)dlfcn/libdl.so.
5353 ($(objpfx)tst-audit8): Depend on $(libm), not
5354 $(common-objpfx)math/libm.so.
5355 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5356 not $(common-objpfx)dlfcn/libdl.so.
5358 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5359 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5360 [$(build-shared) = yes].
5361 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5362 $(common-objpfx)nptl/libpthread.so.
5363 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5364 $(common-objpfx)math/libm.so$(libm.so-version) or
5365 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5366 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5367 $(common-objpfx)dlfcn/libdl.so.
5368 * setjmp/Makefile (link-libm): Remove variable.
5369 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5370 * stdio-common/Makefile (link-libm): Remove variable.
5371 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5372 * stdlib/Makefile (link-libm): Remove variable.
5373 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5374 ($(objpfx)tst-strtod-round): Likewise.
5375 ($(objpfx)tst-tininess): Likewise.
5376 ($(objpfx)tst-strtod-underflow): Likewise.
5377 ($(objpfx)tst-strtod6): Likewise.
5378 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5379 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5380 $(common-objpfx)dlfcn/libdl.so.
5382 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5385 BSD terminal modes definitions.
5387 2014-05-16 Roland McGrath <roland@hack.frob.com>
5389 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5390 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5392 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5393 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5394 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5395 Don't do #include_next.
5396 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5397 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5398 Don't do #include_next.
5399 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5400 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5401 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5402 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5404 2014-05-16 Allan McRae <allan@archlinux.org>
5406 * po/sv.po: Update Swedish translation from translation project.
5408 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5411 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5414 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5415 errno if the TIOCGPTN ioctl fails with an error different than
5417 * login/tst-ptsname.c: New file.
5418 * login/Makefile (tests): Add tst-ptsname.
5421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5424 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5428 herrno to return EAI_AGAIN.
5430 2014-05-14 Roland McGrath <roland@hack.frob.com>
5432 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5433 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5434 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5437 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5445 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5447 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5448 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5451 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5453 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5454 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5459 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5461 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5463 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5465 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5468 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5482 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5484 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5486 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5488 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5490 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5492 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5494 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5497 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5499 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5501 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5505 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5507 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5509 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5511 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5513 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5515 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5518 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5520 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5523 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5524 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5525 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5526 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5528 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5530 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5532 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5534 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5536 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5538 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5540 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5542 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5544 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5545 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5546 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5548 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5550 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5552 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5554 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5555 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5557 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5558 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5559 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5561 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5565 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5567 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5570 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5573 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5575 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5578 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5579 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5580 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5582 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5583 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5584 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5587 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5590 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5592 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5593 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5595 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5598 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5603 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5604 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5610 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5612 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5613 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5615 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5620 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5623 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5625 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5627 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5629 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5632 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5635 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5637 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5638 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5640 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5643 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5649 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5651 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5653 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5655 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5661 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5664 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5667 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5669 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5671 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5672 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5674 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5676 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5678 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5680 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5683 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5684 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5688 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5689 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5690 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5691 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5698 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5700 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5701 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5702 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5704 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5705 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5706 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5707 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5708 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5710 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5711 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5713 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5714 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5716 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5717 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5718 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5720 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5722 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5724 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5726 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5730 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5732 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5735 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5737 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5738 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5740 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5742 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5743 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5744 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5746 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5749 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5750 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5752 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5758 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5759 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5760 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5761 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5762 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5763 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5764 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5765 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5766 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5767 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5768 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5770 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5771 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5772 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5773 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5774 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5776 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5777 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5779 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5780 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5781 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5782 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5783 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5784 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5785 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5787 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5788 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5790 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5791 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5792 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5793 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5794 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5795 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5796 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5797 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5798 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5799 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5800 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5801 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5802 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5803 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5829 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5830 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5831 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5833 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5834 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5836 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5837 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5838 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5840 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5841 that was previously under [RESET_PID].
5842 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5843 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5844 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5846 * sysdeps/i386/nptl/Implies: New file.
5847 * sysdeps/x86_64/nptl/Implies: New file.
5848 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5849 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5850 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5851 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5853 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5854 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5855 (__libc_vfork): New strong alias.
5856 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5857 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5859 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5860 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5861 (__libc_vfork): New strong alias.
5862 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5863 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5865 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5866 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5867 (__libc_vfork): New strong alias.
5868 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5869 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5870 * nptl/pt-vfork.c: New file.
5871 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5872 (libpthread: GLIBC_2.20): New version set (empty).
5874 2014-05-14 Will Newton <will.newton@linaro.org>
5876 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5879 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5883 arguments with exponent 65 or above.
5884 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5885 arguments 0x1p113L or above.
5886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5887 to arguments 0x1p107L or above.
5888 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5889 positive arguments with exponent 65 or above.
5890 * math/auto-libm-test-in: Add more tests of log1p.
5891 * math/auto-libm-test-out: Regenerated.
5894 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5895 non-finite arguments is +0.
5896 * math/s_cacosf.c (__cacosf): Likewise.
5897 * math/s_cacosl.c (__cacosl): Likewise.
5898 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5899 * sysdeps/i386/fpu/libm-test-ulps: Update.
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5903 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5905 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5906 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5907 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5908 for explicit high bit of mantissa when testing for argument equal
5910 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5911 * sysdeps/i386/fpu/libm-test-ulps: Update.
5912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5916 (__erf): Scale by 16 instead of 8 in potentially underflowing
5917 case. Ensure exception if result actually underflows.
5918 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5919 (__erff): Scale by 16 instead of 8 in potentially underflowing
5920 case. Ensure exception if result actually underflows.
5921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5922 (efx8): Remove variable.
5923 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5924 case. Ensure exception if result actually underflows.
5925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5926 (efx8): Remove variable.
5927 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5928 case. Ensure exception if result actually underflows.
5929 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5930 (efx8): Remove variable.
5931 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5932 case. Ensure exception if result actually underflows.
5933 * math/auto-libm-test-in: Add more tests of erf.
5934 * math/auto-libm-test-out: Regenerated.
5936 2014-05-14 Andreas Schwab <schwab@suse.de>
5938 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5939 Remove code conditionalized on USE___THREAD.
5941 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5942 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5945 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5947 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5948 Define unconditionally.
5949 (__ASSUME_O_CLOEXEC): Likewise.
5950 (__ASSUME_SOCK_CLOEXEC): Likewise.
5951 (__ASSUME_IN_NONBLOCK): Likewise.
5952 (__ASSUME_PIPE2): Likewise.
5953 (__ASSUME_EVENTFD2): Likewise.
5954 (__ASSUME_SIGNALFD4): Likewise.
5955 (__ASSUME_DUP3): Likewise.
5956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5957 (__ASSUME_DUP3): Do not define.
5958 (__ASSUME_EVENTFD2): Likewise.
5959 (__ASSUME_IN_NONBLOCK): Likewise.
5960 (__ASSUME_O_CLOEXEC): Likewise.
5961 (__ASSUME_PIPE2): Likewise.
5962 (__ASSUME_SIGNALFD4): Likewise.
5963 (__ASSUME_SOCK_CLOEXEC): Likewise.
5964 (__ASSUME_UTIMES): Undefine.
5965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5966 (__ASSUME_UTIMES): Do not define.
5967 (__ASSUME_O_CLOEXEC): Likewise.
5968 (__ASSUME_SOCK_CLOEXEC): Likewise.
5969 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5970 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5972 (__ASSUME_PIPE2): Likewise.
5973 (__ASSUME_EVENTFD2): Likewise.
5974 (__ASSUME_SIGNALFD4): Likewise.
5975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5976 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5978 (__ASSUME_EVENTFD2): Likewise.
5979 (__ASSUME_SIGNALFD4): Likewise.
5980 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5981 (__ASSUME_32BITUIDS): Likewise.
5982 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5983 (__ASSUME_IPC64): Likewise.
5984 (__ASSUME_ST_INO_64_BIT): Likewise.
5985 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5986 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5987 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5988 (__ASSUME_UTIMES): Do not define.
5989 (__ASSUME_PSELECT): Likewise.
5990 (__ASSUME_PPOLL): Likewise.
5991 (__ASSUME_O_CLOEXEC): Likewise.
5992 (__ASSUME_SOCK_CLOEXEC): Likewise.
5993 (__ASSUME_IN_NONBLOCK): Likewise.
5994 (__ASSUME_PIPE2): Likewise.
5995 (__ASSUME_EVENTFD2): Likewise.
5996 (__ASSUME_SIGNALFD4): Likewise.
5997 (__ASSUME_DUP3): Likewise.
5998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5999 (__ASSUME_UTIMES): Likewise.
6000 (__ASSUME_O_CLOEXEC): Likewise.
6001 (__ASSUME_SOCK_CLOEXEC): Likewise.
6002 (__ASSUME_IN_NONBLOCK): Likewise.
6003 (__ASSUME_PIPE2): Likewise.
6004 (__ASSUME_EVENTFD2): Likewise.
6005 (__ASSUME_SIGNALFD4): Likewise.
6006 (__ASSUME_DUP3): Likewise.
6007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6008 (__ASSUME_UTIMES): Likewise.
6009 (__ASSUME_O_CLOEXEC): Likewise.
6010 (__ASSUME_SOCK_CLOEXEC): Likewise.
6011 (__ASSUME_IN_NONBLOCK): Likewise.
6012 (__ASSUME_PIPE2): Likewise.
6013 (__ASSUME_EVENTFD2): Likewise.
6014 (__ASSUME_SIGNALFD4): Likewise.
6015 (__ASSUME_DUP3): Likewise.
6016 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6018 (__ASSUME_UTIMES): Likewise.
6019 (__ASSUME_EVENTFD2): Likewise.
6020 (__ASSUME_SIGNALFD4): Likewise.
6021 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6022 (__ASSUME_O_CLOEXEC): Likewise.
6023 (__ASSUME_SOCK_CLOEXEC): Likewise.
6024 (__ASSUME_IN_NONBLOCK): Likewise.
6025 (__ASSUME_PIPE2): Likewise.
6026 (__ASSUME_EVENTFD2): Likewise.
6027 (__ASSUME_SIGNALFD4): Likewise.
6028 (__ASSUME_DUP3): Likewise.
6029 (__ASSUME_UTIMES): Undefine.
6031 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6032 feclearexcept. Remove symbol versioning code.
6033 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6034 symbol versioning code.
6035 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6036 symbol versioning code.
6037 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6038 feupdateenv. Remove symbol versioning code.
6039 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6040 fegetexceptflag. Remove symbol versioning code.
6041 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6042 fesetexceptflag. Remove symbol versioning code.
6043 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6044 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6045 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6046 (__posix_fadvise64_l32): Remove prototype.
6047 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6050 2014-05-13 Roland McGrath <roland@hack.frob.com>
6052 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6053 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6054 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6055 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6057 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6059 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6060 current working directory
6062 2014-05-13 Roland McGrath <roland@hack.frob.com>
6064 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6065 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6066 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6067 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6068 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6069 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6070 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6071 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6075 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6076 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6079 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6080 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6081 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6082 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6083 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6084 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6085 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6086 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6087 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6088 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6089 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6090 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6091 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6092 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6093 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6094 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6095 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6096 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6097 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6098 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6099 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6100 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6101 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6102 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6103 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6104 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6105 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6107 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6108 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6110 * sysdeps/unix/sysv/linux/arm/Makefile
6111 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6112 Add rt-aeabi_unwind_cpp_pr1.
6113 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6114 Add nptl-aeabi_unwind_cpp_pr1.
6115 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6116 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6117 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6118 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6119 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6120 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6122 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6123 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6124 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6125 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6127 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6128 Deconditionalize the code that was previously under [RESET_PID].
6129 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6131 * sysdeps/generic/exit-thread.h: New file.
6132 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6133 * include/unistd.h (__exit_thread): Remove declaration.
6134 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6135 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6136 * csu/libc-start.c: Include <exit-thread.h>.
6137 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6138 * nptl/pthread_create.c: Include <exit-thread.h>.
6139 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6140 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6141 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6142 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6143 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6144 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6145 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6146 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6147 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6148 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6149 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6150 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6151 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6152 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6153 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6154 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6155 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6157 2014-05-13 Andreas Schwab <schwab@suse.de>
6159 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6161 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6163 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6164 (__ASSUME_UTIMES): Do not condition on kernel version.
6165 (__ASSUME_PSELECT): Define unconditionally.
6166 (__ASSUME_PPOLL): Likewise.
6167 (__ASSUME_ATFCTS): Likewise.
6168 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6169 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6170 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6171 (__ASSUME_UTIMENSAT): Define unconditionally.
6172 (__ASSUME_PRIVATE_FUTEX): Likewise.
6173 (__ASSUME_FALLOCATE): Likewise.
6174 (__ASSUME_O_CLOEXEC): Likewise.
6175 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6176 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6177 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6178 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6179 (__ASSUME_IN_NONBLOCK): Likewise.
6180 (__ASSUME_PIPE2): Likewise.
6181 (__ASSUME_EVENTFD2): Likewise.
6182 (__ASSUME_SIGNALFD4): Likewise.
6183 (__ASSUME_DUP3): Likewise.
6184 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6185 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6186 (__ASSUME_AT_RANDOM): Likewise.
6187 (__ASSUME_PREADV): Likewise.
6188 (__ASSUME_PWRITEV): Likewise.
6189 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6190 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6191 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6192 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6193 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6194 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6195 (__ASSUME_O_CLOEXEC): Define unconditionally.
6196 (__ASSUME_PSELECT): Do not undefine conditionally.
6197 (__ASSUME_PPOLL): Likewise.
6198 (__ASSUME_ATFCTS): Likewise.
6199 (__ASSUME_SET_ROBUST_LIST): Likewise.
6200 (__ASSUME_UTIMENSAT): Likewise.
6201 (__ASSUME_FDATASYNC): Define unconditionally.
6202 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6203 (__ASSUME_SIGFRAME_V2): Likewise.
6204 )__ASSUME_EVENTFD2): Likewise.
6205 (__ASSUME_SIGNALFD4): Likewise.
6206 (__ASSUME_PSELECT): Do not undefine conditionally.
6207 (__ASSUME_PPOLL): Likewise.
6208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6209 (__ASSUME_PSELECT): Define unconditionally.
6210 (__ASSUME_PPOLL): Likewise.
6211 (__ASSUME_O_CLOEXEC): Likewise.
6212 (__ASSUME_SOCK_CLOEXEC): Likewise.
6213 (__ASSUME_IN_NONBLOCK): Likewise.
6214 (__ASSUME_PIPE2): Likewise.
6215 (__ASSUME_EVENTFD2): Likewise.
6216 (__ASSUME_SIGNALFD4): Likewise.
6217 (__ASSUME_DUP3): Likewise.
6218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6219 (__ASSUME_O_CLOEXEC): Likewise.
6220 (__ASSUME_SOCK_CLOEXEC): Likewise.
6221 (__ASSUME_IN_NONBLOCK): Likewise.
6222 (__ASSUME_PIPE2): Likewise.
6223 (__ASSUME_EVENTFD2): Likewise.
6224 (__ASSUME_SIGNALFD4): Likewise.
6225 (__ASSUME_DUP3): Likewise.
6226 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6227 (__ASSUME_EVENTFD2): Likewise.
6228 (__ASSUME_SIGNALFD4): Likewise.
6229 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6231 2014-05-12 Andreas Schwab <schwab@suse.de>
6234 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6235 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6236 than maximum RPC packet size.
6237 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6238 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6239 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6240 (_nss_nis_getservbyport_r): Likewise.
6242 2014-05-12 Will Newton <will.newton@linaro.org>
6244 * malloc/Makefile (tests): Add tst-mallopt.
6245 * malloc/tst-mallopt.c: New file.
6247 2014-05-09 Roland McGrath <roland@hack.frob.com>
6249 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6250 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6252 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6254 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6255 (tst-tlsmod6.so): Likewise.
6257 2014-05-09 Roland McGrath <roland@hack.frob.com>
6259 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6261 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6264 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6265 and <dl-procinfo.h>.
6266 (__fegetenv): Save SSE state in envp->__eip if supported.
6267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6268 envp->__eip if supported.
6269 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6270 and <dl-procinfo.h>.
6271 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6272 __data_offset and __data_selector in environment to 0. Set SSE
6274 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6276 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6278 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6280 2014-05-09 Will Newton <will.newton@linaro.org>
6282 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6283 and libc_relro_required for ARM.
6284 * sysdeps/arm/preconfigure: Regenerate.
6286 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6287 Stefan Liebler <stli@linux.vnet.ibm.com>
6289 * config.make.in (enable-lock-elision): New Makefile variable.
6290 * configure.ac: Likewise.
6291 * configure: Regenerate.
6292 * sysdeps/s390/configure.ac:
6293 Add check for gcc transactions support.
6294 * sysdeps/s390/configure: Regenerate.
6295 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6296 Build elision files if enabled.
6297 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6298 Add lock elision support for s390.
6299 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6300 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6301 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6302 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6303 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6304 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6305 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6313 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6314 (__lll_timedlock_elision, __lll_lock_elision)
6315 (__lll_unlock_elision, __lll_trylock_elision)
6316 (lll_timedlock_elision, lll_lock_elision)
6317 (lll_unlock_elision, lll_trylock_elision): Add.
6318 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6319 (pthread_mutex_t): Add lock elision support for s390.
6321 2014-05-14 Wilco <wdijkstr@arm.com>
6323 * sysdeps/arm/fclrexcpt.c: Cleanup.
6324 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6325 * sysdeps/arm/feenablxcpt.c: Cleanup.
6326 * sysdeps/arm/fegetenv.c: Cleanup.
6327 * sysdeps/arm/fegetexcept.c: Cleanup.
6328 * sysdeps/arm/fegetround.c: Cleanup.
6329 * sysdeps/arm/feholdexcpt.c: Cleanup.
6330 * sysdeps/arm/fesetenv.c: Cleanup.
6331 * sysdeps/arm/fesetround.c: Cleanup.
6332 * sysdeps/arm/feupdateenv.c: Cleanup.
6333 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6334 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6335 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6336 * sysdeps/arm/ftestexcept.c: Cleanup.
6337 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6338 * sysdeps/arm/setfpucw.c: Cleanup.
6340 2014-05-09 Will Newton <will.newton@linaro.org>
6342 * sysdeps/arm/armv7/strcmp.S: New file.
6343 * NEWS: Mention addition of ARMv7 optimized strcmp.
6345 2014-05-08 Roland McGrath <roland@hack.frob.com>
6347 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6348 look for %.ac rather than %.in.
6350 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6351 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6352 * sysdeps/mach/hurd/configure: Regenerated.
6353 * sysdeps/unix/sysv/linux/configure: Regenerated.
6355 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6357 2014-05-07 Steve Ellcey <sellcey@mips.com>
6360 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6364 2014-05-07 Andreas Schwab <schwab@suse.de>
6366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6367 when skipping over non-matching result from nscd.
6369 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6372 * nptl/sockperf.c (client): Check socket return value.
6375 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6376 nscd security class.
6378 2014-05-06 Roland McGrath <roland@hack.frob.com>
6380 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6381 * sysdeps/arm/unwind.h: ... here.
6383 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6386 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6389 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6391 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6392 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6393 multiarch strncpy for PPC64.
6394 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6395 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6397 multiarch optimizations.
6398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6399 (__libc_ifunc_impl_list): Likewise.
6400 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6401 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6402 multiarch stpncpy for PPC64.
6403 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6404 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6406 2014-05-06 Andreas Schwab <schwab@suse.de>
6409 * gmon/mcount.c (_MCOUNT_DECL): Use
6410 atomic_compare_and_exchange_bool_acq instead of
6411 catomic_compare_and_exchange_bool_acq.
6413 2014-05-05 Roland McGrath <roland@hack.frob.com>
6415 * elf/Makefile (others, install-bin): Remove pldd.
6416 (pldd-modules): Variable removed.
6417 ($(objpfx)pldd): Target removed.
6418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6419 (others, install-bin): Append pldd here.
6420 ($(objpfx)pldd): New target.
6422 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6423 to 0, so the first #if test emitted later doesn't see it undefined.
6424 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6425 * sysdeps/gnu/errlist.c: Regenerated.
6427 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6430 [libc_hidden_builtin_def]: Define to empty value.
6431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6432 [libc_hidden_builtin_def]: Likewise.
6433 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6434 [libc_hidden_builtin_def]: Likewise.
6435 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6436 [libc_hidden_builtin_def]: Likewise.
6437 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6438 __redirect_memcpy and define ifunc as default hidden symbol.
6439 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6440 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6442 2014-05-04 Adam Conrad <adconrad@0c3.net>
6444 * locale/iso-4217.def: Reintroduce XDR currency.
6446 2014-05-04 Allan McRae <allan@archlinux.org>
6448 * po/eo.po: Update Esperanto translation from translation project.
6450 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6452 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6453 and FEATURE_INDEX_MAX to 1.
6454 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6456 2014-05-01 Steve Ellcey <sellcey@mips.com>
6458 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6459 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6460 * iconvdata/big5.c (ONE_DIRECTION): Define.
6461 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6462 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6463 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6464 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6465 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6466 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6467 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6468 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6469 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6470 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6471 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6472 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6473 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6474 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6475 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6476 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6477 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6478 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6479 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6480 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6481 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6482 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6483 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6484 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6485 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6486 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6487 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6488 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6489 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6490 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6491 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6492 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6493 * iconvdata/johab.c (ONE_DIRECTION): Define.
6494 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6495 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6496 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6497 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6498 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6499 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6500 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6501 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6502 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6503 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6505 2014-05-01 Roland McGrath <roland@hack.frob.com>
6507 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6508 (_IO_JUMPS_OFFSET): Define to 0.
6510 * nptl/sysdeps/pthread/bits/libc-lock.h
6511 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6512 (__libc_lock_define_initialized_recursive): Always define using
6513 initializer. Modern compilers treat uninitialized (implicit zero) and
6514 explicit zero initializers the same (i.e. put the datum in bss).
6516 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6518 * nscd/nscd-client.h: Include <string.h>.
6520 2014-05-01 David S. Miller <davem@davemloft.net>
6523 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6524 multiple zero bytes exist at the end of a string.
6525 Reported by Aurelien Jarno <aurelien@aurel32.net>
6527 * string/test-strcmp.c (check): Add explicit test for situations where
6528 there are multiple zero bytes after the first.
6530 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6533 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6534 when compiling wprintf.
6535 * stdio-common/tstdiomisc.c (t3): New function.
6538 2014-05-01 Steve Ellcey <sellcey@mips.com>
6540 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6541 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6542 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6543 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6545 2014-05-01 Steve Ellcey <sellcey@mips.com>
6547 * stdlib/longlong.h: Updated from GCC.
6549 2014-05-01 Will Newton <will.newton@linaro.org>
6550 Bernard Ogden <bernie.ogden@linaro.org>
6552 * NEWS: Update fixed bug list.
6555 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6557 2014-04-30 David S. Miller <davem@davemloft.net>
6559 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6560 (libc_feholdexcept_setround_sparc_ctx): New function.
6561 (libc_fesetenv_sparc_ctx): Likewise.
6562 (libc_feupdateenv_sparc_ctx): Likewise.
6563 (libc_feholdsetround_sparc_ctx): Likewise.
6564 (libc_feholdexcept_setround_ctx): Define.
6565 (libc_feholdexcept_setroundf_ctx): Likewise.
6566 (libc_feholdexcept_setroundl_ctx): Likewise.
6567 (libc_fesetenv_ctx): Likewise.
6568 (libc_fesetenvf_ctx): Likewise.
6569 (libc_fesetenvl_ctx): Likewise.
6570 (libc_feupdateenv_ctx): Likewise.
6571 (libc_feupdateenvf_ctx): Likewise.
6572 (libc_feupdateenvl_ctx): Likewise.
6573 (libc_feresetround_ctx): Likewise.
6574 (libc_feresetroundf_ctx): Likewise.
6575 (libc_feresetroundl_ctx): Likewise.
6576 (libc_feholdsetround_ctx): Likewise.
6577 (libc_feholdsetroundf_ctx): Likewise.
6578 (libc_feholdsetroundl_ctx): Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6581 with __USE_GNU instead of XOPEN cpp guards.
6583 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6587 with XOPEN cpp guards.
6589 2014-04-30 Julian Brown <julian@codesourcery.com>
6592 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6595 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6598 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6600 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6601 * sysdeps/unix/sysv/linux/configure: Regenerated.
6602 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6603 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6604 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6605 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6606 * README: Update reference to required Linux kernel version.
6607 * manual/install.texi (Linux): Update reference to required Linux
6608 kernel headers version.
6609 * INSTALL: Regenerated.
6611 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6613 [POSIX] (limits.h): Likewise.
6614 [POSIX] (math.h): Likewise.
6615 [POSIX] (sys/wait.h): Likewise.
6616 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6618 [POSIX] (stddef.h): Do not allow header inclusion.
6620 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6624 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6626 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6627 Return immediately after lll_futex_wake.
6629 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6632 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6634 (datahead_init_pos): Call datahead_init_common early.
6635 (datahead_init_neg): Likewise.
6637 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6638 datahead_init_neg): New functions.
6639 * nscd/aicache.c (addhstaiX): Use them.
6640 * nscd/grpcache.c (cache_addgr): Likewise.
6641 * nscd/hstcache.c (cache_addhst): Likewise.
6642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6643 * nscd/netgroupcache.c (do_notfound): Likewise.
6644 (addgetnetgrentX): Likewise.
6645 (addinnetgrX): Likewise.
6646 * nscd/pwdcache.c (cache_addpw): Likewise.
6647 * nscd/servicescache.c (cache_addserv): Likewise.
6649 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6650 Atsushi Onoe <atsushi@onoe.org>
6655 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6656 one response is valid.
6657 * resolv/res_send.c (send_dg): Check for validity of other
6658 response if the current response is a referral.
6660 2014-04-29 Steve Ellcey <sellcey@mips.com>
6662 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6664 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6667 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6668 Always divide by positive zero when computing -Inf result.
6669 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6670 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6672 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6675 FPSCR if value do not change.
6676 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6677 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6678 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6679 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6680 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6681 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6684 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6686 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6687 * sysdeps/unix/sysv/linux/hppa: Move directory from
6688 ports/systeps/unix/sysv/linux/hppa.
6689 * README: Update listing for hppa-*-linux-gnu.
6691 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6694 * manual/stdio.texi (Hook functions): Fix types of stream hook
6697 * socket/sys/socket.h: Fix typo in comment.
6699 2014-04-28 Wilco <wdijkstr@arm.com>
6701 * sysdeps/arm/fenv_private.h: New file.
6702 * sysdeps/arm/math_private.h: New file.
6703 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6705 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6707 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6709 (La_x86_64_retval): Likewise.
6711 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6713 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6714 fpsr if value didn't change.
6715 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6716 to fpcr if value didn't change.
6717 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6718 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6719 fpsr or fpcr if value didn't change.
6720 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6721 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6722 fpcr if value didn't change.
6723 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6724 to fpsr if value didn't change.
6726 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6728 * nptl/tst-sem3.c: Use test-skeleton.c
6729 (main): Rename to do_test. Use return instead of
6731 * nptl/tst-sem4.c: Use test-skeleton.c
6732 (main): Rename to do_test.
6734 2014-04-22 David S. Miller <davem@davemloft.net>
6736 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6737 (struct sigaction): New struct member __glibc_reserved0, change
6738 type of sa_flags to int.
6740 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6742 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6743 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6745 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6747 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6748 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6750 2014-04-22 Will Newton <will.newton@linaro.org>
6751 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6753 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6754 (__longjmp): Add longjmp and longjmp_target SystemTap
6756 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6757 (__sigsetjmp): Add setjmp SystemTap probe.
6759 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6761 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6764 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6766 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6768 * sysdeps/powerpc/fpu/fenv_private.h
6769 (libc_feholdexcept_setroundl_ctx): Define to
6770 libc_feholdexcept_setround_ppc_ctx.
6771 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6772 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6773 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6774 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6776 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6778 * sysdeps/aarch64/math-tests.h: New file.
6780 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6782 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6785 Check and set bit_AVX2_Usable.
6786 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6788 (bit_AVX2): Likewise.
6789 (index_AVX2_Usable): Likewise.
6790 (CPUID_AVX2): Likewise.
6791 (HAS_AVX2): Likewise.
6793 2014-04-17 Will Newton <will.newton@linaro.org>
6795 * manual/setjmp.texi (System V contexts): Add note that
6796 calling setcontext on a context created by a call to a
6797 signal handler is undefined. Update text to note that
6798 setcontext from a signal handler is possible but not
6802 * stdlib/tst-setcontext.c: Include signal.h.
6803 (main): Check that the signal stack before and
6804 after swapcontext is the same.
6806 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6807 Re-implement to restore registers in user code and avoid
6808 rt_sigreturn system call.
6810 2014-04-17 Wilco <wdijkstr@arm.com>
6812 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6813 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6814 * math/test-fenv.c: Skip exception trap tests on targets which only
6815 support non-stop mode.
6817 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6818 Wilco Dijkstra <wilco.dijkstra@arm.com>
6820 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6821 (libc_feholdsetround_aarch64_ctx)
6822 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6823 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6824 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6825 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6826 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6827 (libc_feresetround_noexl_ctx): Define.
6829 2014-04-16 Richard Henderson <rth@redhat.com>
6831 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6833 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6836 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6837 const from the non-libc, non-ldso copy.
6839 * sysdeps/alpha/libm-test-ulps: Regenerate.
6841 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6842 Wilco Dijkstra <wilco.dijkstra@arm.com>
6844 * sysdeps/aarch64/fpu/math_private.h: New file.
6846 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6848 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6850 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6853 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6854 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6856 Intel MPX bound registers before _dl_profile_fixup.
6857 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6858 registers after _dl_profile_fixup. Save and restore bound
6859 registers bnd0/bnd1 when calling _dl_call_pltexit.
6860 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6861 (LR_BND_OFFSET): Likewise.
6862 (LRV_BND0_OFFSET): Likewise.
6863 (LRV_BND1_OFFSET): Likewise.
6865 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6867 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6869 * sysdeps/mach/hurd/i386/tls.h: ... here.
6870 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6871 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6874 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6876 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6878 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6880 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6882 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6885 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6886 * sysdeps/s390/configure: Regenerate.
6889 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6890 Set round-to-nearest internally to reduce error accumulation.
6892 2014-04-16 Alan Modra <amodra@gmail.com>
6896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6897 * math/libm-test.inc (frexp_test_data): Add tests.
6898 * NEWS: Update fixed bug list.
6900 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6902 * benchtests/Makefile: Depend on libraries in build directory.
6903 (bench-math): Separate out math tests.
6904 (bench-pthread): Separate out pthread tests.
6905 (bench): Include math and pthread tests.
6907 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6910 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6911 _dl_debug_initialize.
6913 * configure.ac: Remove SELinux header check.
6914 * configure: Regenerate.
6915 * nscd/selinux.c (perms): Array of const char* to permission names.
6916 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6917 default policy. Call string_to_security_class and string_to_av_perm to
6918 translate strings. Enforce default policy and call avs_has_perm with
6919 results of translated strings.
6921 2014-04-13 David S. Miller <davem@davemloft.net>
6923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6925 2014-04-12 Allan McRae <allan@archlinux.org>
6928 * manual/string.texi (Collation Functions): Fix qsort argument
6930 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6932 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6934 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6935 Make the test a no-op if there are no exceptions defined.
6937 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6939 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6940 enable-hardcoded-path-in-tests
6942 2014-04-11 Will Newton <will.newton@linaro.org>
6944 * benchtests/Makefile (extra-objs): Add json-lib.o.
6945 (bench-func): Tidy up JSON output.
6946 * benchtests/bench-skeleton.c: Include json-lib.h.
6947 (main): Use JSON library functions to do output of
6949 * benchtests/bench-timing-type.c (main): Output the
6950 timing type simply, leaving formatting to the user.
6951 * benchtests/json-lib.c: New file.
6952 * benchtests/json-lib.h: Likewise.
6954 2014-04-11 Torvald Riegel <triegel@redhat.com>
6957 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6958 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6959 memory barriers. Add comments.
6960 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6961 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6962 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6963 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6964 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6965 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6967 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6969 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6970 * sysdeps/s390/s390-64/configure.ac: ... this ...
6971 * sysdeps/s390/configure.ac: ... to here.
6972 * sysdeps/s390/s390-32/configure: Delete file.
6973 * sysdeps/s390/s390-64/configure: Delete file.
6974 * sysdeps/s390/configure: Regenerate.
6976 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6978 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6980 2014-04-11 Will Newton <will.newton@linaro.org>
6982 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6983 to zero if it is not defined elsewhere. (mtrim): Test
6984 the value of MALLOC_DEBUG with #if rather than #ifdef.
6986 2014-04-10 Torvald Riegel <triegel@redhat.com>
6988 * benchtests/pthread_once-inputs: New file.
6989 * benchtests/pthread_once-source.c: New file.
6990 * benchtests/README: Update documentation.
6992 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6993 H.J. Lu <hongjiu.lu@intel.com>
6996 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6997 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6998 * sysdeps/x86_64/configure: Regenerated.
6999 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7001 (REGISTER_SAVE_RAX): Likewise.
7002 (REGISTER_SAVE_RCX): Likewise.
7003 (REGISTER_SAVE_RDX): Likewise.
7004 (REGISTER_SAVE_RSI): Likewise.
7005 (REGISTER_SAVE_RDI): Likewise.
7006 (REGISTER_SAVE_R8): Likewise.
7007 (REGISTER_SAVE_R9): Likewise.
7008 (REGISTER_SAVE_BND0): Likewise.
7009 (REGISTER_SAVE_BND1): Likewise.
7010 (REGISTER_SAVE_BND2): Likewise.
7011 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7012 bound registers when calling _dl_fixup.
7014 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7017 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7019 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7020 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7021 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7022 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7023 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7024 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7025 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7027 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7030 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7031 pathconf(_PC_NAME_MAX).
7033 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7037 (__PTHREAD_SPINS): Move definition to ...
7038 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7039 (__PTHREAD_SPINS): ... here.
7040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7041 (__PTHREAD_SPIN): Likewise.
7042 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7043 (__PTHREAD_SPIN): Likewise.
7044 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7045 (__PTHREAD_SPIN): Likewise.
7046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7047 (__PTHREAD_SPIN): Likewise.
7048 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7049 (__PTHREAD_SPIN): Likewise.
7050 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7051 (__PTHREAD_SPIN): Likewise.
7052 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7053 (__PTHREAD_SPIN): Likewise.
7054 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7055 (__PTHREAD_SPIN): Likewise.
7056 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7057 (__PTHREAD_SPIN): Likewise.
7058 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7059 (__PTHREAD_SPIN): Likewise.
7060 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7061 (__PTHREAD_SPIN): Likewise.
7062 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7063 (__PTHREAD_SPIN): Likewise.
7065 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7066 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7067 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7071 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7072 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7073 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7075 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7076 strlen symbol for non multi-arch builds.
7077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7078 missing hidden_def and weak_alias.
7080 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7082 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7084 2014-04-07 Will Newton <will.newton@linaro.org>
7086 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7087 and contents. [!_LIBC] Remove #ifndef and contents.
7088 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7089 * string/memccpy.c (__memccpy): Use ANSI prototype.
7090 * string/memfrob.c (memfrob): Likewise.
7091 * string/strcoll.c (STRCOLL): Likewise.
7092 * string/strlen.c (strlen): Likewise.
7093 * string/strtok.c (STRTOK): Likewise.
7094 * string/strcat.c: Remove unused #include of memcopy.h.
7095 (strcat): Use ANSI prototype.
7096 * string/strchr.c: Remove unused #include of memcopy.h.
7097 (strchr): Use ANSI prototype.
7098 * string/strcmp.c: Remove unused #include of memcopy.h.
7099 (strcmp): Use ANSI prototype.
7100 * string/strcpy.c: Remove unused #include of memcopy.h.
7101 (strcpy): Use ANSI prototype.
7103 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7105 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7106 * config.make.in (config-extra-cppflags): Set it from
7107 libc_extra_cppflags.
7108 * configure.ac (libc_extra_cflags): Make it accumulate over
7109 configure fragments.
7110 (libc_extra_cppflags): New flag.
7111 * configure. Regenerate.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7113 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7114 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7119 result for FE_DOWNWARD rounding mode.
7120 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7124 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7126 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7127 in function argument name.
7129 2014-04-03 David Svoboda <svoboda@cert.org>
7132 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7135 2014-04-03 Roland McGrath <roland@hack.frob.com>
7137 * elf/dl-unmap-segments.h: New file.
7138 * sysdeps/generic/ldsodefs.h
7139 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7140 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7141 * elf/dl-fptr.c: Likewise.
7142 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7143 * sysdeps/aarch64/tlsdesc.c: Likewise.
7144 * sysdeps/arm/tlsdesc.c: Likewise.
7145 * sysdeps/i386/tlsdesc.c: Likewise.
7146 * sysdeps/tile/dl-runtime.c: Likewise.
7147 * sysdeps/x86_64/tlsdesc.c: Likewise.
7148 * elf/dl-load.h: New file.
7149 * elf/dl-load.c: Include it.
7150 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7151 Macros moved to dl-load.h.
7152 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7153 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7154 Use _dl_unmap_segments in place of __munmap.
7155 Break out segment-mapping loop into ...
7156 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7158 2014-04-03 Will Newton <will.newton@linaro.org>
7160 * elf/dl-lookup.c (do_lookup_x): Remove comment
7161 referring to nested function and move variable
7162 declarations down to before first use.
7164 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7168 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7170 * math/s_catanf.c (__catanf): Likewise.
7171 * math/s_catanh.c (__catanh): Likewise.
7172 * math/s_catanhf.c (__catanhf): Likewise.
7173 * math/s_catanhl.c (__catanhl): Likewise.
7174 * math/s_catanl.c (__catanl): Likewise.
7175 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7176 by positive zero when computing -Inf result.
7177 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7178 (catanh_test): Likewise.
7179 * sysdeps/i386/fpu/libm-test-ulps: Update.
7180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7183 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7184 instead of using underflowing value in computing result.
7185 * math/s_clog10.c (__clog10): Likewise.
7186 * math/s_clog10f.c (__clog10f): Likewise.
7187 * math/s_clog10l.c (__clog10l): Likewise.
7188 * math/s_clogf.c (__clogf): Likewise.
7189 * math/s_clogl.c (__clogl): Likewise.
7190 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7191 (clog10_test): Likewise.
7192 * sysdeps/i386/fpu/libm-test-ulps: Update.
7193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7195 2014-04-02 Alan Modra <amodra@gmail.com>
7198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7199 output when value is near a power of two. Use int64_t for lx and
7200 remove casts. Use decimal rather than hex exponent constants.
7201 Don't use long double multiplication when double will suffice.
7202 * math/libm-test.inc (nextafter_test_data): Add tests.
7203 * NEWS: Add 16739 and 16786 to bug list.
7205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7207 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7209 2014-04-01 Will Newton <will.newton@linaro.org>
7211 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7212 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7214 2014-04-01 Florian Weimer <fweimer@redhat.com>
7217 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7218 * nptl/tst-setuid2.c: New file.
7219 * nptl/Makefile (xtests): Add tst-setuid2.
7221 2014-04-01 Alan Modra <amodra@gmail.com>
7224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7226 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7230 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7231 set errno as appropriate.
7232 * math/w_scalbf.c (__scalbf): Likewise.
7233 * math/w_scalbl.c (__scalbl): Likewise.
7234 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7235 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7236 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7240 * math/w_atan2.c: Include <errno.h>.
7241 (__atan2): Set errno for result underflowing to zero.
7242 * math/w_atan2f.c: Include <errno.h>.
7243 (__atan2f): Set errno for result underflowing to zero.
7244 * math/w_atan2l.c: Include <errno.h>.
7245 (__atan2l): Set errno for result underflowing to zero.
7246 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7248 * math/auto-libm-test-out: Regenerated.
7250 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7252 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7253 Encode instruction correctly in little endian.
7254 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7263 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/unix/sysv/linux/kernel-features.h
7267 [__sparc__ && !__arch64__ && !__sparc_v9__]
7268 (__ASSUME_SET_ROBUST_LIST): Do not define.
7269 [__sparc__ && !__arch64__ && !__sparc_v9__]
7270 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7271 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7273 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7274 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7275 (__ASSUME_REQUEUE_PI): Likewise.
7276 (__ASSUME_SET_ROBUST_LIST): Likewise.
7277 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7278 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7280 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7281 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7285 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7288 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7290 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7291 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7296 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7297 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7299 2014-03-31 Will Newton <will.newton@linaro.org>
7301 * benchtests/Makefile (bench): Add ffs and ffsll to list
7303 * benchtests/ffs-inputs: New file.
7304 * benchtests/ffsll-inputs: Likewise.
7306 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7309 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7310 too large before casting to int.
7311 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7312 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7313 * math/libm-test.inc (scalb_test_data): Add more tests.
7315 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7317 * benchtests/Makefile (DETAILED_OPT): New make option.
7318 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7320 * benchtests/bench-skeleton.c: Include stdbool.h.
7321 (main): Store and print timings per input.
7322 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7323 member to each argument value.
7324 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7325 (_print_arg_data): Initialize per-input timing to 0.
7327 * benchtests/Makefile (timing-type): New binary.
7328 (bench-clean): Also remove bench-timing-type.
7329 (bench): New target for timing-type.
7330 (bench-func): Print output in JSON format.
7331 * benchtests/bench-skeleton.c (main): Print output in JSON
7333 * benchtests/bench-timing-type.c: New file.
7334 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7335 (TIMING_PRINT_STATS): Remove.
7336 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7339 * benchtests/bench-modf.c: Remove.
7340 * benchtests/modf-inputs: New inputs file.
7342 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7345 * math/s_clog10.c (M_PI_LOG10E): New macro.
7346 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7347 imaginary parts are 0.
7348 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7349 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7350 imaginary parts are 0.
7351 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7352 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7353 imaginary parts are 0.
7354 * math/libm-test.inc (clog10_test_data): Update expected results
7355 for when real and imaginary parts are 0.
7357 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7359 * elf/dl-load.c: Finish conversion of __builtin_expect into
7362 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7366 1+x for argument with exponent below -67.
7367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7369 * math/auto-libm-test-in: Add more tests of exp.
7370 * math/auto-libm-test-out: Regenerated.
7372 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7375 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7376 (nscd_getnetgrent): Use it.
7379 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7382 2014-03-27 Andi Kleen <ak@linux.intel.com>
7384 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7385 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7386 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7387 (lll_robust_unlock): Remove out of line section. Use cfi
7389 (LLL_STUB_UNWIND_INFO*): Remove.
7390 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7391 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7392 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7393 (lll_robust_unlock): Remove out of line section. Use cfi
7395 (LLL_STUB_UNWIND_INFO*): Remove.
7397 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7400 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7403 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7405 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7407 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7410 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7412 * math/test-fenv-preserve.c: New file.
7413 * math/Makefile (tests): Add test-fenv-preserve.
7415 2014-03-26 Will Newton <will.newton@linaro.org>
7417 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7419 2014-03-25 Roland McGrath <roland@hack.frob.com>
7421 * scripts/versionlist.awk: Partition the version sets and emit all
7422 GLIBC_* (sorted) before all others (sorted).
7424 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7426 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7427 GLIBC_2.2.5 version.
7429 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7431 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7434 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7439 2014-03-25 Andreas Schwab <schwab@suse.de>
7441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7442 label to be used after in6ailist is initialized.
7444 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7446 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7447 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7449 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7453 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7455 (fp_formats): Update initializers.
7456 (init_fp_formats): Initialize new field.
7457 (output_for_one_input_case): Allow underflow for results up to
7459 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7460 * math/auto-libm-test-in: Don't mark some underflows from asin and
7462 * math/auto-libm-test-out: Regenerated.
7463 * sysdeps/i386/fpu/libm-test-ulps: Update.
7464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466 2014-03-25 Andreas Schwab <schwab@suse.de>
7468 * libio/Makefile (tst-ftell-partial-wide-ENV)
7469 (tst-ftell-active-handler-ENV): Define.
7471 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7473 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7475 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7477 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7479 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7481 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7482 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7483 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7485 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7488 * elf/dl-load.c (open_verify): Add mode parameter.
7489 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7490 (open_path): Change from boolean 'secure' to complete flag 'mode'
7491 (_dl_map_object): Adjust.
7492 * elf/Makefile (tests): Add tst-dlopen-aout.
7493 * elf/tst-dlopen-aout.c: New test.
7495 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7498 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7499 (struct stat): Rename member pad0 to __glibc_reserved0.
7502 * sysdeps/s390/s390-32/bits/wordsize.h
7503 (__WORDSIZE32_SIZE_ULONG): New define.
7504 * sysdeps/s390/s390-64/bits/wordsize.h
7505 (__WORDSIZE32_SIZE_ULONG): Likewise.
7506 * sysdeps/generic/stdint.h (SIZE_MAX):
7507 Define as UL if __WORDSIZE32_SIZE_ULONG.
7510 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7511 (__glibc_reserved0): New variable.
7512 (sa_flags): Change type to int.
7514 * posix/Makefile (before-compile): Use += before-compile instead
7517 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7518 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7520 2014-03-20 Andreas Schwab <schwab@suse.de>
7523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7524 non-matching result from nscd.
7526 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7528 * scripts/bench.py: Moved to ...
7529 * benchtests/scripts/bench.py: ... here.
7530 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7532 2014-03-24 Andreas Schwab <schwab@suse.de>
7535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7536 alloca_account and account alloca use for struct in6ailist.
7538 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7542 rounding mode to recompute results that overflow to infinity or
7544 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7546 * math/auto-libm-test-out: Regenerated.
7547 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7548 (ccosh_test): Likewise.
7549 (csin_test_data): Use plus_oflow.
7550 (csin_test): Use ALL_RM_TEST.
7551 (csinh_test_data): Use plus_oflow.
7552 (csinh_test): Use ALL_RM_TEST.
7553 * sysdeps/i386/fpu/libm-test-ulps: Update.
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7558 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7559 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7560 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7563 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7565 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7566 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7567 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7570 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7571 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7573 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7574 * sysdeps/i386/fpu/libm-test-ulps: Update.
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7579 * scripts/bench.pl: Remove file.
7580 * scripts/bench.py: New benchmark script.
7581 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7582 * benchtests/README: Mention python dependency.
7583 * scripts/pylintrc: New file.
7584 * scripts/pylint: New file.
7586 * bits/mathdef.h: Use #ifdef instead of #if.
7587 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7588 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7589 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7590 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7591 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7592 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7594 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7597 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7599 and strpbrk-ppc64 objects.
7600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7601 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7602 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7603 multiarch strpbrk for POWER7.
7604 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7605 multiarch strpbrk for PPC64.
7606 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7608 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7611 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7613 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7614 (atan_test): Likewise.
7615 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7616 (atanh_test): Use ALL_RM_TEST.
7617 (atan2_test_data): Likewise.
7618 (cabs_test): Likewise.
7619 (cacosh_test): Likewise.
7620 (carg_test): Likewise.
7621 (casin_test): Likewise.
7622 (casinh_test): Likewise.
7623 (cbrt_test): Likewise.
7624 (csqrt_test): Likewise.
7625 (erf_test): Likewise.
7626 (erfc_test): Likewise.
7627 (pow10_test): Likewise.
7628 (exp2_test): Likewise.
7629 (hypot_test): Likewise.
7630 (j0_test): Likewise.
7631 (j1_test): Likewise.
7632 (lgamma_test): Likewise.
7633 (gamma_test): Likewise.
7634 (sincos_test): Likewise.
7635 (tanh_test): Likewise.
7636 (y0_test): Likewise.
7637 (y1_test): Likewise.
7638 * sysdeps/i386/fpu/libm-test-ulps: Update.
7639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7641 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7645 and strcspn-ppc64 objects.
7646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7647 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7648 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7649 multiarch strcspn for POWER7.
7650 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7651 multiarch strcspn for PPC64.
7652 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7654 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7657 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7659 * math/gen-libm-test.pl (generate_testfile): Expect only function
7660 name as argument to AUTO_TESTS_* and pass results for all rounding
7661 modes to parse_args.
7662 (parse_auto_input): Separate inputs of automatic tests from
7663 outputs before storing in %auto_tests.
7664 * math/libm-test.inc (acos_test_data): Update call to
7666 (acos_test): Use ALL_RM_TEST.
7667 (acos_tonearest_test_data): Remove.
7668 (acos_test_tonearest): Likewise.
7669 (acos_towardzero_test_data): Likewise.
7670 (acos_test_towardzero): Likewise.
7671 (acos_downward_test_data): Likewise.
7672 (acos_test_downward): Likewise.
7673 (acos_upward_test_data): Likewise.
7674 (acos_test_upward): Likewise.
7675 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7676 (asin_test_data): Likewise.
7677 (asin_test): Use ALL_RM_TEST.
7678 (asin_tonearest_test_data): Remove.
7679 (asin_test_tonearest): Likewise.
7680 (asin_towardzero_test_data): Likewise.
7681 (asin_test_towardzero): Likewise.
7682 (asin_downward_test_data): Likewise.
7683 (asin_test_downward): Likewise.
7684 (asin_upward_test_data): Likewise.
7685 (asin_test_upward): Likewise.
7686 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7687 (atan_test_data): Likewise.
7688 (atanh_test_data): Likewise.
7689 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7690 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7691 (carg_test_data): Likewise.
7692 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7693 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7694 (ccosh_test_data): Likewise.
7695 (cexp_test_data): Likewise.
7696 (clog_test_data): Likewise.
7697 (clog10_test_data): Likewise.
7698 (cos_test_data): Update call to AUTO_TESTS_f_f.
7699 (cos_test): Use ALL_RM_TEST.
7700 (cos_tonearest_test_data): Remove.
7701 (cos_test_tonearest): Likewise.
7702 (cos_towardzero_test_data): Likewise.
7703 (cos_test_towardzero): Likewise.
7704 (cos_downward_test_data): Likewise.
7705 (cos_test_downward): Likewise.
7706 (cos_upward_test_data): Likewise.
7707 (cos_test_upward): Likewise.
7708 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7709 (cosh_test): Use ALL_RM_TEST.
7710 (cosh_tonearest_test_data): Remove.
7711 (cosh_test_tonearest): Likewise.
7712 (cosh_towardzero_test_data): Likewise.
7713 (cosh_test_towardzero): Likewise.
7714 (cosh_downward_test_data): Likewise.
7715 (cosh_test_downward): Likewise.
7716 (cosh_upward_test_data): Likewise.
7717 (cosh_test_upward): Likewise.
7718 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7719 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7720 (ctan_test_data): Likewise.
7721 (ctan_test): Use ALL_RM_TEST.
7722 (ctan_tonearest_test_data): Remove.
7723 (ctan_test_tonearest): Likewise.
7724 (ctan_towardzero_test_data): Likewise.
7725 (ctan_test_towardzero): Likewise.
7726 (ctan_downward_test_data): Likewise.
7727 (ctan_test_downward): Likewise.
7728 (ctan_upward_test_data): Likewise.
7729 (ctan_test_upward): Likewise.
7730 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7731 (ctanh_test): Use ALL_RM_TEST.
7732 (ctanh_tonearest_test_data): Remove.
7733 (ctanh_test_tonearest): Likewise.
7734 (ctanh_towardzero_test_data): Likewise.
7735 (ctanh_test_towardzero): Likewise.
7736 (ctanh_downward_test_data): Likewise.
7737 (ctanh_test_downward): Likewise.
7738 (ctanh_upward_test_data): Likewise.
7739 (ctanh_test_upward): Likewise.
7740 (erf_test_data): Update call to AUTO_TESTS_f_f.
7741 (erfc_test_data): Likewise.
7742 (exp_test_data): Likewise.
7743 (exp_test): Use ALL_RM_TEST.
7744 (exp_tonearest_test_data): Remove.
7745 (exp_test_tonearest): Likewise.
7746 (exp_towardzero_test_data): Likewise.
7747 (exp_test_towardzero): Likewise.
7748 (exp_downward_test_data): Likewise.
7749 (exp_test_downward): Likewise.
7750 (exp_upward_test_data): Likewise.
7751 (exp_test_upward): Likewise.
7752 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7753 (exp10_test): Use ALL_RM_TEST.
7754 (exp10_tonearest_test_data): Remove.
7755 (exp10_test_tonearest): Likewise.
7756 (exp10_towardzero_test_data): Likewise.
7757 (exp10_test_towardzero): Likewise.
7758 (exp10_downward_test_data): Likewise.
7759 (exp10_test_downward): Likewise.
7760 (exp10_upward_test_data): Likewise.
7761 (exp10_test_upward): Likewise.
7762 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7763 (expm1_test_data): Likewise.
7764 (expm1_test): Use ALL_RM_TEST.
7765 (expm1_tonearest_test_data): Remove.
7766 (expm1_test_tonearest): Likewise.
7767 (expm1_towardzero_test_data): Likewise.
7768 (expm1_test_towardzero): Likewise.
7769 (expm1_downward_test_data): Likewise.
7770 (expm1_test_downward): Likewise.
7771 (expm1_upward_test_data): Likewise.
7772 (expm1_test_upward): Likewise.
7773 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7774 (fma_test): Use ALL_RM_TEST.
7775 (fma_towardzero_test_data): Remove.
7776 (fma_test_towardzero): Likewise.
7777 (fma_downward_test_data): Likewise.
7778 (fma_test_downward): Likewise.
7779 (fma_upward_test_data): Likewise.
7780 (fma_test_upward): Likewise.
7781 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7782 (j0_test_data): Update call to AUTO_TESTS_f_f.
7783 (j1_test_data): Likewise.
7784 (jn_test_data): Update call to AUTO_TESTS_if_f.
7785 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7786 (log_test_data): Update call to AUTO_TESTS_f_f.
7787 (log10_test_data): Likewise.
7788 (log1p_test_data): Likewise.
7789 (log2_test_data): Likewise.
7790 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7791 (pow_tonearest_test_data): Likewise.
7792 (sin_test_data): Update call to AUTO_TESTS_f_f.
7793 (sin_test): Use ALL_RM_TEST.
7794 (sin_tonearest_test_data): Remove.
7795 (sin_test_tonearest): Likewise.
7796 (sin_towardzero_test_data): Likewise.
7797 (sin_test_towardzero): Likewise.
7798 (sin_downward_test_data): Likewise.
7799 (sin_test_downward): Likewise.
7800 (sin_upward_test_data): Likewise.
7801 (sin_test_upward): Likewise.
7802 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7803 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7804 (sinh_test): Use ALL_RM_TEST.
7805 (sinh_tonearest_test_data): Remove.
7806 (sinh_test_tonearest): Likewise.
7807 (sinh_towardzero_test_data): Likewise.
7808 (sinh_test_towardzero): Likewise.
7809 (sinh_downward_test_data): Likewise.
7810 (sinh_test_downward): Likewise.
7811 (sinh_upward_test_data): Likewise.
7812 (sinh_test_upward): Likewise.
7813 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7814 (sqrt_test): Use ALL_RM_TEST.
7815 (sqrt_tonearest_test_data): Remove.
7816 (sqrt_test_tonearest): Likewise.
7817 (sqrt_towardzero_test_data): Likewise.
7818 (sqrt_test_towardzero): Likewise.
7819 (sqrt_downward_test_data): Likewise.
7820 (sqrt_test_downward): Likewise.
7821 (sqrt_upward_test_data): Likewise.
7822 (sqrt_test_upward): Likewise.
7823 (tan_test_data): Update call to AUTO_TESTS_f_f.
7824 (tan_test): Use ALL_RM_TEST.
7825 (tan_tonearest_test_data): Remove.
7826 (tan_test_tonearest): Likewise.
7827 (tan_towardzero_test_data): Likewise.
7828 (tan_test_towardzero): Likewise.
7829 (tan_downward_test_data): Likewise.
7830 (tan_test_downward): Likewise.
7831 (tan_upward_test_data): Likewise.
7832 (tan_test_upward): Likewise.
7833 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7834 (tgamma_test_data): Likewise.
7835 (y0_test_data): Likewise.
7836 (y1_test_data): Likewise.
7837 (yn_test_data): Update call to AUTO_TESTS_if_f.
7838 (main): Do not call removed functions.
7840 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7842 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7843 (ldexp_test_data): Remove.
7844 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7846 (scalb_test): Use ALL_RM_TEST.
7848 2014-03-19 Andreas Schwab <schwab@suse.de>
7850 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7852 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7855 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7856 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7859 (__ASSUME_PREADV): Undefine.
7860 (__ASSUME_PWRITEV): Likewise.
7862 2014-03-18 Roland McGrath <roland@hack.frob.com>
7864 * bits/mman-linux.h: Add comment about non-Linux use.
7865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7866 bits/mman-linux.h resting place.
7868 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7869 * bits/mman-linux.h: ... here.
7871 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873 * conform/conformtest.pl: Add standard definition when calling C
7874 preprocessor on data files.
7875 (checknamespace): Remove unused variable.
7877 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7879 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7880 minus_oflow, plus_uflow and minus_uflow in expected results.
7881 * math/libm-test.inc (scalbn_test_data): Add more tests of
7882 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7884 (scalbn_test): Use ALL_RM_TEST.
7885 (scalbln_test_data): Add more tests of negative arguments. Use
7886 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7887 (scalbln_test): Use ALL_RM_TEST.
7889 2014-03-18 Roland McGrath <roland@hack.frob.com>
7891 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7893 2014-03-18 Will Newton <will.newton@linaro.org>
7895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7898 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7900 * Makerules [!subdir] (check-abi): Exit with error status if a
7903 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7905 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7906 for rint. Include results for all rounding modes.
7907 (nearbyint_test): Use ALL_RM_TEST.
7908 (rint_test_data): Include all tests used for nearbyint.
7910 2014-03-17 Will Newton <will.newton@linaro.org>
7912 * nptl/sysdeps/pthread/pthread.h: Revert previous
7915 * sysdeps/generic/ldsodefs.h: Revert previous
7918 * libio/genops.c: Revert previous change.
7919 * libio/libioP.h: Likewise.
7920 * stdio-common/vfprintf.c: Likewise.
7922 * sysdeps/generic/math_private.h: Revert previous
7925 * sysdeps/generic/math_private.h: Check whether
7926 HAVE_RM_CTX is defined with #ifdef rather
7929 * argp/argp-fmtstream.h: Check whether
7930 __STRICT_ANSI__ is defined with #ifdef rather
7932 * argp/argp.h: Likewise.
7934 * libio/genops.c: Check whether
7935 _IO_JUMPS_OFFSET is defined with #ifdef rather
7937 * libio/libioP.h: Likewise.
7938 * stdio-common/vfprintf.c: Likewise.
7940 * sysdeps/generic/ldsodefs.h: Check whether
7941 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7944 * nptl/sysdeps/pthread/pthread.h: Check
7945 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7948 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7950 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7952 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7956 * libio/fileops.c (_IO_file_open): Seek to end of file but
7957 don't cache the offset.
7958 (get_file_offset): Remove function.
7959 (do_ftell): Use cached offset when available.
7960 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7961 don't cache the offset.
7962 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7964 (do_one_test): Call it.
7965 (do_ftell_test): Fix up expected old offset for a+ mode.
7966 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7969 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7970 up test status with function return status.
7971 (do_write_test): Likewise.
7972 (do_append_test): Likewise.
7974 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7975 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7978 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7980 * math/gen-libm-test.pl (parse_args): Handle results specified for
7981 each rounding mode separately.
7982 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7983 tests and results from lrint_tonearest_test_data,
7984 lrint_towardzero_test_data, lrint_downward_test_data and
7985 lrint_upward_test_data.
7986 (lrint_test): Use ALL_RM_TEST.
7987 (lrint_tonearest_test_data): Remove.
7988 (lrint_test_tonearest): Likewise.
7989 (lrint_towardzero_test_data): Likewise.
7990 (lrint_test_towardzero): Likewise.
7991 (lrint_downward_test_data): Likewise.
7992 (lrint_test_downward): Likewise.
7993 (lrint_upward_test_data): Likewise.
7994 (lrint_test_upward): Likewise.
7995 (llrint_test_data): Merge in per-rounding-mode tests and results
7996 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7997 llrint_downward_test_data and llrint_upward_test_data.
7998 (llrint_test): Use ALL_RM_TEST.
7999 (llrint_tonearest_test_data): Remove.
8000 (llrint_test_tonearest): Likewise.
8001 (llrint_towardzero_test_data): Likewise.
8002 (llrint_test_towardzero): Likewise.
8003 (llrint_downward_test_data): Likewise.
8004 (llrint_test_downward): Likewise.
8005 (llrint_upward_test_data): Likewise.
8006 (llrint_test_upward): Likewise.
8007 (rint_test_data): Merge in per-rounding-mode tests and results
8008 from rint_tonearest_test_data, rint_towardzero_test_data,
8009 rint_downward_test_data and rint_upward_test_data. Add
8010 per-rounding-mode results for tests not in those arrays.
8011 (rint_test): Use ALL_RM_TEST.
8012 (rint_tonearest_test_data): Remove.
8013 (rint_test_tonearest): Likewise.
8014 (rint_towardzero_test_data): Likewise.
8015 (rint_test_towardzero): Likewise.
8016 (rint_downward_test_data): Likewise.
8017 (rint_test_downward): Likewise.
8018 (rint_upward_test_data): Likewise.
8019 (rint_test_upward): Likewise.
8020 (main): Don't call removed functions.
8022 2014-03-14 Roland McGrath <roland@hack.frob.com>
8024 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8025 "Compiled on ..." crapola. It is anti-useful.
8027 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8029 * scripts/evaluate-test.sh: Handle fourth argument to determine
8030 whether test run should stop on failure.
8031 * Makeconfig (stop-on-test-failure): New variable.
8032 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8033 $(stop-on-test-failure).
8034 * Makefile (tests): Give a summary of results from testing and
8035 exit with failure status if they include an ERROR or FAIL.
8037 * manual/install.texi (Configuring and compiling): Mention
8038 stop-on-test-failure=y.
8039 * INSTALL: Regenerated.
8041 2014-03-14 Roland McGrath <roland@hack.frob.com>
8043 * scripts/versionlist.awk: New file.
8044 * Makerules [$(build-shared) = yes]
8045 (postclean-generated): Add Versions.def, not Versions.def.v and
8047 ($(common-objpfx)Versions.def.v.i): Target removed.
8048 ($(common-objpfx)Versions.def): New target.
8049 ($(common-objpfx)Versions.all): Depend on that rather that
8050 $(common-objpfx)Versions.def.v.
8051 * Versions.def: File removed.
8053 * Makeconfig (+gccwarn): Add -Wundef.
8054 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8055 a dl-sysdep.h breaking its contract.
8056 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8057 * include/stackinfo.h: New file.
8058 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8059 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8060 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8061 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8062 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8063 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8064 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8065 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8066 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8067 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8068 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8069 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8070 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8071 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8072 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8074 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8079 * math/libm-test.inc (round_test_data): Add more tests.
8082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8084 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8087 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8089 * math/libm-test.inc (ceil_test_data): Add more tests.
8091 * math/libm-test.inc (trunc_test_data): Add more tests related to
8094 2014-03-14 Roland McGrath <roland@hack.frob.com>
8096 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8097 with #if rather than #ifdef.
8098 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8100 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8102 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8103 first. Disable AVX-512 GCC support if assembler doesn't support
8105 * sysdeps/x86_64/configure: Regenerated.
8107 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8109 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8110 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8111 (__old_pthread_attr_setstack): Likewise.
8112 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8113 [!_STACK_GROWS_DOWN]: Likewise.
8115 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8117 * config.make.in (have-bash2): Delete.
8118 * configure.ac (libc_cv_have_bash2): Delete.
8119 * configure: Regenerate.
8120 * elf/Makefile (common-ldd-rewrite): Rename to ...
8121 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8122 (sh-ldd-rewrite): Delete.
8123 (bash-ldd-rewrite): Delete.
8124 (have-bash2): Delete checks.
8125 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8128 * config.make.in (have-ksh): Delete.
8130 * configure.ac (libc_cv_have_ksh): Delete.
8131 * configure: Regenerate.
8133 * elf/Makefile: Delete $(have-ksh) check.
8134 ($(objpfx)sotruss): Change KSH to BASH.
8135 * elf/sotruss.ksh: Rename to ...
8136 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8137 function style to match POSIX. Drop ksh vim mode setting.
8139 * manual/time.texi (Specifying the Time Zone with TZ): Change
8140 Tuesday to Thursday.
8142 * debug/tst-longjmp_chk2.c: Update header comment.
8143 (stackoverflow_handler): Add comment. Call assert on pass value.
8145 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8148 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8149 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8150 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8151 (La_x86_64_vector): Add zmm.
8152 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8153 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8154 ($(objpfx)tst-audit10): New target.
8155 ($(objpfx)tst-audit10.out): Likewise.
8156 (tst-audit10-ENV): New.
8157 (AVX512-CFLAGS): Likewise.
8158 (CFLAGS-tst-audit10.c): Likewise.
8159 (CFLAGS-tst-auditmod10a.c): Likewise.
8160 (CFLAGS-tst-auditmod10b.c): Likewise.
8161 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8162 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8163 * sysdeps/x86_64/configure: Regenerated.
8164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8165 AVX-512 zmm register support.
8166 (_dl_x86_64_save_sse): Likewise.
8167 (_dl_x86_64_restore_sse): Likewise.
8168 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8169 size vector registers.
8170 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8171 (ZMM_SIZE): Likewise.
8172 * sysdeps/x86_64/tst-audit10.c: New file.
8173 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8174 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8176 2014-03-13 Roland McGrath <roland@hack.frob.com>
8178 * configure.ac (HAVE_EHDR_START): New check.
8179 * configure: Regenerated.
8180 * config.h.in (HAVE_EHDR_START): New #undef.
8181 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8182 assuming the lowest-addressed segment maps the start of the file.
8184 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8186 * INSTALL: Regenerated.
8188 2014-03-13 Will Newton <will.newton@linaro.org>
8190 * manual/setjmp.texi (System V contexts): Improve
8191 clarity and grammar of documentation.
8193 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8196 * elf/Makefile (tests): Add tst-pie2.
8197 (tests-pie): Add tst-pie2.
8198 * elf/tst-pie2.c: New file.
8199 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8201 * elf/rtld.c (map_doit): Load executable as lt_executable.
8202 (dl_main): Likewise.
8204 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8208 (__ASSUME_PSELECT): Undefine.
8210 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8214 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8217 selector for static builds.
8219 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8222 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8225 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8228 IFUNC selector for static builds.
8230 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8232 * sysdeps/mips/math_private.h [__mips_hard_float]
8233 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8234 libc_feresetround_mips_ctx.
8235 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8236 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8237 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8240 * math/s_nextafter.c (__nextafter): Do not return value from
8241 overflowing computation.
8242 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8243 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8246 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8248 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8249 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8251 2014-03-11 Roland McGrath <roland@hack.frob.com>
8253 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8254 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8255 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8256 the new mov targetting sp.
8258 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8261 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8262 Define it for static builds as well.
8263 (NO_BZERO_IMPL): Likewise.
8265 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8267 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8268 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8269 multiarch strspn for PPC64.
8270 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8271 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8273 (__libc_ifunc_impl_list): Likewise.
8274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8275 multiarch optimizations
8276 * string/strspn.c (strspn): Using macro to redefine symbol name.
8278 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8279 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8281 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8282 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8283 multiarch strncat for PPC64.
8284 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8285 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8287 (__libc_ifunc_impl_list): Likewise.
8288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8289 multiarch optimizations
8291 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8294 * nscd/nscd.service: Make service type forking.
8296 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8298 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8299 sign in non default rounding modes.
8300 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8302 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8304 * math/libm-test.inc (ALL_RM_TEST): New macro.
8305 (ceil_test): Use ALL_RM_TEST.
8306 (cimag_test): Likewise.
8307 (conj_test): Likewise.
8308 (copysign_test): Likewise.
8309 (cproj_test): Likewise.
8310 (creal_test): Likewise.
8311 (fabs_test): Likewise.
8312 (floor_test): Likewise.
8313 (fmax_test): Likewise.
8314 (fmin_test): Likewise.
8315 (fmod_test): Likewise.
8316 (fpclassify_test): Likewise.
8317 (frexp_test): Likewise.
8318 (ilogb_test): Likewise.
8319 (isfinite_test): Likewise.
8320 (finite_test): Likewise.
8321 (isgreater_test): Likewise.
8322 (isgreaterequal_test): Likewise.
8323 (isinf_test): Likewise.
8324 (isless_test): Likewise.
8325 (islessequal_test): Likewise.
8326 (islessgreater_test): Likewise.
8327 (isnan_test): Likewise.
8328 (isnormal_test): Likewise.
8329 (issignaling_test): Likewise.
8330 (isunordered_test): Likewise.
8331 (logb_test): Likewise.
8332 (logb_downward_test_data): Remove.
8333 (logb_test_downward): Likewise.
8334 (lround_test): Use ALL_RM_TEST.
8335 (llround_test): Likewise.
8336 (modf_test): Likewise.
8337 (nexttoward_test): Likewise.
8338 (remainder_test): Likewise.
8339 (drem_test): Likewise.
8340 (remainder_tonearest_test_data): Likewise.
8341 (remainder_test_tonearest): Likewise.
8342 (drem_test_tonearest): Likewise.
8343 (remainder_towardzero_test_data): Likewise.
8344 (remainder_test_towardzero): Likewise.
8345 (drem_test_towardzero): Likewise.
8346 (remainder_downward_test_data): Likewise.
8347 (remainder_test_downward): Likewise.
8348 (drem_test_downward): Likewise.
8349 (remainder_upward_test_data): Likewise.
8350 (remainder_test_upward): Likewise.
8351 (drem_test_upward): Likewise.
8352 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8353 (round_test): Use ALL_RM_TEST.
8354 (signbit_test): Likewise.
8355 (trunc_test): Likewise.
8356 (significand_test): Likewise.
8357 (main): Don't call removed functions.
8359 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8362 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8364 (ILL_ILLOPN): Likewise.
8365 (ILL_ILLADR): Likewise.
8366 (ILL_ILLTRP): Likewise.
8367 (ILL_PRVOPC): Likewise.
8368 (ILL_PRVREG): Likewise.
8369 (ILL_COPROC): Likewise.
8370 (ILL_BADSTK): Likewise.
8371 (FPE_INTDIV): Likewise.
8372 (FPE_INTOVF): Likewise.
8373 (FPE_FLTDIV): Likewise.
8374 (FPE_FLTOVF): Likewise.
8375 (FPE_FLTUND): Likewise.
8376 (FPE_FLTRES): Likewise.
8377 (FPE_FLTINV): Likewise.
8378 (FPE_FLTSUB): Likewise.
8379 (SEGV_MAPERR): Likewise.
8380 (SEGV_ACCERR): Likewise.
8381 (BUS_ADRALN): Likewise.
8382 (BUS_ADRERR): Likewise.
8383 (BUS_OBJERR): Likewise.
8384 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8385 (TRAP_TRACE): Likewise.
8386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8388 (CLD_KILLED): Likewise.
8389 (CLD_DUMPED): Likewise.
8390 (CLD_TRAPPED): Likewise.
8391 (CLD_STOPPED): Likewise.
8392 (CLD_CONTINUED): Likewise.
8393 (POLL_IN): Likewise.
8394 (POLL_OUT): Likewise.
8395 (POLL_MSG): Likewise.
8396 (POLL_ERR): Likewise.
8397 (POLL_PRI): Likewise.
8398 (POLL_HUP): Likewise.
8399 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8401 (ILL_ILLOPN): Likewise.
8402 (ILL_ILLADR): Likewise.
8403 (ILL_ILLTRP): Likewise.
8404 (ILL_PRVOPC): Likewise.
8405 (ILL_PRVREG): Likewise.
8406 (ILL_COPROC): Likewise.
8407 (ILL_BADSTK): Likewise.
8408 (FPE_INTDIV): Likewise.
8409 (FPE_INTOVF): Likewise.
8410 (FPE_FLTDIV): Likewise.
8411 (FPE_FLTOVF): Likewise.
8412 (FPE_FLTUND): Likewise.
8413 (FPE_FLTRES): Likewise.
8414 (FPE_FLTINV): Likewise.
8415 (FPE_FLTSUB): Likewise.
8416 (SEGV_MAPERR): Likewise.
8417 (SEGV_ACCERR): Likewise.
8418 (BUS_ADRALN): Likewise.
8419 (BUS_ADRERR): Likewise.
8420 (BUS_OBJERR): Likewise.
8421 (BUS_MCEERR_AR): Likewise.
8422 (BUS_MCEERR_AO): Likewise.
8423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8424 (TRAP_TRACE): Likewise.
8425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8427 (CLD_KILLED): Likewise.
8428 (CLD_DUMPED): Likewise.
8429 (CLD_TRAPPED): Likewise.
8430 (CLD_STOPPED): Likewise.
8431 (CLD_CONTINUED): Likewise.
8432 (POLL_IN): Likewise.
8433 (POLL_OUT): Likewise.
8434 (POLL_MSG): Likewise.
8435 (POLL_ERR): Likewise.
8436 (POLL_PRI): Likewise.
8437 (POLL_HUP): Likewise.
8438 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8439 (ILL_ILLOPN): Likewise.
8440 (ILL_ILLADR): Likewise.
8441 (ILL_ILLTRP): Likewise.
8442 (ILL_PRVOPC): Likewise.
8443 (ILL_PRVREG): Likewise.
8444 (ILL_COPROC): Likewise.
8445 (ILL_BADSTK): Likewise.
8446 (FPE_INTDIV): Likewise.
8447 (FPE_INTOVF): Likewise.
8448 (FPE_FLTDIV): Likewise.
8449 (FPE_FLTOVF): Likewise.
8450 (FPE_FLTUND): Likewise.
8451 (FPE_FLTRES): Likewise.
8452 (FPE_FLTINV): Likewise.
8453 (FPE_FLTSUB): Likewise.
8454 (SEGV_MAPERR): Likewise.
8455 (SEGV_ACCERR): Likewise.
8456 (BUS_ADRALN): Likewise.
8457 (BUS_ADRERR): Likewise.
8458 (BUS_OBJERR): Likewise.
8459 (BUS_MCEERR_AR): Likewise.
8460 (BUS_MCEERR_AO): Likewise.
8461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8462 (TRAP_TRACE): Likewise.
8463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8465 (CLD_KILLED): Likewise.
8466 (CLD_DUMPED): Likewise.
8467 (CLD_TRAPPED): Likewise.
8468 (CLD_STOPPED): Likewise.
8469 (CLD_CONTINUED): Likewise.
8470 (POLL_IN): Likewise.
8471 (POLL_OUT): Likewise.
8472 (POLL_MSG): Likewise.
8473 (POLL_ERR): Likewise.
8474 (POLL_PRI): Likewise.
8475 (POLL_HUP): Likewise.
8476 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8478 (ILL_ILLOPN): Likewise.
8479 (ILL_ILLADR): Likewise.
8480 (ILL_ILLTRP): Likewise.
8481 (ILL_PRVOPC): Likewise.
8482 (ILL_PRVREG): Likewise.
8483 (ILL_COPROC): Likewise.
8484 (ILL_BADSTK): Likewise.
8485 (ILL_BADIADDR): Likewise.
8486 (ILL_BREAK): Likewise.
8487 (FPE_INTDIV): Likewise.
8488 (FPE_INTOVF): Likewise.
8489 (FPE_FLTDIV): Likewise.
8490 (FPE_FLTOVF): Likewise.
8491 (FPE_FLTUND): Likewise.
8492 (FPE_FLTRES): Likewise.
8493 (FPE_FLTINV): Likewise.
8494 (FPE_FLTSUB): Likewise.
8495 (FPE_DECOVF): Likewise.
8496 (FPE_DECDIV): Likewise.
8497 (FPE_DECERR): Likewise.
8498 (FPE_INVASC): Likewise.
8499 (FPE_INVDEC): Likewise.
8500 (SEGV_MAPERR): Likewise.
8501 (SEGV_ACCERR): Likewise.
8502 (SEGV_PSTKOVF): Likewise.
8503 (BUS_ADRALN): Likewise.
8504 (BUS_ADRERR): Likewise.
8505 (BUS_OBJERR): Likewise.
8506 (BUS_MCEERR_AR): Likewise.
8507 (BUS_MCEERR_AO): Likewise.
8508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8509 (TRAP_TRACE): Likewise.
8510 (TRAP_BRANCH): Likewise.
8511 (TRAP_HWBKPT): Likewise.
8512 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8514 (CLD_KILLED): Likewise.
8515 (CLD_DUMPED): Likewise.
8516 (CLD_TRAPPED): Likewise.
8517 (CLD_STOPPED): Likewise.
8518 (CLD_CONTINUED): Likewise.
8519 (POLL_IN): Likewise.
8520 (POLL_OUT): Likewise.
8521 (POLL_MSG): Likewise.
8522 (POLL_ERR): Likewise.
8523 (POLL_PRI): Likewise.
8524 (POLL_HUP): Likewise.
8525 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8526 (ILL_ILLOPN): Likewise.
8527 (ILL_ILLADR): Likewise.
8528 (ILL_ILLTRP): Likewise.
8529 (ILL_PRVOPC): Likewise.
8530 (ILL_PRVREG): Likewise.
8531 (ILL_COPROC): Likewise.
8532 (ILL_BADSTK): Likewise.
8533 (FPE_INTDIV): Likewise.
8534 (FPE_INTOVF): Likewise.
8535 (FPE_FLTDIV): Likewise.
8536 (FPE_FLTOVF): Likewise.
8537 (FPE_FLTUND): Likewise.
8538 (FPE_FLTRES): Likewise.
8539 (FPE_FLTINV): Likewise.
8540 (FPE_FLTSUB): Likewise.
8541 (SEGV_MAPERR): Likewise.
8542 (SEGV_ACCERR): Likewise.
8543 (BUS_ADRALN): Likewise.
8544 (BUS_ADRERR): Likewise.
8545 (BUS_OBJERR): Likewise.
8546 (BUS_MCEERR_AR): Likewise.
8547 (BUS_MCEERR_AO): Likewise.
8548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8549 (TRAP_TRACE): Likewise.
8550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8552 (CLD_KILLED): Likewise.
8553 (CLD_DUMPED): Likewise.
8554 (CLD_TRAPPED): Likewise.
8555 (CLD_STOPPED): Likewise.
8556 (CLD_CONTINUED): Likewise.
8557 (POLL_IN): Likewise.
8558 (POLL_OUT): Likewise.
8559 (POLL_MSG): Likewise.
8560 (POLL_ERR): Likewise.
8561 (POLL_PRI): Likewise.
8562 (POLL_HUP): Likewise.
8563 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8564 (ILL_ILLOPN): Likewise.
8565 (ILL_ILLADR): Likewise.
8566 (ILL_ILLTRP): Likewise.
8567 (ILL_PRVOPC): Likewise.
8568 (ILL_PRVREG): Likewise.
8569 (ILL_COPROC): Likewise.
8570 (ILL_BADSTK): Likewise.
8571 (FPE_INTDIV): Likewise.
8572 (FPE_INTOVF): Likewise.
8573 (FPE_FLTDIV): Likewise.
8574 (FPE_FLTOVF): Likewise.
8575 (FPE_FLTUND): Likewise.
8576 (FPE_FLTRES): Likewise.
8577 (FPE_FLTINV): Likewise.
8578 (FPE_FLTSUB): Likewise.
8579 (SEGV_MAPERR): Likewise.
8580 (SEGV_ACCERR): Likewise.
8581 (BUS_ADRALN): Likewise.
8582 (BUS_ADRERR): Likewise.
8583 (BUS_OBJERR): Likewise.
8584 (BUS_MCEERR_AR): Likewise.
8585 (BUS_MCEERR_AO): Likewise.
8586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8587 (TRAP_TRACE): Likewise.
8588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8590 (CLD_KILLED): Likewise.
8591 (CLD_DUMPED): Likewise.
8592 (CLD_TRAPPED): Likewise.
8593 (CLD_STOPPED): Likewise.
8594 (CLD_CONTINUED): Likewise.
8595 (POLL_IN): Likewise.
8596 (POLL_OUT): Likewise.
8597 (POLL_MSG): Likewise.
8598 (POLL_ERR): Likewise.
8599 (POLL_PRI): Likewise.
8600 (POLL_HUP): Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8602 (ILL_ILLOPN): Likewise.
8603 (ILL_ILLADR): Likewise.
8604 (ILL_ILLTRP): Likewise.
8605 (ILL_PRVOPC): Likewise.
8606 (ILL_PRVREG): Likewise.
8607 (ILL_COPROC): Likewise.
8608 (ILL_BADSTK): Likewise.
8609 (FPE_INTDIV): Likewise.
8610 (FPE_INTOVF): Likewise.
8611 (FPE_FLTDIV): Likewise.
8612 (FPE_FLTOVF): Likewise.
8613 (FPE_FLTUND): Likewise.
8614 (FPE_FLTRES): Likewise.
8615 (FPE_FLTINV): Likewise.
8616 (FPE_FLTSUB): Likewise.
8617 (SEGV_MAPERR): Likewise.
8618 (SEGV_ACCERR): Likewise.
8619 (BUS_ADRALN): Likewise.
8620 (BUS_ADRERR): Likewise.
8621 (BUS_OBJERR): Likewise.
8622 (BUS_MCEERR_AR): Likewise.
8623 (BUS_MCEERR_AO): Likewise.
8624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8625 (TRAP_TRACE): Likewise.
8626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8628 (CLD_KILLED): Likewise.
8629 (CLD_DUMPED): Likewise.
8630 (CLD_TRAPPED): Likewise.
8631 (CLD_STOPPED): Likewise.
8632 (CLD_CONTINUED): Likewise.
8633 (POLL_IN): Likewise.
8634 (POLL_OUT): Likewise.
8635 (POLL_MSG): Likewise.
8636 (POLL_ERR): Likewise.
8637 (POLL_PRI): Likewise.
8638 (POLL_HUP): Likewise.
8639 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8640 (ILL_ILLOPN): Likewise.
8641 (ILL_ILLADR): Likewise.
8642 (ILL_ILLTRP): Likewise.
8643 (ILL_PRVOPC): Likewise.
8644 (ILL_PRVREG): Likewise.
8645 (ILL_COPROC): Likewise.
8646 (ILL_BADSTK): Likewise.
8647 (ILL_DBLFLT): Likewise.
8648 (ILL_HARDWALL): Likewise.
8649 (FPE_INTDIV): Likewise.
8650 (FPE_INTOVF): Likewise.
8651 (FPE_FLTDIV): Likewise.
8652 (FPE_FLTOVF): Likewise.
8653 (FPE_FLTUND): Likewise.
8654 (FPE_FLTRES): Likewise.
8655 (FPE_FLTINV): Likewise.
8656 (FPE_FLTSUB): Likewise.
8657 (SEGV_MAPERR): Likewise.
8658 (SEGV_ACCERR): Likewise.
8659 (BUS_ADRALN): Likewise.
8660 (BUS_ADRERR): Likewise.
8661 (BUS_OBJERR): Likewise.
8662 (BUS_MCEERR_AR): Likewise.
8663 (BUS_MCEERR_AO): Likewise.
8664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8665 (TRAP_TRACE): Likewise.
8666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8668 (CLD_KILLED): Likewise.
8669 (CLD_DUMPED): Likewise.
8670 (CLD_TRAPPED): Likewise.
8671 (CLD_STOPPED): Likewise.
8672 (CLD_CONTINUED): Likewise.
8673 (POLL_IN): Likewise.
8674 (POLL_OUT): Likewise.
8675 (POLL_MSG): Likewise.
8676 (POLL_ERR): Likewise.
8677 (POLL_PRI): Likewise.
8678 (POLL_HUP): Likewise.
8679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8680 (ILL_ILLOPN): Likewise.
8681 (ILL_ILLADR): Likewise.
8682 (ILL_ILLTRP): Likewise.
8683 (ILL_PRVOPC): Likewise.
8684 (ILL_PRVREG): Likewise.
8685 (ILL_COPROC): Likewise.
8686 (ILL_BADSTK): Likewise.
8687 (FPE_INTDIV): Likewise.
8688 (FPE_INTOVF): Likewise.
8689 (FPE_FLTDIV): Likewise.
8690 (FPE_FLTOVF): Likewise.
8691 (FPE_FLTUND): Likewise.
8692 (FPE_FLTRES): Likewise.
8693 (FPE_FLTINV): Likewise.
8694 (FPE_FLTSUB): Likewise.
8695 (SEGV_MAPERR): Likewise.
8696 (SEGV_ACCERR): Likewise.
8697 (BUS_ADRALN): Likewise.
8698 (BUS_ADRERR): Likewise.
8699 (BUS_OBJERR): Likewise.
8700 (BUS_MCEERR_AR): Likewise.
8701 (BUS_MCEERR_AO): Likewise.
8702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8703 (TRAP_TRACE): Likewise.
8704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8706 (CLD_KILLED): Likewise.
8707 (CLD_DUMPED): Likewise.
8708 (CLD_TRAPPED): Likewise.
8709 (CLD_STOPPED): Likewise.
8710 (CLD_CONTINUED): Likewise.
8711 (POLL_IN): Likewise.
8712 (POLL_OUT): Likewise.
8713 (POLL_MSG): Likewise.
8714 (POLL_ERR): Likewise.
8715 (POLL_PRI): Likewise.
8716 (POLL_HUP): Likewise.
8717 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8718 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8721 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8722 before #include of <time.h>.
8723 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8724 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8725 (test-xfail-UNIX98/sched.h/conform): Likewise.
8727 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8729 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8730 error absence of trapping exception support.
8731 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8733 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8735 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8736 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8737 * timezone/Makefile (testdata): Move definition above include of
8739 (test-zones): New variable.
8740 (tests-special): Add zone files.
8741 (build-testdata): Use $(evaluate-test).
8743 * elf/Makefile (tests-special): Rename tests to end with .out.
8744 ($(objpfx)noload-mem): Likewise.
8745 ($(objpfx)tst-leaks1-mem): Likewise.
8746 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8747 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8748 $(objpfx)test-iconvconfig.out.
8749 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8750 set -e inside subshell and redirect output to file.
8751 * iconvdata/Makefile (generated): Rename tests to end with .out.
8753 (tests-special): Rename tests to end with .out.
8754 ($(objpfx)mtrace-tst-loading): Likewise.
8755 * intl/Makefile (generated): Likewise.
8756 (tests-special): Likewise.
8757 ($(objpfx)mtrace-tst-gettext): Likewise.
8758 * misc/Makefile (generated): Likewise.
8759 (tests-special): Likewise.
8760 ($(objpfx)tst-error1-mem): Likewise.
8761 * nptl/Makefile (tests-special): Likewise.
8762 ($(objpfx)tst-stack3-mem): Likewise.
8763 (generated): Likewise.
8764 * posix/Makefile (generated): Likewise.
8765 (tests-special): Likewise.
8766 (xtests-special): Likewise.
8767 ($(objpfx)tst-fnmatch-mem): Likewise.
8768 ($(objpfx)bug-regex2-mem): Likewise.
8769 ($(objpfx)bug-regex14-mem): Likewise.
8770 ($(objpfx)bug-regex21-mem): Likewise.
8771 ($(objpfx)bug-regex31-mem): Likewise.
8772 ($(objpfx)tst-vfork3-mem): Likewise.
8773 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8774 ($(objpfx)tst-pcre-mem): Likewise.
8775 ($(objpfx)tst-boost-mem): Likewise.
8776 ($(objpfx)bug-ga2-mem): Likewise.
8777 ($(objpfx)bug-glob2-mem): Likewise.
8778 * resolv/Makefile (generate): Likewise.
8779 (tests-special): Likewise.
8780 (xtests-special): Likewise.
8781 (generated): Likewise.
8782 ($(objpfx)mtrace-tst-leaks): Likewise.
8783 ($(objpfx)mtrace-tst-leaks2): Likewise.
8785 * scripts/merge-test-results.sh: New file.
8786 * Makefile (tests-special-notdir): New variable.
8787 (tests): Run merge-test-results.sh.
8789 * Rules (tests-special-notdir): New variable.
8790 (xtests-special-notdir): Likewise.
8791 (tests): Run merge-test-results.sh
8794 * Makeconfig (test-xfail-name): New variable.
8795 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8796 compute variable name for expected failures.
8797 * conform/Makefile (conformtest-headers-data): New variable.
8798 (conformtest-standards): Likewise.
8799 (conformtest-headers-ISO): Likewise.
8800 (conformtest-headers-ISO99): Likewise.
8801 (conformtest-headers-ISO11): Likewise.
8802 (conformtest-headers-POSIX): Likewise.
8803 (conformtest-headers-XPG3): Likewise.
8804 (conformtest-headers-XPG4): Likewise.
8805 (conformtest-headers-UNIX98): Likewise.
8806 (conformtest-headers-XOPEN2K): Likewise.
8807 (conformtest-headers-POSIX2008): Likewise.
8808 (conformtest-headers-XOPEN2K8): Likewise.
8809 (conformtest-header-list-base): Likewise.
8810 (conformtest-header-list-tests): Likewise.
8811 (conformtest-header-base): Likewise.
8812 (conformtest-header-tests): Likewise.
8813 (tests-special): Add $(conformtest-header-list-tests). If
8814 [$(fast-check) && !$(cross-compiling)], add
8815 $(conformtest-header-tests) instead of
8816 $(objpfx)run-conformtest.out.
8817 (generated): Add $(conformtest-header-list-base). If
8818 [$(fast-check) && !$(cross-compiling)], add
8819 $(conformtest-header-base). Remove previous setting.
8820 ($(conformtest-header-list-tests)): New target.
8821 (test-xfail-run-conformtest): Remove variable.
8822 ($(objpfx)run-conformtest.out): Remove target.
8823 (test-xfail-ISO11/complex.h/conform): New variable.
8824 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8825 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8826 (test-xfail-XPG3/varargs.h/conform): Likewise.
8827 (test-xfail-XPG4/varargs.h/conform): Likewise.
8828 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8829 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8830 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8831 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8832 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8833 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8834 (test-xfail-XPG3/ftw.h/conform): Likewise.
8835 (test-xfail-XPG3/grp.h/conform): Likewise.
8836 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8837 (test-xfail-XPG3/limits.h/conform): Likewise.
8838 (test-xfail-XPG3/pwd.h/conform): Likewise.
8839 (test-xfail-XPG3/search.h/conform): Likewise.
8840 (test-xfail-XPG3/signal.h/conform): Likewise.
8841 (test-xfail-XPG3/stdio.h/conform): Likewise.
8842 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8843 (test-xfail-XPG3/string.h/conform): Likewise.
8844 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8845 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8846 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8847 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8848 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8849 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8850 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8851 (test-xfail-XPG3/termios.h/conform): Likewise.
8852 (test-xfail-XPG3/time.h/conform): Likewise.
8853 (test-xfail-XPG3/unistd.h/conform): Likewise.
8854 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8855 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8856 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8857 (test-xfail-XPG4/netdb.h/conform): Likewise.
8858 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8859 (test-xfail-XPG4/signal.h/conform): Likewise.
8860 (test-xfail-XPG4/stdio.h/conform): Likewise.
8861 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8862 (test-xfail-XPG4/stropts.h/conform): Likewise.
8863 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8864 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8865 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8866 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8867 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8868 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8869 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8870 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8871 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8872 (test-xfail-XPG4/termios.h/conform): Likewise.
8873 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8874 (test-xfail-XPG4/unistd.h/conform): Likewise.
8875 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8876 (test-xfail-POSIX/sched.h/conform): Likewise.
8877 (test-xfail-POSIX/signal.h/conform): Likewise.
8878 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8879 (test-xfail-POSIX/tar.h/conform): Likewise.
8880 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8881 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8882 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8883 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8884 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8885 (test-xfail-UNIX98/sched.h/conform): Likewise.
8886 (test-xfail-UNIX98/signal.h/conform): Likewise.
8887 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8888 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8889 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8890 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8891 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8892 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8893 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8894 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8895 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8896 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8897 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8898 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8899 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8900 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8901 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8902 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8903 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8904 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8905 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8906 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8907 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8908 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8909 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8910 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8911 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8912 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8913 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8914 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8915 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8916 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8917 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8918 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8919 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8920 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8921 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8922 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8923 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8924 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8925 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8926 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8927 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8928 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8929 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8930 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8931 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8932 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8933 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8934 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8935 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8936 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8937 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8938 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8939 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8940 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8941 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8942 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8943 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8944 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8945 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8946 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8947 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8948 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8949 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8950 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8951 (conformtest-cc-flags): Likewise.
8952 ($(conformtest-header-tests): New target.
8953 * conform/check-header-lists.sh: New file.
8954 * conform/run-conformtest.sh: Remove.
8956 * conform/conformtest.pl: Allow ' and \ in values given for
8958 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8960 [POSIX] (sys/types.h): Likewise.
8961 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8963 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8965 * conform/data/signal.h-data (SIGIO): Remove expectation.
8966 [XPG3] (SIGBUS): Do not expect.
8967 [POSIX || XPG3] (SIGPOLL): Likewise.
8968 [POSIX || XPG3] (SIGPROF): Likewise.
8969 [POSIX || XPG3] (SIGSYS): Likewise.
8970 [XPG3] (SIGTRAP): Likewise.
8971 [POSIX || XPG3] (SIGURG): Likewise.
8972 [POSIX || XPG3] (SIGVTALRM): Likewise.
8973 [POSIX || XPG3] (SIGXCPU): Likewise.
8974 [POSIX || XPG3] (SIGXFSZ): Likewise.
8975 [POSIX] (SA_SIGINFO): Expect.
8976 [XPG3] (siginfo_t): Do not expect type or contents.
8977 [POSIX] (si_pid): Do not expect element.
8978 [POSIX] (si_uid): Likewise.
8979 [POSIX] (si_addr): Likewise.
8980 [POSIX] (si_status): Likewise.
8981 [POSIX] (si_band): Likewise.
8982 [XPG4] (si_value): Likewise.
8983 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8984 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8985 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8986 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8987 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8988 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8989 [POSIX || XPG3] (ILL_COPROC): Likewise.
8990 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8991 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8992 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8993 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8994 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8995 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8996 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8997 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8998 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8999 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9000 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9001 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9002 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9003 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9004 [POSIX || XPG3] (CLD_EXITED): Likewise.
9005 [POSIX || XPG3] (CLD_KILLED): Likewise.
9006 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9007 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9008 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9009 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9010 [POSIX || XPG3] (POLL_IN): Likewise.
9011 [POSIX || XPG3] (POLL_OUT): Likewise.
9012 [POSIX || XPG3] (POLL_MSG): Likewise.
9013 [POSIX || XPG3] (POLL_ERR): Likewise.
9014 [POSIX || XPG3] (POLL_PRI): Likewise.
9015 [POSIX || XPG3] (POLL_HUP): Likewise.
9016 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9017 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9018 (SIG*): Do not allow.
9019 [XPG3] (si_*): Likewise.
9020 [XPG3] (SI_*): Likewise.
9021 [XPG3 || XPG4] (sigev_*): Likewise.
9022 [XPG3 || XPG4] (SIGEV_*): Likewise.
9023 [XPG3 || XPG4] (sival_*): Likewise.
9024 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9025 [POSIX || XPG3] (BUS_*): Likewise.
9026 [POSIX || XPG3] (CLD_*): Likewise.
9027 [POSIX || XPG3] (FPE_*): Likewise.
9028 [POSIX || XPG3] (ILL_*): Likewise.
9029 [POSIX || XPG3] (POLL_*): Likewise.
9030 [POSIX || XPG3] (SEGV_*): Likewise.
9031 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9032 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9033 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9034 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9035 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9036 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9037 Specify type and value.
9038 (TVERSLEN): Likewise.
9039 (REGTYPE): Likewise.
9040 (AREGTYPE): Likewise.
9041 (LNKTYPE): Likewise.
9042 (SYMTYPE): Likewise.
9043 (CHRTYPE): Likewise.
9044 (BLKTYPE): Likewise.
9045 (DIRTYPE): Likewise.
9046 (FIFOTYPE): Likewise.
9047 (CONTTYPE): Likewise.
9052 (TUWRITE): Likewise.
9055 (TGWRITE): Likewise.
9058 (TOWRITE): Likewise.
9060 [POSIX] (TSVTX): Expect constant.
9062 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9064 * Makefile (tests): Change dependencies to ....
9065 (tests-special): ... additions to this variable.
9066 (tests): Depend on $(tests-special).
9067 * Makerules (check-abi-list): New variable.
9068 (check-abi): Depend on $(check-abi-list).
9069 [$(subdir) = elf] (tests-special): Add
9070 $(objpfx)check-abi-libc.out.
9071 [$(build-shared) = yes && subdir] (tests-special): Add
9073 [$(build-shared) = yes && subdir] (tests): Do not depend on
9075 * Rules (tests): Depend on $(tests-special).
9076 (xtests): Depend on $(xtests-special).
9077 * catgets/Makefile (tests): Change dependencies to ....
9078 (tests-special): ... additions to this variable.
9079 * conform/Makefile (tests): Change dependencies to ....
9080 (tests-special): ... additions to this variable.
9081 * elf/Makefile (tests): Change dependencies to ....
9082 (tests-special): ... additions to this variable.
9083 * grp/Makefile (tests): Change dependencies to ....
9084 (tests-special): ... additions to this variable.
9085 * iconv/Makefile (xtests): Change dependencies to ....
9086 (xtests-special): ... additions to this variable.
9087 * iconvdata/Makefile (tests): Change dependencies to ....
9088 (tests-special): ... additions to this variable.
9089 * intl/Makefile (tests): Change dependencies to ....
9090 (tests-special): ... additions to this variable. Also add
9091 $(objpfx)tst-gettext.out.
9092 * io/Makefile (tests): Change dependencies to ....
9093 (tests-special): ... additions to this variable.
9094 * libio/Makefile (tests): Change dependencies to ....
9095 (tests-special): ... additions to this variable.
9096 * malloc/Makefile (tests): Change dependencies to ....
9097 (tests-special): ... additions to this variable.
9098 * misc/Makefile (tests): Change dependencies to ....
9099 (tests-special): ... additions to this variable.
9100 * nptl/Makefile (tests): Change dependencies to ....
9101 (tests-special): ... additions to this variable.
9102 * nptl_db/Makefile (tests): Change dependencies to ....
9103 (tests-special): ... additions to this variable.
9104 * posix/Makefile (tests): Change dependencies to ....
9105 (tests-special): ... additions to this variable.
9106 (xtests): Change dependencies to ....
9107 (xtests-special): ... additions to this variable.
9108 * resolv/Makefile (tests): Change dependencies to ....
9109 (tests-special): ... additions to this variable.
9110 (xtests): Change dependencies to ....
9111 (xtests-special): ... additions to this variable.
9112 * stdio-common/Makefile (tests): Change dependencies to ....
9113 (tests-special): ... additions to this variable.
9114 (do-tst-unbputc): Remove target.
9115 (do-tst-printf): Likewise.
9116 * stdlib/Makefile (tests): Change dependencies to ....
9117 (tests-special): ... additions to this variable.
9118 * string/Makefile (tests): Change dependencies to ....
9119 (tests-special): ... additions to this variable.
9120 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9121 (tests-special): ... additions to this variable.
9123 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9125 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9127 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9128 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9130 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9131 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9132 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9133 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9134 * conform/data/libgen.h-data [XPG3]: Likewise.
9135 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9136 * conform/data/ndbm.h-data [XPG3]: Likewise.
9137 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9138 * conform/data/netdb.h-data [XPG3]: Likewise.
9139 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9140 * conform/data/poll.h-data [XPG3]: Likewise.
9141 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9142 * conform/data/strings.h-data [XPG3]: Likewise.
9143 * conform/data/stropts.h-data [XPG3]: Likewise.
9144 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9145 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9146 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9148 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9149 * conform/data/sys/time.h-data [XPG3]: Likewise.
9150 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9151 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9152 * conform/data/sys/un.h-data [XPG3]: Likewise.
9153 * conform/data/syslog.h-data [XPG3]: Likewise.
9154 * conform/data/ucontext.h-data [XPG3]: Likewise.
9155 * conform/data/utmpx.h-data [XPG3]: Likewise.
9156 * conform/data/varargs.h-data [UNIX98]: Enable file.
9158 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9160 * math/libm-test.inc (struct test_f_f_data): Move expected results
9161 into structure for each rounding mode.
9162 (struct test_ff_f_data): Likewise.
9163 (struct test_ff_f_data_nexttoward): Likewise.
9164 (struct test_fi_f_data): Likewise.
9165 (struct test_fl_f_data): Likewise.
9166 (struct test_if_f_data): Likewise.
9167 (struct test_fff_f_data): Likewise.
9168 (struct test_c_f_data): Likewise.
9169 (struct test_f_f1_data): Likewise.
9170 (struct test_fF_f1_data): Likewise.
9171 (struct test_ffI_f1_data): Likewise.
9172 (struct test_c_c_data): Likewise.
9173 (struct test_cc_c_data): Likewise.
9174 (struct test_f_i_data): Likewise.
9175 (struct test_ff_i_data): Likewise.
9176 (struct test_f_l_data): Likewise.
9177 (struct test_f_L_data): Likewise.
9178 (struct test_fFF_11_data): Likewise.
9180 (RM_FE_DOWNWARD): Likewise.
9181 (RM_FE_TONEAREST): Likewise.
9182 (RM_FE_TOWARDZERO): Likewise.
9183 (RM_FE_UPWARD): Likewise.
9184 (RUN_TEST_LOOP_f_f): Update references to expected results.
9185 (RUN_TEST_LOOP_2_f): Likewise.
9186 (RUN_TEST_LOOP_fff_f): Likewise.
9187 (RUN_TEST_LOOP_c_f): Likewise.
9188 (RUN_TEST_LOOP_f_f1): Likewise.
9189 (RUN_TEST_LOOP_fF_f1): Likewise.
9190 (RUN_TEST_LOOP_fI_f1): Likewise.
9191 (RUN_TEST_LOOP_ffI_f1): Likewise.
9192 (RUN_TEST_LOOP_c_c): Likewise.
9193 (RUN_TEST_LOOP_cc_c): Likewise.
9194 (RUN_TEST_LOOP_f_i): Likewise.
9195 (RUN_TEST_LOOP_f_i_tg): Likewise.
9196 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9197 (RUN_TEST_LOOP_f_b): Likewise.
9198 (RUN_TEST_LOOP_f_b_tg): Likewise.
9199 (RUN_TEST_LOOP_f_l): Likewise.
9200 (RUN_TEST_LOOP_f_L): Likewise.
9201 (RUN_TEST_LOOP_fFF_11): Likewise.
9202 * math/gen-libm-test.pl (parse_args): Output four copies of
9203 expected results for each test.
9205 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9206 (__ASSUME_UTIMES): Remove.
9207 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9208 (__ASSUME_UTIMES): Likewise.
9210 * math/gen-auto-libm-tests.c: Update comment on output format.
9211 (output_for_one_input_case): Generate before-rounding and
9212 after-rounding information as conditions on output flags not
9213 floating-point format.
9214 * math/auto-libm-test-out: Regenerated.
9215 * math/gen-libm-test.pl (cond_value): New function.
9216 (or_cond_value): Use cond_value.
9217 (generate_testfile): Handle conditional exceptions.
9219 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9221 * math/libm-test.inc (max_valid_error): New variable.
9222 (init_max_error): Take new argument specifying whether function
9223 results are exactly determined. Set max_valid_error and bound
9224 other variables for errors based on this argument.
9225 (set_max_error): Do not record results above max_valid_error.
9226 (check_float_internal): Only accept errors of up to 0.5ulps if
9227 also at most max_valid_error.
9228 (START): Take new argument EXACT and pass it to init_max_error.
9229 (acos_test): Update call to START.
9230 (acos_test_tonearest): Likewise.
9231 (acos_test_towardzero): Likewise.
9232 (acos_test_downward): Likewise.
9233 (acos_test_upward): Likewise.
9234 (acosh_test): Likewise.
9235 (asin_test): Likewise.
9236 (asin_test_tonearest): Likewise.
9237 (asin_test_towardzero): Likewise.
9238 (asin_test_downward): Likewise.
9239 (asin_test_upward): Likewise.
9240 (asinh_test): Likewise.
9241 (atan_test): Likewise.
9242 (atanh_test): Likewise.
9243 (atan2_test): Likewise.
9244 (cabs_test): Likewise.
9245 (cacos_test): Likewise.
9246 (cacosh_test): Likewise.
9247 (carg_test): Likewise.
9248 (casin_test): Likewise.
9249 (casinh_test): Likewise.
9250 (catan_test): Likewise.
9251 (catanh_test): Likewise.
9252 (cbrt_test): Likewise.
9253 (ccos_test): Likewise.
9254 (ccosh_test): Likewise.
9255 (ceil_test): Likewise.
9256 (cexp_test): Likewise.
9257 (cimag_test): Likewise.
9258 (clog_test): Likewise.
9259 (clog10_test): Likewise.
9260 (conj_test): Likewise.
9261 (copysign_test): Likewise.
9262 (cos_test): Likewise.
9263 (cos_test_tonearest): Likewise.
9264 (cos_test_towardzero): Likewise.
9265 (cos_test_downward): Likewise.
9266 (cos_test_upward): Likewise.
9267 (cosh_test): Likewise.
9268 (cosh_test_tonearest): Likewise.
9269 (cosh_test_towardzero): Likewise.
9270 (cosh_test_downward): Likewise.
9271 (cosh_test_upward): Likewise.
9272 (cpow_test): Likewise.
9273 (cproj_test): Likewise.
9274 (creal_test): Likewise.
9275 (csin_test): Likewise.
9276 (csinh_test): Likewise.
9277 (csqrt_test): Likewise.
9278 (ctan_test): Likewise.
9279 (ctan_test_tonearest): Likewise.
9280 (ctan_test_towardzero): Likewise.
9281 (ctan_test_downward): Likewise.
9282 (ctan_test_upward): Likewise.
9283 (ctanh_test): Likewise.
9284 (ctanh_test_tonearest): Likewise.
9285 (ctanh_test_towardzero): Likewise.
9286 (ctanh_test_downward): Likewise.
9287 (ctanh_test_upward): Likewise.
9288 (erf_test): Likewise.
9289 (erfc_test): Likewise.
9290 (exp_test): Likewise.
9291 (exp_test_tonearest): Likewise.
9292 (exp_test_towardzero): Likewise.
9293 (exp_test_downward): Likewise.
9294 (exp_test_upward): Likewise.
9295 (exp10_test): Likewise.
9296 (exp10_test_tonearest): Likewise.
9297 (exp10_test_towardzero): Likewise.
9298 (exp10_test_downward): Likewise.
9299 (exp10_test_upward): Likewise.
9300 (pow10_test): Likewise.
9301 (exp2_test): Likewise.
9302 (expm1_test): Likewise.
9303 (expm1_test_tonearest): Likewise.
9304 (expm1_test_towardzero): Likewise.
9305 (expm1_test_downward): Likewise.
9306 (expm1_test_upward): Likewise.
9307 (fabs_test): Likewise.
9308 (fdim_test): Likewise.
9309 (floor_test): Likewise.
9310 (fma_test): Likewise.
9311 (fma_test_towardzero): Likewise.
9312 (fma_test_downward): Likewise.
9313 (fma_test_upward): Likewise.
9314 (fmax_test): Likewise.
9315 (fmin_test): Likewise.
9316 (fmod_test): Likewise.
9317 (fpclassify_test): Likewise.
9318 (frexp_test): Likewise.
9319 (hypot_test): Likewise.
9320 (ilogb_test): Likewise.
9321 (isfinite_test): Likewise.
9322 (finite_test): Likewise.
9323 (isgreater_test): Likewise.
9324 (isgreaterequal_test): Likewise.
9325 (isinf_test): Likewise.
9326 (isless_test): Likewise.
9327 (islessequal_test): Likewise.
9328 (islessgreater_test): Likewise.
9329 (isnan_test): Likewise.
9330 (isnormal_test): Likewise.
9331 (issignaling_test): Likewise.
9332 (isunordered_test): Likewise.
9333 (j0_test): Likewise.
9334 (j1_test): Likewise.
9335 (jn_test): Likewise.
9336 (ldexp_test): Likewise.
9337 (lgamma_test): Likewise.
9338 (gamma_test): Likewise.
9339 (lrint_test): Likewise.
9340 (lrint_test_tonearest): Likewise.
9341 (lrint_test_towardzero): Likewise.
9342 (lrint_test_downward): Likewise.
9343 (lrint_test_upward): Likewise.
9344 (llrint_test): Likewise.
9345 (llrint_test_tonearest): Likewise.
9346 (llrint_test_towardzero): Likewise.
9347 (llrint_test_downward): Likewise.
9348 (llrint_test_upward): Likewise.
9349 (log_test): Likewise.
9350 (log10_test): Likewise.
9351 (log1p_test): Likewise.
9352 (log2_test): Likewise.
9353 (logb_test): Likewise.
9354 (logb_test_downward): Likewise.
9355 (lround_test): Likewise.
9356 (llround_test): Likewise.
9357 (modf_test): Likewise.
9358 (nearbyint_test): Likewise.
9359 (nextafter_test): Likewise.
9360 (nexttoward_test): Likewise.
9361 (pow_test): Likewise.
9362 (pow_test_tonearest): Likewise.
9363 (pow_test_towardzero): Likewise.
9364 (pow_test_downward): Likewise.
9365 (pow_test_upward): Likewise.
9366 (remainder_test): Likewise.
9367 (drem_test): Likewise.
9368 (remainder_test_tonearest): Likewise.
9369 (drem_test_tonearest): Likewise.
9370 (remainder_test_towardzero): Likewise.
9371 (drem_test_towardzero): Likewise.
9372 (remainder_test_downward): Likewise.
9373 (drem_test_downward): Likewise.
9374 (remainder_test_upward): Likewise.
9375 (drem_test_upward): Likewise.
9376 (remquo_test): Likewise.
9377 (rint_test): Likewise.
9378 (rint_test_tonearest): Likewise.
9379 (rint_test_towardzero): Likewise.
9380 (rint_test_downward): Likewise.
9381 (rint_test_upward): Likewise.
9382 (round_test): Likewise.
9383 (scalb_test): Likewise.
9384 (scalbn_test): Likewise.
9385 (scalbln_test): Likewise.
9386 (signbit_test): Likewise.
9387 (sin_test): Likewise.
9388 (sin_test_tonearest): Likewise.
9389 (sin_test_towardzero): Likewise.
9390 (sin_test_downward): Likewise.
9391 (sin_test_upward): Likewise.
9392 (sincos_test): Likewise.
9393 (sinh_test): Likewise.
9394 (sinh_test_tonearest): Likewise.
9395 (sinh_test_towardzero): Likewise.
9396 (sinh_test_downward): Likewise.
9397 (sinh_test_upward): Likewise.
9398 (sqrt_test): Likewise.
9399 (sqrt_test_tonearest): Likewise.
9400 (sqrt_test_towardzero): Likewise.
9401 (sqrt_test_downward): Likewise.
9402 (sqrt_test_upward): Likewise.
9403 (tan_test): Likewise.
9404 (tan_test_tonearest): Likewise.
9405 (tan_test_towardzero): Likewise.
9406 (tan_test_downward): Likewise.
9407 (tan_test_upward): Likewise.
9408 (tanh_test): Likewise.
9409 (tgamma_test): Likewise.
9410 (trunc_test): Likewise.
9411 (y0_test): Likewise.
9412 (y1_test): Likewise.
9413 (yn_test): Likewise.
9414 (significand_test): Likewise.
9416 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9417 individual tests in comment.
9418 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9419 (prev_max_error): New variable.
9420 (prev_real_max_error): Likewise.
9421 (prev_imag_max_error): Likewise.
9422 (compare_ulp_data): Don't refer to test names in comment.
9423 (find_test_ulps): Remove function.
9424 (find_function_ulps): Likewise.
9425 (find_complex_function_ulps): Likewise.
9426 (init_max_error): Take function name as argument. Look up ulps
9428 (print_ulps): Remove function.
9429 (print_max_error): Use prev_max_error instead of calling
9431 (print_complex_max_error): Use prev_real_max_error and
9432 prev_imag_max_error instead of calling find_complex_function_ulps.
9433 (check_float_internal): Take max_ulp parameter instead of calling
9434 find_test_ulps. Don't call print_ulps.
9435 (check_float): Update call to check_float_internal.
9436 (check_complex): Update calls to check_float_internal.
9437 (START): Pass argument to init_max_error.
9438 * math/gen-libm-test.pl (%results): Don't include "kind"
9440 (parse_ulps): Don't handle ulps of individual tests.
9441 (print_ulps_file): Likewise.
9442 (output_ulps): Likewise.
9443 * math/README.libm-test: Update.
9444 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9446 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9447 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9448 * sysdeps/arm/libm-test-ulps: Likewise.
9449 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9450 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9451 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9452 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9453 * sysdeps/microblaze/libm-test-ulps: Likewise.
9454 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9455 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9457 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9459 * sysdeps/sh/libm-test-ulps: Likewise.
9460 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9461 * sysdeps/tile/libm-test-ulps: Likewise.
9462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9464 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9466 * math/libm-test.inc (print_complex_max_error): Check separately
9467 whether real and imaginary errors are within allowed range and
9468 pass 0 to print_complex_function_ulps instead of value within
9471 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9473 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9475 (get_handles_fopen): Likewise.
9476 (do_write_test): Likewise.
9478 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9480 * libio/fileops.c (do_ftell): Use cached offset when
9482 * libio/iofwide.c (do_ftell_wide): Likewise.
9483 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9485 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9488 * libio/libioP.h (get_file_offset): New function.
9489 * libio/fileops.c (get_file_offset): Likewise.
9490 (do_ftell): Likewise.
9491 (_IO_new_file_seekoff): Split out ftell logic.
9492 * libio/wfileops.c (do_ftell_wide): Likewise.
9493 (_IO_wfile_seekoff): Split out ftell logic.
9494 * libio/tst-ftell-active-handler.c: New test case.
9495 * libio/Makefile (tests): Add it.
9497 2014-03-03 Roland McGrath <roland@hack.frob.com>
9499 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9500 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9502 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9505 * nscd/connections.c (nscd_init): Call do_exit.
9506 (start_threads): Call do_exit and notify_parent.
9507 (begin_drop_privileges): Call do_exit.
9508 (finish_drop_privileges): Likewise.
9509 * nscd/selinux.c (preserve_capabilities): Likewise.
9510 (install_real_capabilities): Likewise.
9511 (nscd_selinux_enabled): Likewise.
9512 (avc_create_thread): Likewise.
9513 (avc_alloc_lock): Likewise.
9514 (nscd_avc_init): Likewise.
9515 * nscd/nscd.c (parent_fd): New static variable.
9516 (main): Create a pipe between parent and child processes.
9517 Skip closing parent_fd.
9518 (monitor_child): New function.
9519 (do_exit): Likewise.
9520 (notify_parent): Likewise.
9521 * nscd/nscd.h (notify_parent): Likewise.
9522 (do_exit): Likewise.
9524 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9526 * malloc/malloc.c (__libc_calloc): Revert last change.
9528 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9532 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9534 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9538 (__libc_ifunc_impl_list): Likewise.
9539 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9540 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9541 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9542 * string/strrchr.c: Define STRRCHR.
9544 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9546 * benchtest/bench-strtok.c (simple_strtok): Delete.
9547 (strtok_string): Use as benchmark.
9548 * string/strtok (STRTOK): New macro.
9550 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9552 * manual/threads.texi: Add header and standard comments to all
9555 * elf/dl-lookup.c (check_match): New function.
9556 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9557 (do_lookup_x): Remove nested function check_match. Use non-nested
9558 function check_match.
9560 2014-02-28 Roland McGrath <roland@hack.frob.com>
9562 * csu/Makefile (generated, before-compile): Use += rather than =.
9563 * catgets/Makefile (generated, generated-dirs): Likewise.
9564 * debug/Makefile (generated): Likewise.
9565 * dlfcn/Makefile (generated): Likewise.
9566 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9567 * iconvdata/Makefile (before-compile, generated): Likewise.
9568 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9569 * libio/Makefile (generated): Likewise.
9570 * malloc/Makefile (generated): Likewise.
9571 * manual/Makefile (generated, generated-dirs): Likewise.
9572 * misc/Makefile (generated): Likewise.
9573 * posix/Makefile (generated): Likewise.
9574 * resolv/Makefile (generated): Likewise.
9575 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9576 * timezone/Makefile (generated, generated-dirs): Likewise.
9578 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9580 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9583 power8 implementation.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9585 file: POWER8 llround ifunc implementation.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9587 (__lllround): Add POWER8 implementation.
9588 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9589 POWER8 llround implementation.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9592 power8 implementation.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9594 file: POWER8 llrint ifunc implementation.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9596 Add POWER8 implementation.
9597 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9598 POWER8 llrint implementation.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9601 power8 implementation.
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9603 file: POWER8 finite ifunc implementation.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9605 Add POWER8 implementation.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9608 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9609 POWER8 finite implementation.
9610 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9613 power8 implementation.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9615 file: POWER8 isinf ifunc implementation.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9617 POWER8 implementation.
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9621 isinf implementation.
9622 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9624 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9625 (INIT_ARCH): Add hwcap2 initialization.
9626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9627 power8 implementation.
9628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9629 file: POWER8 isnan ifunc implementation.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9631 POWER8 implementation.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9635 isnan implementation.
9636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9638 2014-02-27 Joey Ye <joey.ye@arm.com>
9640 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9641 (_FP_NANFRAC_Q): Set to zero.
9643 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9646 * math/auto-libm-test-in: New test inputs.
9647 * math/auto-libm-test-out: Regenerate.
9648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9651 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9653 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9655 * scripts/evaluate-test.sh: Take new argument indicating whether
9656 failure is expected.
9657 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9658 indicating whether failure is expected.
9659 * conform/Makefile (test-xfail-run-conformtest): New variable.
9660 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9662 * posix/Makefile (test-xfail-annexc): New variable.
9663 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9665 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9667 * argp/Makefile: Include Makeconfig immediately after defining
9669 * assert/Makefile: Likewise.
9670 * benchtests/Makefile: Likewise.
9671 * catgets/Makefile: Likewise.
9672 * conform/Makefile: Likewise.
9673 * crypt/Makefile: Likewise.
9674 * csu/Makefile: Likewise.
9675 (all): Remove target.
9676 * ctype/Makefile: Include Makeconfig immediately after defining
9678 * debug/Makefile: Likewise.
9679 * dirent/Makefile: Likewise.
9680 * dlfcn/Makefile: Likewise.
9681 * gmon/Makefile: Likewise.
9682 * gnulib/Makefile: Likewise.
9683 * grp/Makefile: Likewise.
9684 * gshadow/Makefile: Likewise.
9685 * hesiod/Makefile: Likewise.
9686 * hurd/Makefile: Likewise.
9687 (all): Remove target.
9688 * iconvdata/Makefile: Include Makeconfig immediately after
9690 * inet/Makefile: Likewise.
9691 * intl/Makefile: Likewise.
9692 * io/Makefile: Likewise.
9693 * libio/Makefile: Likewise.
9694 (all): Remove target.
9695 * locale/Makefile: Include Makeconfig immediately after defining
9697 * login/Makefile: Likewise.
9698 * mach/Makefile: Likewise.
9699 (all): Remove target.
9700 * malloc/Makefile: Include Makeconfig immediately after defining
9702 (all): Remove target.
9703 * manual/Makefile: Include Makeconfig immediately after defining
9705 * math/Makefile: Likewise.
9706 * misc/Makefile: Likewise.
9707 * nis/Makefile: Likewise.
9708 * nss/Makefile: Likewise.
9709 * po/Makefile: Likewise.
9710 (all): Remove target.
9711 * posix/Makefile: Include Makeconfig immediately after defining
9713 * pwd/Makefile: Likewise.
9714 * resolv/Makefile: Likewise.
9715 * resource/Makefile: Likewise.
9716 * rt/Makefile: Likewise.
9717 * setjmp/Makefile: Likewise.
9718 * shadow/Makefile: Likewise.
9719 * signal/Makefile: Likewise.
9720 * socket/Makefile: Likewise.
9721 * soft-fp/Makefile: Likewise.
9722 * stdio-common/Makefile: Likewise.
9723 * stdlib/Makefile: Likewise.
9724 * streams/Makefile: Likewise.
9725 * string/Makefile: Likewise.
9726 * sunrpc/Makefile: Likewise.
9727 (all): Remove target.
9728 * sysvipc/Makefile: Include Makeconfig immediately after defining
9730 * termios/Makefile: Likewise.
9731 * time/Makefile: Likewise.
9732 * timezone/Makefile: Likewise.
9733 (all): Remove target.
9734 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9736 * wctype/Makefile: Likewise.
9738 2014-02-26 Steve Ellcey <sellcey@mips.com>
9740 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9741 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9742 (libc_feholdexcept_setround_mips): Ditto.
9743 (libc_feholdsetround): New.
9744 (libc_feholdsetroundf): New.
9745 (libc_feholdsetroundl): New.
9746 (libc_feupdateenv_test_mips): New.
9747 (libc_feupdateenv_test): New.
9748 (libc_feupdateenv_testf): New.
9749 (libc_feupdateenv_testl): New.
9750 (libc_feresetround): New.
9751 (libc_feresetroundf): New.
9752 (libc_feresetroundl): New.
9753 (libc_fetestexcept_mips): New.
9754 (libc_fetestexcept): New.
9755 (libc_fetestexceptf): New.
9756 (libc_fetestexceptl): New.
9758 (libc_feholdexcept_setround_mips_ctx): New.
9759 (libc_feholdexcept_setround_ctx): New.
9760 (libc_feholdexcept_setroundf_ctx): New.
9761 (libc_feholdexcept_setroundl_ctx): New.
9762 (libc_fesetenv_mips_ctx): New.
9763 (libc_fesetenv_ctx): New.
9764 (libc_fesetenv_ctxf): New.
9765 (libc_fesetenv_ctxl): New.
9766 (libc_feupdateenv_mips_ctx): New.
9767 (libc_feupdateenv_ctx): New.
9768 (libc_feupdateenvf_ctx): New.
9769 (libc_feupdateenvl_ctx): New.
9770 (libc_feholdsetround_mips_ctx): New.
9771 (libc_feholdsetround_ctx): New.
9772 (libc_feholdsetroundf_ctx): New.
9773 (libc_feholdsetroundl_ctx): New.
9774 (libc_feresetround_mips_ctx): New.
9775 (libc_feresetround_ctx): New.
9776 (libc_feresetroundf_ctx): New.
9777 (libc_feresetroundl_ctx): New.
9779 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9781 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9783 * manual/ipc.texi: New file.
9784 * manual/Makefile (chapters): Add ipc.
9785 * manual/job.texi: Add "Inter-Process Communication" to next.
9786 * manual/process.texi: Add "Inter-Process Communication" to prev.
9788 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9792 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9794 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9796 * manual/arith.texi: Fix spaces after sentences.
9797 * manual/charset.texi: Likewise.
9798 * manual/errno.texi: Likewise.
9799 * manual/install.texi: Likewise.
9800 * manual/llio.texi: Likewise.
9801 * manual/locale.texi: Likewise.
9802 * manual/maint.texi: Likewise.
9803 * manual/math.texi: Likewise.
9804 * manual/memory.texi: Likewise.
9805 * manual/message.texi: Likewise.
9806 * manual/probes.texi: Likewise.
9807 * manual/resource.texi: Likewise.
9808 * manual/signal.texi: Likewise.
9809 * manual/socket.texi: Likewise.
9810 * manual/stdio.texi: Likewise.
9811 * manual/string.texi: Likewise.
9812 * manual/time.texi: Likewise.
9813 * manual/users.texi: Likewise.
9815 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9818 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9819 _DEFAULT_SOURCE is defined.
9821 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9822 Carlos O'Donell <carlos@redhat.com>
9825 * elf/dl-tls.c (_dl_count_modids): New function.
9826 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9827 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9828 audit library and increment generation counter.
9829 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9830 * elf/tst-audit9.c: New file.
9831 * elf/tst-auditmod9a.c: New file.
9832 * elf/tst-auditmod9b.c: New file.
9833 * elf/Makefile: Add rules to build and run tst-audit9.
9835 2014-02-25 Florian Weimer <fweimer@redhat.com>
9838 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9840 2014-02-25 Will Newton <will.newton@linaro.org>
9842 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9843 (__longjmp): Restore sp and lr before restoring callee
9844 saved registers. Add longjmp and longjmp_target
9845 SystemTap probe point.
9846 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9847 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9848 Define to zero to match jmpbuf layout.
9849 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9850 (__sigsetjmp): Save sp and lr before saving callee
9851 saved registers. Add setjmp SystemTap probe point.
9853 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9855 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9857 2014-02-24 Andreas Schwab <schwab@suse.de>
9860 * elf/pldd.c (wait_for_ptrace_stop): New function.
9861 (main): Call it after attaching.
9863 2014-02-22 Roland McGrath <roland@hack.frob.com>
9865 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9866 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9867 Versions files is now verboten.
9868 * hurd/Versions (libc: GLIBC_2.0):
9869 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9870 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9871 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9872 * mach/Versions: Likewise.
9874 * csu/Versions: Remove unused %include.
9875 * resolv/Versions: Likewise.
9877 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9879 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9880 ($(objpfx)check-local-headers.out): Likewise.
9881 ($(objpfx)begin-end-check.out): Likewise.
9882 * Makerules (check-abi-%.out): Likewise.
9883 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9884 ($(objpfx)test2.cat): Likewise.
9885 ($(objpfx)de/libc.cat): Likewise.
9886 ($(objpfx)test-gencat.out): Likewise.
9887 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9888 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9889 ($(objpfx)noload-mem): Likewise.
9890 ($(objpfx)tst-pathopt.out): Likewise.
9891 ($(objpfx)tst-rtld-load-self.out): Likewise.
9892 ($(objpfx)tst-array1-cmp.out): Likewise.
9893 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9894 ($(objpfx)tst-array2-cmp.out): Likewise.
9895 ($(objpfx)tst-array3-cmp.out): Likewise.
9896 ($(objpfx)tst-array4-cmp.out): Likewise.
9897 ($(objpfx)tst-array5-cmp.out): Likewise.
9898 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9899 ($(objpfx)check-textrel.out): Likewise.
9900 ($(objpfx)check-execstack.out): Likewise.
9901 ($(objpfx)check-localplt.out): Likewise.
9902 ($(objpfx)order2-cmp.out): Likewise.
9903 ($(objpfx)tst-leaks1-mem): Likewise.
9904 ($(objpfx)tst-leaks1-static-mem): Likewise.
9905 ($(objpfx)tst-initorder-cmp.out): Likewise.
9906 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9907 ($(objpfx)tst-unused-dep.out): Likewise.
9908 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9909 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9910 * iconv/Makefile (test-iconvconfig): Likewise.
9911 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9912 ($(objpfx)iconv-test.out): Likewise.
9913 ($(objpfx)tst-tables.out): Likewise.
9914 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9915 ($(objpfx)tst-gettext.out): Likewise.
9916 ($(objpfx)tst-translit.out): Likewise.
9917 ($(objpfx)tst-gettext2.out): Likewise.
9918 ($(objpfx)tst-gettext4.out): Likewise.
9919 ($(objpfx)tst-gettext6.out): Likewise.
9920 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9921 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9922 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9923 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9924 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9925 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9926 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9927 ($(objpfx)wordexp-tst.out): Likewise.
9928 ($(objpfx)annexc.out): Likewise.
9929 ($(objpfx)tst-fnmatch-mem): Likewise.
9930 ($(objpfx)bug-regex2-mem): Likewise.
9931 ($(objpfx)bug-regex14-mem): Likewise.
9932 ($(objpfx)bug-regex21-mem): Likewise.
9933 ($(objpfx)bug-regex31-mem): Likewise.
9934 ($(objpfx)tst-vfork3-mem): Likewise.
9935 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9936 ($(objpfx)tst-pcre-mem): Likewise.
9937 ($(objpfx)tst-boost-mem): Likewise.
9938 ($(objpfx)tst-getconf.out): Likewise.
9939 ($(objpfx)bug-ga2-mem): Likewise.
9940 ($(objpfx)bug-glob2-mem): Likewise.
9941 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9942 ($(objpfx)mtrace-tst-leaks2): Likewise.
9943 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9944 ($(objpfx)tst-printf.out): Likewise.
9945 ($(objpfx)tst-setvbuf1.out): Likewise.
9946 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9947 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9948 ($(objpfx)tst-fmtmsg.out): Likewise.
9949 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9952 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9953 * bits/sigaction.h [__USE_MISC]: Likewise.
9954 * bits/waitstatus.h: Update #endif comments.
9955 * ctype/ctype.h: Likewise.
9956 * dirent/dirent.h: Likewise.
9957 [__USE_MISC]: Remove redundant conditionals.
9958 * grp/grp.h: Update #endif comments.
9959 [__USE_GNU]: Remove redundant conditionals.
9960 [__USE_MISC]: Likewise.
9961 * inet/netinet/in.h [__USE_GNU]: Likewise.
9962 * io/sys/stat.h [__USE_MISC]: Likewise.
9963 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9964 * libio/bits/stdio.h: Update #endif comments.
9965 [__USE_MISC]: Remove redundant conditionals.
9966 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9967 * libio/stdio.h: Update #endif comments.
9968 [__USE_MISC]: Remove redundant conditionals.
9969 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9970 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9971 * math/math.h: Update #else and #endif comments.
9972 [__USE_MISC]: Remove redundant conditionals.
9973 * misc/sys/uio.h: Update #endif comments.
9974 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9975 * posix/glob.h [__USE_MISC]: Likewise.
9976 * posix/sys/types.h: Update #endif comments.
9977 [__USE_MISC]: Remove redundant conditionals.
9978 * posix/sys/wait.h: Update #endif comments.
9979 [__USE_MISC]: Remove redundant conditionals.
9980 * posix/unistd.h: Update #endif comments.
9981 [__USE_MISC]: Remove redundant conditionals.
9982 * pwd/pwd.h [__USE_GNU]: Likewise.
9983 [__USE_MISC]: Likewise.
9984 * resolv/netdb.h [__USE_GNU]: Likewise.
9985 * signal/signal.h: Update #endif comments.
9986 [__USE_MISC]: Remove redundant conditionals.
9987 * stdlib/stdlib.h: Update #else and #endif comments.
9988 [__USE_MISC]: Remove redundant conditionals.
9989 [__USE_GNU]: Likewise.
9990 * string/bits/string2.h [__USE_MISC]: Likewise.
9991 * string/string.h: Update #endif comments.
9992 [__USE_MISC]: Remove redundant conditionals.
9993 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9995 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9996 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9997 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9999 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10003 [__USE_MISC]: Remove redundant conditionals.
10004 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10005 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10006 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10007 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10008 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10010 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10011 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10013 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10016 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10018 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10019 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10021 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10023 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10024 * sysdeps/x86/bits/string.h: Update #endif comments.
10025 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10027 * time/sys/time.h: Update #endif comments.
10028 * time/time.h: Likewise.
10029 [__USE_MISC]: Remove redundant conditionals.
10031 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10034 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10036 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10038 * Versions.def (librt): Add GLIBC_2.17.
10040 2014-02-21 Adam Conrad <adconrad@0c3.net>
10042 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10043 synonym for _SYS_AUXV_H to allow direct inclusion.
10044 * sysdeps/sparc/bits/hwcap.h: Likewise.
10045 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10046 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10047 * sysdeps/sparc/sysdep.h: Likewise.
10049 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10053 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10055 * benchtests/bench-strrchr.c: Print length instead of position.
10057 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10060 * sysdeps/unix/sysv/linux/kernel-features.h
10061 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10062 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10063 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10064 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10066 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10067 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10068 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10069 (__ASSUME_SENDMMSG): Define instead of using previous
10070 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10071 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10072 (__ASSUME_SENDMMSG_SYSCALL): Define.
10073 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10074 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10076 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10077 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10079 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10080 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10082 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10083 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10084 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10085 [__ASSUME_SENDMMSG]: Change conditionals to
10086 [__ASSUME_SENDMMSG_SOCKETCALL].
10087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10088 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10090 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10091 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10093 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10094 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10095 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10096 [!__ASSUME_SENDMMSG]: Change conditional to
10097 [!__ASSUME_SENDMMSG_SOCKETCALL].
10098 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10099 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10103 * sysdeps/unix/sysv/linux/kernel-features.h
10104 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10105 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10106 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10107 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10108 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10109 [__i386__ || __sparc__]
10110 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10111 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10112 (__ASSUME_RECVMMSG): Define instead of using previous
10113 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10114 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10115 (__ASSUME_RECVMMSG_SYSCALL): Define.
10116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10117 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10119 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10123 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10125 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10126 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10127 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10128 [__ASSUME_RECVMMSG]: Change condition to
10129 [__ASSUME_RECVMMSG_SOCKETCALL].
10130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10133 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10134 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10135 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10137 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10138 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10139 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10140 [!__ASSUME_RECVMMSG]: Change condition to
10141 [!__ASSUME_RECVMMSG_SOCKETCALL].
10142 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10143 (__ASSUME_RECVMMSG_SYSCALL): Define.
10146 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10147 __powerpc__ || __s390__ || __sh__ || __sparc__]
10148 (__ASSUME_SOCKETCALL): Define.
10149 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10150 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10151 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10152 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10153 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10154 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10155 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10156 (__ASSUME_ACCEPT4): Define instead of using previous
10157 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10158 __powerpc__ || __sparc__ || __s390__)] condition.
10159 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10160 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10161 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10162 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10163 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10164 [!__ASSUME_ACCEPT4]: Change condition to
10165 [!__ASSUME_ACCEPT4_SOCKETCALL].
10166 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10167 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10168 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10169 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10170 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10171 __ASSUME_ACCEPT4_SYSCALL.
10172 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10173 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10174 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10175 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10176 __ASSUME_ACCEPT4_SYSCALL.
10177 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10178 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10179 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10180 [__ASSUME_ACCEPT4]: Change condition to
10181 [__ASSUME_ACCEPT4_SOCKETCALL].
10182 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10183 (__ASSUME_SOCKETCALL): Define.
10184 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10185 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10186 (__ASSUME_SOCKETCALL): Define.
10187 (__ASSUME_ACCEPT4): Remove.
10188 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10191 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10193 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10194 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10196 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10198 (HWCAP_ARM_LPAE): Likewise.
10199 (HWCAP_ARM_EVTSTRM): Likewise.
10200 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10201 Add vpfd32, lpae and evtstrm.
10202 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10205 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10207 * math/auto-libm-test-in: Add tests of clog10.
10208 * math/auto-libm-test-out: Regenerated.
10209 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10210 * sysdeps/i386/fpu/libm-test-ulps: Update.
10211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10213 2014-02-18 Andreas Schwab <schwab@suse.de>
10216 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10217 Store non-zero if the second buffer was newly allocated.
10218 (send_dg): Likewise.
10219 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10220 to send_vc and send_dg.
10221 (res_nsend): Pass NULL for ansp2_malloced.
10222 * resolv/res_query.c (__libc_res_nquery): Add parameter
10223 answerp2_malloced and pass it down to __libc_res_nsend.
10224 (res_nquery): Pass additional NULL to __libc_res_nquery.
10225 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10226 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10227 second answer buffer if answerp2_malloced was set.
10228 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10229 (__libc_res_nquerydomain): Add parameter
10230 answerp2_malloced and pass it down to __libc_res_nquery.
10231 (res_nquerydomain): Pass additional NULL to
10232 __libc_res_nquerydomain.
10233 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10234 additional NULL to __libc_res_nsend and __libc_res_nquery.
10235 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10236 additional NULL to __libc_res_nsearch.
10237 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10238 parameter of __libc_res_nsearch to check for separately allocated
10240 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10242 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10243 additional NULL to __libc_res_nquery.
10244 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10245 __libc_res_nsearch.
10246 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10247 * include/resolv.h: Update prototypes of __libc_res_nquery,
10248 __libc_res_nsearch, __libc_res_nsend.
10250 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10252 * math/auto-libm-test-in: Add tests of fma.
10253 * math/auto-libm-test-out: Regenerated.
10254 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10255 (fma_towardzero_test_data): Likewise.
10256 (fma_downward_test_data): Likewise.
10257 (fma_upward_test_data): Likewise.
10258 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10260 (rounding_modes): Add values for new field.
10261 (func_calc_method): Add value mpfr_fff_f.
10262 (func_calc_desc): Add mpfr_fff_f union field.
10263 (test_function): Add field exact_args.
10264 (FUNC): Add macro argument EXACT_ARGS.
10265 (FUNC_mpfr_f_f): Update call to FUNC.
10266 (FUNC_mpfr_f_f): Likewise.
10267 (FUNC_mpfr_ff_f): Likewise.
10268 (FUNC_mpfr_if_f): Likewise.
10269 (FUNC_mpc_c_f): Likewise.
10270 (FUNC_mpc_c_c): Likewise.
10271 (test_functions): Add fma. Update calls to FUNC.
10272 (handle_input_arg): Add argument exact_args.
10273 (add_test): Update call to handle_input_arg.
10274 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10275 (output_for_one_input_case): Update call to calc_generic_results.
10276 Recalculate exact zero results in each rounding mode.
10278 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10279 non-negative before setting low bit.
10280 * math/auto-libm-test-in: Mark one asin test possibly having
10281 spurious underflow.
10282 * math/auto-libm-test-out: Regenerated.
10283 * sysdeps/i386/fpu/libm-test-ulps: Update.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10288 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10289 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10290 ports/sysdeps/unix/sysv/linux/microblaze.
10291 * README: Add missing listing for microblaze*-*-linux-gnu.
10293 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10298 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10300 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10301 * sysdeps/unix/sysv/linux/ia64: Move directory from
10302 ports/sysdeps/unix/sysv/linux/ia64.
10303 * README: Update listing for ia64-*-linux-gnu.
10305 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10306 Joseph Myers <joseph@codesourcery.com>
10308 * Makeconfig (test-name): New variable.
10309 (evaluate-test): Likewise.
10310 * Makerules (do-test-clean): Remove .test-result files.
10311 (common-mostlyclean): Likewise.
10312 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10313 * scripts/evaluate-test.sh: New file.
10315 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10317 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10318 separate $(objpfx)tst-fopenloc-cmp.out and
10319 $(objpfx)tst-fopenloc-mem.out targets.
10320 (tests): Update dependencies.
10321 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10322 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10323 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10324 (tst-rxspencer-no-utf8-ARGS): New variable.
10325 (tst-rxspencer-no-utf8-ENV): Likewise.
10326 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10327 instead of $(objpfx)tst-rxspencer-mem.
10328 ($(objpfx)tst-rxspencer-mem): Change target to
10329 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10330 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10331 * posix/tst-rxspencer-no-utf8.c: New file.
10333 * elf/Makefile ($(objpfx)order.out): Remove rule.
10334 [$(run-built-tests) = yes] (tests): Depend on
10335 $(objpfx)order-cmp.out.
10336 ($(objpfx)order-cmp.out): New rule.
10337 [$(run-built-tests) = yes] (tests): Depend on
10338 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10339 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10340 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10341 $(objpfx)tst-array5-static-cmp.out.
10342 ($(objpfx)tst-array1.out): Remove rule.
10343 ($(objpfx)tst-array1-cmp.out): New rule.
10344 ($(objpfx)tst-array1-static.out): Remove rule.
10345 ($(objpfx)tst-array1-static-cmp.out): New rule.
10346 ($(objpfx)tst-array2.out): Remove rule.
10347 ($(objpfx)tst-array2-cmp.out): New rule.
10348 ($(objpfx)tst-array3.out): Remove rule.
10349 ($(objpfx)tst-array3-cmp.out): New rule.
10350 ($(objpfx)tst-array4.out): Remove rule.
10351 ($(objpfx)tst-array4-cmp.out): New rule.
10352 ($(objpfx)tst-array5.out): Remove rule.
10353 ($(objpfx)tst-array5-cmp.out): New rule.
10354 ($(objpfx)tst-array5-static.out): Remove rule.
10355 ($(objpfx)tst-array5-static-cmp.out): New rule.
10356 [$(run-built-tests) = yes] (tests): Depend on
10357 $(objpfx)order2-cmp.out.
10358 ($(objpfx)order2.out): Remove rule.
10359 ($(objpfx)order2-cmp.out): New rule.
10360 ($(objpfx)tst-initorder.out): Remove rule.
10361 [$(run-built-tests) = yes] (tests): Depend on
10362 $(objpfx)tst-initorder-cmp.out.
10363 ($(objpfx)tst-initorder-cmp.out): New rule.
10364 ($(objpfx)tst-initorder2.out): Remove rule.
10365 [$(run-built-tests) = yes] (tests): Depend on
10366 $(objpfx)tst-initorder2-cmp.out.
10367 ($(objpfx)tst-initorder2-cmp.out): New rule.
10368 [$(run-built-tests) = yes] (tests): Depend on
10369 $(objpfx)tst-unused-dep-cmp.out.
10370 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10371 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10372 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10373 on $(objpfx)tst-setvbuf1-cmp.out.
10374 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10375 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10376 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10377 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10378 ($(objpfx)tst-svc.out): Remove rule.
10379 ($(objpfx)tst-svc-cmp.out): New rule.
10381 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10383 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10384 * ctype/ctype.h [__USE_MISC]: Likewise.
10385 * dirent/dirent.h [__USE_MISC]: Likewise.
10386 * grp/grp.h [__USE_MISC]: Likewise.
10387 * io/fcntl.h [__USE_MISC]: Likewise.
10388 * io/sys/stat.h [__USE_MISC]: Likewise.
10389 * libio/stdio.h [__USE_MISC]: Likewise.
10390 * posix/unistd.h [__USE_MISC]: Likewise.
10391 * pwd/pwd.h [__USE_MISC]: Likewise.
10392 * stdlib.h [__USE_MISC]: Likewise.
10393 * string/bits/string2.h [__USE_MISC]: Likewise.
10394 * string/string.h [__USE_MISC]: Likewise.
10395 * time/time.h [__USE_MISC]: Likewise.
10397 2014-02-13 Andreas Schwab <schwab@suse.de>
10400 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10401 second answer buffer if it was separately allocated.
10403 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10405 * sysdeps/mips/math-tests.h: Include <features.h>.
10406 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10407 (ROUNDING_TESTS_long_double): Do not define.
10408 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10409 (EXCEPTION_TESTS_long_double): Likewise.
10410 * sysdeps/mips/mips64/libm-test-ulps: Update.
10412 * include/features.h (__USE_BSD): Remove macro definitions.
10413 (__USE_SVID): Likewise.
10414 (_BSD_SOURCE): Likewise.
10415 (_SVID_SOURCE): Likewise.
10416 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10417 from definition of _DEFAULT_SOURCE.
10418 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10420 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10421 * bits/mman.h [__USE_BSD]: Likewise.
10422 * bits/termios.h [__USE_BSD]: Likewise.
10423 * bits/waitstatus.h [__USE_BSD]: Likewise.
10424 * ctype/ctype.h [__USE_SVID]: Likewise.
10425 * dirent/dirent.h [__USE_BSD]: Likewise.
10426 * grp/grp.h [__USE_SVID]: Likewise.
10427 [__USE_BSD]: Likewise.
10428 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10429 * io/fcntl.h [__USE_BSD]: Likewise.
10430 * io/ftw.h [__USE_BSD]: Likewise.
10431 * io/sys/stat.h [__USE_BSD]: Likewise.
10432 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10433 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10434 * libio/stdio.h [__USE_SVID]: Likewise.
10435 [__USE_BSD]: Likewise.
10436 * math/math.h [__USE_SVID]: Likewise.
10437 [__USE_BSD]: Likewise.
10438 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10439 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10440 * misc/search.h [__USE_SVID]: Likewise.
10441 * misc/sys/mman.h [__USE_BSD]: Likewise.
10442 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10443 * misc/sys/uio.h [__USE_BSD]: Likewise.
10444 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10445 * posix/glob.h [__USE_BSD]: Likewise.
10446 * posix/regex.h [__USE_BSD]: Likewise.
10447 * posix/sys/types.h [__USE_BSD]: Likewise.
10448 [__USE_SVID]: Likewise.
10449 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10450 * posix/sys/wait.h [__USE_BSD]: Likewise.
10451 [__USE_SVID]: Likewise.
10452 * posix/unistd.h [__USE_BSD]: Likewise.
10453 [__USE_SVID]: Likewise.
10454 * pwd/pwd.h [__USE_SVID]: Likewise.
10455 * resolv/netdb.h [__USE_BSD]: Likewise.
10456 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10457 * signal/signal.h [__USE_BSD]: Likewise.
10458 [__USE_SVID]: Likewise.
10459 * socket/sys/socket.h [__USE_BSD]: Likewise.
10460 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10461 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10462 [__USE_SVID]: Likewise.
10463 * string/bits/string2.h [__USE_BSD]: Likewise.
10464 [__USE_SVID]: Likewise.
10465 * string/bits/string3.h [__USE_BSD]: Likewise.
10466 * string/endian.h [__USE_BSD]: Likewise.
10467 * string/string.h [__USE_SVID]: Likewise.
10468 [__USE_BSD]: Likewise.
10469 * string/strings.h [__USE_BSD]: Likewise.
10470 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10471 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10472 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10473 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10474 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10475 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10479 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10480 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10482 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10483 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10485 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10487 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10488 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10491 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10493 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10494 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10495 * termios/termios.h [__USE_BSD]: Likewise.
10496 * time/sys/time.h [__USE_BSD]: Likewise.
10497 * time/time.h [__USE_BSD]: Likewise.
10498 [__USE_SVID]: Likewise.
10500 * Makefile (subdir_targets): Remove subdir_lint.out.
10502 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10503 (do-tst-printf): Likewise.
10504 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10505 $(objpfx)tst-printf.out.
10507 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10509 * Makerules (check-abi-%): Change target to
10510 $(objpfx)check-abi-%.out.
10511 (check-abi target): Update dependencies.
10512 (check-abi-pattern variable): Redirect output of diff to $@.
10513 (check-abi variable): Likewise.
10514 * elf/Makefile (check-abi): Update dependencies.
10516 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10518 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10519 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10521 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10522 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10523 value has largest subnormal exponent.
10524 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10525 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10526 * sysdeps/aarch64/soft-fp/sfp-machine.h
10527 (_FP_TININESS_AFTER_ROUNDING): New macro.
10528 * sysdeps/alpha/soft-fp/sfp-machine.h
10529 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10532 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10533 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10534 * sysdeps/mips/soft-fp/sfp-machine.h
10535 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10536 * sysdeps/powerpc/soft-fp/sfp-machine.h
10537 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10538 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10540 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10541 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10542 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10543 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10544 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10547 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10550 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10553 2014-02-12 Richard Henderson <rth@redhat.com>
10555 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10556 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10557 * sysdeps/unix/sysv/linux/alpha: Move directory from
10558 ports/sysdeps/unix/sysv/linux/alpha.
10559 * README: Update listing for alpha-*-linux-gnu.
10561 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10563 * include/features.h: Update comment documenting feature test
10565 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10567 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10568 (_SVID_SOURCE): Likewise.
10569 (_DEFAULT_SOURCE): Update description of default features.
10570 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10572 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10573 (S_ISVTX): Likewise.
10574 * manual/math.texi (Mathematical Constants): Likewise.
10575 * manual/signal.texi (Interrupted Primitives): Likewise.
10576 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10577 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10578 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10579 Don't refer to _SVID_SOURCE in warning text.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10583 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10585 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10586 * sysdeps/mips/dl-lookup.c: Remove.
10587 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10589 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10592 * math/auto-libm-test-in: Add testcase for expl.
10593 * math/auto-libm-test-out: Regenerate.
10594 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10595 calculation of unsafe.
10596 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10598 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10600 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10601 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10602 ports/sysdeps/unix/sysv/linux/aarch64.
10603 * README: Update listing for aarch64*-*-linux-gnu.
10605 2014-02-11 Will Newton <will.newton@linaro.org>
10607 * manual/probes.texi (Mathematical Function Probes): Use
10608 "triggered" instead of "hit".
10610 * manual/probes.texi (Internal Probes): Add documentation
10611 of setjmp, longjmp and longjmp_target probes.
10613 * include/stap-probe.h: Add comment about probe argument
10616 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10617 definition. (tr_where, tr_freehook, tr_mallochook,
10618 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10620 2014-02-11 David S. Miller <davem@davemloft.net>
10622 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10623 processing int_tests.
10625 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10628 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10629 * sysdeps/unix/sysv/linux/mips: Move directory from
10630 ports/sysdeps/unix/sysv/linux/mips.
10631 * README: Update listing for mips-*-linux-gnu and
10632 mips64-*-linux-gnu.
10634 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10636 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10637 * sysdeps/unix/sysv/linux/m68k: Move directory from
10638 ports/sysdeps/unix/sysv/linux/m68k.
10639 * README: Update listing for m68k-*-linux-gnu.
10641 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10643 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10644 * sysdeps/unix/sysv/linux/generic: Move directory from
10645 ports/sysdeps/unix/sysv/linux/generic.
10646 * sysdeps/unix/sysv/linux/tile: Move directory from
10647 ports/sysdeps/unix/sysv/linux/tile.
10648 * README: Update listing for tile*-*-linux-gnu.
10650 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10652 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10654 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10655 * catgets/open_catalog.c (__open_catalog): Likewise.
10656 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10657 * debug/confstr_chk.c: Likewise.
10658 * debug/fread_chk.c (__fread_chk): Likewise.
10659 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10660 * debug/getgroups_chk.c: Likewise.
10661 * debug/mbsnrtowcs_chk.c: Likewise.
10662 * debug/mbsrtowcs_chk.c: Likewise.
10663 * debug/mbstowcs_chk.c: Likewise.
10664 * debug/memcpy_chk.c: Likewise.
10665 * debug/memmove_chk.c: Likewise.
10666 * debug/mempcpy_chk.c: Likewise.
10667 * debug/memset_chk.c: Likewise.
10668 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10669 * debug/strcat_chk.c (__strcat_chk): Likewise.
10670 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10671 * debug/strncat_chk.c (__strncat_chk): Likewise.
10672 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10673 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10674 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10675 * debug/wcpncpy_chk.c: Likewise.
10676 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10677 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10678 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10679 * debug/wcsncpy_chk.c: Likewise.
10680 * debug/wcsnrtombs_chk.c: Likewise.
10681 * debug/wcsrtombs_chk.c: Likewise.
10682 * debug/wcstombs_chk.c: Likewise.
10683 * debug/wmemcpy_chk.c: Likewise.
10684 * debug/wmemmove_chk.c: Likewise.
10685 * debug/wmempcpy_chk.c: Likewise.
10686 * debug/wmemset_chk.c: Likewise.
10687 * dirent/scandirat.c (SCANDIRAT): Likewise.
10688 * dlfcn/dladdr1.c (dladdr1): Likewise.
10689 * dlfcn/dladdr.c (dladdr): Likewise.
10690 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10691 * dlfcn/dlerror.c (__dlerror): Likewise.
10692 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10693 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10694 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10695 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10696 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10697 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10698 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10699 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10701 * elf/dl-conflict.c: Likewise.
10702 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10703 * elf/dl-dst.h: Likewise.
10704 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10705 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10706 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10707 * elf/dl-init.c (call_init, _dl_init): Likewise.
10708 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10709 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10710 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10712 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10714 * elf/dl-minimal.c (__libc_memalign): Likewise.
10715 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10716 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10717 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10718 * elf/dl-sym.c (do_sym): Likewise.
10719 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10720 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10721 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10722 * elf/dl-writev.h (_dl_writev): Likewise.
10723 * elf/ldconfig.c (search_dir): Likewise.
10724 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10725 (dl_main): Likewise.
10726 * elf/setup-vdso.h (setup_vdso): Likewise.
10727 * grp/compat-initgroups.c (compat_call): Likewise.
10728 * grp/fgetgrent.c (fgetgrent): Likewise.
10729 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10730 * grp/putgrent.c (putgrent): Likewise.
10731 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10733 * hurd/hurdinit.c: Likewise.
10734 * iconvdata/8bit-gap.c (struct): Likewise.
10735 * iconvdata/ansi_x3.110.c : Likewise.
10736 * iconvdata/big5.c : Likewise.
10737 * iconvdata/big5hkscs.c : Likewise.
10738 * iconvdata/cp1255.c: Likewise.
10739 * iconvdata/cp1258.c : Likewise.
10740 * iconvdata/cp932.c : Likewise.
10741 * iconvdata/euc-cn.c: Likewise.
10742 * iconvdata/euc-jisx0213.c : Likewise.
10743 * iconvdata/euc-jp.c: Likewise.
10744 * iconvdata/euc-jp-ms.c : Likewise.
10745 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10746 * iconvdata/gb18030.c : Likewise.
10747 * iconvdata/gbbig5.c (const): Likewise.
10748 * iconvdata/gbgbk.c: Likewise.
10749 * iconvdata/gbk.c : Likewise.
10750 * iconvdata/ibm1364.c : Likewise.
10751 * iconvdata/ibm930.c : Likewise.
10752 * iconvdata/ibm932.c: Likewise.
10753 * iconvdata/ibm933.c : Likewise.
10754 * iconvdata/ibm935.c : Likewise.
10755 * iconvdata/ibm937.c : Likewise.
10756 * iconvdata/ibm939.c : Likewise.
10757 * iconvdata/ibm943.c: Likewise.
10758 * iconvdata/iso_11548-1.c: Likewise.
10759 * iconvdata/iso-2022-cn.c : Likewise.
10760 * iconvdata/iso-2022-cn-ext.c : Likewise.
10761 * iconvdata/iso-2022-jp-3.c: Likewise.
10762 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10763 * iconvdata/iso-2022-kr.c : Likewise.
10764 * iconvdata/iso646.c (gconv_end): Likewise.
10765 * iconvdata/iso_6937-2.c : Likewise.
10766 * iconvdata/iso_6937.c : Likewise.
10767 * iconvdata/iso8859-1.c: Likewise.
10768 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10769 * iconvdata/shift_jisx0213.c : Likewise.
10770 * iconvdata/sjis.c : Likewise.
10771 * iconvdata/t.61.c : Likewise.
10772 * iconvdata/tcvn5712-1.c : Likewise.
10773 * iconvdata/tscii.c: Likewise.
10774 * iconvdata/uhc.c : Likewise.
10775 * iconvdata/unicode.c (gconv_end): Likewise.
10776 * iconvdata/utf-16.c (gconv_end): Likewise.
10777 * iconvdata/utf-32.c (gconv_end): Likewise.
10778 * iconvdata/utf-7.c (base64): Likewise.
10779 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10780 * iconv/gconv_close.c (__gconv_close): Likewise.
10781 * iconv/gconv_open.c (__gconv_open): Likewise.
10782 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10783 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10784 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10785 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10786 (ucs4le_internal_loop_single): Likewise.
10787 * iconv/iconv.c (iconv): Likewise.
10788 * iconv/iconv_close.c: Likewise.
10789 * iconv/loop.c (SINGLE): Likewise.
10790 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10791 * include/atomic.h: Likewise.
10792 * inet/inet6_option.c (option_alloc): Likewise.
10793 * intl/bindtextdom.c (set_binding_values): Likewise.
10794 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10795 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10796 * intl/localealias.c (read_alias_file): Likewise.
10797 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10798 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10799 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10800 * libio/fmemopen.c (fmemopen): Likewise.
10801 * libio/iofgets.c (_IO_fgets): Likewise.
10802 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10803 * libio/iofgetws.c (fgetws): Likewise.
10804 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10805 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10806 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10807 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10808 * locale/findlocale.c (_nl_find_locale): Likewise.
10809 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10810 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10812 * locale/setlocale.c (setlocale): Likewise.
10813 * login/programs/pt_chown.c (main): Likewise.
10814 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10815 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10816 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10817 (mmap, mmap64, mremap, munmap): Likewise.
10818 * math/e_exp2l.c: Likewise.
10819 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10820 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10821 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10822 * math/s_catan.c (__catan): Likewise.
10823 * math/s_catanf.c (__catanf): Likewise.
10824 * math/s_catanh.c (__catanh): Likewise.
10825 * math/s_catanhf.c (__catanhf): Likewise.
10826 * math/s_catanhl.c (__catanhl): Likewise.
10827 * math/s_catanl.c (__catanl): Likewise.
10828 * math/s_ccosh.c (__ccosh): Likewise.
10829 * math/s_ccoshf.c (__ccoshf): Likewise.
10830 * math/s_ccoshl.c (__ccoshl): Likewise.
10831 * math/s_cexp.c (__cexp): Likewise.
10832 * math/s_cexpf.c (__cexpf): Likewise.
10833 * math/s_cexpl.c (__cexpl): Likewise.
10834 * math/s_clog10.c (__clog10): Likewise.
10835 * math/s_clog10f.c (__clog10f): Likewise.
10836 * math/s_clog10l.c (__clog10l): Likewise.
10837 * math/s_clog.c (__clog): Likewise.
10838 * math/s_clogf.c (__clogf): Likewise.
10839 * math/s_clogl.c (__clogl): Likewise.
10840 * math/s_csin.c (__csin): Likewise.
10841 * math/s_csinf.c (__csinf): Likewise.
10842 * math/s_csinh.c (__csinh): Likewise.
10843 * math/s_csinhf.c (__csinhf): Likewise.
10844 * math/s_csinhl.c (__csinhl): Likewise.
10845 * math/s_csinl.c (__csinl): Likewise.
10846 * math/s_csqrt.c (__csqrt): Likewise.
10847 * math/s_csqrtf.c (__csqrtf): Likewise.
10848 * math/s_csqrtl.c (__csqrtl): Likewise.
10849 * math/s_ctan.c (__ctan): Likewise.
10850 * math/s_ctanf.c (__ctanf): Likewise.
10851 * math/s_ctanh.c (__ctanh): Likewise.
10852 * math/s_ctanhf.c (__ctanhf): Likewise.
10853 * math/s_ctanhl.c (__ctanhl): Likewise.
10854 * math/s_ctanl.c (__ctanl): Likewise.
10855 * math/w_pow.c: Likewise.
10856 * math/w_powf.c: Likewise.
10857 * math/w_powl.c: Likewise.
10858 * math/w_scalb.c (sysv_scalb): Likewise.
10859 * math/w_scalbf.c (sysv_scalbf): Likewise.
10860 * math/w_scalbl.c (sysv_scalbl): Likewise.
10861 * misc/error.c (error_tail): Likewise.
10862 * misc/pselect.c (__pselect): Likewise.
10863 * nis/nis_callback.c (__nis_create_callback): Likewise.
10864 * nis/nis_call.c (__nisfind_server): Likewise.
10865 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10866 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10868 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10869 * nis/nis_lookup.c (nis_lookup): Likewise.
10870 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10871 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10872 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10873 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10874 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10875 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10876 * nis/nss_compat/compat-initgroups.c (add_group)
10877 (internal_getgrent_r): Likewise.
10878 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10879 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10880 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10881 (internal_getspnam_r): Likewise.
10882 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10883 (_nss_nis_getaliasbyname_r): Likewise.
10884 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10885 (_nss_nis_getntohost_r): Likewise.
10886 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10887 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10888 (_nss_nis_getgrgid_r): Likewise.
10889 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10890 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10891 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10892 (_nss_nis_gethostbyname4_r): Likewise.
10893 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10894 (initgroups_netid): Likewise.
10895 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10896 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10897 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10898 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10899 (_nss_nis_getprotobynumber_r): Likewise.
10900 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10901 (_nss_nis_getsecretkey): Likewise.
10902 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10903 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10904 (_nss_nis_getpwuid_r): Likewise.
10905 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10906 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10907 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10908 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10909 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10910 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10911 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10913 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10914 (_nss_nisplus_getntohost_r): Likewise.
10915 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10916 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10917 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10918 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10920 * nis/nss_nisplus/nisplus-initgroups.c
10921 (_nss_nisplus_initgroups_dyn): Likewise.
10922 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10923 (_nss_nisplus_getnetbyaddr_r): Likewise.
10924 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10925 (_nss_nisplus_getprotobynumber_r): Likewise.
10926 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10927 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10928 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10930 * nis/nss_nisplus/nisplus-service.c
10931 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10932 (_nss_nisplus_getservbyport_r): Likewise.
10933 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10934 (_nss_nisplus_getspnam_r): Likewise.
10935 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10937 * nscd/aicache.c (addhstaiX): Likewise.
10938 * nscd/cache.c (cache_search, prune_cache): Likewise.
10939 * nscd/connections.c (register_traced_file, send_ro_fd)
10940 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10941 (main_loop_epoll): Likewise.
10942 * nscd/grpcache.c (addgrbyX): Likewise.
10943 * nscd/hstcache.c (addhstbyX): Likewise.
10944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10945 * nscd/mem.c (gc, mempool_alloc): Likewise.
10946 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10947 (addinnetgrX): Likewise.
10948 * nscd/nscd-client.h (__nscd_acquire_maplock)
10949 (__nscd_drop_map_ref): Likewise.
10950 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10951 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10952 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10954 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10955 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10956 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10957 (__nscd_get_map_ref): Likewise.
10958 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10959 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10961 * nscd/pwdcache.c (addpwbyX): Likewise.
10962 * nscd/selinux.c (preserve_capabilities): Likewise.
10963 * nscd/servicescache.c (addservbyX): Likewise.
10964 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10965 * posix/fnmatch.c (fnmatch): Likewise.
10966 * posix/getopt.c (_getopt_internal_r): Likewise.
10967 * posix/glob.c (glob, glob_in_dir): Likewise.
10968 * posix/wordexp.c (exec_comm_child): Likewise.
10969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10970 (getanswer_r, gaih_getanswer_slice): Likewise.
10971 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10972 * resolv/res_init.c: Likewise.
10973 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10974 * resolv/res_query.c (__libc_res_nquery): Likewise.
10975 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10977 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10978 * stdio-common/perror.c (perror): Likewise.
10979 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10980 * stdio-common/tmpnam.c (tmpnam): Likewise.
10981 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10982 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10983 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10985 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10986 * stdlib/putenv.c (putenv): Likewise.
10987 * stdlib/setenv.c (__add_to_environ): Likewise.
10988 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10989 * stdlib/strtol_l.c (INTERNAL): Likewise.
10990 * string/memmem.c (memmem): Likewise.
10991 * string/strerror.c (strerror): Likewise.
10992 * string/strnlen.c (__strnlen): Likewise.
10993 * string/test-memmem.c (simple_memmem): Likewise.
10994 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10995 * sunrpc/pm_getport.c (__get_socket): Likewise.
10996 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10997 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10998 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10999 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11001 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11002 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11003 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11004 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11005 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11006 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11008 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11010 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11011 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11013 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11014 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11017 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11018 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11019 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11020 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11021 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11023 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11027 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11031 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11032 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11033 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11044 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11046 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11052 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11054 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11055 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11056 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11057 * sysdeps/posix/sleep.c: Likewise.
11058 * sysdeps/posix/tempname.c: Likewise.
11059 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11060 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11062 * sysdeps/powerpc/powerpc32/dl-machine.h
11063 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11064 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11066 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11067 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11069 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11071 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11073 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11074 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11075 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11076 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11077 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11078 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11080 (elf_machine_lazy_rel): Likewise.
11081 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11083 (elf_machine_lazy_rel): Likewise.
11084 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11085 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11086 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11087 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11088 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11089 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11090 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11093 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11094 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11095 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11096 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11097 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11098 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11099 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11100 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11101 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11102 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11103 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11105 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11106 (__posix_fallocate64_l64): Likewise.
11107 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11108 (posix_fallocate): Likewise.
11109 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11112 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11113 (getifaddrs_internal): Likewise.
11114 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11115 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11116 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11117 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11118 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11119 (__posix_fallocate64_l64): Likewise.
11120 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11122 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11123 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11124 (__get_clockfreq): Likewise.
11125 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11126 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11127 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11131 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11132 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11134 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11135 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11136 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11138 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11139 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11140 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11142 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11143 (posix_fallocate): Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11145 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11146 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11147 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11148 (elf_machine_rela, elf_machine_rela_relative)
11149 (elf_machine_lazy_rel): Likewise.
11150 * time/asctime.c (asctime_internal): Likewise.
11151 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11152 * time/tzset.c (__tzset_parse_tz): Likewise.
11153 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11154 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11155 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11156 * wcsmbs/wcsmbsload.h: Likewise.
11159 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11161 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11162 (arena_get2): Remove THREAD_STATS conditionals.
11163 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11164 (__malloc_stats, int): Likewise.
11166 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11168 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11169 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11171 * manual/setjmp.texi: Fix typos/grammar errors.
11173 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11174 Only return early when n is <= 0. Delete unused return statement.
11176 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11177 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11178 * debug/tst-longjmp_chk3.c: New file.
11180 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11181 (test_main): Replace code with set_fortify_handler call.
11182 * debug/test-strcpy_chk.c: Likewise.
11183 * debug/tst-chk1.c: Likewise.
11184 * debug/tst-longjmp_chk.c: Likewise.
11185 * test-skeleton.c: Include fcntl.h & paths.h
11186 (set_fortify_handler): Define.
11188 * debug/tst-longjmp_chk.c: Add header comment and include
11189 ../test-skeleton.c.
11190 (do_test): Mark static.
11191 (TEST_FUNCTION): Define.
11193 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11194 (IP_PMTUDISC_INTERFACE): Likewise.
11195 (IP_MULTICAST_IF): Likewise.
11196 (IP_MULTICAST_TTL): Likewise.
11197 (IP_MULTICAST_LOOP): Likewise.
11198 (IP_ADD_MEMBERSHIP): Likewise.
11199 (IP_DROP_MEMBERSHIP): Likewise.
11200 (IP_UNBLOCK_SOURCE): Likewise.
11201 (IP_BLOCK_SOURCE): Likewise.
11202 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11203 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11204 (IP_MSFILTER): Likewise.
11205 (MCAST_JOIN_GROUP): Likewise.
11206 (MCAST_BLOCK_SOURCE): Likewise.
11207 (MCAST_UNBLOCK_SOURCE): Likewise.
11208 (MCAST_LEAVE_GROUP): Likewise.
11209 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11210 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11211 (MCAST_MSFILTER): Likewise.
11212 (IP_MULTICAST_ALL): Likewise.
11213 (IP_UNICAST_IF): Likewise.
11215 * timezone/Makefile: Delete $(have-ksh) check.
11216 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11217 * timezone/tzselect.ksh: Add +x mode bits.
11219 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11220 (ANON_INODE_FS_MAGIC): Likewise.
11221 (BDEVFS_MAGIC): Likewise.
11222 (BINFMTFS_MAGIC): Likewise.
11223 (BTRFS_TEST_MAGIC): Likewise.
11224 (CRAMFS_MAGIC_WEND): Likewise.
11225 (DEBUGFS_MAGIC): Likewise.
11226 (ECRYPTFS_SUPER_MAGIC): Likewise.
11227 (EXT3_SUPER_MAGIC): Likewise.
11228 (EXT4_SUPER_MAGIC): Likewise.
11229 (FUTEXFS_SUPER_MAGIC): Likewise.
11230 (HOSTFS_SUPER_MAGIC): Likewise.
11231 (HUGETLBFS_MAGIC): Likewise.
11232 (MINIX3_SUPER_MAGIC): Likewise.
11233 (MTD_INODE_FS_MAGIC): Likewise.
11234 (NILFS_SUPER_MAGIC): Likewise.
11235 (OPENPROM_SUPER_MAGIC): Likewise.
11236 (PIPEFS_MAGIC): Likewise.
11237 (PSTOREFS_MAGIC): Likewise.
11238 (QNX6_SUPER_MAGIC): Likewise.
11239 (RAMFS_MAGIC): Likewise.
11240 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11241 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11242 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11243 (SECURITYFS_MAGIC): Likewise.
11244 (SELINUX_MAGIC): Likewise.
11245 (SMACK_MAGIC): Likewise.
11246 (SOCKFS_MAGIC): Likewise.
11247 (SQUASHFS_MAGIC): Likewise.
11248 (STACK_END_MAGIC): Likewise.
11249 (TMPFS_MAGIC): Likewise.
11250 (USBDEVICE_SUPER_MAGIC): Likewise.
11251 (V9FS_MAGIC): Likewise.
11252 (XENFS_SUPER_MAGIC): Likewise.
11253 (CRAMFS_MAGIC): Fix typo in comment.
11254 (EXT2_SUPER_MAGIC): Update comment.
11255 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11257 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11259 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11260 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11261 * sysdeps/unix/sysv/linux/arm: Move directory from
11262 ports/sysdeps/unix/sysv/linux/arm.
11263 * README: Update listing for arm-*-linux-gnueabi.
11265 * README: Remove mention of am33.
11267 2014-02-07 Roland McGrath <roland@hack.frob.com>
11269 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11270 than the comma operator, to avoid "rhs of comma has no effect"
11272 (__sigfillset, __sigandset, __sigorset): Likewise.
11273 * include/signal.h (__sigemptyset): Likewise.
11274 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11276 2014-02-07 Allan McRae <allan@archlinux.org>
11278 * version.h (RELEASE): Set to "development".
11279 (VERSION): Set to "2.19.90"
11280 * NEWS: Add 2.20 section.
11282 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11285 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11287 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11289 * manual/contrib.texi: Update entry for Carlos O'Donell,
11290 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11292 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11294 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11296 * sysdeps/unix/sysv/linux/kernel-features.h
11297 [__LINUX_KERNEL_VERSION >= 0x020621]
11298 (__ASSUME_PROC_PID_TASK_COMM): Define.
11300 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11303 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11304 conversion when destination buffer does not have enough space.
11305 * libio/tst-ftell-partial-wide.c: New test case.
11306 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11308 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11309 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11310 Leonard and Allan McRae.
11312 2014-02-04 David S. Miller <davem@davemloft.net>
11314 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11317 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11346 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11348 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11349 * shlib-versions: Likewise.
11351 2014-02-04 Roland McGrath <roland@hack.frob.com>
11352 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11355 (abilist-pattern): New variable, set to %-le.abilist.
11357 * Makerules (abilist-pattern): New variable.
11358 (vpath): Use $(abilist-pattern) in place of %.abilist.
11359 (check-abi-% pattern rule): Likewise.
11360 (check-abi, update-abi): Likewise.
11362 2014-02-04 Eric Wong <normalperson@yhbt.net>
11364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11366 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11368 * manual/startup.texi: Add next, previous, and top entries for
11369 the `Program Arguments' and `Environment Variables' nodes.
11371 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11373 * manual/macros.texi: Add comments before MTASC-safety macros.
11375 * manual/users.texi: Document MTASC-safety properties.
11377 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11378 (pthread_getspecific, pthread_setspecific): Format with
11379 @deftypefun, and add @safety note.
11380 * manual/signal.texi: Move comments that analyze the above
11381 functions to their home place.
11383 2014-02-03 Allan McRae <allan@archlinux.org>
11385 * po/sl.po: Update Slovenian translation from translation project.
11387 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11389 * manual/time.texi (timegm): Add missing blank after @c.
11390 Reported by Joseph Myers <joseph@codesourcery.com>.
11392 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11394 * manual/check-safety.sh: New.
11395 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11397 * manual/terminal.texi: Document MTASC-safety properties.
11399 * manual/filesys.texi: Document MTASC-safety properties.
11401 * manual/errno.texi: Document MTASC-safety properties.
11403 * manual/intro.texi: Document safety identifiers and
11406 * manual/string.texi (wcstok): Fix prototype.
11407 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11409 * manual/time.texi: Document MTASC-safety properties.
11411 * manual/string.texi: Document MTASC-safety properties.
11413 * manual/threads.texi: Document MTASC-safety properties.
11415 * manual/stdio.texi: Document MTASC-safety properties.
11417 * manual/syslog.texi: Document MTASC-safety properties.
11419 * manual/sysinfo.texi: Document MTASC-safety properties.
11421 * manual/startup.texi: Document MTASC-safety properties.
11423 * manual/socket.texi: Document MTASC-safety properties.
11425 * manual/signal.texi: Document MTASC-safety properties.
11427 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11429 * manual/setjmp.texi: Document MTASC-safety properties.
11431 * manual/search.texi: Document MTASC-safety properties.
11433 * manual/resource.texi: Document MTASC-safety properties.
11435 * manual/process.texi: Document MTASC-safety properties.
11437 * manual/platform.texi: Document MTASC-safety properties.
11439 * manual/pipe.texi: Document MTASC-safety properties.
11441 * manual/pattern.texi: Document MTASC-safety properties.
11443 * manual/message.texi: Document MTASC-safety properties.
11446 * manual/memory.texi: Document MTASC-safety properties.
11448 * manual/math.texi: Document MTASC-safety properties.
11450 * manual/locale.texi: Document MTASC-safety properties.
11452 * manual/llio.texi: Document MTASC-safety properties.
11454 * manual/libdl.texi: New.
11456 * manual/lang.texi: Document MTASC-safety properties.
11458 * manual/job.texi: Document MTASC-safety properties.
11460 * manual/getopt.texi: Document MTASC-safety properties.
11462 * manual/ctype.texi: Document MTASC-safety properties.
11464 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11467 * csu/libc-tls.c (static_map): Remove variable.
11468 (__libc_setup_tls): Use main executable's link map for TLS data.
11469 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11470 casing for LM_ID_BASE and GL(dl_nns).
11471 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11472 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11473 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11474 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11475 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11477 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11480 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11482 * manual/debug.texi: Document MTASC-safety properties.
11484 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11487 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11488 of __x86_64__ when disabling x87 inline functions.
11490 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11492 * manual/charset.texi: Document MTASC-safety properties.
11494 * manual/crypt.texi: Document MTASC-safety properties.
11496 * manual/conf.texi: Document MTASC-safety properties.
11498 * manual/arith.texi: Document MTASC-safety properties.
11500 * manual/argp.texi: Document MTASC-safety properties.
11502 * manual/macros.texi: Introduce macros to document multi
11503 thread, asynchronous signal and asynchronous cancellation
11505 * manual/intro.texi: Introduce the properties themselves.
11507 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11509 * sysdeps/sh/sh4/Makefile: New file.
11511 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11513 * math/gen-libm-test.pl ($srcdir): New variable.
11514 ($auto_input): Use it.
11516 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11519 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11520 access beyond array bounds when parsing netgroups file.
11522 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11523 the old buffer before realloc.
11525 2014-01-27 Allan McRae <allan@archlinux.org>
11527 * po/fr.po: Update French translation from translation project.
11529 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11531 * sysdeps/sh/libm-test-ulps: Regenerate.
11533 2014-01-24 David S. Miller <davem@davemloft.net>
11535 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11537 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11540 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11542 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11545 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11546 string pointers after reallocation.
11548 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11550 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11551 __SH4A__ instead of __SH_FPU_ANY__.
11553 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11555 * sysdeps/sh/fpu_control.h: New file.
11556 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11557 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11558 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11559 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11560 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11561 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11562 * sysdeps/sh/sys/ucontext.h: Remove.
11563 * sysdeps/sh/sys: Remove directory.
11565 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11567 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11568 s390/sys/ucontext.h.
11569 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11572 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11575 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11577 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11581 Adjust the vDSO correctly for internal calls.
11582 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11584 2014-01-20 Allan McRae <allan@archlinux.org>
11586 * po/ca.po: Update Catalan translation from translation project.
11588 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11590 * sysdeps/s390/sotruss-lib.c: New file.
11592 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11596 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11597 local calls issues by not having a PLT stub required for IFUNC calls.
11598 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11600 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11602 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11603 * math/test-fpucw-static.c: Likewise.
11605 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11608 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11610 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11613 implementation for powerpc.
11615 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11618 * sysdeps/posix/system.c (__libc_system): Do not enable
11619 asynchronous cancellation.
11621 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11624 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11625 handling only for numbers special also in the IEEE case.
11627 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11629 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11631 2014-01-11 Allan McRae <allan@archlinux.org>
11633 * po/bg.po: Update Bulgarian translation from translation project.
11635 * po/de.po: Update German translation from translation project.
11637 2014-01-10 Roland McGrath <roland@hack.frob.com>
11639 * sysdeps/generic/gcc-compat.h: New file.
11641 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11643 * benchtests/asin-inputs: Correct slow inputs.
11644 * benchtests/acos-inputs: Likewise.
11646 2014-01-10 Allan McRae <allan@archlinux.org>
11648 * po:sv.po: Update Swedish translation from translation project.
11650 * po/vi.po: Update Vietnamese translation from translation project.
11652 * po/eo.po: Update Esperanto translation from translation project.
11654 * po/cs.po: Update Czech translation from translation project.
11656 * po/nl.po: Update Dutch translation from translation project.
11658 * po/pl.po: Update Polish translation from translation project.
11660 * po/ru.po: Update Russian translation from translation project.
11662 * po/uk.po: Update Ukrainian translation from translation project.
11664 2014-01-08 Brooks Moses <bmoses@google.com>
11666 * elf/dl-load.c: Fix comment typo.
11668 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11670 * po/header.pot: Rename to...
11671 * po/pot.header: ... this.
11672 * po/Makefile: Use pot.header.
11674 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11675 Maxim Kuvyrkov <maxim@kugelworks.com>
11678 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11679 SRC and DEST against LEN.
11681 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11684 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11686 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11688 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11692 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11695 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11696 for large positive arguments.
11698 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11702 * math/auto-libm-test-in: Mark various tests with
11703 xfail-rounding:ldbl-128ibm.
11704 * math/auto-libm-test-out: Regenerated.
11707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11708 Increase overflow threshold.
11710 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11713 * stdio-common/vfprintf.c: Check for integer overflow.
11715 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11717 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11718 the first argument and return value of __tls_get_addr_internal.
11720 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11722 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11723 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11725 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11727 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11728 * sysdeps/s390/rtld-global-offsets.sym: New file.
11729 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11731 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11732 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11736 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11742 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11743 halfs of GPRs for high_gprs contexts.
11744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11745 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11749 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11751 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11752 for high GPRs (uc_high_gprs) and for future extensions
11754 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11755 for future extensions (__reserved).
11756 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11758 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11759 SC_HIGHGPRS offset definition.
11760 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11761 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11763 * Versions.def: Add GLIBC_2.19 for libpthread.
11764 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11765 siglongjmp for libpthread with GLIBC_2.19 symver.
11766 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11767 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11768 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11769 * sysdeps/s390/__longjmp.c: New file.
11770 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11771 * sysdeps/s390/longjmp.c: New file.
11772 * sysdeps/s390/setjmp.S: New file.
11773 * sysdeps/s390/sigjmp.S: New file.
11774 * sysdeps/s390/v1-longjmp.c: New file.
11775 * sysdeps/s390/v1-setjmp.h: New file.
11776 * sysdeps/s390/v1-sigjmp.c: New file.
11777 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11778 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11779 GLIBC_2.19 version.
11780 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11781 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11782 versioned symbols for ____longjmp_chk.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11793 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11794 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11795 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11796 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11797 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11798 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11799 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11800 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11801 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11802 * sysdeps/s390/rtld-__longjmp.c: New file.
11803 * sysdeps/s390/rtld-setjmp.S: New file.
11805 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11809 Return -__logl (x) for small positive arguments without evaluating
11812 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11814 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11816 (__ptrace_peeksiginfo_args): ... this.
11817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11821 2014-01-06 Allan McRae <allan@archlinux.org>
11823 * inet/netinet/in.h: Fix typo in comment.
11825 2014-01-05 Andreas Jaeger <aj@suse.de>
11827 * sysdeps/i386/fpu/libm-test-ulps: Update.
11829 2014-01-05 Allan McRae <allan@archlinux.org>
11831 * po/libc.pot: Regenerated.
11833 * malloc/memusagestat.c: Fix gettext call formatting.
11835 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11837 * nscd/nscd.c: Improve usage() output.
11839 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11841 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11842 * sysdeps/unix/sysv/linux/configure: Regenerated.
11843 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11844 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11846 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11849 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11850 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11852 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11855 extra tokens at end of #undef directive.
11856 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11858 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11860 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11862 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11864 * math/auto-libm-test-in: Mark various tests with
11865 xfail-rounding:ldbl-128ibm.
11866 * math/auto-libm-test-out: Regenerated.
11868 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11871 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11872 numbers with subnormal high part when calculating exponent.
11875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11881 (__ieee754_acoshl): Use __log1pl not __log1p.
11883 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11885 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11886 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11887 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11888 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11889 (reused_arena, arena_get2): Convert to GNU style.
11890 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11891 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11892 (memalign_check, __malloc_set_state): Likewise.
11893 * malloc/mallocbug.c (main): Likewise.
11894 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11895 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11896 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11897 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11898 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11899 (__posix_memalign, malloc_info): Likewise.
11900 * malloc/malloc.h: Likewise.
11901 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11902 (mallochook, memalignhook, reallochook, mabort): Likewise.
11903 * malloc/mcheck.h: Likewise.
11904 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11905 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11906 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11907 * malloc/morecore.c (__default_morecore): Likewise.
11908 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11909 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11910 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11911 (print_and_abort): Likewise.
11912 * malloc/obstack.h: Likewise.
11913 * malloc/set-freeres.c (__libc_freeres): Likewise.
11914 * malloc/tst-mallocstate.c (main): Likewise.
11915 * malloc/tst-mtrace.c (main): Likewise.
11916 * malloc/tst-realloc.c (do_test): Likewise.
11918 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11921 * nscd/netgroupcache.c (do_notfound): New function.
11922 (addgetnetgrentX): Use it.
11925 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11926 NSS_STATUS_NOTFOUND.
11928 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11930 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11933 2014-01-01 Allan McRae <allan@archlinux.org>
11935 * scripts/update-copyrights: Update configure input file suffix.
11937 * NEWS: Update copyright year.
11938 * catgets/gencat.c: Likewise.
11939 * csu/version.c: Likewise.
11940 * debug/catchsegv.sh: Likewise.
11941 * debug/pcprofiledump.c: Likewise.
11942 * debug/xtrace.sh: Likewise.
11943 * elf/ldconfig.c: Likewise.
11944 * elf/ldd.bash.in: Likewise.
11945 * elf/pldd.c: Likewise.
11946 * elf/sotruss.ksh: Likewise.
11947 * elf/sprof.c: Likewise.
11948 * iconv/iconv_prog.c: Likewise.
11949 * iconv/iconvconfig.c: Likewise.
11950 * locale/programs/locale.c: Likewise.
11951 * locale/programs/localedef.c: Likewise.
11952 * login/programs/pt_chown.c: Likewise.
11953 * malloc/memusage.sh: Likewise.
11954 * malloc/memusagestat.c: Likewise.
11955 * malloc/mtrace.pl: Likewise.
11956 * manual/libc.texinfo: Likewise.
11957 * nscd/nscd.c: Likewise.
11958 * nss/getent.c: Likewise.
11959 * nss/makedb.c: Likewise.
11960 * posix/getconf.c: Likewise.
11961 * scripts/test-installation.pl: Likewise.
11963 * All files with FSF copyright notices: Update copyright dates
11964 using scripts/update-copyrights.
11965 * intl/plural.c: Regenerated.
11966 * locale/programs/charmap-kw.h: Likewise.
11967 * locale/programs/locfile-kw.h: Likewise.
11969 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11971 * sysdeps/unix/sysv/linux/configure: Regenerated.
11972 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11973 the linux/fanotify.h header.
11974 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11975 HAVE_LINUX_FANOTIFY_H is defined.
11977 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11979 * benchtests/cos-inputs: New inputs.
11980 * benchtests/sin-inputs: Likewise.
11982 * benchtests/atan-inputs: New inputs. Fix name of multiple
11983 precision fallback inputs.
11985 * benchtests/atanh-inputs: New inputs.
11986 * benchtests/tanh-inputs: Likewise.
11988 * benchtests/acosh-inputs: New inputs.
11989 * benchtests/asinh-inputs: Likewise.
11991 * benchtests/cosh-inputs: New inputs.
11992 * benchtests/sinh-inputs: Likewise.
11994 * benchtests/acos-inputs: Add more inputs.
11995 * benchtests/asin-inputs: Likewise.
11997 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12000 * manual/arith.texi: Fix spelling.
12001 * manual/charset.texi: Likewise.
12002 * manual/errno.texi: Likewise.
12003 * manual/filesys.texi: Likewise.
12004 * manual/lang.texi: Likewise.
12005 * manual/llio.texi: Likewise.
12006 * manual/locale.texi: Likewise.
12007 * manual/message.texi: Likewise.
12008 * manual/resource.texi: Likewise.
12009 * manual/search.texi: Likewise.
12010 * manual/setjmp.texi: Likewise.
12011 * manual/stdio.texi: Likewise.
12012 * manual/string.texi: Likewise.
12013 * manual/sysinfo.texi: Likewise.
12014 * manual/time.texi: Likewise.
12016 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12018 * po/sl.po: New file.
12020 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12022 * .gitignore: Add core/.gdbinit/.gdb_history.
12024 2013-12-27 Allan McRae <allan@archlinux.org>
12027 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12028 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12030 2013-12-24 Brooks Moses <bmoses@google.com>
12032 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12033 all compilers that claim C++98 compliance, not just GCC.
12034 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12037 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12039 * NEWS: Restore accidentally deleted bug-fix entries.
12041 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12042 Ondřej Bílka <neleai@seznam.cz>
12045 * malloc/malloc.c (_int_free): Perform sanity check only if we
12048 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12051 * manual/stdio.texi (String Input Conversions): Clarify that character
12052 classes are not supported.
12054 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12058 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12062 Calculate results for small negative arguments directly rather
12063 than using reflection formula with special underflow handling.
12065 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12066 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12067 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12068 (fchflags): Likewise.
12069 (revoke): Likewise.
12070 (setlogin): Likewise.
12071 (sigaltstack): Likewise.
12073 (sigblock): Remove.
12074 (sigsetmask): Likewise.
12076 (waitpid): Likewise.
12077 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12078 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12080 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12081 * sysdeps/unix/bsd/Makefile: ... here.
12082 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12083 * sysdeps/unix/bsd/Versions: ... here.
12084 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12085 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12086 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12087 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12088 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12089 * sysdeps/unix/bsd/sigblock.c: ... here.
12090 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12091 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12092 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12093 * sysdeps/unix/bsd/sigvec.c: ... here.
12094 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12095 * sysdeps/unix/bsd/tcdrain.c: ... here.
12096 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12097 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12098 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12099 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12100 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12101 * sysdeps/unix/bsd/wait.c: ... here.
12102 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12103 * sysdeps/unix/bsd/wait3.c: ... here.
12104 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12105 * sysdeps/unix/bsd/waitpid.c: ... here.
12107 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12111 round-to-nearest for [!USE_AS_EXPM1L].
12112 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12113 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12114 more tests of exp and exp10. Expect some exp10 tests to miss
12115 exceptions or fail in directed rounding modes.
12116 * math/auto-libm-test-out: Regenerated.
12117 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12118 (exp10_test_tonearest): New function.
12119 (exp10_towardzero_test_data): New array.
12120 (exp10_test_towardzero): New function.
12121 (exp10_downward_test_data): New array.
12122 (exp10_test_downward): New function.
12123 (exp10_upward_test_data): New array.
12124 (exp10_test_upward): New function.
12125 (main): Call the new functions.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12131 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12132 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12133 * math/auto-libm-test-out: Regenerated.
12134 * math/libm-test.inc (acosh_test_data): Add more tests.
12135 (atanh_test_data): Likewise.
12136 (ceil_test_data): Likewise.
12137 (copysign_test_data): Likewise.
12138 * sysdeps/i386/fpu/libm-test-ulps: Update.
12139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141 * timezone/checktab.awk: Update from tzcode 2013i.
12142 * timezone/private.h: Likewise.
12143 * timezone/scheck.c: Likewise.
12144 * timezone/tzfile.h: Likewise.
12145 * timezone/tzselect.ksh: Likewise.
12146 * timezone/zdump.c: Likewise.
12147 * timezone/zic.c: Likewise.
12149 * math/auto-libm-test-in: Add tests of cpow.
12150 * math/auto-libm-test-out: Regenerated.
12151 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12154 (func_calc_desc): Add mpc_cc_c union field.
12155 (test_functions): Add cpow.
12156 (special_fill_2pi): New function.
12157 (special_real_inputs): Add 2pi.
12158 (calc_generic_results): Handle mpc_cc_c.
12159 * sysdeps/i386/fpu/libm-test-ulps: Update.
12160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12163 csqrt, ctan and ctanh.
12164 * math/auto-libm-test-out: Regenerated.
12165 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12166 (TEST_COND_x86): Likewise.
12167 (ccos_test_data): Use AUTO_TESTS_c_c.
12168 (ccosh_test_data): Likewise.
12169 (cexp_test_data): Likewise.
12170 (clog_test_data): Likewise.
12171 (csqrt_test_data): Likewise.
12172 (ctan_test_data): Likewise.
12173 (ctan_tonearest_test_data): Likewise.
12174 (ctan_towardzero_test_data): Likewise.
12175 (ctan_downward_test_data): Likewise.
12176 (ctan_upward_test_data): Likewise.
12177 (ctanh_test_data): Likewise.
12178 (ctanh_tonearest_test_data): Likewise.
12179 (ctanh_towardzero_test_data): Likewise.
12180 (ctanh_downward_test_data): Likewise.
12181 (ctanh_upward_test_data): Likewise.
12182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12184 (func_calc_desc): Add mpc_c_c union field.
12185 (FUNC_mpc_c_c): New macro.
12186 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12187 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12189 (special_fill_min_subnorm_p120): New function.
12190 (special_real_inputs): Add min_subnorm_p120.
12191 (calc_generic_results): Handle mpc_c_c.
12192 * sysdeps/i386/fpu/libm-test-ulps: Update.
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12197 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12198 (do_sin_slow): New functions.
12199 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12200 (cslow2, csloww1, csloww2): Use the new functions.
12202 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12203 Use M to change sign of result instead of X. Assume X is
12205 (csloww1): Likewise.
12209 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12210 arguments A and DA.
12214 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12216 (sloww1): Don't adjust sign of DX.
12217 (csloww1): Likewise.
12218 (sloww2): Use X directly and don't adjust sign of DX.
12219 (csloww2): Likewise.
12221 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12223 * math/auto-libm-test-in: Add tests of cabs and carg.
12224 * math/auto-libm-test-out: Regenerated.
12225 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12226 (carg_test_data): Likewise.
12227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12229 (func_calc_desc): Add mpc_c_f union field.
12230 (test_functions): Add cabs and carg.
12231 (calc_generic_results): Handle mpc_c_f.
12233 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12234 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12235 as a macro and a compat symbol.
12236 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12237 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12238 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12239 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12240 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12241 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12245 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12247 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12249 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12251 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12253 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12254 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12257 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12261 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12263 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12264 trailing whitespace removed.
12265 * scripts/config.guess: Update to version 2013-11-29.
12266 * scripts/config.sub: Update to version 2013-10-01.
12268 * math/auto-libm-test-in: Add tests of sincos.
12269 * math/auto-libm-test-out: Regenerated.
12270 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12271 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12273 (func_calc_desc): Add mpfr_f_11 union field.
12274 (test_functions): Add sincos.
12275 (calc_generic_results): Handle mpfr_f_11.
12276 * sysdeps/i386/fpu/libm-test-ulps: Update.
12277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12279 2013-12-19 Andreas Schwab <schwab@suse.de>
12281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12284 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12285 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12287 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12289 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12294 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12295 round-to-nearest mode when using frndint.
12296 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12297 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12300 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12302 * math/auto-libm-test-out: Regenerated.
12303 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12304 (TEST_COND_x86): Likewise.
12305 (expm1_tonearest_test_data): New array.
12306 (expm1_test_tonearest): New function.
12307 (expm1_towardzero_test_data): New array.
12308 (expm1_test_towardzero): New function.
12309 (expm1_downward_test_data): New array.
12310 (expm1_test_downward): New function.
12311 (expm1_upward_test_data): New array.
12312 (expm1_test_upward): New function.
12313 (main): Run the new test functions.
12314 * sysdeps/i386/fpu/libm-test-ulps: Update.
12315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12317 * include/features.h: Update comment documenting feature test
12318 macros. Mention _DEFAULT_SOURCE in comment.
12319 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12320 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12321 _BSD_SOURCE and _SVID_SOURCE.
12322 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12323 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12324 !_SVID_SOURCE]: Likewise.
12325 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12326 (__USE_POSIX_IMPLICITLY): Define.
12327 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12328 (_POSIX_SOURCE): Undefine and redefine.
12329 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12330 (_POSIX_C_SOURCE): Likewise.
12331 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12332 (Feature Test Macros): Update documentation of default features.
12334 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12336 * benchtests/Makefile: Add bench-strtok.
12337 * benchtests/bench-strtok.c: New file: strtok benchtest.
12339 2013-12-19 Allan McRae <allan@archlinux.org>
12341 * manual/install.texi: Suppress menu for plain text output.
12342 * INSTALL: Regenerated.
12344 2013-12-18 Brooks Moses <bmoses@google.com>
12347 * misc/getauxval.c: Include errno.h.
12348 (__getauxval): Set errno to ENOENT if the requested type is not
12350 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12351 don't declare with __attribute_const__.
12352 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12353 * manual/startup.texi: Document that getauxval sets errno.
12355 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12357 * math/auto-libm-test-in: Add tests of jn and yn.
12358 * math/auto-libm-test-out: Regenerated.
12359 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12360 (yn_test_data): Likewise.
12361 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12363 (func_calc_desc): Add mpfr_if_f union field.
12364 (FUNC_mpfr_if_f): New macro.
12365 (test_functions): Add jn and yn.
12366 (calc_generic_results): Assert type of second input for
12367 mpfr_ff_f. Handle mpfr_if_f.
12368 (output_for_one_input_case): Disable all checking for arguments
12369 fitting floating-point types in case of an integer argument.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12374 Don't expect fegetround reference in libm.so.
12376 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12378 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12379 $(config-cflags-nofma).
12381 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12383 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12384 * math/auto-libm-test-out: Regenerated.
12387 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12388 to determine exponent and adjust argument to have exponent of -1.
12389 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12391 * math/auto-libm-test-out: Regenerated.
12392 * sysdeps/i386/fpu/libm-test-ulps: Update.
12393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12397 * manual/probes.texi: Remove cases when per-thread arenas are
12400 2013-12-18 Andreas Schwab <schwab@suse.de>
12402 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12403 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12404 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12405 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12406 * sysdeps/i386/i686/multiarch/Makefile: Update.
12407 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12409 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12412 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12414 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12417 Support TZ transition times < 00:00:00.
12418 This is needed for version-3 tz-format files; it supports time
12419 stamps past 2037 for America/Godthab (the only entry in the tz
12420 database for which this change is relevant).
12421 * manual/time.texi (TZ Variable): Document transition times
12422 from -167:59:59 through -00:00:01.
12423 * time/tzset.c (tz_rule): Time of day is now signed.
12424 (__tzset_parse_tz): Parse negative time of day.
12426 Document TZ transition times >= 25:00:00.
12427 * manual/time.texi (TZ Variable): Document transition times from
12428 25:00:00 through 167:59:59. These are already supported, and this
12429 support will help with version-3 tz-format files.
12431 * manual/time.texi (TZ Variable): Modernize North America example
12432 to reflect current (i.e., 2007-and-later) daylight saving rules.
12434 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12436 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12438 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12439 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12442 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12443 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12444 * sysdeps/unix/bsd/clock.c: Likewise.
12445 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12446 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12447 * sysdeps/unix/bsd/init-posix.c: Likewise.
12448 * sysdeps/unix/bsd/poll.c: Likewise.
12449 * sysdeps/unix/bsd/ptsname.c: Likewise.
12450 * sysdeps/unix/bsd/seekdir.c: Likewise.
12451 * sysdeps/unix/bsd/setegid.c: Likewise.
12452 * sysdeps/unix/bsd/seteuid.c: Likewise.
12453 * sysdeps/unix/bsd/setgid.c: Likewise.
12454 * sysdeps/unix/bsd/setrgid.c: Likewise.
12455 * sysdeps/unix/bsd/setruid.c: Likewise.
12456 * sysdeps/unix/bsd/setsid.c: Likewise.
12457 * sysdeps/unix/bsd/setuid.c: Likewise.
12458 * sysdeps/unix/bsd/sigaction.c: Likewise.
12459 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12460 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12461 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12462 * sysdeps/unix/bsd/telldir.c: Likewise.
12463 * sysdeps/unix/bsd/times.c: Likewise.
12464 * sysdeps/unix/bsd/usleep.c: Likewise.
12466 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12467 ($(objpfx)libbsd-compat.a): Remove rule.
12469 * include/features.h (__FAVOR_BSD): Do not define.
12470 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12471 features conflicting with POSIX.
12472 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12473 (_BSD_SOURCE): Remove description of not being a subset of other
12474 feature test macros.
12475 * manual/job.texi (getpgrp): Do not document BSD version.
12476 (getpgid): Do not document by reference to BSD getpgrp.
12477 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12478 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12479 * signal/signal.h [__FAVOR_BSD]: Likewise.
12480 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12481 instead of making contents conditional on [__FAVOR_BSD].
12482 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12484 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12488 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12491 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12492 values below 2**-450, not 2**-500.
12493 * math/auto-libm-test-in: Don't allow spurious underflow from
12495 * math/auto-libm-test-out: Regenerated.
12499 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12500 values of ha and hb and sort them after adjusting subnormal
12502 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12504 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12505 values of ea and eb and sort them after adjusting subnormal
12507 * math/auto-libm-test-in: Do not expect some hypot tests of
12508 subnormals to fail. Add more hypot tests.
12509 * math/auto-libm-test-out: Regenerated.
12511 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12514 * sysdeps/sh/s_fma.c: New file.
12515 * sysdeps/sh/s_fmaf.c: New file.
12516 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12518 * sysdeps/sh/Implies: Add sh/soft-fp.
12520 2013-12-16 Roland McGrath <roland@hack.frob.com>
12522 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12523 level of indirection to members `objname', `errstring', `malloced'.
12524 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12525 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12526 it as the __longjmp argument (just pass 1 instead).
12527 (_dl_catch_error): Initialize C with argument pointers and address of
12528 volatile local ERRCODE rather than copying values out of C at return.
12530 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12532 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12533 * math/auto-libm-test-out: Regenerated.
12534 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12535 (hypot_test_data): Likewise.
12536 (pow_test_data): Likewise.
12537 (pow_tonearest_test_data): Likewise.
12538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12540 (func_calc_desc): Add mpfr_ff_f union field.
12541 (FUNC_mpfr_ff_f): New macro.
12542 (test_functions): Add atan2, hypot and pow.
12543 (special_fill_min): New function.
12544 (special_fill_minus_min): Likewise.
12545 (special_fill_min_subnorm): Likewise.
12546 (special_fill_minus_min_subnorm): Likewise.
12547 (special_real_inputs): Add min, -min, min_subnorm and
12549 (calc_generic_results): Handle mpfr_ff_f.
12550 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12553 2013-12-16 Will Newton <will.newton@linaro.org>
12555 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12556 (Aligned Memory Blocks): Add documentation for aligned_alloc
12557 and suggest it as an alternative to posix_memalign.
12558 (Hooks for Malloc): Document __memalign_hook is also called
12559 for aligned_alloc. (Summary of Malloc): Add summary for
12560 aligned alloc. Document __memalign_hook is also called
12563 2013-12-16 Will Newton <will.newton@linaro.org>
12565 * manual/memory.texi (Malloc Examples): Clarify default
12566 alignment documentation. Suggest posix_memalign rather
12567 than memalign or valloc.
12568 (Aligned Memory Blocks): Remove suggestion to use memalign
12569 or valloc. Remove obsolete comment about BSD.
12570 Document memalign errno values and mark the function obsolete.
12571 Document posix_memalign returned error codes. Mark valloc
12572 as obsolete. (Hooks for Malloc): __memalign_hook is also
12573 called for posix_memalign and valloc.
12574 (Summary of Malloc): Add posix_memalign to function summary.
12575 __memalign_hook is also called for posix_memalign and valloc.
12577 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12579 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12583 (sloww): Use mynumber union. Expand ternary operator into
12584 if-else statements.
12585 (cslow): use mynumber union.
12587 2013-12-16 Allan McRae <allan@archlinux.org>
12589 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12590 * configure: Regenerated.
12592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12595 * configure.ac: Added --enable-maintainer-mode. Check for
12596 autoconf when enabled.
12597 * configure: Regenerated.
12599 * nscd/nscd.service: New file.
12600 * nscd/nscd.tmpfiles: New file.
12602 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12605 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12606 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12607 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12608 (strstr): Add __strstr_sse2_unaligned ifunc.
12609 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12610 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12611 (strcasestr): Remove __strcasestr_sse42 ifunc.
12612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12616 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12618 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12619 * sysdeps/sh/bits/fenv.h: ... here.
12620 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12622 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12627 hypotf multiarch implementations.
12628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12631 multiarch hypot for PPC64.
12632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12635 multiarch hypotf for PPC64.
12637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12638 modff multiarch implementations.
12639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12642 multiarch modf for PPC64.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12646 multiarch modff for PPC64.
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12649 and logl multiarch implementations.
12650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12653 multiarch logb for PPC64.
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12657 multiarch logb for PPC64.
12658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12661 multiarch logb for PPC64.
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12664 isinff multiarch implementation.
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12669 multiarch isinf for PPC64.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12673 multiarch isinff for PPC64.
12675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12676 finitef multiarch implementation.
12677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12681 multiarch finite for PPC64.
12682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12685 multiarch finitef for PPC64.
12687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12688 lrint multiarch implementation.
12689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12693 multiarch llrint for PPC64.
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12695 multiarch lrint for PPC64.
12697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12698 copysignf multiarch implementation.
12699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12704 multiarch copysign for PPC64.
12705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12706 multiarch copysignf for PPC64.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12709 multiarch implementation.
12710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12718 multiarch llround for PPC64.
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12720 multiarch trunc for PPC64.
12721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12722 multiarch truncf for PPC64.
12724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12725 multiarch implementation.
12726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12734 multiarch llround for PPC64.
12735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12736 multiarch round for PPC64.
12737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12738 multiarch roundf for PPC64.
12740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12741 multiarch implementation.
12742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12750 multiarch llround for PPC64.
12751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12752 multiarch floor for PPC64.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12754 multiarch floorf for PPC64.
12756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12757 multiarch implementation.
12758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12766 multiarch llround for PPC64.
12767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12768 multiarch ceil for PPC64.
12769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12770 multiarch ceilf for PPC64.
12772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12773 multiarch implementation.
12774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12781 multiarch llround for PPC64.
12782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12783 multiarch lround for PPC64.
12785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12786 multiarch implementation.
12787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12794 multiarch isnan for PPC64.
12795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12796 multiarch isnanf for PPC64.
12798 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12799 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12800 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12802 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12805 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12806 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12811 multiarch implementations.
12812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12813 (__libc_ifunc_impl_list): Likewise.
12814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12815 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12816 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12817 multiarch stpcpy for PPC64.
12819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12820 multiarch implementations.
12821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12822 (__libc_ifunc_impl_list): Likewise.
12823 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12824 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12825 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12826 multiarch strcpy for PPC64.
12828 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12829 redefine function name.
12830 (_wordcopy_fwd_dest_aligned): Likewise.
12831 (_wordcopy_bwd_aligned): Likewise.
12832 (_wordcopy_bwd_dest_aligned): Likewise.
12833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12834 multiarch implementations.
12835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12836 (__libc_ifunc_impl_list): Likewise.
12837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12838 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12839 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12840 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12841 multiarch wcscpy for PPC64.
12843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12844 multiarch implementations.
12845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12846 (__libc_ifunc_impl_list): Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12851 multiarch wcscpy for PPC64.
12853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12854 multiarch implementations.
12855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12856 (__libc_ifunc_impl_list): Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12861 multiarch wcsrchr for PPC64.
12863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12864 multiarch implementations.
12865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12866 (__libc_ifunc_impl_list): Likewise.
12867 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12868 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12869 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12870 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12871 multiarch wcschr for PPC64.
12873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12874 multiarch implementations.
12875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12876 (__libc_ifunc_impl_list): Likewise.
12877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12878 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12879 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12880 multiarch strchrnul for PPC64.
12882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12885 (__libc_ifunc_impl_list): Likewise.
12886 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12887 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12888 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12889 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12895 (__libc_ifunc_impl_list): Likewise.
12896 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12897 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12899 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12903 multiarch implementations.
12904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12905 (__libc_ifunc_impl_list): Likewise.
12906 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12907 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12908 strncasecmp for PPC64.
12909 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12910 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12911 multiarch strncasecmp_l for PPC64.
12913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12914 multiarch implementations.
12915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12916 (__libc_ifunc_impl_list): Likewise.
12917 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12918 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12919 multiarch strcasecmp for PPC64.
12920 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12923 multiarch strcasecmp_l for PPC64.
12925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12928 (__libc_ifunc_impl_list): Likewise.
12929 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12930 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12931 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12937 (__libc_ifunc_impl_list): Likewise.
12938 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12939 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12940 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12946 (__libc_ifunc_impl_list): Likewise.
12947 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12948 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12949 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12950 rawmemrchr for PPC64.
12952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12955 (__libc_ifunc_impl_list): Likewise.
12956 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12957 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12958 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12964 (__libc_ifunc_impl_list): Likewise.
12965 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12966 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12967 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12973 (__libc_ifunc_impl_list): Likewise.
12974 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12975 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12976 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12979 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12980 avoid cretion of __bzero symbol.
12981 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12983 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12985 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12988 multiarch implementations.
12989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12990 (__libc_ifunc_impl_list): Likewise.
12991 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12992 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12993 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12994 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12996 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12997 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12998 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12999 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13000 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13002 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13004 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13008 (__libc_ifunc_impl_list): Likewise.
13009 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13010 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13011 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13012 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13016 multiarch for POWER/PPC64.
13017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13018 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13020 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13021 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13022 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13024 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13025 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13028 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13029 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13030 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13031 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13032 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13033 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13035 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13036 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13037 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13038 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13039 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13040 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13041 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13042 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13051 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13055 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13057 * benchtests/Makefile (bench): Add exp2 and log2.
13058 (LDLIBS-bench-exp2): Add -lm.
13059 (LDLIBS-bench-log2): Likewise.
13060 * benchtests/exp2-inputs: New inputs file.
13061 * benchtests/log2-inputs: New inputs file.
13062 * benchtests/log-inputs: Add new inputs.
13063 * benchtests/tan-inputs: Likewise.
13065 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13067 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13069 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13070 (csloww2): ... from here.
13072 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13073 instead of structures.
13074 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13075 (POLYNOMIAL): Likewise.
13076 (TAYLOR_SLOW): Likewise.
13082 (sloww1); Likewise.
13083 (sloww2): Likewise.
13084 (bsloww1): Likewise.
13085 (bsloww2): Likewise.
13086 (cslow2): Likewise.
13087 (csloww): Likewise.
13088 (csloww1): Likewise.
13089 (csloww2): Likewise.
13091 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13093 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13094 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13095 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13096 * malloc/hooks.c (realloc_check): Likewise.
13098 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13099 * malloc/arena.c: Remove PER_THREAD conditional.
13100 [!PER_THREAD]: Remove code.
13101 (ptmalloc_unlock_all2): Likewise.
13102 (ptmalloc_init): Likewise.
13103 (_int_new_arena): Likewise.
13104 (arena_get2): Likewise.
13105 * malloc/hooks.c (__malloc_get_state): Likewise.
13106 (__malloc_set_state): Likewise.
13107 * malloc/malloc.c: Likewise.
13108 (struct malloc_state): Likewise.
13109 (struct malloc_par): Likewise.
13110 (__libc_realloc): Likewise.
13111 (__libc_mallopt): Likewise.
13113 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13115 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13117 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13119 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13120 macro to a function. Check for zero perturb_byte.
13121 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13123 * malloc/malloc.c: (force_reg): Remove.
13124 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13125 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13126 force_reg by atomic_forced_read.
13127 * malloc/arena.c (ptmalloc_init): Likewise.
13128 * malloc/hooks.c (top_check): Likewise.
13130 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13134 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13138 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13140 * math/auto-libm-test-in: Add tests of lgamma.
13141 * math/auto-libm-test-out: Regenerated.
13142 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13143 (M_LOG_2_SQRT_PIl): Likewise.
13144 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13145 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13147 (func_calc_desc): Add mpfr_f_f1 union field.
13148 (ARGS1): New macro.
13156 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13157 (test_functions): Add lgamma.
13158 (calc_generic_results): Handle mpfr_f_f1.
13159 * sysdeps/i386/fpu/libm-test-ulps: Update.
13160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13162 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13165 __mpn_add_n for PowerPC64/POWER7.
13166 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13167 __mpn_sub_n for PowerPC64/POWER7.
13169 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13170 __mpn_addmul_1 for PowerPC64.
13171 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13172 __mpn_submul_1 for PowerPC64.
13173 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13175 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13178 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13181 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13183 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13185 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13187 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13188 add multiarch folders.
13189 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13190 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13191 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13192 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13193 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13194 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13195 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13196 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13197 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13198 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13199 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13208 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13214 multiarch __ieee754_hypot for PowerPC32.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13220 multiarch __ieee754_hypotf for PowerPC32.
13222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13223 long_double_symbol only if __logbl is defined.
13224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13225 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13227 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13229 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13230 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13231 path for implementation.
13232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13235 logb, and logbl multiarch implementations for PowerPC32.
13236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13241 multiarch logb for PowerPC32.
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13247 multiarch logbf for PowerPC32.
13248 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13252 multiarch logbl implementation for PowerPC32.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13255 and modff multiarch implementations.
13256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13261 multiarch modf for PowerPC32.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13267 multiarch modff for PowerPC32.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13270 and lrintf multiarch implementations.
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13276 multiarch lrint for PowerPC32.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13278 file: multiarch lrintf for PowerPC32.
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13281 and lroundf multiarch implementations.
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13289 multiarch lround for PowerPC32.
13290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13291 file: multiarch lroundf for PowerPC32.
13293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13294 copysign and copysignf multiarch implementations.
13295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13300 file: multiarch copysign for PowerPC32.
13301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13302 file: multiarch copysignf for PowerPC32.
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13305 and truncf multiarch implementations.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13311 multiarch trunc for PowerPC32.
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13317 multiarch truncf for PowerPC32.
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13320 and roundf multiarch implementations.
13321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13326 multiarch round for PowerPC32.
13327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13332 multiarch roundf for PowerPC32.
13334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13335 and floorf multiarch implementations.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13341 multiarch floor for PowerPC32.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13347 multiarch floorf for PowerPC32.
13349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13350 and ceilf multiarch implementations.
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13356 multiarch ceil for PowerPC32.
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13362 multiarch ceilf for PowerPC32.
13364 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13366 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13367 FINITEF is defined.
13368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13369 and finitef multiarch implementations.
13370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13375 multiarch finite for PowerPC32.
13376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13379 file: multiarch finitef for PowerPC32.
13381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13382 and isinff multiarch implementations.
13383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13388 multiarch isinf for PowerPC32.
13389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13392 multiarch isinff for PowerPC32.
13394 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13395 alias when __isnan is defined.
13396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13397 and isnanf multiarch implementations.
13398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13407 multiarch isnan for PowerPC32.
13408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13413 multiarch isnanf for PowerPC32.
13415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13416 and sqrtf multiarch implementations.
13417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13422 multiarch sqrt for PowerPC32.
13423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13428 multiarch sqrtf for PowerPC32.
13430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13431 and llroundf multiarch implementations.
13432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13439 file: multiarch llround for PowerPC32.
13440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13441 file: multiarch llroundf for PowerPC32.
13443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13444 multiarch PowerPC32 fpu implementations.
13445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13450 multiarch llrint for PowerPC32.
13451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13467 multiarch wordcopy for PPC32.
13468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13471 (__libc_ifunc_impl_list): Likewise.
13472 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13473 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13474 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13475 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13477 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13479 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13487 multiarch wcscpy for PPC32.
13488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13491 (__libc_ifunc_impl_list): Likewise.
13492 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13493 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13494 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13495 sysdeps/powerpc/power6/wcscpy.c.
13497 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13505 multiarch wcsrchr for PPC32.
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13509 (__libc_ifunc_impl_list): Likewise.
13510 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13511 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13512 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13513 sysdeps/powerpc/power6/wcsrchr.c.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13521 multiarch wcschr for PPc32.
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13525 (__libc_ifunc_impl_list): Likewise.
13526 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13527 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13528 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13529 sysdeps/powerpc/power6/wcschr.c.
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13535 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13536 file: multiarch strchr for PPC32.
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13540 (__libc_ifunc_impl_list): Likewise.
13542 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13544 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13549 multiarch strchrnul for PPC32.
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13553 (__libc_ifunc_impl_list): Likewise.
13555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13558 multiarch strncasecmp for PPC32.
13559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13562 multiarch strncasecmp_l for PPC32.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13564 strncasecmp multiarch objects.
13565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13566 (__libc_ifunc_impl_list): Likewise.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13571 multiarch strncasecmp for PPC32.
13572 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13574 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13575 multiarch strcasecmp_l for PPC32.
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13579 (__libc_ifunc_impl_list): Likewise.
13581 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13583 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13586 multiarch strncmp for PPC32.
13587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13590 (__libc_ifunc_impl_list): Likewise.
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13593 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13595 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13600 (__libc_ifunc_impl_list): Likewise.
13602 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13604 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13610 (__libc_ifunc_impl_list): Likewise.
13612 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13614 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13616 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13617 multiarch rawmemchr for PPC32.
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13621 (__libc_ifunc_impl_list): Likewise.
13623 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13625 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13627 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13628 file: memrchr multiarch for PPC32.
13629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13632 (__libc_ifunc_impl_list): Likewise.
13634 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13638 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13639 multiarch memchr for PPC32.
13640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13643 (__libc_ifunc_impl_list): Likewise.
13645 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13646 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13648 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13650 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13651 file: multiarch mempcpy for PPC32.
13652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13655 (__libc_ifunc_impl_list): Likewise.
13657 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13661 multiarch bzero for PPC32.
13662 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13664 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13666 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13667 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13668 file: multiarch memset for PPC32.
13669 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13671 memset multiarch objects.
13672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13673 (__libc_ifunc_impl_list): Likewise.
13675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13680 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13684 (__libc_ifunc_impl_list): Likewise.
13686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13687 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13695 multiarch memcpy for PPC32.
13696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13699 (__libc_ifunc_impl_list): Likewise.
13701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13702 support multiarch for POWER/PPC32.
13703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13705 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13707 Implies file to make multiarch folder appers before the fpu and
13708 default folder for power4 configuration.
13710 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13712 * scripts/bench.pl: Append volatile keyword to type.
13714 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13716 * sysdeps/sh/sotruss-lib.c: New file.
13717 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13719 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13723 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13726 * math/w_tgamma.c: Include <errno.h>.
13727 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13728 * math/w_tgammaf.c: Include <errno.h>.
13729 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13730 * math/w_tgammal.c: Include <errno.h>.
13731 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13732 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13733 underflow. Add more tgamma tests.
13734 * math/auto-libm-test-out: Regenerated.
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13738 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13739 sin, sinh, tan, tanh, tgamma, y0 and y1.
13740 * math/auto-libm-test-out: Regenerated.
13741 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13742 (TEST_COND_x86): Likewise.
13743 (M_E2l): Remove macro.
13745 (M_2_SQRT_PIl): Likewise.
13746 (M_SQRT_PIl): Likewise.
13747 (M_1_DIV_El): Likewise.
13748 (log_test_data): Use AUTO_TESTS_f_f.
13749 (log10_test_data): Likewise.
13750 (log1p_test_data): Likewise.
13751 (log2_test_data): Likewise.
13752 (sin_test_data): Likewise.
13753 (sin_tonearest_test_data): Likewise.
13754 (sin_towardzero_test_data): Likewise.
13755 (sin_downward_test_data): Likewise.
13756 (sin_upward_test_data): Likewise.
13757 (sinh_test_data): Likewise.
13758 (sinh_tonearest_test_data): Likewise.
13759 (sinh_towardzero_test_data): Likewise.
13760 (sinh_downward_test_data): Likewise.
13761 (sinh_upward_test_data): Likewise.
13762 (tan_test_data): Likewise.
13763 (tan_tonearest_test_data): Likewise.
13764 (tan_towardzero_test_data): Likewise.
13765 (tan_downward_test_data): Likewise.
13766 (tan_upward_test_data): Likewise.
13767 (tanh_test_data): Likewise.
13768 (tgamma_test_data): Likewise.
13769 (y0_test_data): Likewise.
13770 (y1_test_data): Likewise.
13771 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13772 (special_real_inputs): Add pi/4.
13773 * sysdeps/i386/fpu/libm-test-ulps: Update.
13774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13776 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13779 "longjmp_target" static probes.
13780 (__longjmp): Rename to __longjmp_symbol.
13781 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13782 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13783 on which longjmp to generate.
13784 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13787 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13788 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13790 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13791 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13792 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13794 __longjmp_symbol based on which __longjmp to generate.
13795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13797 (setjmp): Rename to setjmp_symbol.
13798 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13799 (_setjmp): Rename to _setjmp_symbol.
13800 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13801 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13802 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13803 which setjmp to generate.
13804 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13805 "longjmp_target" static probes.
13807 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13809 * benchtests/README: Add note about output arguments.
13810 * benchtests/bench-sincos.c: Remove file.
13811 * benchtests/sincos-inputs: New file.
13812 * scripts/bench.pl: Identify output arguments and define
13813 static variables for them.
13815 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13818 * Makefile (INSTALL): Add install-plain.texi as the primary
13820 * manual/install-plain.texi: New file.
13821 * manual/install.texi: Include node directive only for
13822 non-plaintext output.
13824 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13826 * stdlib/longlong.h: Update from GCC.
13830 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13831 * math/w_j0f.c (y0f): Likewise.
13832 * math/w_j0l.c (__y0l): Likewise.
13833 * math/w_j1.c (y1): Likewise.
13834 * math/w_j1f.c (y1f): Likewise.
13835 * math/w_j1l.c (__y1l): Likewise
13836 * math/w_jn.c (yn): Likewise.
13837 * math/w_jnf.c (ynf): Likewise.
13838 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13839 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13840 value for Bessel function domain errors outside _SVID_ mode.
13841 Adjust sign of return value for yn (negative integer, 0).
13842 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13843 by zero in return for negative x and set sign appropriately for
13845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13846 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13847 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13848 expectations in error cases.
13849 (y1_test_data): Likewise.
13850 (yn_test_data): Likewise.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13856 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13857 "64" to "64-v1". Add "64-v2".
13858 (abi-64-options): Rename to ...
13859 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13860 (abi-64-condition): Rename to ...
13861 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13862 (abi-64-ld-soname): Rename to ...
13863 (abi-64-v1-ld-soname): ... this.
13864 (abi-64-v2-options): Define.
13865 (abi-64-v2-condition): Likewise.
13866 (abi-64-v2-ld-soname): Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13868 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13873 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13874 Alan Modra <amodra@gmail.com>
13876 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13877 New versions for use with the ELFv2 ABI.
13878 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13879 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13881 (struct La_ppc64v2_retval): Likewise.
13882 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13883 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13884 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13885 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13886 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13888 Do not save or restore CR.
13889 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13890 (_dl_profile_resolve): Do no save or restore CR. Support extended
13891 return values for ELFv2 ABI. Fix location of FPR return registers.
13892 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13893 updated values for _CALL_ELF == 2.
13894 (La_regs, La_retval, int_retval): Likewise.
13896 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13898 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13899 (FRAME_MIN_SIZE_PARM): Likewise.
13900 (FRAME_BACKCHAIN): Likewise.
13901 (FRAME_CR_SAVE): Likewise.
13902 (FRAME_LR_SAVE): Likewise.
13903 (FRAME_TOC_SAVE): Likewise.
13904 (FRAME_PARM_SAVE): Likewise.
13905 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13906 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13907 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13908 (call_mcount_parm_offset): New macro.
13909 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13910 (PROF): Use symbolic stack frame offsets.
13911 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13912 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13913 Redefine in terms of FRAME_MIN_SIZE.
13914 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13915 (_dl_profile_resolve): Likewise. Update comment.
13916 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13917 symbols stack frame offsets.
13918 (__sigsetjmp): Likewise.
13919 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13920 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13921 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13922 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13925 (FRAME_BACKCHAIN): Remove.
13926 (FRAME_CR_SAVE): Likewise.
13927 (FRAME_LR_SAVE): Likewise.
13928 (FRAME_COMPILER_DW): Likewise.
13929 (FRAME_LINKER_DW): Likewise.
13930 (FRAME_TOC_SAVE): Likewise.
13931 (FRAME_PARM_SAVE): Likewise.
13932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13933 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13934 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13936 (CHECK_SP): Use symbolic stack frame offsets.
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13938 zone" instead of caller's parameter save area for temp storage.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13940 Likewise. Also, use symbolic stack frame offsets.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13942 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13943 our own stack frame instead of the caller's.
13944 (__socket): Use symbolic stack frame offsets.
13946 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13947 Alan Modra <amodra@gmail.com>
13949 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13951 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13952 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13953 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13955 (elf_machine_fixup_plt): Call it.
13956 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13958 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13959 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13960 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13961 r2 before calling target.
13963 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13964 Alan Modra <amodra@gmail.com>
13966 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13967 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13968 versions of macros to support ELFv2 ABI.
13969 (LOCALENTRY): New macro.
13970 (ENTRY, EALIGN): Use it.
13971 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13972 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13973 fall through into ENTRY entry point.
13974 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13975 Only define if _CALL_ELF != 2.
13977 (elf_machine_matches_host): Verify ABI version matches.
13978 (RTLD_START): Use LOCALENTRY.
13979 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13980 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13981 (PLT_ENTRY_WORDS): New macro.
13982 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13983 (elf_machine_runtime_setup): Support ELFv2 ABI.
13984 (elf_machine_fixup_plt): Likewise.
13985 (elf_machine_plt_conflict): Likewise.
13986 (resolve_ifunc): Likewise.
13987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13991 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13993 (makecontext): Support ELFv2 ABI.
13994 * elf/elf.h (EF_PPC64_ABI): Define.
13996 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13998 * sysdeps/powerpc/powerpc64/sysdep.h
13999 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14000 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14001 (ENTRY) [ASSEMBLER]: ... but instead here ...
14002 (EALIGN) [ASSEMBLER]: ... and here.
14003 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14004 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14005 (ENTRY_2) [!ASSEMBLER]: Use it.
14006 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14007 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14009 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14010 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14012 Use PPC64_LOAD_FUNCPTR.
14014 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14016 2013-12-04 Alan Modra <amodra@gmail.com>
14018 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14019 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14020 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14021 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14024 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14025 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14026 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14027 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14028 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14030 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14033 (__makecontext): Fix incorrect CFI when backtracing out of
14034 context created via makecontext.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14036 (__setcontext): Fix incorrect CFI during switch to new context.
14037 (__novec_setcontext): Likewise.
14039 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14042 * time/strptime_l.c (__strptime_internal): Allow modifiers
14044 * time/tst-strptime.c (day_tests): Add testcase.
14046 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14048 * scripts/bench.pl: Skip over blank lines.
14050 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14053 * manual/time.texi (Calendar Time): Clarify what timezone functions
14056 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14060 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14062 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14064 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14065 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14066 * debug/memset_chk.c (__memset_chk): Likewise.
14067 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14068 * debug/strncpy_chk.c: Likewise.
14070 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14074 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14075 (__ieee754_exp): For possibly underflowing results, check size of
14076 result and force underflow exception if required.
14077 * math/auto-libm-test-in: Add more tests of exp.
14078 * math/auto-libm-test-out: Regenerated.
14079 * sysdeps/i386/fpu/libm-test-ulps: Update.
14080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14084 * math/w_exp2f.c (__exp2f): Likewise.
14085 * math/w_exp2l.c (__exp2l): Likewise.
14086 * math/auto-libm-test-in: Do not allow missing errno on exp2
14088 * math/auto-libm-test-out: Regenerated.
14090 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14093 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14094 handle filename validation.
14095 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14098 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14101 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14102 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14103 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14105 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14106 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14107 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14109 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14111 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14112 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14113 Add more erfc tests.
14114 * math/auto-libm-test-out: Regenerated.
14115 * sysdeps/i386/fpu/libm-test-ulps: Update.
14116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14118 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14119 exp2, expm1, j0 and j1.
14120 * math/auto-libm-test-out: Regenerated.
14121 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14122 (erfc_test_data): Likewise.
14123 (exp_test_data): Likewise.
14124 (exp_tonearest_test_data): Likewise.
14125 (exp_towardzero_test_data): Likewise.
14126 (exp_downward_test_data): Likewise.
14127 (exp_upward_test_data): Likewise.
14128 (exp10_test_data): Likewise.
14129 (exp2_test_data): Likewise.
14130 (expm1_test_data): Likewise.
14131 (j0_test_data): Likewise.
14132 (j1_test_data): Likewise.
14133 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14134 (input_flag_type): Add flag_xfail_rounding.
14135 (input_flags): Add xfail-rounding.
14136 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14137 (output_for_one_input_case): Handle flag_xfail_rounding.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14141 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14144 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14147 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14150 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14151 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14152 (STAP_PROBE0): New macro.
14153 (STAP_PROBE1): Likewise.
14154 (STAP_PROBE2): Likewise.
14155 (STAP_PROBE3): Likewise.
14156 (STAP_PROBE4): Likewise.
14158 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14160 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14162 2013-12-02 Steve Ellcey <sellcey@mips.com>
14164 * benchtests/Makefile (bench): Add sqrt.
14165 (LDLIBS-bench-sqrt): New.
14166 * benchtests/sqrt-input: New.
14168 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14170 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14171 (GAIH_EAI): Likewise.
14172 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14173 (gaih_inet): Likewise.
14174 (getaddrinfo): Don't use GAIH_EAI.
14176 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14177 (struct gaih): Remove definition.
14179 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14181 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14182 Use HERRNOP directly.
14184 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14188 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14190 * math/gen-auto-libm-tests.c (test_functions): Add more
14191 single-argument functions.
14192 (special_fill_pi_2): New function.
14193 (special_fill_minus_pi_2): Likewise.
14194 (special_fill_pi_6): Likewise.
14195 (special_fill_minus_pi_6): Likewise.
14196 (special_fill_pi_3): Likewise.
14197 (special_fill_2pi_3): Likewise.
14198 (special_fill_e): Likewise.
14199 (special_fill_1_e): Likewise.
14200 (special_fill_e_minus_1): Likewise.
14201 (special_real_inputs): Add more special inputs.
14202 (output_for_one_input_case): Do not require ERANGE on underflow to
14203 zero if round-to-nearest result does not underflow to zero, unless
14204 exact results required.
14205 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14206 atan, atanh, cbrt, cos and cosh.
14207 * math/auto-libm-test-out: Regenerated.
14208 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14209 (acos_tonearest_test_data): Likewise.
14210 (acos_towardzero_test_data): Likewise.
14211 (acos_downward_test_data): Likewise.
14212 (acos_upward_test_data): Likewise.
14213 (acosh_test_data): Likewise.
14214 (asin_test_data): Likewise.
14215 (asin_tonearest_test_data): Likewise.
14216 (asin_towardzero_test_data): Likewise.
14217 (asin_upward_test_data): Likewise.
14218 (asinh_test_data): Likewise.
14219 (atan_test_data): Likewise.
14220 (atanh_test_data): Likewise.
14221 (cbrt_test_data): Likewise.
14222 (cos_test_data): Likewise.
14223 (cos_tonearest_test_data): Likewise.
14224 (cos_towardzero_test_data): Likewise.
14225 (cos_downward_test_data): Likewise.
14226 (cos_upward_test_data): Likewise.
14227 (cosh_test_data): Likewise.
14228 (cosh_tonearest_test_data): Likewise.
14229 (cosh_towardzero_test_data): Likewise.
14230 (cosh_downward_test_data): Likewise.
14231 (cosh_upward_test_data): Likewise.
14232 * sysdeps/i386/fpu/libm-test-ulps: Update.
14233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14235 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14238 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14239 * math/w_exp10f.c (__exp10f): Likewise.
14240 * math/w_exp10l.c (__exp10l): Likewise.
14241 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14242 errno settings in existing tests.
14245 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14246 precision control set to double precision.
14247 * sysdeps/i386/fpu/w_sqrt.c: New file.
14248 * math/auto-libm-test-in: Add more tests.
14249 * math/auto-libm-test-out: Update.
14251 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14252 (sqrt_test_tonearest): New function.
14253 (sqrt_towardzero_test_data): New variable.
14254 (sqrt_test_towardzero): New function.
14255 (sqrt_downward_test_data): New variable.
14256 (sqrt_test_downward): New function.
14257 (sqrt_upward_test_data): New variable.
14258 (sqrt_test_upward): New function.
14259 (main): Call the new functions.
14261 * math/gen-auto-libm-tests.c: New file.
14262 * math/auto-libm-test-in: Likewise.
14263 * math/auto-libm-test-out: New generated file.
14264 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14266 (%beautify): Add generated representations of zero.
14267 (top level): Set $auto_input and call parse_auto_input.
14268 (beautify): Remove trailing "f" from hex float constants.
14269 (parse_args): Handle XFAIL_TEST.
14270 (convert_condition): New function.
14271 (or_value): Likewise.
14272 (or_cond_value): Likewise.
14273 (generate_testfile): Handle AUTO_TESTS_* lines.
14274 (parse_auto_input): New function.
14275 * math/libm-test.inc (XFAIL_TEST): New macro.
14276 (ERRNO_UNCHANGED): Update value.
14277 (ERRNO_EDOM): Likewise.
14278 (ERRNO_ERANGE): Likewise.
14279 (IGNORE_RESULT): Likewise.
14280 (TEST_COND_flt_32): New macro.
14281 (TEST_COND_dbl_64): Likewise.
14282 (TEST_COND_ldbl_96_intel): Likewise.
14283 (TEST_COND_ldbl_96_m68k): Likewise.
14284 (TEST_COND_ldbl_128): Likewise.
14285 (TEST_COND_ldbl_128ibm): Likewise.
14286 (TEST_COND_long32): Likewise.
14287 (TEST_COND_long64): Likewise.
14288 (TEST_COND_before_rounding): Likewise.
14289 (TEST_COND_after_rounding): Likewise.
14290 (enable_test): Handle XFAIL_TEST flag.
14291 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14292 with finite results.
14293 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14294 auto-libm-test-out.
14296 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14297 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14300 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14301 __tls_get_addr_internal instead of __tls_get_offset in order to
14302 avoid GOT pointer dependency. Make rtld export
14303 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14304 __tls_get_addr since we are a __tls_get_offset platform.
14305 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14306 GOT pointer being set up before.
14307 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14309 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14311 * manual/math.texi (Errors in Math Functions): Document accuracy
14315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14316 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14319 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14321 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14332 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14333 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14334 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14335 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14336 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14338 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14340 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14342 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14343 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14344 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14345 atomic-feupdateenv and flt-rounds.
14346 * sysdeps/powerpc/nofpu/Versions (libc): Add
14347 __atomic_feholdexcept, __atomic_feclearexcept,
14348 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14349 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14350 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14351 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14352 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14357 * manual/arith.texi (FP Exceptions): Document that exceptions may
14358 not be raised when matherr is used.
14359 (Math Error Reporting): Document overflow in directed rounding
14360 modes. Document that errno may not be set when finite values are
14361 returned on overflow. Document intent to set errno on underflow
14362 only for underflow to zero.
14365 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14366 round-to-nearest then adjust result for other rounding modes.
14367 * include/fenv.h (fegetround): Use libm_hidden_proto.
14368 * math/fegetround.c (fegetround): Use libm_hidden_def.
14369 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14370 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14371 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14374 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14376 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14377 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14379 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14382 * nss/Versions (libnss_files): Add
14383 _nss_files_gethostbyname3_r.
14384 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14386 (HOST_DB_LOOKUP): Remove macro.
14387 (_nss_files_gethostbyname_r): Implement function without the
14388 HOST_DB_LOOKUP macro.
14389 (_nss_files_gethostbyname2_r): Likewise.
14391 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14393 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14395 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14397 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14398 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14401 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14403 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14404 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14405 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14406 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14407 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14408 __fe_nomask_env_priv and attribute_hidden.
14409 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14410 (libc_feupdateenv_test_ppc): Likewise.
14411 (libc_feresetround_ppc): Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14413 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14414 compat_symbol macro.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14416 (__fe_nomask_env): Likewise.
14417 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14419 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14421 * string/Makefile: Remove ifunc tests.
14422 * string/test-string.h: Define TEST_IFUNC.
14423 * string/test-bcopy-ifunc.c: Remove.
14424 * string/test-bzero-ifunc.c: Likewise.
14425 * string/test-memccpy-ifunc.c: Likewise.
14426 * string/test-memchr-ifunc.c: Likewise.
14427 * string/test-memcmp-ifunc.c: Likewise.
14428 * string/test-memcpy-ifunc.c: Likewise.
14429 * string/test-memmem-ifunc.c: Likewise.
14430 * string/test-memmove-ifunc.c: Likewise.
14431 * string/test-mempcpy-ifunc.c: Likewise.
14432 * string/test-memrchr-ifunc.c: Likewise.
14433 * string/test-memset-ifunc.c: Likewise.
14434 * string/test-rawmemchr-ifunc.c: Likewise.
14435 * string/test-stpcpy-ifunc.c: Likewise.
14436 * string/test-stpncpy-ifunc.c: Likewise.
14437 * string/test-strcasecmp-ifunc.c: Likewise.
14438 * string/test-strcasestr-ifunc.c: Likewise.
14439 * string/test-strcat-ifunc.c: Likewise.
14440 * string/test-strchr-ifunc.c: Likewise.
14441 * string/test-strchrnul-ifunc.c: Likewise.
14442 * string/test-strcmp-ifunc.c: Likewise.
14443 * string/test-strcpy-ifunc.c: Likewise.
14444 * string/test-strcspn-ifunc.c: Likewise.
14445 * string/test-strlen-ifunc.c: Likewise.
14446 * string/test-strncasecmp-ifunc.c: Likewise.
14447 * string/test-strncat-ifunc.c: Likewise.
14448 * string/test-strncmp-ifunc.c: Likewise.
14449 * string/test-strncpy-ifunc.c: Likewise.
14450 * string/test-strnlen-ifunc.c: Likewise.
14451 * string/test-strpbrk-ifunc.c: Likewise.
14452 * string/test-strrchr-ifunc.c: Likewise.
14453 * string/test-strspn-ifunc.c: Likewise.
14454 * string/test-strstr-ifunc.c: Likewise.
14456 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14458 * benchtests/Makefile: Remove ifunc tests.
14459 * benchtests/bench-string.h: Define TEST_IFUNC.
14460 * benchtests/bench-bcopy-ifunc.c: Remove.
14461 * benchtests/bench-bzero-ifunc.c: Likewise.
14462 * benchtests/bench-memccpy-ifunc.c: Likewise.
14463 * benchtests/bench-memchr-ifunc.c: Likewise.
14464 * benchtests/bench-memcmp-ifunc.c: Likewise.
14465 * benchtests/bench-memcpy-ifunc.c: Likewise.
14466 * benchtests/bench-memmem-ifunc.c: Likewise.
14467 * benchtests/bench-memmove-ifunc.c: Likewise.
14468 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14469 * benchtests/bench-memrchr-ifunc.c: Likewise.
14470 * benchtests/bench-memset-ifunc.c: Likewise.
14471 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14472 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14473 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14474 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14475 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14476 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14477 * benchtests/bench-strcat-ifunc.c: Likewise.
14478 * benchtests/bench-strchr-ifunc.c: Likewise.
14479 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14480 * benchtests/bench-strcmp-ifunc.c: Likewise.
14481 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14482 * benchtests/bench-strcpy-ifunc.c: Likewise.
14483 * benchtests/bench-strcspn-ifunc.c: Likewise.
14484 * benchtests/bench-strlen-ifunc.c: Likewise.
14485 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14486 * benchtests/bench-strncat-ifunc.c: Likewise.
14487 * benchtests/bench-strncmp-ifunc.c: Likewise.
14488 * benchtests/bench-strncpy-ifunc.c: Likewise.
14489 * benchtests/bench-strnlen-ifunc.c: Likewise.
14490 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14491 * benchtests/bench-strrchr-ifunc.c: Likewise.
14492 * benchtests/bench-strsep-ifunc.c: Likewise.
14493 * benchtests/bench-strspn-ifunc.c: Likewise.
14494 * benchtests/bench-strstr-ifunc.c: Likewise.
14496 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14498 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14500 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14502 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14503 * rt/aio.h: Likewise.
14504 * sysdeps/gnu/bits/utmp.h: Likewise.
14505 * sysdeps/gnu/bits/utmpx.h: Likewise.
14506 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14507 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14508 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14509 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14510 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14511 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14512 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14513 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14517 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14521 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14522 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14523 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14524 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14525 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14526 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14527 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14528 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14529 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14530 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14532 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14533 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14534 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14535 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14536 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14537 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14538 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14539 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14540 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14541 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14543 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14544 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14545 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14546 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14547 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14549 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14552 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14553 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14555 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14557 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14558 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14561 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14564 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14565 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14566 (__fesetround): Remove define.
14567 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14568 rounding and exceptions handling.
14569 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14570 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14571 (__fe_nomask_env): Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14573 __fegetround instead of fegetround.
14574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14577 2013-11-21 Roland McGrath <roland@hack.frob.com>
14579 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14582 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14584 2013-11-21 Meador Inge <meadori@codesourcery.com>
14587 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14588 (encrypt_r): Likewise.
14589 * malloc/obstack.h (obstack_free): Likewise.
14590 * posix/unistd.h (encrypt): Likewise.
14592 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14594 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14595 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14596 DL_CALL_DT_FINI() that call the functions directly.
14597 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14598 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14599 * elf/dl-fini.c: Likewise.
14601 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14603 * malloc/hooks.c (memalign_check): Add alignment rounding.
14604 * malloc/malloc.c (_mid_memalign): New function.
14605 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14606 Implement by calling _mid_memalign.
14607 * manual/probes.texi (Memory Allocation Probes): Remove
14608 memory_valloc_retry and memory_pvalloc_retry.
14610 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14612 * locale/programs/locarchive.c (open_archive): Add const
14613 qualifier to ARCHIVEFNAME and copy default fname to
14617 * libio/tst-widetext.input: Rename Oriya to Odia.
14618 * locale/iso-639.def: Likewise.
14620 * manual/probes.texi (Mathematical Function Probes): Add
14621 documentation for sin, cos, asin and acos probes.
14622 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14623 (__sin32): Add slowasin probe.
14624 (__cos32): Add slowacos probe.
14625 (__mpsin): Add slowsin probe.
14626 (__mpcos): Add slowcos probe.
14628 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14631 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14632 thread-local __sim_exceptions_thread and global
14633 __sim_exceptions_global.
14634 (__sim_disabled_exceptions): Change to thread-local
14635 __sim_disabled_exceptions_thread and global
14636 __sim_disabled_exceptions_global.
14637 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14638 and global __sim_round_mode_global.
14639 (__simulate_exceptions): Use thread-local floating-point state and
14640 set global state from it as needed.
14641 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14642 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14643 __sim_round_mode_thread.
14644 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14645 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14646 and global __sim_exceptions_global.
14647 (__sim_disabled_exceptions): Change to thread-local
14648 __sim_disabled_exceptions_thread and global
14649 __sim_disabled_exceptions_global.
14650 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14651 and global __sim_round_mode_global.
14652 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14653 (SIM_SET_GLOBAL): Likewise.
14654 * sysdeps/powerpc/soft-fp/sfp-machine.h
14655 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14656 __sim_round_mode_thread.
14657 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14658 __sim_disabled_exceptions_thread.
14659 (__sim_exceptions): Change to __sim_exceptions_thread.
14660 (__sim_disabled_exceptions): Change to
14661 __sim_disabled_exceptions_thread.
14662 (__sim_round_mode): Change to __sim_round_mode_thread.
14663 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14664 thread-local floating-point state and set global state from it as
14666 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14667 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14668 (__sim_disabled_exceptions): Remove extern declaration.
14669 (feenableexcept): Use thread-local floating-point state and set
14670 global state from it as needed.
14671 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14672 extern declaration.
14673 (__sim_disabled_exceptions): Likewise.
14674 (__sim_round_mode): Likewise.
14675 (__fegetenv): Use thread-local floating-point state.
14676 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14677 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14678 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14679 floating-point state and set global state from it as needed.
14680 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14681 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14682 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14684 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14685 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14687 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14688 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14689 Use __sim_round_mode_thread.
14690 * math/test-fenv-tls.c: New file.
14691 * math/Makefile (tests): Add test-fenv-tls.
14692 ($(objpfx)test-fenv-tls): Depend on
14693 $(common-objpfx)nptl/libpthread.so.
14695 2013-11-19 Andreas Schwab <schwab@suse.de>
14697 * locale/programs/locale.c (show_info): Decode wordarray elements.
14698 * locale/categories.def (LC_MONETARY): Add element for
14699 _NL_MONETARY_CRNCYSTR.
14700 * locale/C-monetary.c (conversion_rate): New variable.
14701 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14704 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14706 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14707 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14709 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14711 * elf/Makefile (tst-auxv): New test.
14712 * elf/tst-auxv.c: New
14713 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14715 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14717 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14718 (hidden_proto): Caller changed.
14719 (hidden_tls_proto): New macro.
14720 (libc_hidden_tls_proto): Likewise.
14721 (rtld_hidden_tls_proto): Likewise.
14722 (libm_hidden_tls_proto): Likewise.
14723 (libresolv_hidden_tls_proto): Likewise.
14724 (librt_hidden_tls_proto): Likewise.
14725 (libdl_hidden_tls_proto): Likewise.
14726 (libnss_files_hidden_tls_proto): Likewise.
14727 (libnsl_hidden_tls_proto): Likewise.
14728 (libnss_nisplus_hidden_tls_proto): Likewise.
14729 (libutil_hidden_tls_proto): Likewise.
14731 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14734 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14735 (decompose_rpath): Defer expansion to fillin_rpath.
14736 (_dl_init_paths): Pass linkmap to fillin_rpath.
14738 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14740 * benchtests/Makefile: Add strsep.
14741 * benchtests/bench-strsep.c: New file: strsep benchtest.
14742 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14744 2013-11-18 Andreas Schwab <schwab@suse.de>
14746 * locale/programs/locale.c (show_info) [case byte]: Check for
14747 '\377' instead of '\177'.
14748 * locale/C-monetary.c (not_available): Always use "\377".
14749 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14750 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14751 detect unavailable sign_posn locale elements.
14752 * locale/localeconv.c (__localeconv): For grouping and
14753 mon_grouping handle "\177" and "\377" like no grouping.
14754 (INT_ELEM): New macro. Use it to set all numeric members.
14755 * locale/programs/ld-monetary.c (monetary_read)
14756 <tok_mon_grouping>: Normalize single -1 to the empty string.
14757 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14760 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14763 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14764 when we match (nil).
14765 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14767 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14769 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14770 (NO_TEST_INLINE): Update value.
14771 (ERRNO_UNCHANGED): Likewise.
14772 (ERRNO_EDOM): Likewise.
14773 (ERRNO_ERANGE): Likewise.
14774 (IGNORE_RESULT): Likewise.
14775 (check_float_internal): Check signs of NaN results if
14776 TEST_NAN_SIGN used.
14777 (check_complex): Pass TEST_NAN_SIGN flag through to second
14778 check_float_internal call.
14779 (copysign_test_data): Add tests with quiet NaNs as second
14780 argument. Use TEST_NAN_SIGN.
14781 (fabs_test_data): Add test of negative quiet NaN argument. Use
14783 (signbit_test_data): Add tests of quiet NaN argument.
14784 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14786 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14788 (parse_args): Handle function results specified as IGNORE.
14789 * math/libm-test.inc (IGNORE_RESULT): New macro.
14790 (check_float_internal): Do not check numerical result if flag
14792 (check_complex): Pass through IGNORE_RESULT to second
14793 check_float_internal call.
14794 (check_int): Do not check numerical result if flag IGNORE_RESULT
14796 (check_long): Likewise.
14797 (check_bool): Likewise.
14798 (check_longlong): Likewise.
14799 (lrint_test_data): Add tests of infinite and NaN arguments.
14800 (lrint_tonearest_test_data): Likewise.
14801 (lrint_towardzero_test_data): Likewise.
14802 (lrint_downward_test_data): Likewise.
14803 (lrint_upward_test_data): Likewise.
14804 (llrint_test_data): Likewise.
14805 (llrint_tonearest_test_data): Likewise.
14806 (llrint_towardzero_test_data): Likewise.
14807 (llrint_downward_test_data): Likewise.
14808 (llrint_upward_test_data): Likewise.
14809 (lround_test_data): Likewise.
14810 (llround_test_data): Likewise.
14812 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14813 (ERRNO_UNCHANGED): Update value.
14814 (ERRNO_EDOM): Likewise.
14815 (ERRNO_ERANGE): Likewise.
14816 (NO_TEST_INLINE_FLOAT): New macro.
14817 (NO_TEST_INLINE_DOUBLE): Likewise.
14818 (enable_test): New function.
14819 (RUN_TEST_f_f): Check enable_test before running test.
14820 (RUN_TEST_2_f): Likewise.
14821 (RUN_TEST_fff_f): Likewise.
14822 (RUN_TEST_c_f): Likewise.
14823 (RUN_TEST_f_f1): Likewise.
14824 (RUN_TEST_fF_f1): Likewise.
14825 (RUN_TEST_fI_f1): Likewise.
14826 (RUN_TEST_ffI_f1): Likewise.
14827 (RUN_TEST_c_c): Likewise.
14828 (RUN_TEST_cc_c): Likewise.
14829 (RUN_TEST_f_i): Likewise.
14830 (RUN_TEST_f_i_tg): Likewise.
14831 (RUN_TEST_ff_i_tg): Likewise.
14832 (RUN_TEST_f_b): Likewise.
14833 (RUN_TEST_f_b_tg): Likewise.
14834 (RUN_TEST_f_l): Likewise.
14835 (RUN_TEST_f_L): Likewise.
14836 (RUN_TEST_fFF_11): Likewise.
14837 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14839 (cosh_test_data): Likewise.
14840 (exp_test_data): Likewise.
14841 (expm1_test_data): Likewise.
14842 (hypot_test_data): Likewise.
14843 (pow_test_data): Likewise.
14844 (sinh_test_data): Likewise.
14845 (tanh_test_data): Likewise.
14846 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14849 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14850 tests with quiet NaN input and output.
14851 (acosh_test_data): Likewise.
14852 (asin_test_data): Likewise.
14853 (asinh_test_data): Likewise.
14854 (atan_test_data): Likewise.
14855 (atanh_test_data): Likewise.
14856 (atan2_test_data): Likewise.
14857 (cbrt_test_data): Likewise.
14858 (cos_test_data): Likewise.
14859 (cosh_test_data): Likewise.
14860 (erf_test_data): Likewise.
14861 (erfc_test_data): Likewise.
14862 (exp_test_data): Likewise.
14863 (exp10_test_data): Likewise.
14864 (exp2_test_data): Likewise.
14865 (expm1_test_data): Likewise.
14866 (hypot_test_data): Likewise.
14867 (j0_test_data): Likewise.
14868 (j1_test_data): Likewise.
14869 (jn_test_data): Likewise.
14870 (lgamma_test_data): Likewise.
14871 (log_test_data): Likewise.
14872 (log10_test_data): Likewise.
14873 (log1p_test_data): Likewise.
14874 (log2_test_data): Likewise.
14875 (pow_test_data): Likewise.
14876 (scalb_test_data): Likewise.
14877 (sin_test_data): Likewise.
14878 (sincos_test_data): Likewise.
14879 (sinh_test_data): Likewise.
14880 (tan_test_data): Likewise.
14881 (tanh_test_data): Likewise.
14882 (tgamma_test_data): Likewise.
14883 (y0_test_data): Likewise.
14884 (y1_test_data): Likewise.
14885 (yn_test_data): Likewise.
14888 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14889 argument being NaN and avoid computations with second argument in
14891 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14892 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14893 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14895 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14897 * locale/iso-639.def: Add Chitwani Tharu (the).
14899 2013-11-14 Andreas Schwab <schwab@suse.de>
14901 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14902 word instead of empty string.
14904 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14907 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14909 (__fe_nomask_env): Likewise.
14911 2013-11-13 Steve Ellcey <sellcey@mips.com>
14913 * benchtests/bench-timing.h: Include time.h.
14915 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14920 * sysdeps/unix/sysv/linux/configure: Regenerated.
14922 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14925 * stdlib/strtod_l.c (round_and_return): Do not consider
14926 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14927 exponent one less than half the least subnormal exponent.
14928 * stdlib/test-strtod-round-data: Add more tests.
14929 * stdlib/tst-strtod-round.c (tests): Regenerated.
14931 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14934 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14935 (__fe_mask_env): Likewise.
14936 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14937 libm_hidden_proto and add function prototype.
14938 (__fe_mask_env): Add function prototype.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14940 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14942 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14944 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14946 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14948 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14949 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14951 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14953 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14954 of htab_find_slot().
14956 2013-11-11 David S. Miller <davem@davemloft.net>
14959 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14960 symbol in the non-vis3 case in static builds.
14961 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14962 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14963 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14964 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14966 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14969 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14972 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14974 * benchtests/Makefile: Add bench-strtod.
14975 * benchtests/bench-strtod.c: New file: strtod benchtest
14977 2013-11-11 Andreas Schwab <schwab@suse.de>
14980 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14981 terminating NUL in key length.
14983 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14985 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14986 Add artificial ODP entry for vDSO symbol for PPC64.
14987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14988 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14990 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14993 * nss/getent.c (services_keys): Recognize services starting with digit.
14995 2013-11-06 David S. Miller <davem@davemloft.net>
14998 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14999 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15001 2013-11-06 Will Newton <will.newton@linaro.org>
15003 * manual/memory.texi (Malloc Examples): Remove register
15004 keyword from examples.
15006 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15008 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15010 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15013 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15014 depending on [__GCC_IEC_559 > 0].
15015 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15016 depending on [__GCC_IEC_559_COMPLEX > 0].
15018 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15020 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15023 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15025 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15027 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15030 * malloc/malloc (malloc_info): Do not handle first bin as
15033 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15035 * locale/iso-639.def: Add Central Nahuatl (nhn).
15037 2013-11-01 Bruno Haible <bruno@clisp.org>
15040 * manual/math.texi (BSD Random): Specify range upper bound as
15043 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15045 * locale/iso-639.def: Add Meadow Mari (mhr).
15047 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15049 [BZ #14752], [BZ #15763]
15050 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15052 * rt/tst_shm.c: Add test for escaping directory.
15054 2013-10-31 Andreas Schwab <schwab@suse.de>
15057 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15058 followed by 'x' as part of digit sequence.
15059 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15061 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15064 * configure.ac: allow GNU Make 4.0 and greater.
15065 * configure: Regenerated.
15067 2013-10-30 Will Newton <will.newton@linaro.org>
15070 * malloc/hooks.c (memalign_check): Limit alignment to the
15071 maximum representable power of two.
15072 * malloc/malloc.c (__libc_memalign): Likewise.
15073 * malloc/tst-memalign.c (do_test): Add test for very
15074 large alignment values.
15075 * malloc/tst-posix_memalign.c (do_test): Likewise.
15077 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15080 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15081 (munmap_chunk): Likewise.
15082 (mremap_chunk): Likewise.
15084 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15087 * stdlib/div.c (div): Remove obsolete code.
15088 * stdlib/ldiv.c (ldiv): Likewise.
15089 * stdlib/lldiv.c (lldiv): Likewise.
15091 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15094 * nss/nss_files/files-XXX.c (get_contents_ret): New
15096 (get_contents): New function.
15097 (internal_getent): Use it. Expand size of LINEBUFLEN.
15099 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15101 * configure.in: Moved to ...
15102 * configure.ac: ... here. Change reference to configure.in
15104 * sysdeps/arm/preconfigure.ac: ... here.
15105 configure.in to configure.ac.
15106 * sysdeps/gnu/configure.in: Moved to ...
15107 * sysdeps/gnu/configure.ac: ... here.
15108 * sysdeps/i386/configure.in: Moved to ...
15109 * sysdeps/i386/configure.ac: ... here.
15110 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15111 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15112 * sysdeps/mach/configure.in: Moved to ...
15113 * sysdeps/mach/configure.ac: ... here.
15114 * sysdeps/mach/hurd/configure.in: Moved to ...
15115 * sysdeps/mach/hurd/configure.ac: ... here.
15116 * sysdeps/powerpc/configure.in: Moved to ...
15117 * sysdeps/powerpc/configure.ac: ... here.
15118 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15119 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15120 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15121 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15122 * sysdeps/s390/s390-32/configure.in: Moved to ...
15123 * sysdeps/s390/s390-32/configure.ac: ... here.
15124 * sysdeps/s390/s390-64/configure.in: Moved to ...
15125 * sysdeps/s390/s390-64/configure.ac: ... here.
15126 * sysdeps/sh/configure.in: Moved to ...
15127 * sysdeps/sh/configure.ac: ... here.
15128 * sysdeps/sparc/configure.in: Moved to ...
15129 * sysdeps/sparc/configure.ac: ... here.
15130 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15131 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15132 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15133 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15134 * sysdeps/x86_64/configure.in: Moved to ...
15135 * sysdeps/x86_64/configure.ac: ... here.
15136 * sysdeps/x86_64/preconfigure.in: Moved to ...
15137 * sysdeps/x86_64/preconfigure.ac: ... here.
15138 * aclocal.m4: Change reference to configure.in to configure.ac.
15139 * config.h.in: Likewise.
15140 * manual/install.texi: Likewise.
15141 * manual/maint.texi: Likewise.
15142 * Makefile: Likewise.
15143 * malloc/Makefile: Likewise.
15144 * nscd/Makefile: Likewise.
15145 * Makeconfig: Change reference to configure.in and
15146 preconfigure.in to configure.ac and preconfigure.ac
15148 * INSTALL: Regenerated.
15149 * configure: Likewise.
15150 * sysdeps/gnu/configure: Likewise.
15151 * sysdeps/i386/configure: Likewise.
15152 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15153 * sysdeps/mach/configure: Likewise.
15154 * sysdeps/mach/hurd/configure: Likewise.
15155 * sysdeps/powerpc/configure: Likewise.
15156 * sysdeps/powerpc/powerpc32/configure: Likewise.
15157 * sysdeps/powerpc/powerpc64/configure: Likewise.
15158 * sysdeps/s390/s390-32/configure: Likewise.
15159 * sysdeps/s390/s390-64/configure: Likewise.
15160 * sysdeps/sh/configure: Likewise.
15161 * sysdeps/sparc/configure: Likewise.
15162 * sysdeps/unix/sysv/linux/configure: Likewise.
15163 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15164 * sysdeps/x86_64/configure: Likewise.
15165 * sysdeps/x86_64/preconfigure: Likewise.
15167 2013-10-29 Andreas Schwab <schwab@suse.de>
15169 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15171 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15173 * benchtests/pow-inputs: Add new inputs.
15175 * benchtests/exp-inputs: Add new inputs.
15177 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15178 conditional check for return value.
15179 (__cos32): Likewise.
15181 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15183 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15184 to provide a boost for large inputs with word alignment.
15185 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15186 implementation based on optimized PPC64 strcpy.
15187 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15188 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15189 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15190 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15192 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15195 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15197 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15200 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15201 * time/tst-strptime.c (day_tests): Add testcase.
15203 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15206 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15208 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15211 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15212 MAP_FAILED on error.
15214 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15217 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15218 heap for large requests.
15220 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15223 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15224 result if the result has no associated interface.
15225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15226 interface for all 127.X.Y.Z addresses.
15228 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15230 * locale/iso-639.def: Add Ligurian (lij)
15232 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15235 * sunrpc/rpc_main.c: Document rpcgen -5.
15237 2013-10-19 Michael Stahl <mstahl@redhat.com>
15239 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15241 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15244 * posix/glob.c: Match only directories when trailing slash is present.
15245 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15246 (main): Add testcase.
15248 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15251 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15253 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15255 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15256 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15257 AUTH_DES and cindex for FIPS 140-2.
15258 (DES Encryption): Add cindex FIPS 46-3.
15260 * locale/locarchive.h (struct locarhandle): Add fname.
15261 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15262 if an optional argument was specified to --list-archive,
15264 * locale/programs/locarchive.c (show_archive_content): Take new
15265 argument fname and pass it via ah.fname to open_archive.
15266 * locale/programs/localedef.h: Update decl.
15267 (open_archive): If AH->fname is non-null, open that file
15268 rather than the default file name, and don't ignore ENOENT.
15269 (create_archive): Set AH.fname to NULL.
15270 (delete_locales_from_archive): Likewise.
15271 (add_locales_to_archive): Likewise.
15272 * locale/programs/locfile.c (write_all_categories): Likewise.
15274 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15275 Aldy Hernandez <aldyh@redhat.com>
15277 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15278 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15279 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15280 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15281 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15282 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15284 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15285 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15287 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15288 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15289 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15290 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15291 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15293 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15295 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15297 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15299 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15300 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15302 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15303 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15304 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15305 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15307 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15308 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15309 * sysdeps/powerpc/preconfigure: Likewise.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15312 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15313 Replace contents of file by #include of <fenv_libc.h>.
15314 * sysdeps/powerpc/soft-fp/sfp-machine.h
15315 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15317 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15330 Allow copysignl PLT reference to be missing.
15332 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15333 Joseph Myers <joseph@codesourcery.com
15336 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15338 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15340 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15342 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15343 * elf/tst-tls1.c: Likewise.
15344 * elf/tst-tls10.h: Likewise.
15345 * elf/tst-tls14.c: Likewise.
15346 * elf/tst-tls2.c: Likewise.
15347 * elf/tst-tls3.c: Likewise.
15348 * elf/tst-tls4.c: Likewise.
15349 * elf/tst-tls5.c: Likewise.
15350 * elf/tst-tls6.c: Likewise.
15351 * elf/tst-tls7.c: Likewise.
15352 * elf/tst-tls8.c: Likewise.
15353 * elf/tst-tls9.c: Likewise.
15354 * elf/tst-tlsmod1.c: Likewise.
15355 * elf/tst-tlsmod13.c: Likewise.
15356 * elf/tst-tlsmod13a.c: Likewise.
15357 * elf/tst-tlsmod14a.c: Likewise.
15358 * elf/tst-tlsmod16a.c: Likewise.
15359 * elf/tst-tlsmod16b.c: Likewise.
15360 * elf/tst-tlsmod2.c: Likewise.
15361 * elf/tst-tlsmod3.c: Likewise.
15362 * elf/tst-tlsmod4.c: Likewise.
15363 * elf/tst-tlsmod5.c: Likewise.
15364 * elf/tst-tlsmod6.c: Likewise.
15366 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15369 * malloc/malloc.c: remove checks for statistics.
15371 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15374 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15375 * inet/tst-network.c: Add testcase.
15377 2013-10-17 Andreas Schwab <schwab@suse.de>
15380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15381 to determine canonical name.
15383 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15385 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15386 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15409 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15410 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15444 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15447 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15448 make result into a quiet NaN.
15450 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15452 * soft-fp/adddf3.c: Fix horizontal whitespace.
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/floatunditf.c: Likewise.
15497 * soft-fp/floatunsidf.c: Likewise.
15498 * soft-fp/floatunsisf.c: Likewise.
15499 * soft-fp/floatunsitf.c: Likewise.
15500 * soft-fp/floatuntidf.c: Likewise.
15501 * soft-fp/floatuntisf.c: Likewise.
15502 * soft-fp/floatuntitf.c: Likewise.
15503 * soft-fp/fmadf4.c: Likewise.
15504 * soft-fp/fmasf4.c: Likewise.
15505 * soft-fp/fmatf4.c: Likewise.
15506 * soft-fp/gedf2.c: Likewise.
15507 * soft-fp/gesf2.c: Likewise.
15508 * soft-fp/getf2.c: Likewise.
15509 * soft-fp/ledf2.c: Likewise.
15510 * soft-fp/lesf2.c: Likewise.
15511 * soft-fp/letf2.c: Likewise.
15512 * soft-fp/muldf3.c: Likewise.
15513 * soft-fp/mulsf3.c: Likewise.
15514 * soft-fp/multf3.c: Likewise.
15515 * soft-fp/negdf2.c: Likewise.
15516 * soft-fp/negsf2.c: Likewise.
15517 * soft-fp/negtf2.c: Likewise.
15518 * soft-fp/op-1.h: Likewise.
15519 * soft-fp/op-2.h: Likewise.
15520 * soft-fp/op-4.h: Likewise.
15521 * soft-fp/op-8.h: Likewise.
15522 * soft-fp/op-common.h: Likewise.
15523 * soft-fp/quad.h: Likewise.
15524 * soft-fp/single.h: Likewise.
15525 * soft-fp/soft-fp.h: Likewise.
15526 * soft-fp/sqrtdf2.c: Likewise.
15527 * soft-fp/sqrtsf2.c: Likewise.
15528 * soft-fp/sqrttf2.c: Likewise.
15529 * soft-fp/subdf3.c: Likewise.
15530 * soft-fp/subsf3.c: Likewise.
15531 * soft-fp/subtf3.c: Likewise.
15532 * soft-fp/truncdfsf2.c: Likewise.
15533 * soft-fp/trunctfdf2.c: Likewise.
15534 * soft-fp/trunctfsf2.c: Likewise.
15535 * soft-fp/trunctfxf2.c: Likewise.
15536 * soft-fp/unorddf2.c: Likewise.
15537 * soft-fp/unordsf2.c: Likewise.
15538 * soft-fp/unordtf2.c: Likewise.
15540 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15542 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15543 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15545 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15547 * elf/dl-libc.c: Clear initfini list after freeing.
15549 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15551 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15552 * soft-fp/addsf3.c: Likewise.
15553 * soft-fp/addtf3.c: Likewise.
15554 * soft-fp/divdf3.c: Likewise.
15555 * soft-fp/divsf3.c: Likewise.
15556 * soft-fp/divtf3.c: Likewise.
15557 * soft-fp/double.h: Likewise.
15558 * soft-fp/eqdf2.c: Likewise.
15559 * soft-fp/eqsf2.c: Likewise.
15560 * soft-fp/eqtf2.c: Likewise.
15561 * soft-fp/extenddftf2.c: Likewise.
15562 * soft-fp/extended.h: Likewise.
15563 * soft-fp/extendsfdf2.c: Likewise.
15564 * soft-fp/extendsftf2.c: Likewise.
15565 * soft-fp/extendxftf2.c: Likewise.
15566 * soft-fp/fixdfdi.c: Likewise.
15567 * soft-fp/fixdfsi.c: Likewise.
15568 * soft-fp/fixdfti.c: Likewise.
15569 * soft-fp/fixsfdi.c: Likewise.
15570 * soft-fp/fixsfsi.c: Likewise.
15571 * soft-fp/fixsfti.c: Likewise.
15572 * soft-fp/fixtfdi.c: Likewise.
15573 * soft-fp/fixtfsi.c: Likewise.
15574 * soft-fp/fixtfti.c: Likewise.
15575 * soft-fp/fixunsdfdi.c: Likewise.
15576 * soft-fp/fixunsdfsi.c: Likewise.
15577 * soft-fp/fixunsdfti.c: Likewise.
15578 * soft-fp/fixunssfdi.c: Likewise.
15579 * soft-fp/fixunssfsi.c: Likewise.
15580 * soft-fp/fixunssfti.c: Likewise.
15581 * soft-fp/fixunstfdi.c: Likewise.
15582 * soft-fp/fixunstfsi.c: Likewise.
15583 * soft-fp/fixunstfti.c: Likewise.
15584 * soft-fp/floatdidf.c: Likewise.
15585 * soft-fp/floatdisf.c: Likewise.
15586 * soft-fp/floatditf.c: Likewise.
15587 * soft-fp/floatsidf.c: Likewise.
15588 * soft-fp/floatsisf.c: Likewise.
15589 * soft-fp/floatsitf.c: Likewise.
15590 * soft-fp/floattidf.c: Likewise.
15591 * soft-fp/floattisf.c: Likewise.
15592 * soft-fp/floattitf.c: Likewise.
15593 * soft-fp/floatundidf.c: Likewise.
15594 * soft-fp/floatundisf.c: Likewise.
15595 * soft-fp/floatunsidf.c: Likewise.
15596 * soft-fp/floatunsisf.c: Likewise.
15597 * soft-fp/floatuntidf.c: Likewise.
15598 * soft-fp/floatuntisf.c: Likewise.
15599 * soft-fp/floatuntitf.c: Likewise.
15600 * soft-fp/fmadf4.c: Likewise.
15601 * soft-fp/fmasf4.c: Likewise.
15602 * soft-fp/fmatf4.c: Likewise.
15603 * soft-fp/gedf2.c: Likewise.
15604 * soft-fp/gesf2.c: Likewise.
15605 * soft-fp/getf2.c: Likewise.
15606 * soft-fp/ledf2.c: Likewise.
15607 * soft-fp/lesf2.c: Likewise.
15608 * soft-fp/letf2.c: Likewise.
15609 * soft-fp/muldf3.c: Likewise.
15610 * soft-fp/mulsf3.c: Likewise.
15611 * soft-fp/multf3.c: Likewise.
15612 * soft-fp/negdf2.c: Likewise.
15613 * soft-fp/negsf2.c: Likewise.
15614 * soft-fp/negtf2.c: Likewise.
15615 * soft-fp/op-1.h: Likewise.
15616 * soft-fp/op-2.h: Likewise.
15617 * soft-fp/op-4.h: Likewise.
15618 * soft-fp/op-8.h: Likewise.
15619 * soft-fp/op-common.h: Likewise.
15620 * soft-fp/quad.h: Likewise.
15621 * soft-fp/single.h: Likewise.
15622 * soft-fp/soft-fp.h: Likewise.
15623 * soft-fp/sqrtdf2.c: Likewise.
15624 * soft-fp/sqrtsf2.c: Likewise.
15625 * soft-fp/sqrttf2.c: Likewise.
15626 * soft-fp/subdf3.c: Likewise.
15627 * soft-fp/subsf3.c: Likewise.
15628 * soft-fp/subtf3.c: Likewise.
15629 * soft-fp/truncdfsf2.c: Likewise.
15630 * soft-fp/trunctfdf2.c: Likewise.
15631 * soft-fp/trunctfsf2.c: Likewise.
15632 * soft-fp/trunctfxf2.c: Likewise.
15633 * soft-fp/unorddf2.c: Likewise.
15634 * soft-fp/unordsf2.c: Likewise.
15635 * soft-fp/unordtf2.c: Likewise.
15637 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15640 * misc/error.c (error_tail): Fix possible buffer overflow.
15642 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15645 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15648 2013-10-14 P. J. McDermott <pj@pehjota.net>
15651 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15652 testing pipefail option.
15654 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15656 * soft-fp/double.h: Indent preprocessor directives inside #if.
15657 * soft-fp/extended.h: Likewise.
15658 * soft-fp/op-2.h: Likewise.
15659 * soft-fp/op-4.h: Likewise.
15660 * soft-fp/op-common.h: Likewise.
15661 * soft-fp/quad.h: Likewise.
15662 * soft-fp/single.h: Likewise.
15663 * soft-fp/soft-fp.h: Likewise.
15665 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15667 * iconv/iconv_prog.c: Fix typos.
15668 * stdio-common/psiginfo-data.h: Likewise.
15670 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15673 * locale/setlocale.c: Fix typo.
15675 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15678 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15679 signaling NaN arguments.
15680 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15681 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15684 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15685 unordered operands.
15686 * soft-fp/gesf2.c (__gesf2): Likewise.
15687 * soft-fp/getf2.c (__getf2): Likewise.
15688 * soft-fp/ledf2.c (__ledf2): Likewise.
15689 * soft-fp/lesf2.c (__lesf2): Likewise.
15690 * soft-fp/letf2.c (__letf2): Likewise.
15692 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15693 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15694 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15695 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15696 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15697 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15698 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15699 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15700 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15701 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15702 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15703 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15704 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15705 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15706 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15707 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15708 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15709 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15710 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15711 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15712 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15713 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15714 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15715 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15716 * soft-fp/floattidf.c (__floattidf): Likewise.
15717 * soft-fp/floattisf.c (__floattisf): Likewise.
15718 * soft-fp/floattitf.c (__floattitf): Likewise.
15719 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15720 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15721 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15722 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15723 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15724 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15725 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15726 * soft-fp/gesf2.c (__gesf2): Likewise.
15727 * soft-fp/getf2.c (__getf2): Likewise.
15728 * soft-fp/ledf2.c (__ledf2): Likewise.
15729 * soft-fp/lesf2.c (__lesf2): Likewise.
15730 * soft-fp/letf2.c (__letf2): Likewise.
15732 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15733 Undefine and redefine.
15734 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15735 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15736 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15737 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15738 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15739 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15740 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15741 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15742 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15743 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15744 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15745 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15746 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15747 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15748 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15751 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15752 without decrementing exponent if mantissa >= that for the
15753 denominator, not >.
15754 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15755 denominator, not >. Decrement exponent in < case instead of
15756 incrementing in >= case.
15757 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15758 without decrementing exponent if mantissa >= that for the
15759 denominator, not >.
15761 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15762 computing saturated result for unsigned overflow.
15764 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15765 Jeff Law <law@redhat.com>
15767 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15768 (atan2Mp): Add systemtap probe marker.
15769 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15770 (__ieee754_log): Add systemtap probe marker.
15771 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15772 (atanMp): Add systemtap probe marker.
15773 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15774 (tanMp): Add systemtap probe marker.
15775 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15776 (__slowexp): Add systemtap probe marker.
15777 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15778 (__slowpow): Add systemtap probe marker.
15779 * manual/probes.texi: Document probes.
15781 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15784 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15786 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15788 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15789 written to buffer but not flushed.
15790 * libio/iofwrite_u.c: Likewise.
15791 * libio/iopadn.c: Return bytes returned even if EOF was
15793 * libio/iowpadn.c: Likewise.
15794 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15795 if _IO_padn does not write the whole buffer.
15796 [!COMPILE_WPRINTF] (PAD): Likewise.
15798 2013-10-10 David S. Miller <davem@davemloft.net>
15800 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15803 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15805 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15806 instead of FSF address.
15807 * soft-fp/fixdfti.c: Likewise.
15808 * soft-fp/fixsfti.c: Likewise.
15809 * soft-fp/fixtfti.c: Likewise.
15810 * soft-fp/fixunsdfti.c: Likewise.
15811 * soft-fp/fixunssfti.c: Likewise.
15812 * soft-fp/fixunstfti.c: Likewise.
15813 * soft-fp/floattidf.c: Likewise.
15814 * soft-fp/floattisf.c: Likewise.
15815 * soft-fp/floattitf.c: Likewise.
15816 * soft-fp/floatuntidf.c: Likewise.
15817 * soft-fp/floatuntisf.c: Likewise.
15818 * soft-fp/floatuntitf.c: Likewise.
15819 * soft-fp/trunctfxf2.c: Likewise.
15821 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15822 * soft-fp/fixdfti.c: Likewise.
15823 * soft-fp/fixsfti.c: Likewise.
15824 * soft-fp/fixtfti.c: Likewise.
15825 * soft-fp/fixunsdfti.c: Likewise.
15826 * soft-fp/fixunssfti.c: Likewise.
15827 * soft-fp/fixunstfti.c: Likewise.
15828 * soft-fp/floattidf.c: Likewise.
15829 * soft-fp/floattisf.c: Likewise.
15830 * soft-fp/floattitf.c: Likewise.
15831 * soft-fp/floatuntidf.c: Likewise.
15832 * soft-fp/floatuntisf.c: Likewise.
15833 * soft-fp/floatuntitf.c: Likewise.
15834 * soft-fp/trunctfxf2.c: Likewise.
15836 2013-10-10 David S. Miller <davem@davemloft.net>
15838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15840 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15842 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15843 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15844 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15845 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15846 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15847 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15848 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15851 for NaNs before doing comparisons on argument.
15852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15855 2013-10-10 Will Newton <will.newton@linaro.org>
15857 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15858 passed to _int_memalign does not overflow.
15860 2013-10-10 Torvald Riegel <triegel@redhat.com>
15862 * scripts/bench.pl: Add include-sources directive.
15863 * benchtests/README: Update documentation.
15865 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15867 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15868 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15869 instead of FP_INIT_ROUNDMODE.
15870 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15871 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15874 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15875 copy class of input value.
15876 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15877 not handle exceptions.
15878 * soft-fp/negsf2.c (__negsf2): Likewise.
15879 * soft-fp/negtf2.c (__negtf2): Likewise.
15880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15882 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15884 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15885 semicolon. From Linux kernel.
15887 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15889 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15891 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15894 * manual/socket.texi: Added statement about buffer
15895 for gethostbyname2_r.
15897 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15899 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15900 Use .p2align directive instead, throughout.
15901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15902 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15903 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15904 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15906 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15907 * sysdeps/x86_64/strchr.S: Likewise.
15908 * sysdeps/x86_64/strrchr.S: Likewise.
15910 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15912 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15914 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15916 * sysdeps/generic/math_private.h (__mpsin1): Remove
15918 (__mpcos1): Likewise.
15919 (__mpsin): New argument __range_reduce.
15920 (__mpcos): Likewise.
15921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15922 (slow): Use __mpsin and __mpcos.
15926 (sloww1): Likewise.
15927 (sloww2): Likewise.
15928 (bsloww): Likewise.
15929 (bsloww1): Likewise.
15930 (bsloww2): Likewise.
15931 (cslow2): Likewise.
15932 (csloww): Likewise.
15933 (csloww1): Likewise.
15934 (csloww2): Likewise.
15935 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15936 range_reduce. Merge in __mpsin1.
15937 (__mpcos): Likewise.
15938 (__mpsin1): Remove.
15939 (__mpcos1): Likewise.
15941 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15943 * locale/loadlocale.c (_nl_intern_locale_data): Use
15945 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15946 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15947 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15948 obstack data is appropriately aligned.
15949 (obstack_int32_grow_fast): Likewise.
15950 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15951 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15952 (add_locale_uint32_array): Likewise.
15954 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15956 * benchtests/Makefile: Remove ARGLIST and RET variables.
15957 ($(objpfx)bench-%.c): Pass only function name to the script.
15958 * benchtests/README: Update documentation.
15959 * benchtests/acos-inputs: Add new directives.
15960 * benchtests/acosh-inputs: Likewise.
15961 * benchtests/asin-inputs: Likewise.
15962 * benchtests/asinh-inputs: Likewise.
15963 * benchtests/atan-inputs: Likewise.
15964 * benchtests/atanh-inputs: Likewise.
15965 * benchtests/cos-inputs: Likewise.
15966 * benchtests/cosh-inputs: Likewise.
15967 * benchtests/exp-inputs: Likewise.
15968 * benchtests/log-inputs: Likewise.
15969 * benchtests/pow-inputs: Likewise.
15970 * benchtests/rint-inputs: Likewise.
15971 * benchtests/sin-inputs: Likewise.
15972 * benchtests/sinh-inputs: Likewise.
15973 * benchtests/tan-inputs: Likewise.
15974 * benchtests/tanh-inputs: Likewise.
15975 * scripts/bench.pl: Add support for new directives.
15977 2013-10-07 Alan Modra <amodra@gmail.com>
15979 * README: Fix careless merge.
15981 2013-10-05 Alan Modra <amodra@gmail.com>
15983 * NEWS: Mention powerpc64le support and bugs fixed.
15984 * README: Both big-endian and little-endian powerpc64 supported.
15986 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15988 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15989 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15990 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15991 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15993 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15995 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15998 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16000 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16001 Move -mhard-float appending from
16002 ports/sysdeps/powerpc/powerpc32/Makefile.
16003 [$(with-fp) = yes] (ASFLAGS): Likewise.
16004 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16005 * sysdeps/powerpc/nofpu: Move directory from
16006 ports/sysdeps/powerpc/nofpu.
16007 * sysdeps/powerpc/soft-fp: Move directory from
16008 ports/sysdeps/powerpc/soft-fp.
16009 * sysdeps/powerpc/powerpc32/405: Move directory from
16010 ports/sysdeps/powerpc/powerpc32/405.
16011 * sysdeps/powerpc/powerpc32/440: Move directory from
16012 ports/sysdeps/powerpc/powerpc32/440.
16013 * sysdeps/powerpc/powerpc32/464: Move directory from
16014 ports/sysdeps/powerpc/powerpc32/464.
16015 * sysdeps/powerpc/powerpc32/476: Move directory from
16016 ports/sysdeps/powerpc/powerpc32/476.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16018 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16020 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16022 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16024 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16026 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16027 * README: Update for powerpc-*-linux-gnu software floating point
16030 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16031 case to powerpc/powerpc32*.
16032 * sysdeps/unix/sysv/linux/configure: Regenerated.
16034 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16035 (_FPU_MASK_OM): Define as 0x04.
16036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16044 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16047 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16050 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16051 and setcontext_e500.
16053 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16055 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16057 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16059 * manual/threads.texi (Default Thread Attributes): Fix typo.
16061 2013-10-04 Will Newton <will.newton@linaro.org>
16063 * malloc/Makefile: Add tst-memalign.
16064 * malloc/tst-memalign.c: New file.
16066 * malloc/tst-posix_memalign.c: Add comments.
16067 (do_test): Add comments and call free on all potentially
16068 allocated pointers. Add space after cast.
16070 * malloc/tst-pvalloc.c: Add comments.
16071 (do_test): Add comments and call free on all potentially
16072 allocated pointers. Remove duplicate check for NULL pointer.
16073 Add space after cast.
16075 * malloc/tst-valloc.c: Add comments.
16076 (do_test): Add comments and call free on all potentially
16077 allocated pointers. Remove duplicate check for NULL pointer.
16078 Add space after cast.
16080 2013-10-04 Alan Modra <amodra@gmail.com>
16082 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16083 Use stdint types in rather than __attribute__((mode())).
16084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16086 2013-10-04 Alan Modra <amodra@gmail.com>
16088 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16089 Correct handling of unaligned relocs for little-endian.
16090 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16092 2013-10-04 Alan Modra <amodra@gmail.com>
16094 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16095 * configure: Regenerate.
16096 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16097 * shlib-versions: Likewise.
16099 2013-10-04 Alan Modra <amodra@gmail.com>
16101 * string/tester.c (test_memrchr): Increment reported test cycle.
16103 2013-10-04 Alan Modra <amodra@gmail.com>
16105 * string/test-memcpy.c (do_one_test): When reporting errors, print
16106 string address and don't overrun end of string.
16108 2013-10-04 Alan Modra <amodra@gmail.com>
16110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16111 insrdi. Make better use of reg selection to speed exit slightly.
16112 Schedule entry path a little better. Remove useless "are we done"
16113 checks on entry to main loop. Handle wrapping around zero address.
16114 Correct main loop count. Handle single left-over word from main
16115 loop inline rather than by using loop_small. Remove extra word
16116 case in loop_small caused by wrong loop count. Add little-endian
16118 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16121 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16123 support. Avoid rlwimi.
16124 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16126 2013-10-04 Alan Modra <amodra@gmail.com>
16128 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16129 insrdi. Formatting.
16130 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16131 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16133 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16134 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16135 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16137 2013-10-04 Alan Modra <amodra@gmail.com>
16139 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16142 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16143 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16144 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16145 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16148 use of regs. Use power7 mtocrf. Tidy function tails.
16150 2013-10-04 Alan Modra <amodra@gmail.com>
16152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16153 Formatting. Consistently use rXXX register defines or rN defines.
16154 Use early exit labels that avoid restoring unused non-volatile regs.
16155 Make cr field use more consistent with rWORDn compares. Rename
16156 regs used as shift registers for unaligned loop, using rN defines
16157 for short lifetime/multiple use regs.
16158 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16159 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16160 addi 1,1,64 to pop stack frame. Simplify return value code.
16161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16163 2013-10-04 Alan Modra <amodra@gmail.com>
16165 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16166 support. Correct typos, formatting. Optimize tail. Use insrdi
16167 rather than rlwimi.
16168 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16170 little-endian support. Correct typos.
16171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16172 rather than rlwimi.
16173 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16174 in loop and entry code to keep "and." results.
16175 (strchr): Add little-endian support. Comment. Move cntlzd
16177 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16179 2013-10-04 Alan Modra <amodra@gmail.com>
16181 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16182 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16184 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16186 2013-10-04 Alan Modra <amodra@gmail.com>
16188 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16189 (rTMP): Define as r11.
16190 (strcmp): Add little-endian support. Optimise tail.
16191 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16192 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16193 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16195 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16199 2013-10-04 Alan Modra <amodra@gmail.com>
16201 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16202 little-endian support. Remove unnecessary "are we done" tests.
16203 Handle "s" wrapping around zero and extremely large "size".
16204 Correct main loop count. Handle single left-over word from main
16205 loop inline rather than by using small_loop. Correct comments.
16206 Delete "zero" tail, use "end_max" instead.
16207 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16209 2013-10-04 Alan Modra <amodra@gmail.com>
16211 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16212 support. Don't branch over align.
16213 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16214 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16215 support. Rearrange tmp reg use to suit. Comment.
16216 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16218 2013-10-04 Alan Modra <amodra@gmail.com>
16220 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16222 2013-10-04 Alan Modra <amodra@gmail.com>
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16225 conditional form of branch and link when obtaining pc.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16228 2013-10-04 Alan Modra <amodra@gmail.com>
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16235 2013-10-04 Alan Modra <amodra@gmail.com>
16237 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16238 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16239 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16240 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16241 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16242 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16243 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16245 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16246 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16248 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16249 Alistair Popple <alistair@ozlabs.au.ibm.com>
16250 Alan Modra <amodra@gmail.com>
16253 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16255 _dl_hwcap access for little-endian.
16256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16257 destroy vmx regs when saving unaligned.
16258 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16259 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16260 destroy vmx regs when saving unaligned.
16262 2013-10-04 Alan Modra <amodra@gmail.com>
16264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16265 Don't use a union to pack hi/low value.
16267 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16269 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16271 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16272 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16274 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16275 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16277 2013-10-04 Alan Modra <amodra@gmail.com>
16279 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16280 constants to usual value for .cst8 section, and remove redundant
16282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16283 constant for 0x1p52. Load little-endian words of double from
16284 correct stack offsets.
16286 2013-10-04 Alan Modra <amodra@gmail.com>
16288 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16289 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16290 words of double from correct stack offsets.
16291 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16292 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16293 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16295 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16297 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16298 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16299 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16300 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16301 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16302 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16303 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16304 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16305 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16306 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16307 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16309 2013-10-04 Alan Modra <amodra@gmail.com>
16311 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16312 64-bit int/double union.
16313 (_FPU_SETCW): Likewise.
16314 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16315 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16317 2013-10-04 Alan Modra <amodra@gmail.com>
16319 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16320 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16322 2013-10-04 Alan Modra <amodra@gmail.com>
16324 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16325 use vector int constants.
16326 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16328 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16330 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16331 array with long long.
16332 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16333 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16334 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16335 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16336 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16337 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16338 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16339 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16340 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16341 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16342 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16343 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16344 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16346 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16348 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16349 (__signbit): Likewise. Correct for little-endian.
16350 (__signbitl): Call __signbit.
16351 (lrint): Correct for little-endian.
16352 (lrintf): Call lrint.
16354 2013-10-04 Alan Modra <amodra@gmail.com>
16356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16357 union 32-bit int array member with 64-bit int array.
16358 (t515, tm256): Double rather than long double.
16359 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16361 2013-10-04 Alan Modra <amodra@gmail.com>
16363 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16365 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16367 version of math_ldbl.h.
16369 2013-10-04 Alan Modra <amodra@gmail.com>
16371 [BZ #15734], [BZ #15735]
16372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16373 all uses of ieee875 long double macros and unions. Simplify test
16374 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16375 ldbl_extract_mantissa value for ix,iy exponents. Properly
16376 normalize after ldbl_extract_mantissa, and don't add hidden bit
16377 already handled. Don't treat low word of ieee854 mantissa like
16378 low word of IBM long double and mask off bit when testing for
16380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16381 all uses of ieee875 long double macros and unions. Simplify tests
16382 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16383 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16384 two1022, instead use their values. Recognise that tests for large
16385 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16386 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16387 Rewrite all uses of ieee875 long double macros and unions. Simplify
16388 test for 0.0L and nan. Correct negation.
16389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16390 ieee875 long double macros and unions. Correct output for large
16391 magnitude x. Correct absolute value calculation.
16392 (__erfcl): Likewise.
16393 * math/libm-test.inc: Add tests for errors discovered in IBM long
16394 double versions of fmodl, remainderl, erfl and erfcl.
16396 2013-10-04 Alan Modra <amodra@gmail.com>
16398 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16399 all uses of ieee854 long double macros and unions. Simplify tests
16400 for long doubles that are fully specified by the high double.
16401 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16403 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16404 Remove dead code too.
16405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16406 (__ieee754_ynl): Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16410 Remove dead code too.
16411 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16416 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16421 Comment on variable precision.
16422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16425 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16429 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16431 2013-10-04 Alan Modra <amodra@gmail.com>
16433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16435 all uses of ieee854 long double macros and unions.
16436 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16448 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16449 Simplify sign and nan test too.
16450 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16451 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16452 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16453 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16455 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16456 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16459 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16460 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16461 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16462 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16465 2013-10-04 Alan Modra <amodra@gmail.com>
16467 * stdio-common/printf_size.c (__printf_size): Don't use
16468 union ieee854_long_double in fpnum union.
16469 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16470 signbit macro to retrieve sign from long double.
16471 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16472 retrieve sign from long double.
16473 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16474 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16475 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16476 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16477 * math/test-misc.c (main): Don't use union ieee854_long_double.
16479 2013-10-04 Alan Modra <amodra@gmail.com>
16482 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16483 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16484 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16485 calculation. Remove unnecessary test for denormal exponent.
16486 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16487 Correct handling of denormals. Avoid undefined shift behaviour.
16488 Correct normalisation of low mantissa when low double is denormal.
16489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16490 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16491 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16492 Correct normalisation of low mantissa. Test for overflow of high
16493 mantissa and normalise.
16494 (ldbl_nearbyint): Use more readable constant for two52.
16495 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16496 (__mpn_construct_long_double): Fix test for overflow of high
16497 mantissa and correct normalisation. Avoid undefined shift.
16499 2013-10-04 Alan Modra <amodra@gmail.com>
16501 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16502 (union ibm_extended_long_double): Define as an array of ieee754_double.
16503 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16504 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16505 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16510 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16515 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16517 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16518 page size instead of calling getpagesize.
16520 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16521 (LOCFILE_ALIGN_MASK): Likewise.
16522 (LOCFILE_ALIGN_UP): Likewise.
16523 (LOCFILE_ALIGNED_P): Likewise.
16524 * locale/programs/ld-collate.c (collate_output): Use the new
16525 macros instead of __alignof__ (int32_t).
16526 * locale/weight.h (findidx): Likewise.
16528 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16531 * manual/string.texi: Fix strncat and wcsncat.
16533 2013-10-03 Brooks Moses <bmoses@google.com>
16536 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16537 * Makerules: ...here, and adjust associated comments.
16539 2013-10-02 Will Newton <will.newton@linaro.org>
16541 * malloc/Makefile: Add tst-pvalloc.
16542 * malloc/tst-pvalloc.c: New file.
16544 2013-10-02 Will Newton <will.newton@linaro.org>
16546 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16547 improve test coverage.
16549 2013-10-02 Will Newton <will.newton@linaro.org>
16551 * malloc/Makefile: Add tst-posix_memalign.
16552 * malloc/tst-posix_memalign.c: New file.
16554 2013-10-01 Eric Blake <eblake@redhat.com>
16556 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16557 Use __THROWNL rather than __THROW on static functions.
16559 2013-09-30 Petr Machata <pmachata@redhat.com>
16561 * elf/elf.h (R_AARCH64_ABS16): New macro.
16562 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16563 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16564 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16565 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16566 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16567 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16568 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16569 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16570 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16571 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16572 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16573 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16574 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16575 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16576 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16577 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16578 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16579 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16580 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16581 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16582 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16583 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16584 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16585 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16586 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16587 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16588 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16589 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16590 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16591 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16592 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16593 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16594 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16595 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16596 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16597 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16598 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16599 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16600 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16601 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16602 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16603 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16604 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16605 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16606 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16607 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16608 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16609 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16610 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16611 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16612 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16613 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16614 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16615 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16616 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16617 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16618 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16619 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16620 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16621 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16622 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16623 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16624 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16625 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16626 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16627 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16628 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16629 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16630 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16631 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16632 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16633 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16634 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16635 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16636 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16637 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16638 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16639 (R_AARCH64_TLSDESC_LDR): Likewise.
16640 (R_AARCH64_TLSDESC_ADD): Likewise.
16641 (R_AARCH64_TLSDESC_CALL): Likewise.
16643 2013-09-30 Andreas Schwab <schwab@suse.de>
16646 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16647 the nss database lookup.
16648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16651 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16653 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16655 2013-09-28 P. J. McDermott <pj@pehjota.net>
16657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16658 ${Bash-specific parameter/pattern/string} parameter expansion.
16659 * sysdeps/unix/make-syscalls.sh: Likewise.
16661 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16663 * sysdeps/sh/stackguard-macros.h: New file.
16665 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16669 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16670 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16672 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16674 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16676 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16677 Fix thread ID register.
16679 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16681 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16682 [POSIX || UNIX98]: Require rather than permitting all symbols from
16684 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16685 element of struct sched_param.
16686 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16687 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16688 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16689 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16692 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16694 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16695 argument calculation.
16697 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16699 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16701 [POSIX] (pthread_attr_t): Do not require type.
16702 [POSIX] (pthread_cond_t): Likewise.
16703 [POSIX] (pthread_condattr_t): Likewise.
16704 [POSIX] (pthread_key_t): Likewise.
16705 [POSIX] (pthread_mutex_t): Likewise.
16706 [POSIX] (pthread_mutexattr_t): Likewise.
16707 [POSIX] (pthread_once_t): Likewise.
16708 [POSIX] (pthread_t): Likewise.
16709 [POSIX-based standards] (pthread_atfork): Expect function.
16711 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16712 Richard Sandiford <richard@codesourcery.com>
16714 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16715 (swap_endianness_p): New extern variable.
16716 (set_big_endian): New inline function.
16717 (maybe_swap_uint32): Likewise.
16718 (maybe_swap_uint32_array): Likewise.
16719 (maybe_swap_uint32_obstack): Likewise.
16720 * locale/programs/locfile.c: Include <stdbool.h>.
16721 (swap_endianness_p): New variable.
16722 (add_locale_uint32): Call maybe_swap_uint32.
16723 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16724 (write_locale_data): Call maybe_swap_uint32_array.
16725 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16727 (obstack_int32_grow_fast): Likewise.
16728 (output_weightwc): Call maybe_swap_uint32_obstack.
16729 (collate_output): Likewise.
16730 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16731 (OPT_LITTLE_ENDIAN): Likewise.
16732 (options): Add --little-endian and --big-endian options.
16733 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16734 * locale/programs/locarchive.c: Include "locfile.h".
16738 (create_archive): Use the new macros to access fields of
16739 structures directly mapped from or written to locale archives.
16740 (oldlocrecentcmp): Likewise.
16741 (enlarge_archive): Likewise.
16742 (insert_name): Likewise.
16743 (add_alias): Likewise.
16744 (add_locale): Likewise.
16745 (delete_locales_from_archive): Likewise.
16746 (show_archive_content): Likewise.
16747 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16750 2013-09-24 Roland McGrath <roland@hack.frob.com>
16752 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16753 http://www.gnu.org/doc/freemanuals.texi.
16754 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16756 2013-09-24 Will Newton <will.newton@linaro.org>
16758 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16761 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16763 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16766 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16768 * manual/threads.texi (POSIX Threads): Fix a typo.
16770 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 * string/tst-strcoll-overflow.c: New test case.
16774 * string/Makefile (xtests): Add tst-strcoll-overflow.
16775 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16776 cache if string sizes may cause integer overflow.
16779 * string/strcoll_l.c (coll_seq): New members rule, idx,
16780 save_idx and back_us.
16781 (get_next_seq_nocache): New function.
16782 (do_compare_nocache): New function.
16783 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16786 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16789 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16790 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16791 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16794 * elf/Makefile (tests): Add tst-ptrguard1.
16795 (tests-static): Add tst-ptrguard1-static.
16796 (tst-ptrguard1-ARGS): Define.
16797 (tst-ptrguard1-static-ARGS): Define.
16798 * elf/tst-ptrguard1.c: New file.
16799 * elf/tst-ptrguard1-static.c: New file.
16800 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16801 * sysdeps/i386/stackguard-macros.h: Likewise.
16802 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16803 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16804 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16805 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16806 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16807 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16809 2013-09-23 Hector Marco <hecmargi@upv.es>
16810 Ismael Ripoll <iripoll@disca.upv.es>
16811 Carlos O'Donell <carlos@redhat.com>
16814 * sysdeps/generic/stackguard-macros.h: Define
16815 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16816 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16817 Define __pointer_chk_guard_local.
16818 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16819 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16821 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16824 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16826 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16828 * include/string.h (__ffs): Declare as hidden.
16829 * string/ffs.c (__ffs): Define as hidden.
16830 * sysdeps/i386/ffs.c (__ffs): Likewise.
16831 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16832 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16833 * sysdeps/s390/ffs.c (__ffs): Likewise.
16834 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16836 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16838 * NEWS: Mention malloc probes.
16840 * malloc/arena.c (new_heap): New memory_heap_new probe.
16841 (grow_heap): New memory_heap_more probe.
16842 (shrink_heap): New memory_heap_less probe.
16843 (heap_trim): New memory_heap_free probe.
16844 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16845 (systrim): New memory_sbrk_less probe.
16846 * manual/probes.texi: Document them.
16848 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16849 * manual/probes.texi: Document it.
16851 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16852 (__libc_realloc): Add memory_realloc_retry probe.
16853 (__libc_memalign): Add memory_memalign_retry probe.
16854 (__libc_valloc): Add memory_valloc_retry probe.
16855 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16856 (__libc_calloc): Add memory_calloc_retry probe.
16857 * manual/probes.texi: Document them.
16859 * malloc/arena.c (get_free_list): Add probe
16860 memory_arena_reuse_free_list.
16861 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16862 and memory_arena_reuse.
16863 (arena_get2) [!PER_THREAD]: Likewise.
16864 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16865 memory_arena_reuse_realloc.
16866 * manual/probes.texi: Document them.
16868 * malloc/malloc.c (__libc_free): Add
16869 memory_mallopt_free_dyn_thresholds probe.
16870 (__libc_mallopt): Add multiple memory_mallopt probes.
16871 * manual/probes.texi: Document them.
16873 * malloc/malloc.c: Include stap-probe.h.
16874 (__libc_mallopt): Add memory_mallopt probe.
16875 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16876 * manual/probes.texi: New.
16877 * manual/Makefile (chapters): Add probes.
16878 * manual/threads.texi: Set next node.
16880 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16882 [BZ #15963, #13985]
16883 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16884 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16885 Add `Chinese' to `nan' entry name.
16887 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16889 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16890 (POLYNOMIAL): Likewise.
16891 (TAYLOR_SINCOS): Likewise.
16892 (TAYLOR_SLOW): Likewise.
16893 (__sin): Use TAYLOR_SINCOS.
16895 (slow): Use TAYLOR_SLOW.
16897 (bsloww): Likewise.
16898 (csloww): Likewise.
16900 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16902 * stdlib/strtod_l.c: Fix buffer overrun.
16904 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16906 * benchtests/Makefile (bench): Add sincos.
16907 * benchtests/bench-sincos.c: New file.
16909 * math/libm-test.inc (cos_test_data): New test inputs.
16910 (sin_test_data): Likewise.
16912 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16918 (sloww1): Likewise.
16919 (sloww2): Likewise.
16920 (bsloww1): Likewise.
16921 (bsloww2): Likewise.
16922 (cslow2): Likewise.
16923 (csloww1): Likewise.
16924 (csloww2): Likewise.
16926 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16935 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16937 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16938 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16939 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16940 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16941 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16942 * elf/cache.c (print_entry): Handle the new cache flags.
16944 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16945 Aldy Hernandez <aldyh@redhat.com>
16947 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16948 Change condition to [_SOFT_FLOAT].
16949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16961 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16964 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16967 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16969 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16970 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16971 (__longjmp): Use LOAD_GP to load saved GPRs.
16972 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16973 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16974 (__sigsetjmp): Use SAVE_GP to save GPRs.
16976 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16977 Do not append -msoft-float.
16978 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16980 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16982 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16984 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16987 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16988 (_FPU_GETCW): Use initial "__" on variable and field names but not
16989 on macro parameter name.
16990 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16991 parentheses around reference to macro parameter.
16993 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16995 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16997 (ctype_startup): Use uint32_t in cast and sizeof for
17000 2013-09-11 Jia Liu <proljc@gmail.com>
17002 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17004 [__FreeBSD__]: Likewise.
17006 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17009 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17010 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17011 (strchr): Remove __strchr_sse42 ifunc selection.
17012 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17013 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17015 2013-09-11 Will Newton <will.newton@linaro.org>
17017 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17018 parameter to RES. Remove hardcoded 1000 value.
17019 * benchtests/bench-skeleton.c (main): Pass RES parameter
17020 to TIMING_INIT and multiply result by 1000.
17022 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17026 2013-09-11 Andreas Schwab <schwab@suse.de>
17028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17030 (O_TMPFILE) [__USE_GNU]: Define.
17031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17034 2013-09-11 Will Newton <will.newton@linaro.org>
17037 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17040 2013-09-11 Will Newton <will.newton@linaro.org>
17043 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17046 2013-09-11 Will Newton <will.newton@linaro.org>
17049 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17052 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17054 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17060 2013-09-10 Allan McRae <allan@archlinux.org>
17063 * manual/arith.texi (Parsing of Floats): Clarify
17067 * manual/install.texi (Running make install): Mention
17069 * INSTALL: Regenerated.
17071 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17073 * csu/init-first.c (_init): Remove the !SHARED condition around
17074 FPU control word initialization.
17075 * elf/dl-support.c (_dl_fpu_control): New variable.
17076 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17077 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17078 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17079 * math/test-fpucw-static.c: New file.
17080 * math/test-fpucw-ieee.c: New file.
17081 * math/test-fpucw-ieee-static.c: New file.
17082 * math/Makefile (tests): Add `test-fpucw-ieee' and
17084 (tests-static): New variable.
17085 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17087 [($(build-shared),yes)]
17088 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17090 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17093 2013-09-09 Allan McRae <allan@archlinux.org>
17096 * manual/string.texi (Collation Functions): Fix typo in
17098 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17101 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17104 * libio/memstream.c (open_memstream): Fix memory leak.
17105 * libio/wmemstream.c (open_wmemstream): Likewise.
17108 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17110 2013-09-09 Will Newton <will.newton@linaro.org>
17112 * malloc/Makefile: Add tst-realloc to tests.
17113 * malloc/tst-realloc.c: New file.
17115 2013-09-09 Allan McRae <allan@archlinux.org>
17118 * COPYING: Update from GNU website to fix FSF address.
17119 * COPYING.LIB: Likewise.
17121 2013-09-06 David S. Miller <davem@davemloft.net>
17123 * po/zh_TW.po: Update Chinese (traditional) translation from
17124 translation project.
17126 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17127 Joseph Myers <joseph@codesourcery.com>
17129 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17131 (obstack_chunk_alloc): New macro.
17132 (obstack_chunk_free): Likewise.
17133 (record_offset): New function.
17134 (init_locale_data): Likewise.
17135 (align_locale_data): Likewise.
17136 (add_locale_empty): Likewise.
17137 (add_locale_raw_data): Likewise.
17138 (add_locale_raw_obstack): Likewise.
17139 (add_locale_string): Likewise.
17140 (add_locale_wstring): Likewise.
17141 (add_locale_uint32): Likewise.
17142 (add_locale_uint32_array): Likewise.
17143 (add_locale_char): Likewise.
17144 (start_locale_structure): Likewise.
17145 (end_locale_structure): Likewise.
17146 (start_locale_prelude): Likewise.
17147 (end_locale_prelude): Likewise.
17148 (write_locale_data): Take locale_file structure rather than an
17150 * locale/programs/locfile.h: Include "obstack.h".
17151 (struct locale_file): Change to store locale file contents instead
17153 (init_locale_data): New prototype.
17154 (align_locale_data): Likewise.
17155 (add_locale_empty): Likewise.
17156 (add_locale_raw_data): Likewise.
17157 (add_locale_raw_obstack): Likewise.
17158 (add_locale_string): Likewise.
17159 (add_locale_wstring): Likewise.
17160 (add_locale_uint32): Likewise.
17161 (add_locale_uint32_array): Likewise.
17162 (add_locale_char): Likewise.
17163 (start_locale_structure): Likewise.
17164 (end_locale_structure): Likewise.
17165 (start_locale_prelude): Likewise.
17166 (end_locale_prelude): Likewise.
17167 (write_locale_data): Update prototype.
17168 * locale/programs/3level.h (struct TABLE): Remove result field.
17169 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17170 Use new locale_file interface.
17171 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17172 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17173 * locale/programs/ld-address.c (address_output): Use new
17174 locale_file interface.
17175 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17177 (collate_finish): Don't call collseq_table_finalize.
17178 (collate_output): Use new locale_file interface.
17179 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17181 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17182 (TABLE): Move defines earlier in file.
17183 (ELEMENT): Likewise.
17184 (DEFAULT): Likewise.
17185 (wctrans_table_add): Move macro and inline function earlier in
17187 (struct wctype_table): Move type earlier in file.
17188 (add_locale_wctype_table): New static prototype.
17189 (struct locale_ctype_t): Use logical types instead of struct iovec
17190 pointers for members.
17191 (ctype_output): Use new locale_file interface.
17192 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17193 new locale_file interface.
17194 (allocate_arrays): Update for use of new locale_file interface.
17195 * locale/programs/ld-identification.c (identification_output): Use
17196 new locale_file interface.
17197 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17198 * locale/programs/ld-messages.c (messages_output): Likewise.
17199 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17200 * locale/programs/ld-name.c (name_output): Likewise.
17201 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17202 * locale/programs/ld-paper.c (paper_output): Likewise.
17203 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17204 * locale/programs/ld-time.c (time_output): Likewise.
17206 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17208 * benchtests/Makefile: Add memrchr benchmark.
17209 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17210 benchmark as memrchr.
17211 * benchtests/bench-memrchr-ifunc.c: New file.
17212 * benchtests/bench-memrchr.c: New file.
17214 2013-09-06 Will Newton <will.newton@linaro.org>
17216 * benchtests/Makefile (string-bench): Add memcpy.
17218 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17219 Cong Wang <amwang@redhat.com>
17222 * sysdeps/unix/sysv/linux/bits/in.h
17223 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17224 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17225 before __USE_KERNEL_IPV6_DEFS uses.
17226 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17228 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17229 sockaddr_in6, or ipv6_mreq.
17231 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17233 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17234 memory access for final bytes in some large inputs.
17235 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17237 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * string/test-memrchr.c: New file.
17240 * string/test-memrchr-ifunc.c: New file.
17241 * string/Makefile: Add new memrchr testcase.
17243 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17245 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17246 fanotify_init returns EPERM.
17248 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17250 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17252 (top level): Treat second token from macro or constant entries for
17253 allowed headers as allowed.
17254 * include/complex.h: Condition internal declarations on
17256 * include/fenv.h: Condition include of <stdbool.h> and internal
17257 declarations on [!_ISOMAC].
17259 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17262 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17264 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17266 * configure.in (--enable-versioning): Remove configure option.
17267 (libc_cv_asm_symver_directive): Remove configure test.
17268 (libc_cv_ld_version_script_option): Likewise.
17269 (VERSIONING): Remove variable and AC_SUBST.
17270 (DO_VERSIONING): Remove AC_DEFINE.
17271 * configure: Regenerated.
17272 * config.h.in (DO_VERSIONING): Remove macro.
17273 * Makerules [$(versioning) = yes]: Change conditionals to
17274 [$(build-shared) = yes].
17275 * config.make.in (versioning): Remove variable.
17276 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17277 [$(build-shared) = yes].
17278 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17279 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17280 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17281 [$(build-shared) = yes].
17282 * extra-lib.mk [$(versioning) = yes]: Likewise.
17283 * hurd/Makefile [$(versioning) = yes]: Likewise.
17284 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17286 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17288 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17289 [SHARED && !NO_HIDDEN].
17290 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17292 [SHARED && DO_VERSIONING]: Likewise..
17293 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17294 [$(build-shared) = yes].
17295 * manual/install.texi (--disable-versioning): Remove
17297 * INSTALL: Regenerated.
17298 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17300 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17301 [$(build-shared) = yes].
17302 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17303 * sysdeps/i386/i686/multiarch/strstr-c.c
17304 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17305 [SHARED && !NO_HIDDEN].
17306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17307 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17308 * sysdeps/powerpc/powerpc32/dl-machine.c
17309 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17310 * sysdeps/powerpc/powerpc32/sysdep.h
17311 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17312 to [SHARED && PIC && !NO_HIDDEN].
17313 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17314 conditional to [SHARED].
17316 2013-09-04 Will Newton <will.newton@linaro.org>
17318 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17319 * benchtests/bench-string.h: Include bench-timing.h instead
17320 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17321 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17322 call to HP_TIMING_DIFF_INIT.
17323 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17324 instead of hp-timing.h macros.
17325 * benchtests/bench-memchr.c: Likewise.
17326 * benchtests/bench-memcmp.c: Likewise.
17327 * benchtests/bench-memcpy.c: Likewise.
17328 * benchtests/bench-memmem.c: Likewise.
17329 * benchtests/bench-memmove.c: Likewise.
17330 * benchtests/bench-memset.c: Likewise.
17331 * benchtests/bench-rawmemchr.c: Likewise.
17332 * benchtests/bench-strcasecmp.c: Likewise.
17333 * benchtests/bench-strcasestr.c: Likewise.
17334 * benchtests/bench-strcat.c: Likewise.
17335 * benchtests/bench-strchr.c: Likewise.
17336 * benchtests/bench-strcmp.c: Likewise.
17337 * benchtests/bench-strcpy.c: Likewise.
17338 * benchtests/bench-strcpy_chk.c: Likewise.
17339 * benchtests/bench-strlen.c: Likewise.
17340 * benchtests/bench-strncasecmp.c: Likewise.
17341 * benchtests/bench-strncat.c: Likewise.
17342 * benchtests/bench-strncmp.c: Likewise.
17343 * benchtests/bench-strncpy.c: Likewise.
17344 * benchtests/bench-strnlen.c: Likewise.
17345 * benchtests/bench-strpbrk.c: Likewise.
17346 * benchtests/bench-strrchr.c: Likewise.
17347 * benchtests/bench-strspn.c: Likewise.
17348 * benchtests/bench-strstr.c: Likewise.
17350 2013-09-04 Will Newton <will.newton@linaro.org>
17352 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17354 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17357 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17358 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17359 * math/libm-test.inc (lgamma_test_data): Add more tests.
17360 * sysdeps/i386/fpu/libm-test-ulps: Update.
17361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17363 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17365 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17369 Add strcmp-sse2-unaligned
17370 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17372 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17374 * Versions.def (libc): Add GLIBC_2.19.
17376 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17378 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17379 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17381 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17384 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17385 intermediate calculations in recurrence.
17386 (__ieee754_ynf): Likewise.
17387 * math/libm-test.inc (jn_test_data): Do not allow spurious
17388 underflow exception. Add more tests.
17389 (yn_test_data): Add more tests.
17390 * sysdeps/i386/fpu/libm-test-ulps: Update.
17391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17393 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17395 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17397 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17399 * csu/init-first.c: Fix then/than typos.
17400 * locale/programs/ld-collate.c: Likewise.
17401 * locale/programs/linereader.h: Likewise.
17402 * manual/charset.texi: Likewise.
17403 * manual/filesys.texi: Likewise.
17404 * manual/stdio.texi: Likewise.
17405 * manual/string.texi: Likewise.
17406 * stdlib/fmtmsg.c: Likewise.
17407 * sysdeps/i386/stpncpy.S: Likewise.
17408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17409 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17411 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17413 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17415 * elf/dl-open.c: Fix typos.
17416 * iconvdata/gbbig5.c: Likewise.
17417 * iconvdata/iso-2022-jp.c: Likewise.
17418 * iconv/gconv_int.h: Likewise.
17419 * iconv/loop.c: Likewise.
17420 * nis/rpcsvc/nis.h: Likewise.
17421 * resolv/ns_name.c: Likewise.
17422 * stdio-common/vfscanf.c: Likewise.
17423 * streams/stropts.h: Likewise.
17424 * sunrpc/rpc_thread.c: Likewise.
17425 * sysdeps/i386/strpbrk.S: Likewise.
17426 * sysdeps/ieee754/k_standard.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17429 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17430 * sysdeps/mach/hurd/profil.c: Likewise.
17431 * sysdeps/s390/dl-procinfo.h: Likewise.
17432 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17433 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17434 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17435 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17438 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17440 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17443 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17446 aix specific files.
17447 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17448 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17449 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17450 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17453 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17454 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17456 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17457 Roland McGrath <roland@hack.frob.com>
17459 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17460 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17462 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17464 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17465 __executable_start symbol instead of _start.
17467 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17469 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17470 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17472 * sysdeps/gnu/ldsodefs.h: ... this new file.
17474 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17475 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17476 instead of ELFOSABI_LINUX.
17478 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17479 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17480 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17481 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17483 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17484 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17487 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17488 (ibm_extended_long_double): Add ieee_nan member.
17489 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17490 (do_test): New function.
17492 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17494 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17495 functions, renamed from truncdfsf_test, trunctfsf_test,
17497 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17499 (do_test): Run all these.
17501 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17503 * argp/argp-help.c: Fix typos.
17504 * argp/argp-parse.c: Likewise.
17505 * debug/backtracesyms.c: Likewise.
17506 * elf/elf.h: Likewise.
17507 * malloc/malloc.c: Likewise.
17508 * nis/nis_print.c: Likewise.
17509 * resolv/res_comp.c: Likewise.
17510 * stdlib/stdlib.h: Likewise.
17511 * sunrpc/clnt_tcp.c: Likewise.
17512 * sunrpc/clnt_udp.c: Likewise.
17513 * sunrpc/clnt_unix.c: Likewise.
17514 * sysdeps/unix/bsd/ptsname.c: Likewise.
17515 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17523 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17525 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17527 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17530 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17533 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17534 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17535 ($(objpfx)bug-dl-leaf): New rule.
17536 ($(objpfx)bug-dl-leaf.so): Likewise.
17537 ($(objpfx)bug-dl-leaf.out): Likewise.
17538 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17539 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17540 * dlfcn/bug-dl-leaf.c: New test.
17541 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17542 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17543 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17544 (dlclose): Likewise.
17545 (dlmopen): Likewise.
17547 2013-08-27 Roland McGrath <roland@hack.frob.com>
17549 * include/netdb.h [!_ISOMAC]:
17550 Don't include <tls.h>.
17551 (h_errno, __libc_h_errno): Move declaration and macros out of
17554 * include/resolv.h [_RESOLV_H_]:
17555 Don't include <tls.h>.
17556 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17557 * resolv/res_libc.c: Don't include <tls.h>.
17558 (_res): Use __attribute__ ((nocommon)) in place of
17559 __attribute__ ((section (".bss"))).
17561 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17562 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17564 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17566 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17567 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17569 * resolv/res_mkquery.c: Include <sys/time.h>.
17571 * inet/ifreq.c: Moved to ...
17572 * sysdeps/unix/ifreq.c: ... here.
17573 * inet/ifreq.c: New file, true stub version.
17575 * socket/sa_len.c: New file.
17576 * socket/Makefile (aux): Add it.
17577 * sysdeps/unix/sysv/linux/Makefile
17578 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17579 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17580 and #include <socket/sa_len.c>.
17581 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17582 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17585 * bits/socket.h: ... here.
17587 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17588 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17589 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17591 2013-08-27 Andreas Schwab <schwab@suse.de>
17594 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17595 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17596 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17597 * string/test-strcasecmp.c (test_main): Run tests in several
17599 * string/test-strncasecmp.c (test_main): Likewise.
17601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17602 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17603 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17605 (__strncasecmp_ssse3) [PIC]: Likewise.
17607 2013-08-26 Roland McGrath <roland@hack.frob.com>
17609 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17611 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17612 instead of explicitly declaring xdecrypt.
17613 * nis/nss_nis/nis-publickey.c: Likewise.
17615 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17618 * nscd/aicache.c: Include res_hconf.h.
17619 (addhstaiX): Initialize res_hconf.
17621 2013-08-26 Andreas Schwab <schwab@suse.de>
17623 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17624 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17626 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17628 * nscd/aicache.c (addhstaiX): Fix indentation.
17630 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17632 * configure.ac: Quote $build_pt_chown test.
17633 * configure: Regenerated.
17635 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17638 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17639 * math/s_cexpf.c (__cexpf): Likewise.
17640 * math/s_cexpl.c (__cexpl): Likewise.
17641 * math/libm-test.inc (cexp_test_data): Correct expected return
17642 value for NaN + i0. Add another test.
17644 2013-08-22 David S. Miller <davem@davemloft.net>
17646 * po/ca.po: Update Catalan translation from translation project.
17647 * po/uk.po: Add Ukrainian translations from translation project.
17649 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17652 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17653 is infinite, not alongside NaN test.
17654 * math/s_fdimf.c (__fdimf): Likewise.
17655 * math/s_fdiml.c (__fdiml): Likewise.
17656 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17657 errno is unchanged.
17659 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17661 * argp/argp-help.c: Fix typos.
17662 * crypt/speeds.c: Likewise.
17663 * csu/check_fds.c: Likewise.
17664 * elf/dl-load.c: Likewise.
17665 * elf/dl-open.c: Likewise.
17666 * elf/reldep3.c: Likewise.
17667 * elf/reldep.c: Likewise.
17668 * elf/sprof.c: Likewise.
17669 * iconv/iconv_charmap.c: Likewise.
17670 * iconv/skeleton.c: Likewise.
17671 * iconv/strtab.c: Likewise.
17672 * io/lockf64.c: Likewise.
17673 * libio/libioP.h: Likewise.
17674 * resolv/gai_notify.c: Likewise.
17675 * resolv/ns_name.c: Likewise.
17676 * resolv/ns_samedomain.c: Likewise.
17677 * resolv/res_send.c: Likewise.
17678 * stdlib/random.c: Likewise.
17679 * sunrpc/rpc/xdr.h: Likewise.
17680 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17681 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17682 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17683 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17688 * sysdeps/mach/hurd/check_fds.c: Likewise.
17689 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17690 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17693 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17694 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17695 * sysdeps/pthread/aio_notify.c: Likewise.
17696 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17697 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17698 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17700 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17702 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17704 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17705 version if bit_Slow_SSE4_2 is set.
17706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17707 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17709 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17712 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17713 trampoline stack frame information.
17714 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17716 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17717 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17718 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17719 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17720 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17721 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17723 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17724 interrupting a syscall and set with option SA_SIGINFO.
17726 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17729 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17730 argument is infinite.
17731 * math/s_cprojf.c (__cprojf): Likewise.
17732 * math/s_cprojl.c (__cprojl): Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17734 * math/libm-test.inc (cproj_test_data): Add more tests.
17736 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17738 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17739 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17740 size. Use __ffs to determine corresponding shift.
17742 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17743 Roland McGrath <roland@hack.frob.com>
17745 * Makefile (INSTALL): Remove trailing blank lines from output of
17748 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17750 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17751 Align 32 bit compat elf_greg to 8 bytes.
17753 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17755 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17757 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17759 * string/strcoll_l.c (coll_seq): New structure.
17760 (get_next_seq_cached): New function.
17761 (get_next_seq): New function.
17762 (do_compare): New function.
17763 (STRCOLL): Use GNU style definition. Simplify implementation
17764 by using get_next_seq, get_next_seq_cached and do_compare.
17766 2013-08-16 Florian Weimer <fweimer@redhat.com>
17770 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17772 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17774 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17775 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17776 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17778 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17779 GETDENTS_64BIT_ALIGNED.
17780 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17781 * manual/filesys.texi (Reading/Closing Directory): Document
17782 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17784 * manual/conf.texi (Limits for Files): Add portability note to
17785 NAME_MAX, PATH_MAX.
17786 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17788 2013-08-13 Andreas Schwab <schwab@suse.de>
17791 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17793 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17794 LDBL_MAX_EXP >= 16384]: Add tests for it.
17796 2013-08-12 David S. Miller <davem@davemloft.net>
17798 * version.h (RELEASE): Set to "development".
17799 (VERSION): Set to "2.18.90".
17800 * NEWS: Add 2.19 section.
17802 2013-08-03 David S. Miller <davem@davemloft.net>
17804 * po/ko.po: Update Korean translation from translation project.
17806 2013-08-01 David S. Miller <davem@davemloft.net>
17808 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17809 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17812 2013-07-30 David S. Miller <davem@davemloft.net>
17814 * po/fr.po: Update French translation from translation project.
17816 2013-07-28 David S. Miller <davem@davemloft.net>
17818 * po/cs.po: Update Czech translation from translation project.
17820 * po/sv.po: Update Swedish translation from translation project.
17822 2013-07-27 David S. Miller <davem@davemloft.net>
17824 * po/eo.po: Update Esperanto translation from translation project.
17826 * po/vi.po: Update Vietnamese translation from translation project.
17828 * po/de.po: Update German translation from translation project.
17830 2013-07-26 David S. Miller <davem@davemloft.net>
17832 * po/bg.po: Update Bulgarian translation from translation project.
17834 * po/nl.po: Update Dutch translation from translation project.
17835 * po/pl.po: Update Polish translation from translation project.
17836 * po/ru.po: Update Russian translation from translation project.
17838 2013-07-24 David S. Miller <davem@davemloft.net>
17840 * po/libc.pot: Update.
17842 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17844 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17845 variable page size.
17846 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17847 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17850 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17852 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17854 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17855 Andreas Schwab <schwab@suse.de>
17856 Roland McGrath <roland@hack.frob.com>
17857 Joseph Myers <joseph@codesourcery.com>
17858 Carlos O'Donell <carlos@redhat.com>
17861 * config.h.in: Define HAVE_PT_CHOWN.
17862 * config.make.in (build-pt-chown): New variable.
17863 * configure.in (--enable-pt_chown): New configure option.
17864 * configure: Regenerate.
17865 * login/Makefile: Include Makeconfig. Build pt_chown only if
17866 build-pt-chown is enabled.
17867 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17868 pt_chown to fix pty ownership.
17869 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17871 * manual/install.texi (Configuring and compiling): Mention
17872 --enable-pt_chown. Add @findex for grantpt.
17873 * INSTALL: Regenerate.
17875 2013-07-20 David S. Miller <davem@davemloft.net>
17877 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17878 difference between 32-bit and 64-bit.
17880 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17883 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17884 Avoid system header dependency with -ffreestanding.
17885 ($(objpfx)bits/syscall%d): Likewise.
17887 2013-07-13 David S. Miller <davem@davemloft.net>
17889 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17890 underflows from atanl/atan2l due to bug 15319.
17891 (casinh_test_data): Likewise.
17893 2013-07-07 David S. Miller <davem@davemloft.net>
17895 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17897 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17902 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17904 * configure.in (--enable-lock-elision): Fix message text.
17905 * INSTALL: Regenerate.
17906 * configure: Regenerate.
17908 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17912 2013-07-03 Andreas Jaeger <aj@suse.de>
17914 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17916 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17917 (ptrace_peeksiginfo_args): Add.
17918 (__ptrace_peeksiginfo_flags): Add.
17919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17923 2013-07-03 Allan McRae <allan@archlinux.org>
17925 * sysdeps/i386/fpu/libm-test-ulps: Update.
17927 2013-07-02 David S. Miller <davem@davemloft.net>
17929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17931 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17935 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17937 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17940 2013-07-02 Andi Kleen <ak@linux.intel.com>
17942 * config.h.in (ENABLE_LOCK_ELISION): Add.
17943 * configure.in (--enable-lock-elision): Add option.
17944 * manual/install.texi: Document --enable lock elision.
17945 * configure: Regenerate
17946 * INSTALL: Regenerate.
17948 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17950 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17951 SSE4.2 strcasecmp for libc.a.
17952 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17954 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17957 * soft-fp/op-common.h (_FP_FMA): New macro.
17958 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17959 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17960 (_FP_MUL_MEAT_1_imm): ... here.
17961 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17962 (_FP_MUL_MEAT_1_wide): ... here.
17963 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17964 (_FP_MUL_MEAT_1_hard): ... here.
17965 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17966 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17967 (_FP_MUL_MEAT_2_wide): ... here.
17968 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17969 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17970 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17971 (_FP_MUL_MEAT_2_gmp): ... here.
17972 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17973 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17974 (_FP_MUL_MEAT_4_wide): ... here.
17975 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17976 (_FP_MUL_MEAT_4_gmp): ... here.
17977 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17978 (_FP_WFRACBITS_DW_S): Likewise.
17979 (_FP_WFRACXBITS_DW_S): Likewise.
17980 (_FP_HIGHBIT_DW_S): Likewise.
17981 (FP_FMA_S): Likewise.
17982 (_FP_FRAC_HIGH_DW_S): Likewise.
17983 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17984 (_FP_WFRACBITS_DW_D): Likewise.
17985 (_FP_WFRACXBITS_DW_D): Likewise.
17986 (_FP_HIGHBIT_DW_D): Likewise.
17987 (FP_FMA_D): Likewise.
17988 (_FP_FRAC_HIGH_DW_D): Likewise.
17989 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17990 (_FP_WFRACBITS_DW_E): Likewise.
17991 (_FP_WFRACXBITS_DW_E): Likewise.
17992 (_FP_HIGHBIT_DW_E): Likewise.
17993 (FP_FMA_E): Likewise.
17994 (_FP_FRAC_HIGH_DW_E): Likewise.
17995 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17996 (_FP_WFRACBITS_DW_Q): Likewise.
17997 (_FP_WFRACXBITS_DW_Q): Likewise.
17998 (_FP_HIGHBIT_DW_Q): Likewise.
17999 (FP_FMA_Q): Likewise.
18000 (_FP_FRAC_HIGH_DW_Q): Likewise.
18001 * soft-fp/fmasf4.c: New file.
18002 * soft-fp/fmadf4.c: Likewise.
18003 * soft-fp/fmatf4.c: Likewise.
18005 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18008 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18012 (index_Slow_SSE4_2): Likewise.
18013 (index_Prefer_PMINUB_for_stringop): Likewise.
18014 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18015 bit_Slow_SSE4_2 is set.
18016 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18017 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18019 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18021 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18022 rtld_global._dl_hwcap2.
18023 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18025 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18026 POWER8 feature descriptions defined in _dl_hwcap2.
18027 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18028 string handling for POWER8 feature bits.
18029 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18030 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18031 _dl_powerpc_cap_flags.
18032 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18033 * sysdeps/powerpc/rtld-global-offsets.sym
18034 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18035 _dl_hwcap2 in the rtld_global_ro structure.
18037 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18039 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18040 hardware capabilities in support of AT_HWCAP2.
18041 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18042 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18044 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18045 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18046 explicitly the unknown a_type display mechanism is used.
18047 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18048 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18050 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18051 to macro prototype for AT_HWCAP2 support.
18052 * sysdeps/i386/dl-procinfo.h: Likewise.
18053 * sysdeps/s390/dl-procinfo.h: Likewise.
18054 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18055 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18056 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18057 return -1 for unknown a_type display fallback.
18058 * sysdeps/sparc/dl-procinfo.h: Likewise.
18059 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18060 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18062 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18064 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18065 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18067 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18070 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18071 mprotect making __stack_prot writable.
18073 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18074 Joseph Myers <joseph@codesourcery.com>
18076 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18077 as being properly aligned.
18079 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18081 * dlfcn/modstatic5.c: New file.
18082 * dlfcn/tststatic5.c: New file.
18083 * dlfcn/Makefile (tests): Add tststatic5.
18084 (tests-static): Likewise.
18085 (modules-names): Add modstatic5.
18086 (tststatic5-ENV): New variable.
18087 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18090 * elf/dl-support.c (_dl_main_map): New variable.
18091 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18092 (_dl_nns, _dl_load_adds): Set to 1.
18093 (_dl_initial_searchlist): Refer to _dl_main_map.
18094 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18095 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18096 call to _dl_get_origin.
18097 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18099 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18100 * dlfcn/modstatic3.c: New file.
18101 * dlfcn/tststatic3.c: New file.
18102 * dlfcn/tststatic4.c: New file.
18103 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18104 (tests-static): Likewise.
18105 (modules-names): Add modstatic3.
18106 (tststatic3-ENV, tststatic4-ENV): New variables.
18107 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18108 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18110 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18112 * configure.in (CC): Require GCC version 4.4 or later.
18113 * configure: Regenerated.
18114 * manual/install.texi (Tools for Compilation): Update GCC version
18116 * INSTALL: Regenerated.
18118 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18121 * string/test-memcmp.c (check2): New.
18122 (main): Call check2.
18124 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18126 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18129 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18131 (dl_open_worker) [!SHARED]: ... here.
18133 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18135 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18137 2013-06-25 Richard Henderson <rth@redhat.com>
18139 * locale/programs/locarchive.c: Include <libc-internal.h>
18141 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18143 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18144 trailing whitespace removed.
18146 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18149 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18150 * locale/programs/locarchive.c: Include libc-mmap.h.
18151 (prepare_address_space): Take two new outputs (the mmap base and len).
18152 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18154 (create_archive): Declare new mmap base and len values for
18155 prepare_address_space, and store the result in ah.
18156 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18157 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18158 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18159 Declare new mmap base and len values for
18160 prepare_address_space, and store the result in new_ah.
18161 (open_archive): Declare new mmap base and len values for
18162 prepare_address_space, and store the result in ah.
18163 (close_archive): If ah->mmap_base is not NULL, use that and
18164 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18165 * sysdeps/generic/libc-mmap.h: New file.
18167 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18169 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18170 (ALIGN_UP): Likewise.
18171 (PTR_ALIGN_DOWN): Likewise.
18172 (PTR_ALIGN_UP): Likewise.
18174 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18176 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18177 entry mapped to PPC_PLATFORM_POWER8.
18178 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18180 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18181 (_dl_string_platform): Add case for exporting platform position for
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18184 search path to sysdeps/powerpc/powerpc32/power8 directory.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18186 search path to sysdeps/powerpc/powerpc64/power8 directory.
18187 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18188 power7 directories.
18189 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18190 power7 directories.
18192 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18194 * INSTALL: Regenerate.
18196 * nscd/connections.c (nscd_init): Fix comment.
18198 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18200 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18203 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18204 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18206 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18208 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18210 (DL_DST_REQ_STATIC): Remove macro.
18212 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18215 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18216 with a shift of 0 bits.
18218 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18220 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18223 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18226 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18228 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18230 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18231 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18232 accepts -fno-tree-loop-distribute-patterns.
18233 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18234 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18236 * string/memset.c (memset): Likewise.
18237 * string/test-memmove.c (simple_memmove): Disable loop transformation
18239 * string/test-memset.c (simple_memset): Likewise.
18240 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18241 * benchtests/bench-memset.c (simple_memset): Likewise.
18242 * configure: Regenerated.
18244 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18246 * math/test-misc.c (main): Ignore fesetround failure when failures
18247 of subsequent rounding tests would be ignored.
18250 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18251 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18252 * math/fegetenv.c (__fegetenv): Return 0.
18253 * math/fegetexcept.c (fegetexcept): Return 0.
18254 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18256 * math/feholdexcpt.c (feholdexcept): Return 0.
18257 * math/fesetenv.c (__fesetenv): Return 0.
18258 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18259 argument FE_TONEAREST.
18260 * math/feupdateenv.c (__feupdateenv): Return 0.
18261 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18263 2013-06-18 Roland McGrath <roland@hack.frob.com>
18265 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18266 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18267 ($(objpfx)rtld-%.os rules): Use them.
18269 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18271 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18274 2013-06-17 Roland McGrath <roland@hack.frob.com>
18276 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18277 length of target pattern, then descending length of dependency pattern.
18278 * configure.in (AWK): Require gawk 3.1.2 or newer.
18279 * manual/install.texi (Tools for Compilation): Say that we do.
18280 * configure: Regenerated.
18282 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18283 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18284 * scripts/sysd-rules.awk: ... this new script.
18285 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18286 than a glob-style pattern.
18288 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18290 * math/test-misc.c (main): Do not treat incorrectly rounded
18291 conversions as failure unless ROUNDING_TESTS passes.
18293 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18297 restore exception state around main square root computation, then
18298 check for inexactness explicitly.
18300 * math/libm-test.inc (fma_test_data): Add another test.
18302 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18304 * manual/threads.texi (Non-POSIX Extensions): New document
18305 node. Document pthread_getattr_default_np and
18306 pthread_setattr_default_np.
18308 * Versions.def (libpthread): Add GLIBC_2.18.
18309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18318 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18329 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18332 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18334 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18335 H.J. Lu <hjl.tools@gmail.com>
18338 * sysdeps/x86_64/rtld-memset.c: Remove file.
18339 * sysdeps/x86_64/rtld-memset.S: New file.
18341 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18343 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18344 (test_in_one_mode): Take arguments for whether the rounding mode
18345 is supported for each floating-point type.
18346 (do_test): Pass new arguments to test_in_one_mode using
18349 2013-06-13 Roland McGrath <roland@hack.frob.com>
18351 * posix/tst-waitid.c (do_test): Distinguish different instances of
18352 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18353 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18354 before entering the kernel for waitpid.
18356 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18358 * NEWS: Fix note on clock function precision. Text by Roland
18361 2013-06-13 Roland McGrath <roland@hack.frob.com>
18363 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18364 it into place only when and if the sanity check passes.
18366 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18368 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18369 output for whether conversion result is exact. Take argument
18370 indicating whether type is IBM long double.
18371 (round_for_all): Change need_exact field to ibm_ld.
18372 * stdlib/tst-strtod-round.c (struct exactness): New type.
18373 (struct test): Change bool ld_ok field to struct exactness exact.
18374 (TEST): Update all definitions for change to field.
18375 (tests): Regenerate array contents.
18376 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18377 field value. Check for IBM long double here.
18378 (do_test): Update calls to test_in_one_mode.
18380 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18383 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18384 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18386 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18389 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18390 generated by the compiler on loop optimizations.
18391 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18392 general definitions.
18394 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18396 * math/bug-nextafter.c: Include <math-tests.h>.
18397 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18399 * math/bug-nexttoward.c: Include <math-tests.h>.
18400 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18402 * math/test-misc.c: Include <math-tests.h>.
18403 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18406 2013-06-12 Andreas Jaeger <aj@suse.de>
18408 * po/ia.po: Update Interlingua translation from translation
18411 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18413 * include/fenv.h: Include stdbool.h.
18414 (struct rm_ctx): New structure.
18415 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18417 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18418 (SET_RESTORE_ROUNDF): Likewise.
18419 (SET_RESTORE_ROUNDL): Likewise.
18420 (SET_RESTORE_ROUND_NOEX): Likewise.
18421 (SET_RESTORE_ROUND_NOEXF): Likewise.
18422 (SET_RESTORE_ROUND_NOEXL): Likewise.
18423 (SET_RESTORE_ROUND_53BIT): Likewise.
18424 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18425 (libc_feresetround_noexf_ctx): Likewise.
18426 (libc_feresetround_noexl_ctx): Likewise.
18427 (libc_feholdsetround_53bit_ctx): Likewise.
18428 (libc_feresetround_53bit_ctx): Likewise.
18429 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18430 (libc_feholdexcept_setround_sse_ctx): New function.
18431 (libc_fesetenv_sse_ctx): Likewise.
18432 (libc_feupdateenv_sse_ctx): Likewise.
18433 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18434 (libc_feholdexcept_setround_387_ctx): Likewise.
18435 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18436 (libc_feholdsetround_387_prec_ctx): Likewise.
18437 (libc_feholdsetround_387_ctx): Likewise.
18438 (libc_feholdsetround_387_53bit_ctx): Likewise.
18439 (libc_feholdsetround_sse_ctx): Likewise.
18440 (libc_feresetround_sse_ctx): Likewise.
18441 (libc_feresetround_387_ctx): Likewise.
18442 (libc_feupdateenv_387_ctx): Likewise.
18443 (libc_feholdexcept_setroundf_ctx): Define macro.
18444 (libc_fesetenvf_ctx): Likewise.
18445 (libc_feupdateenvf_ctx): Likewise.
18446 (libc_feholdsetroundf_ctx): Likewise.
18447 (libc_feresetroundf_ctx): Likewise.
18448 (libc_feholdexcept_setround_ctx): Likewise.
18449 (libc_fesetenv_ctx): Likewise.
18450 (libc_feupdateenv_ctx): Likewise.
18451 (libc_feholdsetround_ctx): Likewise.
18452 (libc_feresetround_ctx): Likewise.
18453 (libc_feholdexcept_setroundl_ctx): Likewise.
18454 (libc_feupdateenvl_ctx): Likewise.
18455 (libc_feholdsetroundl_ctx): Likewise.
18456 (libc_feresetroundl_ctx): Likewise.
18457 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18458 (libc_feresetround_53bit_ctx): Likewise.
18460 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18462 * locale/iso-639.def: Convert to UTF-8.
18464 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18467 (EXCEPTION_TESTS_double): Likewise.
18468 (EXCEPTION_TESTS_long_double): Likewise.
18469 (EXCEPTION_TESTS): Likewise.
18470 * math/libm-test.inc (test_exceptions): Only test exceptions if
18471 EXCEPTION_TESTS (FLOAT).
18473 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18475 * benchtests/Makefile (string-bench): Add strcpy_chk and
18477 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18478 * benchtests/bench-stpcpy_chk.c: New file.
18479 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18480 * benchtests/bench-strcpy_chk.c: New file.
18481 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18483 (do_test): Likewise.
18485 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18487 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18488 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18489 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18490 with tabs where appropriate.
18491 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18493 [PPC_PLATFORM_PPC440]: Likewise.
18494 [PPC_PLATFORM_PPC464]: Likewise.
18495 [PPC_PLATFORM_PPC476]: Likewise.
18496 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18497 ppc464, and ppc476 platform strings merging from ports/
18500 2013-06-11 Andreas Schwab <schwab@suse.de>
18503 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18504 (from_ucs4_idx): Regenerate.
18505 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18506 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18507 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18508 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18509 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18510 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18511 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18512 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18513 from FROM_LOOP and TO_LOOP specific macros.
18514 (BODY): Handle combining characters.
18515 * iconvdata/BIG5HKSCS.irreversible: Update.
18516 * iconvdata/BIG5HKSCS.precomposed: New file.
18517 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18519 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18521 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18523 * include/sys/time.h: Fix indentation and add copyright header.
18525 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18526 (do_test): Likewise.
18527 * string/test-memchr.c (do_one_test): Likewise.
18528 (do_test): Likewise.
18529 * string/test-memcmp.c (do_one_test): Likewise.
18530 (do_test): Likewise.
18531 * string/test-memcpy.c (do_one_test): Likewise.
18532 (do_test): Likewise.
18533 * string/test-memmem.c (do_one_test): Likewise.
18534 (do_test): Likewise.
18535 (do_random_tests): Likewise.
18536 * string/test-memmove.c (do_one_test): Likewise.
18537 (do_test): Likewise.
18538 * string/test-memset.c (do_one_test): Likewise.
18539 (do_test): Likewise.
18540 * string/test-rawmemchr.c (do_one_test): Likewise.
18541 (do_test): Likewise.
18542 * string/test-strcasecmp.c (do_one_test): Likewise.
18543 (do_test): Likewise.
18544 * string/test-strcasestr.c (do_one_test): Likewise.
18545 (do_test): Likewise.
18546 * string/test-strcat.c (do_one_test): Likewise.
18547 (do_test): Likewise.
18548 * string/test-strchr.c (do_one_test): Likewise.
18549 (do_test): Likewise.
18550 * string/test-strcmp.c (do_one_test): Likewise.
18551 (do_test): Likewise.
18552 * string/test-strcpy.c (do_one_test): Likewise.
18553 (do_test): Likewise.
18554 * string/test-string.h: Likewise.
18555 (test_init): Likewise.
18556 * string/test-strlen.c (do_one_test): Likewise.
18557 (do_test): Likewise.
18558 * string/test-strncasecmp.c (do_one_test): Likewise.
18559 (do_test): Likewise.
18560 * string/test-strncat.c (do_one_test): Likewise.
18561 (do_test): Likewise.
18562 * string/test-strncmp.c (do_one_test): Likewise.
18563 (do_test_limit): Likewise.
18564 (do_test): Likewise.
18565 * string/test-strncpy.c (do_one_test): Likewise.
18566 (do_test): Likewise.
18567 * string/test-strnlen.c (do_one_test): Likewise.
18568 (do_test): Likewise.
18569 * string/test-strpbrk.c (do_one_test): Likewise.
18570 (do_test): Likewise.
18571 * string/test-strrchr.c (do_one_test): Likewise.
18572 (do_test): Likewise.
18573 * string/test-strspn.c (do_one_test): Likewise.
18574 (do_test): Likewise.
18575 * string/test-strstr.c (do_one_test): Likewise.
18576 (do_test): Likewise.
18578 * benchtests/Makefile (string-bench): Add string benchmarks.
18579 * benchtests/bench-bcopy-ifunc.c: New file.
18580 * benchtests/bench-bcopy.c: New file.
18581 * benchtests/bench-bzero-ifunc.c: New file.
18582 * benchtests/bench-bzero.c: New file.
18583 * benchtests/bench-memccpy-ifunc.c: New file.
18584 * benchtests/bench-memccpy.c: New file.
18585 * benchtests/bench-memchr-ifunc.c: New file.
18586 * benchtests/bench-memchr.c: New file.
18587 * benchtests/bench-memcmp-ifunc.c: New file.
18588 * benchtests/bench-memcmp.c: New file.
18589 * benchtests/bench-memmem-ifunc.c: New file.
18590 * benchtests/bench-memmem.c: New file.
18591 * benchtests/bench-memmove-ifunc.c: New file.
18592 * benchtests/bench-memmove.c: New file.
18593 * benchtests/bench-mempcpy-ifunc.c: New file.
18594 * benchtests/bench-mempcpy.c: New file.
18595 * benchtests/bench-memset-ifunc.c: New file.
18596 * benchtests/bench-memset.c: New file.
18597 * benchtests/bench-rawmemchr-ifunc.c: New file.
18598 * benchtests/bench-rawmemchr.c: New file.
18599 * benchtests/bench-stpcpy-ifunc.c: New file.
18600 * benchtests/bench-stpcpy.c: New file.
18601 * benchtests/bench-stpncpy-ifunc.c: New file.
18602 * benchtests/bench-stpncpy.c: New file.
18603 * benchtests/bench-strcasecmp-ifunc.c: New file.
18604 * benchtests/bench-strcasecmp.c: New file.
18605 * benchtests/bench-strcasestr-ifunc.c: New file.
18606 * benchtests/bench-strcasestr.c: New file.
18607 * benchtests/bench-strcat-ifunc.c: New file.
18608 * benchtests/bench-strcat.c: New file.
18609 * benchtests/bench-strchr-ifunc.c: New file.
18610 * benchtests/bench-strchr.c: New file.
18611 * benchtests/bench-strchrnul-ifunc.c: New file.
18612 * benchtests/bench-strchrnul.c: New file.
18613 * benchtests/bench-strcmp-ifunc.c: New file.
18614 * benchtests/bench-strcmp.c: New file.
18615 * benchtests/bench-strcpy-ifunc.c: New file.
18616 * benchtests/bench-strcpy.c: New file.
18617 * benchtests/bench-strcspn-ifunc.c: New file.
18618 * benchtests/bench-strcspn.c: New file.
18619 * benchtests/bench-strlen-ifunc.c: New file.
18620 * benchtests/bench-strlen.c: New file.
18621 * benchtests/bench-strncasecmp-ifunc.c: New file.
18622 * benchtests/bench-strncasecmp.c: New file.
18623 * benchtests/bench-strncat-ifunc.c: New file.
18624 * benchtests/bench-strncat.c: New file.
18625 * benchtests/bench-strncmp-ifunc.c: New file.
18626 * benchtests/bench-strncmp.c: New file.
18627 * benchtests/bench-strncpy-ifunc.c: New file.
18628 * benchtests/bench-strncpy.c: New file.
18629 * benchtests/bench-strnlen-ifunc.c: New file.
18630 * benchtests/bench-strnlen.c: New file.
18631 * benchtests/bench-strpbrk-ifunc.c: New file.
18632 * benchtests/bench-strpbrk.c: New file.
18633 * benchtests/bench-strrchr-ifunc.c: New file.
18634 * benchtests/bench-strrchr.c: New file.
18635 * benchtests/bench-strspn-ifunc.c: New file.
18636 * benchtests/bench-strspn.c: New file.
18637 * benchtests/bench-strstr-ifunc.c: New file.
18638 * benchtests/bench-strstr.c: New file.
18640 * benchtests/Makefile: Disable parallel execution of targets.
18641 (string-bench): Add memcpy.
18642 (benchset): New variable to store a list of benchmark sets.
18643 (bench-func): Renamed from bench.
18644 (bench-set): New target.
18645 (bench): Depend on bench-func and bench-set.
18646 * benchtests/README: Add section on benchmark sets.
18647 * benchtests/bench-memcpy-ifunc.c: New file.
18648 * benchtests/bench-memcpy.c: New file.
18649 * benchtests/bench-string.h: New file.
18651 2013-06-11 Andreas Schwab <schwab@suse.de>
18654 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18655 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18656 values in the triple.
18657 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18658 terminator in the group key.
18660 2013-06-11 Andreas Jaeger <aj@suse.de>
18662 * po/zh_TW.po: Update Chinese (traditional) translation from
18663 translation project.
18665 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18667 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18668 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18669 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18671 (clock_getcpuclockid): Likewise.
18672 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18673 Add weak_alias and libc_hidden_def.
18674 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18675 * rt/clock_gettime.c (clock_gettime): Rename to
18676 __clock_gettime. Add weak_alias and libc_hidden_def.
18677 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18678 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18679 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18680 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18681 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18683 * rt/clock_settime.c (clock_settime): Rename to
18684 __clock_settime. Add weak_alias and libc_hidden_def.
18685 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18687 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18689 * mach/err_boot.sub: Remove trailing whitespace.
18690 * mach/err_ipc.sub: Likewise.
18691 * mach/err_mach.sub: Likewise.
18693 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18694 (ROUNDING_TESTS_double): Likewise.
18695 (ROUNDING_TESTS_long_double): Likewise.
18696 (ROUNDING_TESTS): Likewise.
18697 * math/libm-test.inc: Include <math-tests.h>.
18698 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18699 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18700 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18701 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18703 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18705 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18708 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18710 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18711 otherwise empty TRANS lines.
18712 * sysdeps/gnu/errlist.c: Regenerated.
18714 * catgets/gencat.c (error_print): Use (void) in function
18716 * crypt/crypt_util.c (__init_des): Likewise.
18717 * crypt/speeds.c (Stop): Likewise.
18719 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18720 * inet/ruserpass.c (token): Likewise.
18721 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18722 * intl/localealias.c (extend_alias_table): Likewise.
18723 * intl/plural-exp.c (init_germanic_plural): Likewise.
18724 * libio/fcloseall.c (__fcloseall): Likewise.
18725 * libio/genops.c (_IO_flush_all): Likewise.
18726 (_IO_flush_all_linebuffered): Likewise.
18727 (_IO_cleanup): Likewise.
18728 (_IO_iter_begin): Likewise.
18729 (_IO_iter_end): Likewise.
18730 (_IO_list_lock): Likewise.
18731 (_IO_list_unlock): Likewise.
18732 (_IO_list_resetlock): Likewise.
18733 * libio/getchar.c (getchar): Likewise.
18734 * libio/getchar_u.c (getchar_unlocked): Likewise.
18735 * libio/getwchar.c (getwchar): Likewise.
18736 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18737 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18738 * login/getpt.c (__getpt): Likewise.
18739 * login/tst-utmp.c (main): Likewise.
18740 * malloc/hooks.c (__malloc_check_init): Likewise.
18741 * malloc/malloc.c (__malloc_stats): Likewise.
18742 * malloc/mtrace.c (tr_break): Likewise.
18743 (mtrace): Likewise.
18744 (muntrace): Likewise.
18745 * misc/fstab.c (endfsent): Likewise.
18746 * misc/getclktck.c (__getclktck): Likewise.
18747 * misc/getdtsz.c (__getdtablesize): Likewise.
18748 * misc/gethostid.c (gethostid): Likewise.
18749 * misc/getpagesize.c (__getpagesize): Likewise.
18750 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18751 (__get_nprocs): Likewise.
18752 (__get_phys_pages): Likewise.
18753 (__get_avphys_pages): Likewise.
18754 * misc/getttyent.c (getttyent): Likewise.
18755 (setttyent): Likewise.
18756 (endttyent): Likewise.
18757 * misc/getusershell.c (getusershell): Likewise.
18758 (endusershell): Likewise.
18759 (setusershell): Likewise.
18760 (initshells): Likewise.
18761 * misc/hsearch.c (__hdestroy): Likewise.
18762 * misc/sync.c (sync): Likewise.
18763 * misc/syslog.c (closelog_internal): Likewise.
18764 (closelog): Likewise.
18765 * misc/ttyslot.c (ttyslot): Likewise.
18766 * misc/vhangup.c (vhangup): Likewise.
18767 * posix/fork.c (__fork): Likewise.
18768 * posix/getegid.c (__getegid): Likewise.
18769 * posix/geteuid.c (__geteuid): Likewise.
18770 * posix/getgid.c (__getgid): Likewise.
18771 * posix/getpid.c (__getpid): Likewise.
18772 * posix/getppid.c (__getppid): Likewise.
18773 * posix/getuid.c (__getuid): Likewise.
18774 * posix/pause.c (pause): Likewise.
18775 * posix/setpgrp.c (setpgrp): Likewise.
18776 * posix/setsid.c (__setsid): Likewise.
18777 * posix/test-vfork.c (noop): Likewise.
18778 * resolv/gethnamaddr.c (_endhtent): Likewise.
18779 (_gethtent): Likewise.
18780 (ht_endhostent): Likewise.
18781 (gethostent): Likewise.
18782 (dns_service): Likewise.
18783 * stdlib/drand48.c (drand48): Likewise.
18784 * stdlib/lrand48.c (lrand48): Likewise.
18785 * stdlib/mrand48.c (mrand48): Likewise.
18786 * stdlib/rand.c (rand): Likewise.
18787 * stdlib/random.c (__random): Likewise.
18788 * stdlib/setenv.c (clearenv): Likewise.
18789 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18790 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18791 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18792 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18793 (__get_nprocs): Likewise.
18794 (__get_phys_pages): Likewise.
18795 (__get_avphys_pages): Likewise.
18796 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18797 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18798 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18799 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18800 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18801 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18802 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18803 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18804 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18805 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18806 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18807 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18808 * sysdeps/posix/clock.c (clock): Likewise.
18809 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18810 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18811 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18812 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18813 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18815 (__get_nprocs_conf): Likewise.
18816 (__get_phys_pages): Likewise.
18817 (__get_avphys_pages): Likewise.
18818 * time/clock.c (clock): Likewise.
18819 * time/tzset.c (__tzname_max): Likewise.
18821 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18823 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18824 (__bswap_32): Do not use "register".
18825 * crypt/crypt.c (_ufc_doit_r): Likewise.
18826 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18827 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18828 * gmon/gmon.c (__monstartup): Likewise.
18829 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18830 * hurd/hurdmalloc.c (more_memory): Likewise.
18831 (malloc): Likewise.
18833 (realloc): Likewise.
18834 (malloc_fork_prepare): Likewise.
18835 (malloc_fork_parent): Likewise.
18836 (malloc_fork_child): Likewise.
18837 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18838 (_svcauth_des): Likewise.
18839 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18840 * inet/inet_net.c (inet_network): Likewise.
18841 * inet/inet_netof.c (inet_netof): Likewise.
18842 * inet/rcmd.c (__validuser2_sa): Likewise.
18843 * io/fts.c (fts_open): Likewise.
18844 (fts_load): Likewise.
18845 (fts_close): Likewise.
18846 (fts_read): Likewise.
18847 (fts_children): Likewise.
18848 (fts_build): Likewise.
18849 (fts_stat): Likewise.
18850 (fts_sort): Likewise.
18851 (fts_alloc): Likewise.
18852 (fts_lfree): Likewise.
18853 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18854 (_IO_file_xsgetn): Likewise.
18855 (_IO_file_xsgetn_mmap): Likewise.
18856 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18857 (_IO_cookie_write): Likewise.
18858 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18859 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18860 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18861 * malloc/obstack.c (_obstack_begin): Likewise.
18862 (_obstack_begin_1): Likewise.
18863 (_obstack_newchunk): Likewise.
18864 (_obstack_allocated_p): Likewise.
18865 (obstack_free): Likewise.
18866 (_obstack_memory_used): Likewise.
18867 * misc/getttyent.c (getttynam): Likewise.
18868 (getttyent): Likewise.
18871 * misc/getusershell.c (initshells): Likewise.
18872 * misc/syslog.c (__vsyslog_chk): Likewise.
18873 * misc/ttyslot.c (ttyslot): Likewise.
18874 * nis/nis_hash.c (__nis_hash): Likewise.
18875 * posix/fnmatch_loop.c (FCT): Likewise.
18876 * posix/getconf.c (print_all): Likewise.
18878 * posix/getopt.c (exchange): Likewise.
18879 * posix/glob.c (globfree): Likewise.
18880 (prefix_array): Likewise.
18881 (__glob_pattern_type): Likewise.
18882 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18883 (NS_GET32): Likewise.
18884 (NS_PUT16): Likewise.
18885 (NS_PUT32): Likewise.
18886 * resolv/gethnamaddr.c (getanswer): Likewise.
18887 (gethostbyname2): Likewise.
18888 (gethostbyaddr): Likewise.
18889 (_gethtent): Likewise.
18890 (_gethtbyname2): Likewise.
18891 (_gethtbyaddr): Likewise.
18892 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18893 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18894 * resolv/res_init.c (__res_vinit): Likewise.
18895 (net_mask): Likewise.
18896 * resolv/res_mkquery.c (outchar): Likewise.
18898 * stdio-common/printf_fp.c (outchar): Likewise.
18900 * stdio-common/printf_fphex.c (outchar): Likewise.
18902 * stdio-common/printf_size.c (outchar): Likewise.
18904 * stdio-common/test_rdwr.c (main): Likewise.
18905 * stdio-common/tfformat.c (matches): Likewise.
18906 * stdio-common/vfprintf.c (outchar): Likewise.
18907 (printf_unknown): Likewise.
18908 (buffered_vfprintf): Likewise.
18909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18910 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18911 (ReadFile): Likewise.
18912 * stdlib/qsort.c (SWAP): Likewise.
18913 (_quicksort): Likewise.
18914 * stdlib/setenv.c (__add_to_environ): Likewise.
18915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18916 * stdlib/strtol_l.c (__strtol_l): Likewise.
18917 * stdlib/tst-strtod.c (main): Likewise.
18918 * stdlib/tst-strtol.c (main): Likewise.
18919 * stdlib/tst-strtoll.c (main): Likewise.
18920 * string/bits/string2.h (__strcmp_cc): Likewise.
18921 (__strcmp_cg): Likewise.
18922 (__strcspn_c1): Likewise.
18923 (__strcspn_c2): Likewise.
18924 (__strcspn_c3): Likewise.
18925 (__strspn_c1): Likewise.
18926 (__strspn_c2): Likewise.
18927 (__strspn_c3): Likewise.
18928 (__strsep_1c): Likewise.
18929 (__strsep_2c): Likewise.
18930 (__strsep_3c): Likewise.
18931 * string/memccpy.c (__memccpy): Likewise.
18932 * string/stpcpy.c (__stpcpy): Likewise.
18933 * string/strcmp.c (strcmp): Likewise.
18934 * string/strrchr.c (strrchr): Likewise.
18935 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18937 * sysdeps/mach/hurd/getcwd.c
18938 (_hurd_canonicalize_directory_name_internal): Likewise.
18939 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18940 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18941 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18942 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18943 Likewise, in both definitions.
18944 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18946 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18947 64] (__bswap_64): Likewise.
18948 * time/test_time.c (main): Likewise.
18949 * time/tzfile.c (__tzfile_read): Likewise.
18950 (__tzfile_compute): Likewise.
18951 * time/tzset.c (__tzset_parse_tz): Likewise.
18952 (tzset_internal): Likewise.
18953 (compute_change): Likewise.
18954 * wcsmbs/wcscat.c (__wcscat): Likewise.
18955 * wcsmbs/wcschr.c (wcschr): Likewise.
18956 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18957 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18958 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18959 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18960 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18961 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18962 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18963 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18964 * wcsmbs/wmemset.c (wmemset): Likewise.
18966 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18968 * scripts/config.guess: Update to version 2013-05-16.
18969 * scripts/config.sub: Update to version 2013-04-24.
18970 * scripts/install-sh: Update to version 2011-11-20.07.
18971 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18972 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18974 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18976 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18977 * elf/sln.c: Likewise.
18978 * hurd/hurd/ioctl.h: Likewise.
18979 * hurd/hurdmalloc.c: Likewise.
18980 * hurd/xattr.c: Likewise.
18981 * include/shlib-compat.h: Likewise.
18982 * inet/ruserpass.c: Likewise.
18983 * libio/iofgets_u.c: Likewise.
18984 * libio/iofgetws_u.c: Likewise.
18985 * locale/programs/ld-identification.c: Likewise.
18986 * locale/programs/ld-time.c: Likewise.
18987 * mach/msg-destroy.c: Likewise.
18988 * nss/nss_files/files-netgrp.c: Likewise.
18989 * resolv/res_data.c: Likewise.
18990 * soft-fp/op-1.h: Likewise.
18991 * soft-fp/op-2.h: Likewise.
18992 * soft-fp/op-4.h: Likewise.
18993 * soft-fp/op-common.h: Likewise.
18994 * stdio-common/printf_fphex.c: Likewise.
18995 * stdlib/strtod_l.c: Likewise.
18996 * sunrpc/rpc/clnt.h: Likewise.
18997 * sysdeps/generic/framestate.c: Likewise.
18998 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18999 * sysdeps/i386/bsd-setjmp.S: Likewise.
19000 * sysdeps/i386/__longjmp.S: Likewise.
19001 * sysdeps/i386/setjmp.S: Likewise.
19002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19003 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19020 * sysdeps/ieee754/support.c: Likewise.
19021 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19022 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19023 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19024 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19025 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19026 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19027 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19028 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19029 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19030 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19031 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19032 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19033 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19034 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19035 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19036 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19037 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19040 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19042 * posix/transbug.c: Remove executable mode.
19044 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19046 * crypt/speeds.c: Remove trailing whitespace.
19047 * dlfcn/default.c: Likewise.
19048 * elf/ifuncdep2.c: Likewise.
19049 * elf/ifuncmain1.c: Likewise.
19050 * elf/ifuncmain1vis.c: Likewise.
19051 * elf/testobj.h: Likewise.
19052 * elf/tst-stackguard1.c: Likewise.
19053 * gmon/sys/gmon.h: Likewise.
19054 * hurd/hurdmsg.c: Likewise.
19055 * hurd/new-fd.c: Likewise.
19056 * hurd/ports-get.c: Likewise.
19057 * iconvdata/ibm1008_420.c: Likewise.
19058 * inet/tst-getni1.c: Likewise.
19059 * inet/tst-getni2.c: Likewise.
19060 * libio/ioungetc.c: Likewise.
19061 * libio/wfiledoalloc.c: Likewise.
19062 * manual/libm-err-tab.pl: Likewise.
19063 * math/w_dremf.c: Likewise.
19064 * misc/ftruncate.c: Likewise.
19065 * posix/bug-glob2.c: Likewise.
19066 * posix/tst-pcre.c: Likewise.
19067 * posix/wait4.c: Likewise.
19068 * resolv/README: Likewise.
19069 * resolv/res_debug.h: Likewise.
19070 * resolv/tst-inet_ntop.c: Likewise.
19071 * setjmp/bug269-setjmp.c: Likewise.
19072 * soft-fp/extended.h: Likewise.
19073 * soft-fp/op-1.h: Likewise.
19074 * soft-fp/op-2.h: Likewise.
19075 * soft-fp/op-4.h: Likewise.
19076 * soft-fp/op-8.h: Likewise.
19077 * soft-fp/testit.c: Likewise.
19078 * stdio-common/bug16.c: Likewise.
19079 * stdlib/random.c: Likewise.
19080 * sunrpc/rpcsvc/rquota.x: Likewise.
19081 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19086 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19089 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19110 * sysdeps/ieee754/s_lib_version.c: Likewise.
19111 * sysdeps/mach/hurd/check_fds.c: Likewise.
19112 * sysdeps/mach/hurd/getsockname.c: Likewise.
19113 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19114 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19115 * sysdeps/powerpc/bits/link.h: Likewise.
19116 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19117 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19118 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19119 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19120 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19121 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19122 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19123 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19124 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19125 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19126 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19127 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19128 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19129 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19131 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19134 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19135 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19136 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19137 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19139 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19140 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19143 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19144 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19145 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19146 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19150 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19151 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19152 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19153 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19154 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19155 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19156 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19157 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19158 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19159 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19160 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19161 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19162 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19163 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19164 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19165 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19168 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19169 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19170 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19171 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19172 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19173 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19174 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19175 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19176 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19177 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19178 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19179 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19180 * sysdeps/powerpc/sysdep.h: Likewise.
19181 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19182 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19183 * sysdeps/sh/dl-trampoline.S: Likewise.
19184 * sysdeps/sh/memset.S: Likewise.
19185 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19186 * sysdeps/sh/strlen.S: Likewise.
19187 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19188 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19189 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19190 * sysdeps/sparc/sparc32/rem.S: Likewise.
19191 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19192 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19193 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19194 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19195 * sysdeps/sparc/sparc32/urem.S: Likewise.
19196 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19197 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19198 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19199 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19201 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19202 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19203 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19204 * sysdeps/unix/bsd/times.c: Likewise.
19205 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19206 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19211 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19212 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19214 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19216 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19217 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19218 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19219 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19220 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19221 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19222 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19223 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19224 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19225 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19226 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19227 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19228 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19229 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19230 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19233 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19234 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19235 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19236 * sysdeps/x86_64/strcspn.S: Likewise.
19238 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19240 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19241 generated file. Regenerate properly from gen-translit.pl.
19242 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19243 locale/C-translit.h.
19245 2013-06-05 Andreas Schwab <schwab@suse.de>
19248 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19249 week as 6 instead of -1.
19250 * time/tst-strptime.c (day_tests): Add test case.
19252 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19254 * sysdeps/generic/math_private.h
19255 (libc_feholdexcept_setround_53bit): Replace with
19256 libc_feholdsetround_53bit.
19257 (libc_feupdateenv_53bit): Replace with
19258 libc_feresetround_53bit.
19259 (SET_RESTORE_ROUND_53BIT): Adjust.
19261 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19263 * string/test-strchrnul.c: Add copyright header.
19265 * posix/tst-getaddrinfo4.c: Increase test timeout.
19267 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19270 * math/libm-test.inc (MAX_EXP): Remove
19272 (ulp): Use MIN_EXP - MANT_DIG.
19273 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19275 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19277 * po/be.po: Revert last change.
19278 * po/zh_CN.po: Likewise.
19279 * po/header.pot: Likewise.
19281 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19283 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19284 link-libc-deps to empty as target-specific variable.
19285 * Makerules (link-libc-args): New variable.
19286 (libc-for-link): Likewise.
19287 (link-libc-deps): Likewise.
19288 (lib%.so): Depend on $(link-libc-deps). Link with
19290 (build-module): Link with $(link-libc-args).
19291 (build-module-asneeded): Likewise.
19292 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19294 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19295 target-specific variable.
19296 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19297 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19298 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19300 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19302 ($(objpfx)libpcprofile.so): Likewise.
19303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19305 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19306 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19309 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19310 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19311 * login/Makefile ($(objpfx)libutil.so): Likewise.
19312 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19313 * math/Makefile ($(objpfx)libm.so): Likewise.
19314 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19315 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19316 variable instead of depending directly on libc.
19317 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19318 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19320 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19322 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19323 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19324 ($(objpfx)libanl.so): Likewise.
19325 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19327 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19329 * sysdeps/i386/fpu/Makefile: Remove file.
19330 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19331 ($(objpfx)libm.so): Remove dependency on ld.so.
19333 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19336 * nis/yp_xdr.c (XDRMAXNAME): Define.
19337 (XDRMAXRECORD): Define.
19338 (xdr_domainname): Use XDRMAXNAME.
19339 (xdr_mapname): Likewise.
19340 (xdr_peername): Likewise.
19341 (xdr_keydat): Use XDRMAXRECORD.
19342 (xdr_valdat): Likewise.
19344 2013-05-30 Jeff Law <law@redhat.com>
19347 * manual/errno.texi (ESTALE): Update to account for more than
19348 just NFS file systems.
19349 * sysdeps/gnu/errlist.c: Regenerated.
19351 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19354 * elf/Makefile (tests): Add tst-null-argv.
19355 (modules-names): Add tst-null-argv-lib.
19356 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19357 (tst-null-argv-ENV): Set environment for tst-null-argv.
19358 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19359 (RTLD_PROGNAME): New macro.
19360 * elf/tst-null-argv.c: New test case.
19361 * elf/tst-null-argv-lib.c: Library for test case.
19362 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19363 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19364 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19365 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19366 * elf/dl-init.c (call_init): Likewise.
19367 (_dl_init): Likewise.
19368 * elf/dl-load.c (print_search_path): Likewise.
19369 (_dl_map_object): Likewise.
19370 * elf/dl-lookup.c (do_lookup_x): Likewise.
19371 (add_dependency): Likewise.
19372 (_dl_lookup_symbol_x): Likewise.
19373 (_dl_debug_bindings): Likewise.
19374 * elf/dl-open.c (_dl_show_scope): Likewise.
19375 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19376 * elf/dl-version.c (match_symbol): Likewise.
19377 (_dl_check_map_versions): Likewise.
19378 * elf/rtld.c (dl_main): Likewise.
19379 (print_unresolved): Use RTLD_PROGNAME.
19380 (print_missing_version): Likewise.
19381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19382 (elf_machine_rela): Likewise.
19383 * sysdeps/powerpc/powerpc32/dl-machine.c
19384 (__process_machine_rela): Likewise.
19385 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19391 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19398 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19400 * po/be.po: Add descriptive title.
19401 * po/zh_CN.po: Likewise.
19402 * po/header.pot: Likewise.
19404 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19406 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19408 (enlarge_archive): Likewise.
19410 2013-05-28 Ben North <ben@redfrontdoor.org>
19412 * manual/arith.texi (frexp): It is the magnitude of the return
19413 value which lies in [0.5, 1), not the return value itself.
19415 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19419 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19421 * stdio-common/bug26.c (main): Correct fscanf template.
19423 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19424 declare _dl_skip_args.
19426 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19429 * manual/platform.texi: Add missing @end deftypefun.
19431 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19435 bit of mantissa of 2^16382.
19436 * math/libm-test.inc (hypot_test_data): Add more tests.
19438 * math/libm-test.inc: Add drem and pow10 to list of tested
19440 (pow10_test): New function.
19441 (drem_test): Likewise.
19442 (drem_test_tonearest): Likewise.
19443 (drem_test_towardzero): Likewise.
19444 (drem_test_downward): Likewise.
19445 (drem_test_upward): Likewise.
19446 (main): Call the new functions.
19448 * math/libm-test.inc (finite_test_data): Remove.
19449 (finite_test): Run tests from isfinite_test_data.
19450 (gamma_test_data): Remove.
19451 (gamma_test): Run tests from lgamma_test_data.
19452 * sysdeps/i386/fpu/libm-test-ulps: Update.
19453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457 * manual/platform.texi: Add PowerPC PPR function set documentation.
19458 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19461 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19463 * math/libm-test.inc (MAX_EXP): Define.
19465 (ulp): New function.
19466 (check_float_internal): Use ULPDIFF.
19467 (cpow_test): Disable failing test.
19468 (check_ulp): Test ulp() implemetnation.
19469 (main): Call check_ulp before starting tests.
19471 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19473 * math/gen-libm-test.pl (generate_testfile): Do not handle
19474 START_DATA and END_DATA.
19475 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19477 (acos_tonearest_test_data): Likewise.
19478 (acos_towardzero_test_data): Likewise.
19479 (acos_downward_test_data): Likewise.
19480 (acos_upward_test_data): Likewise.
19481 (acosh_test_data): Likewise.
19482 (asin_test_data): Likewise.
19483 (asin_tonearest_test_data): Likewise.
19484 (asin_towardzero_test_data): Likewise.
19485 (asin_downward_test_data): Likewise.
19486 (asin_upward_test_data): Likewise.
19487 (asinh_test_data): Likewise.
19488 (atan_test_data): Likewise.
19489 (atanh_test_data): Likewise.
19490 (atan2_test_data): Likewise.
19491 (cabs_test_data): Likewise.
19492 (cacos_test_data): Likewise.
19493 (cacosh_test_data): Likewise.
19494 (carg_test_data): Likewise.
19495 (casin_test_data): Likewise.
19496 (casinh_test_data): Likewise.
19497 (catan_test_data): Likewise.
19498 (catanh_test_data): Likewise.
19499 (cbrt_test_data): Likewise.
19500 (ccos_test_data): Likewise.
19501 (ccosh_test_data): Likewise.
19502 (ceil_test_data): Likewise.
19503 (cexp_test_data): Likewise.
19504 (cimag_test_data): Likewise.
19505 (clog_test_data): Likewise.
19506 (clog10_test_data): Likewise.
19507 (conj_test_data): Likewise.
19508 (copysign_test_data): Likewise.
19509 (cos_test_data): Likewise.
19510 (cos_tonearest_test_data): Likewise.
19511 (cos_towardzero_test_data): Likewise.
19512 (cos_downward_test_data): Likewise.
19513 (cos_upward_test_data): Likewise.
19514 (cosh_test_data): Likewise.
19515 (cosh_tonearest_test_data): Likewise.
19516 (cosh_towardzero_test_data): Likewise.
19517 (cosh_downward_test_data): Likewise.
19518 (cosh_upward_test_data): Likewise.
19519 (cpow_test_data): Likewise.
19520 (cproj_test_data): Likewise.
19521 (creal_test_data): Likewise.
19522 (csin_test_data): Likewise.
19523 (csinh_test_data): Likewise.
19524 (csqrt_test_data): Likewise.
19525 (ctan_test_data): Likewise.
19526 (ctan_tonearest_test_data): Likewise.
19527 (ctan_towardzero_test_data): Likewise.
19528 (ctan_downward_test_data): Likewise.
19529 (ctan_upward_test_data): Likewise.
19530 (ctanh_test_data): Likewise.
19531 (ctanh_tonearest_test_data): Likewise.
19532 (ctanh_towardzero_test_data): Likewise.
19533 (ctanh_downward_test_data): Likewise.
19534 (ctanh_upward_test_data): Likewise.
19535 (erf_test_data): Likewise.
19536 (erfc_test_data): Likewise.
19537 (exp_test_data): Likewise.
19538 (exp_tonearest_test_data): Likewise.
19539 (exp_towardzero_test_data): Likewise.
19540 (exp_downward_test_data): Likewise.
19541 (exp_upward_test_data): Likewise.
19542 (exp10_test_data): Likewise.
19543 (exp2_test_data): Likewise.
19544 (expm1_test_data): Likewise.
19545 (fabs_test_data): Likewise.
19546 (fdim_test_data): Likewise.
19547 (finite_test_data): Likewise.
19548 (floor_test_data): Likewise.
19549 (fma_test_data): Likewise.
19550 (fma_towardzero_test_data): Likewise.
19551 (fma_downward_test_data): Likewise.
19552 (fma_upward_test_data): Likewise.
19553 (fmax_test_data): Likewise.
19554 (fmin_test_data): Likewise.
19555 (fmod_test_data): Likewise.
19556 (fpclassify_test_data): Likewise.
19557 (frexp_test_data): Likewise.
19558 (gamma_test_data): Likewise.
19559 (hypot_test_data): Likewise.
19560 (ilogb_test_data): Likewise.
19561 (isfinite_test_data): Likewise.
19562 (isgreater_test_data): Likewise.
19563 (isgreaterequal_test_data): Likewise.
19564 (isinf_test_data): Likewise.
19565 (isless_test_data): Likewise.
19566 (islessequal_test_data): Likewise.
19567 (islessgreater_test_data): Likewise.
19568 (isnan_test_data): Likewise.
19569 (isnormal_test_data): Likewise.
19570 (issignaling_test_data): Likewise.
19571 (isunordered_test_data): Likewise.
19572 (j0_test_data): Likewise.
19573 (j1_test_data): Likewise.
19574 (jn_test_data): Likewise.
19575 (ldexp_test_data): Likewise.
19576 (lgamma_test_data): Likewise.
19577 (lrint_test_data): Likewise.
19578 (lrint_tonearest_test_data): Likewise.
19579 (lrint_towardzero_test_data): Likewise.
19580 (lrint_downward_test_data): Likewise.
19581 (lrint_upward_test_data): Likewise.
19582 (llrint_test_data): Likewise.
19583 (llrint_tonearest_test_data): Likewise.
19584 (llrint_towardzero_test_data): Likewise.
19585 (llrint_downward_test_data): Likewise.
19586 (llrint_upward_test_data): Likewise.
19587 (log_test_data): Likewise.
19588 (log10_test_data): Likewise.
19589 (log1p_test_data): Likewise.
19590 (log2_test_data): Likewise.
19591 (logb_test_data): Likewise.
19592 (logb_downward_test_data): Likewise.
19593 (lround_test_data): Likewise.
19594 (llround_test_data): Likewise.
19595 (modf_test_data): Likewise.
19596 (nearbyint_test_data): Likewise.
19597 (nextafter_test_data): Likewise.
19598 (nexttoward_test_data): Likewise.
19599 (pow_test_data): Likewise.
19600 (pow_tonearest_test_data): Likewise.
19601 (pow_towardzero_test_data): Likewise.
19602 (pow_downward_test_data): Likewise.
19603 (pow_upward_test_data): Likewise.
19604 (remainder_test_data): Likewise.
19605 (remainder_tonearest_test_data): Likewise.
19606 (remainder_towardzero_test_data): Likewise.
19607 (remainder_downward_test_data): Likewise.
19608 (remainder_upward_test_data): Likewise.
19609 (remquo_test_data): Likewise.
19610 (rint_test_data): Likewise.
19611 (rint_tonearest_test_data): Likewise.
19612 (rint_towardzero_test_data): Likewise.
19613 (rint_downward_test_data): Likewise.
19614 (rint_upward_test_data): Likewise.
19615 (round_test_data): Likewise.
19616 (scalb_test_data): Likewise.
19617 (scalbn_test_data): Likewise.
19618 (scalbln_test_data): Likewise.
19619 (signbit_test_data): Likewise.
19620 (sin_test_data): Likewise.
19621 (sin_tonearest_test_data): Likewise.
19622 (sin_towardzero_test_data): Likewise.
19623 (sin_downward_test_data): Likewise.
19624 (sin_upward_test_data): Likewise.
19625 (sincos_test_data): Likewise.
19626 (sinh_test_data): Likewise.
19627 (sinh_tonearest_test_data): Likewise.
19628 (sinh_towardzero_test_data): Likewise.
19629 (sinh_downward_test_data): Likewise.
19630 (sinh_upward_test_data): Likewise.
19631 (sqrt_test_data): Likewise.
19632 (tan_test_data): Likewise.
19633 (tan_tonearest_test_data): Likewise.
19634 (tan_towardzero_test_data): Likewise.
19635 (tan_downward_test_data): Likewise.
19636 (tan_upward_test_data): Likewise.
19637 (tanh_test_data): Likewise.
19638 (tgamma_test_data): Likewise.
19639 (trunc_test_data): Likewise.
19640 (y0_test_data): Likewise.
19641 (y1_test_data): Likewise.
19642 (yn_test_data): Likewise.
19643 (significand_test_data): Likewise.
19645 * math/gen-libm-test.pl (@functions): Remove variable.
19646 (generate_testfile): Don't handle START and END lines.
19647 * math/libm-test.inc (START): New macro.
19649 (END_COMPLEX): Likewise.
19650 (acos_test): Use END macro without arguments.
19651 (acos_test_tonearest): Likewise.
19652 (acos_test_towardzero): Likewise.
19653 (acos_test_downward): Likewise.
19654 (acos_test_upward): Likewise.
19655 (acosh_test): Likewise.
19656 (asin_test): Likewise.
19657 (asin_test_tonearest): Likewise.
19658 (asin_test_towardzero): Likewise.
19659 (asin_test_downward): Likewise.
19660 (asin_test_upward): Likewise.
19661 (asinh_test): Likewise.
19662 (atan_test): Likewise.
19663 (atanh_test): Likewise.
19664 (atan2_test): Likewise.
19665 (cabs_test): Likewise.
19666 (cacos_test): Use END_COMPLEX macro without arguments.
19667 (cacosh_test): Likewise.
19668 (carg_test): Use END macro without arguments.
19669 (casin_test): Use END_COMPLEX macro without arguments.
19670 (casinh_test): Likewise.
19671 (catan_test): Likewise.
19672 (catanh_test): Likewise.
19673 (cbrt_test): Use END macro without arguments.
19674 (ccos_test): Use END_COMPLEX macro without arguments.
19675 (ccosh_test): Likewise.
19676 (ceil_test): Use END macro without arguments.
19677 (cexp_test): Use END_COMPLEX macro without arguments.
19678 (cimag_test): Use END macro without arguments.
19679 (clog_test): Use END_COMPLEX macro without arguments.
19680 (clog10_test): Likewise.
19681 (conj_test): Likewise.
19682 (copysign_test): Use END macro without arguments.
19683 (cos_test): Likewise.
19684 (cos_test_tonearest): Likewise.
19685 (cos_test_towardzero): Likewise.
19686 (cos_test_downward): Likewise.
19687 (cos_test_upward): Likewise.
19688 (cosh_test): Likewise.
19689 (cosh_test_tonearest): Likewise.
19690 (cosh_test_towardzero): Likewise.
19691 (cosh_test_downward): Likewise.
19692 (cosh_test_upward): Likewise.
19693 (cpow_test): Use END_COMPLEX macro without arguments.
19694 (cproj_test): Likewise.
19695 (creal_test): Use END macro without arguments.
19696 (csin_test): Use END_COMPLEX macro without arguments.
19697 (csinh_test): Likewise.
19698 (csqrt_test): Likewise.
19699 (ctan_test): Likewise.
19700 (ctan_test_tonearest): Likewise.
19701 (ctan_test_towardzero): Likewise.
19702 (ctan_test_downward): Likewise.
19703 (ctan_test_upward): Likewise.
19704 (ctanh_test): Likewise.
19705 (ctanh_test_tonearest): Likewise.
19706 (ctanh_test_towardzero): Likewise.
19707 (ctanh_test_downward): Likewise.
19708 (ctanh_test_upward): Likewise.
19709 (erf_test): Use END macro without arguments.
19710 (erfc_test): Likewise.
19711 (exp_test): Likewise.
19712 (exp_test_tonearest): Likewise.
19713 (exp_test_towardzero): Likewise.
19714 (exp_test_downward): Likewise.
19715 (exp_test_upward): Likewise.
19716 (exp10_test): Likewise.
19717 (exp2_test): Likewise.
19718 (expm1_test): Likewise.
19719 (fabs_test): Likewise.
19720 (fdim_test): Likewise.
19721 (finite_test): Likewise.
19722 (floor_test): Likewise.
19723 (fma_test): Likewise.
19724 (fma_test_towardzero): Likewise.
19725 (fma_test_downward): Likewise.
19726 (fma_test_upward): Likewise.
19727 (fmax_test): Likewise.
19728 (fmin_test): Likewise.
19729 (fmod_test): Likewise.
19730 (fpclassify_test): Likewise.
19731 (frexp_test): Likewise.
19732 (gamma_test): Likewise.
19733 (hypot_test): Likewise.
19734 (ilogb_test): Likewise.
19735 (isfinite_test): Likewise.
19736 (isgreater_test): Likewise.
19737 (isgreaterequal_test): Likewise.
19738 (isinf_test): Likewise.
19739 (isless_test): Likewise.
19740 (islessequal_test): Likewise.
19741 (islessgreater_test): Likewise.
19742 (isnan_test): Likewise.
19743 (isnormal_test): Likewise.
19744 (issignaling_test): Likewise.
19745 (isunordered_test): Likewise.
19746 (j0_test): Likewise.
19747 (j1_test): Likewise.
19748 (jn_test): Likewise.
19749 (ldexp_test): Likewise.
19750 (lgamma_test): Likewise.
19751 (lrint_test): Likewise.
19752 (lrint_test_tonearest): Likewise.
19753 (lrint_test_towardzero): Likewise.
19754 (lrint_test_downward): Likewise.
19755 (lrint_test_upward): Likewise.
19756 (llrint_test): Likewise.
19757 (llrint_test_tonearest): Likewise.
19758 (llrint_test_towardzero): Likewise.
19759 (llrint_test_downward): Likewise.
19760 (llrint_test_upward): Likewise.
19761 (log_test): Likewise.
19762 (log10_test): Likewise.
19763 (log1p_test): Likewise.
19764 (log2_test): Likewise.
19765 (logb_test): Likewise.
19766 (logb_test_downward): Likewise.
19767 (lround_test): Likewise.
19768 (llround_test): Likewise.
19769 (modf_test): Likewise.
19770 (nearbyint_test): Likewise.
19771 (nextafter_test): Likewise.
19772 (nexttoward_test): Likewise.
19773 (pow_test): Likewise.
19774 (pow_test_tonearest): Likewise.
19775 (pow_test_towardzero): Likewise.
19776 (pow_test_downward): Likewise.
19777 (pow_test_upward): Likewise.
19778 (remainder_test): Likewise.
19779 (remainder_test_tonearest): Likewise.
19780 (remainder_test_towardzero): Likewise.
19781 (remainder_test_downward): Likewise.
19782 (remainder_test_upward): Likewise.
19783 (remquo_test): Likewise.
19784 (rint_test): Likewise.
19785 (rint_test_tonearest): Likewise.
19786 (rint_test_towardzero): Likewise.
19787 (rint_test_downward): Likewise.
19788 (rint_test_upward): Likewise.
19789 (round_test): Likewise.
19790 (scalb_test): Likewise.
19791 (scalbn_test): Likewise.
19792 (scalbln_test): Likewise.
19793 (signbit_test): Likewise.
19794 (sin_test): Likewise.
19795 (sin_test_tonearest): Likewise.
19796 (sin_test_towardzero): Likewise.
19797 (sin_test_downward): Likewise.
19798 (sin_test_upward): Likewise.
19799 (sincos_test): Likewise.
19800 (sinh_test): Likewise.
19801 (sinh_test_tonearest): Likewise.
19802 (sinh_test_towardzero): Likewise.
19803 (sinh_test_downward): Likewise.
19804 (sinh_test_upward): Likewise.
19805 (sqrt_test): Likewise.
19806 (tan_test): Likewise.
19807 (tan_test_tonearest): Likewise.
19808 (tan_test_towardzero): Likewise.
19809 (tan_test_downward): Likewise.
19810 (tan_test_upward): Likewise.
19811 (tanh_test): Likewise.
19812 (tgamma_test): Likewise.
19813 (trunc_test): Likewise.
19814 (y0_test): Likewise.
19815 (y1_test): Likewise.
19816 (yn_test): Likewise.
19817 (significand_test): Likewise.
19819 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19822 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19824 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19827 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19828 __ppc_mdoio and __ppc_mdoom.
19829 * manual/platform.texi: Document new functions __ppc_yield,
19830 __ppc_mdoio and __ppc_mdoom.
19832 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19834 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19835 (main): Mention "tls" pseudo-hwcap is legacy.
19836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19838 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19840 * math/gen-libm-test.pl (parse_args): Output only string of
19841 arguments as text for test name, not full call or descriptions of
19842 tests for extra outputs.
19843 (generate_testfile): Do not pass function name to parse_args.
19844 Generate this_func variable from START.
19845 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19847 (struct test_ff_f_data): Likewise.
19848 (test_ff_f_data_nexttoward): Likewise.
19849 (struct test_fi_f_data): Likewise.
19850 (struct test_fl_f_data): Likewise.
19851 (struct test_if_f_data): Likewise.
19852 (struct test_fff_f_data): Likewise.
19853 (struct test_c_f_data): Likewise.
19854 (struct test_f_f1_data): Likewise. Remove field extra_name.
19855 (struct test_fF_f1_data): Likewise.
19856 (struct test_ffI_f1_data): Likewise.
19857 (struct test_c_c_data): Rename test_name field to arg_str.
19858 (struct test_cc_c_data): Likewise.
19859 (struct test_f_i_data): Likewise.
19860 (struct test_ff_i_data): Likewise.
19861 (struct test_f_l_data): Likewise.
19862 (struct test_f_L_data): Likewise.
19863 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19865 (COMMON_TEST_SETUP): New macro.
19866 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19867 (COMMON_TEST_CLEANUP): Likewise.
19868 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19869 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19871 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19872 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19874 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19875 (RUN_TEST_fff_f): Take argument string. Call new setup and
19877 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19878 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19880 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19881 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19883 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19884 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19886 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19887 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19889 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19890 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19892 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19893 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19895 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19896 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19898 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19899 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19901 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19902 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19904 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19905 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19907 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19908 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19910 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19911 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19913 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19914 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19916 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19917 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19919 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19920 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19922 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19924 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19926 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19927 to _sifields.sigfault.
19928 (si_addr_lsb): Define new macro.
19929 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19933 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19936 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19938 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19940 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19941 loading the domain.
19943 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19945 * math/gen-libm-test.pl (parse_args): Do not include expected
19946 result in test name.
19947 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19950 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19951 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19956 * benchtests/Makefile: Sort function entries.
19958 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19959 tanh, asinh, acosh, atanh.
19960 * benchtests/acos-inputs: New file.
19961 * benchtests/acosh-inputs: New file.
19962 * benchtests/asin-inputs: New file.
19963 * benchtests/asinh-inputs: New file.
19964 * benchtests/atanh-inputs: New file.
19965 * benchtests/cosh-inputs: New file.
19966 * benchtests/log-inputs: New file.
19967 * benchtests/sinh-inputs: New file.
19968 * benchtests/tanh-inputs: New file.
19970 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19973 * posix/tst-getaddrinfo4.c: New test.
19974 * posix/Makefile (tests): Add it.
19976 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19980 when no services were used.
19981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19982 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19984 2013-05-21 Andreas Schwab <schwab@suse.de>
19987 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19988 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19990 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19991 redundant variable declarations and reallocation of buffer when
19992 parsing as IPv6 address. Always set NSS status when called from
19993 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19994 buffer too small. Correct computation of needed size.
19995 * nss/Makefile (tests): Add test-digits-dots.
19996 * nss/test-digits-dots.c: New test.
19998 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20000 * benchtests/Makefile: Remove instructions for adding
20002 * benchtests/README: New file to explain how to execute and
20003 enhance the benchmark tests.
20005 2013-05-21 Andreas Schwab <schwab@suse.de>
20008 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20009 * setjmp/tst-sigsetjmp.c: New test.
20011 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20013 * sysdeps/x86_64/memset.S (memset): New implementation.
20014 (__bzero): Likewise.
20015 (__memset_tail): New function.
20017 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20019 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20020 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20021 __memcpy_sse2_unaligned ifunc selection.
20022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20023 Add memcpy-sse2-unaligned.S.
20024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20025 Add: __memcpy_sse2_unaligned.
20027 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20030 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20031 math_force_eval before restoring floating-point envrionment.
20032 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20033 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20035 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20037 (__nearbyintl): Use math_force_eval before restoring
20038 floating-point environment.
20039 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20041 * math/gen-libm-test.pl (special_functions): Remove.
20042 (parse_args): Don't handle TEST_extra. Handle functions with no
20044 * math/libm-test.inc (struct test_sincos_data): Replace with
20045 struct test_fFF_11_data.
20046 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20047 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20048 (sincos_test_data): Change element type to struct
20049 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20050 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20051 RUN_TEST_LOOP_sincos.
20052 * math/README.libm-test: Don't mention special handling of
20053 individual functions.
20054 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20056 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20057 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20058 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20061 * math/gen-libm-test.pl (get_variable): Remove function.
20062 (parse_args): Don't show pointer parameters to call in test
20063 names. Use "extra output N" in test names for extra outputs
20064 rather than naming variables.
20066 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20069 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20070 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20071 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20073 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20075 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20078 * math/gen-libm-test.pl (@tests): Remove variable.
20079 ($count): Likewise.
20080 (new_test): Remove function.
20081 (show_exceptions): New function.
20082 (special_functions): Use show_exceptions instead of new_test.
20083 (parse_args): Likewise.
20084 (generate_testfile): Pass only function name in generated call to
20085 print_max_error or print_complex_max_error.
20086 (get_ulps): Do not handle complex tests specially.
20087 (output_test): Rename to ...
20088 (get_all_ulps_for_test): ... this. Return a string rather than
20089 printing to a file. Require ulps to be present.
20090 (output_ulps): Generate arrays rather than #defines.
20091 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20092 (struct ulp_data): New type.
20093 (BUILD_COMPLEX_ULP): Remove macro.
20094 (compare_ulp_data): New function.
20095 (find_ulps): Likewise.
20096 (find_test_ulps): Likewise.
20097 (find_function_ulps): Likewise.
20098 (find_complex_function_ulps): Likewise.
20099 (print_max_error): Determine allowed ulps using
20100 find_function_ulps.
20101 (print_complex_max_error): Determine allowed ulps using
20102 find_complex_function_ulps.
20103 (check_float_internal): Determine max ulps using find_test_ulps.
20104 (check_float): Do not take max_ulp parameter. Update call to
20105 check_float_internal.
20106 (check_complex): Likewise.
20107 (check_int): Do not take max_ulp parameter.
20108 (check_long): Likewise.
20109 (check_bool): Likewise.
20110 (check_longlong): Likewise.
20111 (struct test_f_f_data): Remove max_ulp field.
20112 (struct test_ff_f_data): Likewise.
20113 (struct test_ff_f_data_nexttoward): Likewise.
20114 (struct test_fi_f_data): Likewise.
20115 (struct test_fl_f_data): Likewise.
20116 (struct test_if_f_data): Likewise.
20117 (struct test_fff_f_data): Likewise.
20118 (struct test_c_f_data): Likewise.
20119 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20120 (struct test_fF_f1_data): Likewise.
20121 (struct test_ffI_f1_data): Likewise.
20122 (struct test_c_c_data): Remove max_ulp field.
20123 (struct test_cc_c_data): Likewise.
20124 (struct test_f_i_data): Likewise.
20125 (struct test_ff_i_data): Likewise.
20126 (struct test_f_l_data): Likewise.
20127 (struct test_f_L_data): Likewise.
20128 (struct test_sincos_data): Likewise.
20129 (RUN_TEST_f_f): Do not handle ulps.
20130 (RUN_TEST_LOOP_f_f): Likewise.
20131 (RUN_TEST_2_f): Likewise.
20132 (RUN_TEST_LOOP_2_f): Likewise.
20133 (RUN_TEST_fff_f): Likewise.
20134 (RUN_TEST_LOOP_fff_f): Likewise.
20135 (RUN_TEST_c_f): Likewise.
20136 (RUN_TEST_LOOP_c_f): Likewise.
20137 (RUN_TEST_f_f1): Likewise.
20138 (RUN_TEST_LOOP_f_f1): Likewise.
20139 (RUN_TEST_fF_f1): Likewise.
20140 (RUN_TEST_LOOP_fF_f1): Likewise.
20141 (RUN_TEST_fI_f1): Likewise.
20142 (RUN_TEST_LOOP_fI_f1): Likewise.
20143 (RUN_TEST_ffI_f1): Likewise.
20144 (RUN_TEST_LOOP_ffI_f1): Likewise.
20145 (RUN_TEST_c_c): Likewise.
20146 (RUN_TEST_LOOP_c_c): Likewise.
20147 (RUN_TEST_cc_c): Likewise.
20148 (RUN_TEST_LOOP_cc_c): Likewise.
20149 (RUN_TEST_f_i): Likewise.
20150 (RUN_TEST_LOOP_f_i): Likewise.
20151 (RUN_TEST_f_i_tg): Likewise.
20152 (RUN_TEST_LOOP_f_i_tg): Likewise.
20153 (RUN_TEST_ff_i_tg): Likewise.
20154 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20155 (RUN_TEST_f_b): Likewise.
20156 (RUN_TEST_LOOP_f_b): Likewise.
20157 (RUN_TEST_f_b_tg): Likewise.
20158 (RUN_TEST_LOOP_f_b_tg): Likewise.
20159 (RUN_TEST_f_l): Likewise.
20160 (RUN_TEST_LOOP_f_l): Likewise.
20161 (RUN_TEST_f_L): Likewise.
20162 (RUN_TEST_LOOP_f_L): Likewise.
20163 (RUN_TEST_sincos): Likewise.
20164 (RUN_TEST_LOOP_sincos): Likewise.
20166 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20170 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20171 main case of finite arguments, set rounding mode to FE_TONEAREST
20172 and discard exceptions.
20173 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20175 (remainder_tonearest_test_data): New variable.
20176 (remainder_test_tonearest): New function.
20177 (remainder_towardzero_test_data): New variable.
20178 (remainder_test_towardzero): New function.
20179 (remainder_downward_test_data): New variable.
20180 (remainder_test_downward): New function.
20181 (remainder_upward_test_data): New variable.
20182 (remainder_test_upward): New function.
20183 (main): Call the new test functions.
20185 * math/libm-test.inc (struct test_f_f1_data): Remove field
20187 (struct test_fF_f1_data): Likewise.
20188 (struct test_ffI_f1_data): Likewise.
20189 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20190 based on value of EXTRA_EXPECTED.
20191 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20192 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20193 EXTRA_VAR based on value of EXTRA_EXPECTED.
20194 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20195 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20196 EXTRA_VAR based on value of EXTRA_EXPECTED.
20197 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20198 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20199 EXTRA_VAR based on value of EXTRA_EXPECTED.
20200 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20201 * math/gen-libm-test.pl (parse_args): Don't output initializers
20202 for extra output values.
20204 * math/libm-test.inc (check_int): Expect result to be exactly
20205 equal to expected value and do not handle ulps.
20206 (check_long): Likewise.
20207 (check_longlong): Likewise.
20209 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20211 (cimag_test_data): Likewise.
20212 (conj_test_data): Likewise.
20213 (copysign_test_data): Likewise.
20214 (cproj_test_data): Likewise.
20215 (creal_test_data): Likewise.
20216 (fabs_test_data): Likewise.
20217 (fdim_test_data): Likewise.
20218 (finite_test_data): Likewise.
20219 (floor_test_data): Likewise.
20220 (fmax_test_data): Likewise.
20221 (fmin_test_data): Likewise.
20222 (fmod_test_data): Likewise.
20223 (fpclassify_test_data): Likewise.
20224 (frexp_test_data): Likewise.
20225 (ilogb_test_data): Likewise.
20226 (isfinite_test_data): Likewise.
20227 (isgreater_test_data): Likewise.
20228 (isgreaterequal_test_data): Likewise.
20229 (isinf_test_data): Likewise.
20230 (isless_test_data): Likewise.
20231 (islessequal_test_data): Likewise.
20232 (islessgreater_test_data): Likewise.
20233 (isnan_test_data): Likewise.
20234 (isnormal_test_data): Likewise.
20235 (issignaling_test_data): Likewise.
20236 (isunordered_test_data): Likewise.
20237 (ldexp_test_data): Likewise.
20238 (lrint_test_data): Likewise.
20239 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20240 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20241 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20242 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20243 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20244 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20246 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20247 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20248 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20249 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20251 (lrint_downward_test_data): Test for "inexact" exceptions.
20252 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20253 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20254 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20256 (lrint_upward_test_data): Test for "inexact" exceptions.
20257 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20259 (llrint_test_data): Test for "inexact" exceptions.
20260 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20261 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20262 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20263 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20264 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20265 (llrint_downward_test_data): Test for "inexact" exceptions.
20266 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20267 (llrint_upward_test_data): Test for "inexact" exceptions.
20268 (logb_test_data): Likewise.
20269 (logb_downward_test_data): Likewise.
20270 (nextafter_test_data): Likewise.
20271 (nexttoward_test_data): Likewise.
20272 (remainder_test_data): Likewise.
20273 (remquo_test_data): Likewise.
20274 (scalbn_test_data): Likewise.
20275 (scalbln_test_data): Likewise.
20276 (signbit_test_data): Likewise.
20277 (sqrt_test_data): Likewise.
20278 (significand_test_data): Likewise.
20280 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20283 * benchtests/bench-modf.c (struct args): Mark arg0 as
20285 * scripts/bench.pl: Mark members of struct args as volatile.
20287 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20290 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20291 negative infinity on POWER6 or lower.
20292 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20294 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20297 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20298 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20299 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20300 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20301 (_FP_SETQNAN): New macro.
20302 (_FP_SETQNAN_SEMIRAW): Likewise.
20303 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20304 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20305 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20306 (FP_EXTEND): Use _FP_FRAC_SNANP.
20307 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20308 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20310 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20315 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20317 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20318 with DIVIDE_BY_ZERO_EXCEPTION.
20319 (gamma_test_data): Likewise.
20320 (lgamma_test_data): Likewise.
20321 (log_test_data): Likewise.
20322 (log10_test_data): Likewise.
20323 (log2_test_data): Likewise.
20324 (tgamma_test_data): Likewise.
20326 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20327 (acos_test_tonearest): Likewise.
20328 (acos_test_towardzero): Likewise.
20329 (acos_test_downward): Likewise.
20330 (acos_test_upward): Likewise.
20331 (acosh_test): Likewise.
20332 (asin_test): Likewise.
20333 (asin_test_tonearest): Likewise.
20334 (asin_test_towardzero): Likewise.
20335 (asin_test_downward): Likewise.
20336 (asin_test_upward): Likewise.
20337 (asinh_test): Likewise.
20338 (atan_test): Likewise.
20339 (atanh_test): Likewise.
20340 (atan2_test): Likewise.
20341 (cabs_test): Likewise.
20342 (cacos_test): Likewise.
20343 (cacosh_test): Likewise.
20344 (casin_test): Likewise.
20345 (casinh_test): Likewise.
20346 (catan_test): Likewise.
20347 (catanh_test): Likewise.
20348 (cbrt_test): Likewise.
20349 (ccos_test): Likewise.
20350 (ccosh_test): Likewise.
20351 (cexp_test): Likewise.
20352 (clog_test): Likewise.
20353 (clog10_test): Likewise.
20354 (cos_test): Likewise.
20355 (cos_test_tonearest): Likewise.
20356 (cos_test_towardzero): Likewise.
20357 (cos_test_downward): Likewise.
20358 (cos_test_upward): Likewise.
20359 (cosh_test): Likewise.
20360 (cosh_test_tonearest): Likewise.
20361 (cosh_test_towardzero): Likewise.
20362 (cosh_test_downward): Likewise.
20363 (cosh_test_upward): Likewise.
20364 (cpow_test): Likewise.
20365 (csin_test): Likewise.
20366 (csinh_test): Likewise.
20367 (csqrt_test): Likewise.
20368 (ctan_test): Likewise.
20369 (ctan_test_tonearest): Likewise.
20370 (ctan_test_towardzero): Likewise.
20371 (ctan_test_downward): Likewise.
20372 (ctan_test_upward): Likewise.
20373 (ctanh_test): Likewise.
20374 (ctanh_test_tonearest): Likewise.
20375 (ctanh_test_towardzero): Likewise.
20376 (ctanh_test_downward): Likewise.
20377 (ctanh_test_upward): Likewise.
20378 (erf_test): Likewise.
20379 (erfc_test): Likewise.
20380 (exp_test): Likewise.
20381 (exp_test_tonearest): Likewise.
20382 (exp_test_towardzero): Likewise.
20383 (exp_test_downward): Likewise.
20384 (exp_test_upward): Likewise.
20385 (exp10_test): Likewise.
20386 (exp2_test): Likewise.
20387 (expm1_test): Likewise.
20388 (fmod_test): Likewise.
20389 (gamma_test): Likewise.
20390 (hypot_test): Likewise.
20391 (j0_test): Likewise.
20392 (j1_test): Likewise.
20393 (jn_test): Likewise.
20394 (lgamma_test): Likewise.
20395 (log_test): Likewise.
20396 (log10_test): Likewise.
20397 (log1p_test): Likewise.
20398 (log2_test): Likewise.
20399 (logb_test_downward): Likewise.
20400 (pow_test): Likewise.
20401 (pow_test_tonearest): Likewise.
20402 (pow_test_towardzero): Likewise.
20403 (pow_test_downward): Likewise.
20404 (pow_test_upward): Likewise.
20405 (remainder_test): Likewise.
20406 (remquo_test): Likewise.
20407 (sin_test): Likewise.
20408 (sin_test_tonearest): Likewise.
20409 (sin_test_towardzero): Likewise.
20410 (sin_test_downward): Likewise.
20411 (sin_test_upward): Likewise.
20412 (sincos_test): Likewise.
20413 (sinh_test): Likewise.
20414 (sinh_test_tonearest): Likewise.
20415 (sinh_test_towardzero): Likewise.
20416 (sinh_test_downward): Likewise.
20417 (sinh_test_upward): Likewise.
20418 (sqrt_test): Likewise.
20419 (tan_test): Likewise.
20420 (tan_test_tonearest): Likewise.
20421 (tan_test_towardzero): Likewise.
20422 (tan_test_downward): Likewise.
20423 (tan_test_upward): Likewise.
20424 (tanh_test): Likewise.
20425 (tgamma_test): Likewise.
20426 (y0_test): Likewise.
20427 (y1_test): Likewise.
20428 (yn_test): Likewise.
20430 * math/gen-libm-test.pl (adjust_arg): Remove function.
20431 (special_function): Remove argument $in_func. Only handle
20432 generating output for tables of tests, not inside functions.
20433 (parse_args): Likewise.
20434 (generate_testfile): Remove variable $in_func. Update call to
20436 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20437 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20438 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20439 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20440 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20441 (MAX_VALUE_INIT): Rename macro to max_value.
20442 (MIN_VALUE_INIT): Rename macro to min_value.
20443 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20444 (plus_zero): Remove variable.
20445 (minus_zero): Likewise.
20446 (plus_infty): Likewise.
20447 (minus_infty): Likewise.
20448 (qnan_value): Likewise.
20449 (max_value): Likewise.
20450 (min_value): Likewise.
20451 (min_subnorm_value): Likewise.
20453 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20455 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20456 uint64_t or uint32_t usage.
20457 * crypt/sha256-block.c: Likewise.
20458 * crypt/sha256-crypt.c: Likewise.
20459 * crypt/sha256.c: Likewise.
20460 * crypt/sha512-block.c: Likewise.
20461 * crypt/sha512-crypt.c: Likewise.
20462 * crypt/sha512.c: Likewise.
20463 * debug/backtrace-tst.c: Likewise.
20464 * debug/pcprofiledump.c: Likewise.
20465 * elf/cache.c: Likewise.
20466 * elf/dl-cache.c: Likewise.
20467 * elf/dl-misc.c: Likewise.
20468 * elf/dl-profile.c: Likewise.
20469 * elf/dl-support.c: Likewise.
20470 * elf/ldconfig.c: Likewise.
20471 * elf/sprof.c: Likewise.
20472 * iconv/dummy-repertoire.c: Likewise.
20473 * iconv/iconv_charmap.c: Likewise.
20474 * iconv/skeleton.c: Likewise.
20475 * iconvdata/8bit-generic.c: Likewise.
20476 * iconvdata/cp737.h: Likewise.
20477 * iconvdata/cp775.h: Likewise.
20478 * iconvdata/ibm1008.h: Likewise.
20479 * iconvdata/ibm1025.h: Likewise.
20480 * iconvdata/ibm1046.h: Likewise.
20481 * iconvdata/ibm1097.h: Likewise.
20482 * iconvdata/ibm1112.h: Likewise.
20483 * iconvdata/ibm1122.h: Likewise.
20484 * iconvdata/ibm1123.h: Likewise.
20485 * iconvdata/ibm1124.h: Likewise.
20486 * iconvdata/ibm1129.h: Likewise.
20487 * iconvdata/ibm1130.h: Likewise.
20488 * iconvdata/ibm1132.h: Likewise.
20489 * iconvdata/ibm1133.h: Likewise.
20490 * iconvdata/ibm1137.h: Likewise.
20491 * iconvdata/ibm1140.h: Likewise.
20492 * iconvdata/ibm1141.h: Likewise.
20493 * iconvdata/ibm1142.h: Likewise.
20494 * iconvdata/ibm1143.h: Likewise.
20495 * iconvdata/ibm1144.h: Likewise.
20496 * iconvdata/ibm1145.h: Likewise.
20497 * iconvdata/ibm1146.h: Likewise.
20498 * iconvdata/ibm1147.h: Likewise.
20499 * iconvdata/ibm1148.h: Likewise.
20500 * iconvdata/ibm1149.h: Likewise.
20501 * iconvdata/ibm1153.h: Likewise.
20502 * iconvdata/ibm1154.h: Likewise.
20503 * iconvdata/ibm1155.h: Likewise.
20504 * iconvdata/ibm1156.h: Likewise.
20505 * iconvdata/ibm1157.h: Likewise.
20506 * iconvdata/ibm1158.h: Likewise.
20507 * iconvdata/ibm1160.h: Likewise.
20508 * iconvdata/ibm1161.h: Likewise.
20509 * iconvdata/ibm1162.h: Likewise.
20510 * iconvdata/ibm1163.h: Likewise.
20511 * iconvdata/ibm1164.h: Likewise.
20512 * iconvdata/ibm1166.h: Likewise.
20513 * iconvdata/ibm1167.h: Likewise.
20514 * iconvdata/ibm12712.h: Likewise.
20515 * iconvdata/ibm1390.h: Likewise.
20516 * iconvdata/ibm1399.h: Likewise.
20517 * iconvdata/ibm16804.h: Likewise.
20518 * iconvdata/ibm4517.h: Likewise.
20519 * iconvdata/ibm4899.h: Likewise.
20520 * iconvdata/ibm4909.h: Likewise.
20521 * iconvdata/ibm4971.h: Likewise.
20522 * iconvdata/ibm5347.h: Likewise.
20523 * iconvdata/ibm803.h: Likewise.
20524 * iconvdata/ibm856.h: Likewise.
20525 * iconvdata/ibm901.h: Likewise.
20526 * iconvdata/ibm902.h: Likewise.
20527 * iconvdata/ibm9030.h: Likewise.
20528 * iconvdata/ibm9066.h: Likewise.
20529 * iconvdata/ibm921.h: Likewise.
20530 * iconvdata/ibm922.h: Likewise.
20531 * iconvdata/ibm9448.h: Likewise.
20532 * iconvdata/isiri-3342.h: Likewise.
20533 * iconvdata/jis0201.h: Likewise.
20534 * include/link.h: Likewise.
20535 * include/netdb.h: Likewise.
20536 * inet/check_native.c: Likewise.
20537 * inet/check_pf.c: Likewise.
20538 * inet/getipv4sourcefilter.c: Likewise.
20539 * inet/getnameinfo.c: Likewise.
20540 * inet/getsourcefilter.c: Likewise.
20541 * inet/htonl.c: Likewise.
20542 * inet/setipv4sourcefilter.c: Likewise.
20543 * inet/setsourcefilter.c: Likewise.
20544 * inet/test-inet6_opt.c: Likewise.
20545 * inet/tst-network.c: Likewise.
20546 * locale/C-collate.c: Likewise.
20547 * locale/C-ctype.c: Likewise.
20548 * locale/C-time.c: Likewise.
20549 * locale/C-translit.h: Likewise.
20550 * locale/loadarchive.c: Likewise.
20551 * locale/programs/3level.h: Likewise.
20552 * locale/programs/charmap.c: Likewise.
20553 * locale/programs/charmap.h: Likewise.
20554 * locale/programs/ld-address.c: Likewise.
20555 * locale/programs/ld-collate.c: Likewise.
20556 * locale/programs/ld-ctype.c: Likewise.
20557 * locale/programs/ld-identification.c: Likewise.
20558 * locale/programs/ld-measurement.c: Likewise.
20559 * locale/programs/ld-messages.c: Likewise.
20560 * locale/programs/ld-monetary.c: Likewise.
20561 * locale/programs/ld-name.c: Likewise.
20562 * locale/programs/ld-numeric.c: Likewise.
20563 * locale/programs/ld-paper.c: Likewise.
20564 * locale/programs/ld-telephone.c: Likewise.
20565 * locale/programs/ld-time.c: Likewise.
20566 * locale/programs/linereader.c: Likewise.
20567 * locale/programs/locale.c: Likewise.
20568 * locale/programs/locarchive.c: Likewise.
20569 * locale/programs/locfile.h: Likewise.
20570 * locale/programs/repertoire.c: Likewise.
20571 * locale/programs/simple-hash.c: Likewise.
20572 * locale/programs/simple-hash.h: Likewise.
20573 * malloc/memusage.c: Likewise.
20574 * malloc/memusagestat.c: Likewise.
20575 * nis/nis_defaults.c: Likewise.
20576 * nis/nis_hash.c: Likewise.
20577 * nis/nis_print.c: Likewise.
20578 * nis/nis_xdr.c: Likewise.
20579 * nscd/connections.c: Likewise.
20580 * nscd/hstcache.c: Likewise.
20581 * nscd/nscd_gethst_r.c: Likewise.
20582 * nscd/nscd_getserv_r.c: Likewise.
20583 * nscd/nscd_helper.c: Likewise.
20584 * nscd/servicescache.c: Likewise.
20585 * nss/makedb.c: Likewise.
20586 * nss/nss_db/db-XXX.c: Likewise.
20587 * nss/nss_db/db-initgroups.c: Likewise.
20588 * nss/nss_db/db-netgrp.c: Likewise.
20589 * nss/nss_files/files-network.c: Likewise.
20590 * nss/nss_files/files-parse.c: Likewise.
20591 * posix/bug-regex5.c: Likewise.
20592 * posix/fnmatch_loop.c: Likewise.
20593 * posix/regcomp.c: Likewise.
20594 * posix/regexec.c: Likewise.
20595 * posix/tst-rfc3484-2.c: Likewise.
20596 * posix/tst-rfc3484-3.c: Likewise.
20597 * posix/tst-rfc3484.c: Likewise.
20598 * resolv/nss_dns/dns-canon.c: Likewise.
20599 * resolv/nss_dns/dns-network.c: Likewise.
20600 * resolv/res_init.c: Likewise.
20601 * resolv/res_mkquery.c: Likewise.
20602 * resolv/tst-aton.c: Likewise.
20603 * stdlib/cxa_atexit.c: Likewise.
20604 * stdlib/cxa_finalize.c: Likewise.
20605 * stdlib/gen-fpioconst.c: Likewise.
20606 * stdlib/strtol_l.c: Likewise.
20607 * string/tst-endian.c: Likewise.
20608 * sunrpc/auth_des.c: Likewise.
20609 * sunrpc/clnt_udp.c: Likewise.
20610 * sunrpc/rtime.c: Likewise.
20611 * sunrpc/svcauth_des.c: Likewise.
20612 * sunrpc/xdr.c: Likewise.
20613 * sunrpc/xdr_intXX_t.c: Likewise.
20614 * sunrpc/xdr_rec.c: Likewise.
20615 * sysdeps/generic/ldconfig.h: Likewise.
20616 * sysdeps/generic/ldsodefs.h: Likewise.
20617 * sysdeps/generic/memusage.h: Likewise.
20618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20628 * sysdeps/posix/getaddrinfo.c: Likewise.
20629 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20630 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20631 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20632 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20633 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20634 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20635 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20636 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20637 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20638 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20639 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20640 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20641 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20642 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20643 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20644 * sysdeps/x86_64/dl-tls.h: Likewise.
20645 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20646 * time/alt_digit.c: Likewise.
20647 * time/era.c: Likewise.
20648 * wcsmbs/tst-c16c32-1.c: Likewise.
20650 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20652 * math/libm-test.inc (struct test_sincos_data): New type.
20653 (RUN_TEST_LOOP_sincos): New macro.
20654 (sincos_test_data): New variable.
20655 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20657 2013-05-16 Richard Henderson <rth@redhat.com>
20659 * math/atest-exp2.c (LIMB64): New macro.
20660 (CONSTSZ): New macro.
20661 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20663 (print_mpn_fp): ... to function scope.
20664 (read_mpn_hex): Remove.
20665 (get_log2): Remove.
20666 (exp2_mpn): Use mp_log2.
20667 (main): Use mp_exp1.
20669 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20671 * math/libm-test.inc: Remove comment about not testing "inexact"
20673 (INEXACT_EXCEPTION): New macro.
20674 (NO_INEXACT_EXCEPTION): Likewise.
20675 (INVALID_EXCEPTION_OK): Update value.
20676 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20677 (OVERFLOW_EXCEPTION_OK): Likewise.
20678 (UNDERFLOW_EXCEPTION_OK): Likewise.
20679 (IGNORE_ZERO_INF_SIGN): Likewise.
20680 (ERRNO_UNCHANGED): Likewise.
20681 (ERRNO_EDOM): Likewise.
20682 (ERRNO_ERANGE): Likewise.
20683 (test_exceptions): Handle testing "inexact" exceptions.
20684 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20685 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20686 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20687 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20689 (rint_towardzero_test_data): Likewise.
20690 (rint_downward_test_data): Likewise.
20691 (rint_upward_test_data): Likewise.
20693 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20694 with OVERFLOW_EXCEPTION.
20695 (exp10_test_data): Likewise.
20696 (exp2_test_data): Likewise.
20697 (expm1_test_data): Likewise.
20698 (lgamma_test_data): Likewise.
20699 (pow_test_data): Likewise.
20700 (tgamma_test_data): Likewise.
20701 (yn_test_data): Remove duplicate test of overflow.
20703 * math/libm-test.inc (struct test_cc_c_data): New type.
20704 (RUN_TEST_LOOP_cc_c): New macro.
20705 (cpow_test_data): New variable.
20706 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20708 * math/libm-test.inc (struct test_f_L_data): New type.
20709 (RUN_TEST_LOOP_f_L): New macro.
20710 (llrint_test_data): New variable.
20711 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20712 (llrint_tonearest_test_data): New variable.
20713 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20714 (llrint_towardzero_test_data): New variable.
20715 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20716 (llrint_downward_test_data): New variable.
20717 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20718 (llrint_upward_test_data): New variable.
20719 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20720 (llround_test_data): New variable.
20721 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20723 2013-05-13 Peter Collingbourne <pcc@google.com>
20725 * math/atest-exp2.c (get_log2): Remove const attribute.
20727 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20729 * math/libm-test.inc (struct test_f_l_data): New type.
20730 (RUN_TEST_LOOP_f_l): New macro.
20731 (lrint_test_data): New variable.
20732 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20733 (lrint_tonearest_test_data): New variable.
20734 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20735 (lrint_towardzero_test_data): New variable.
20736 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20737 (lrint_downward_test_data): New variable.
20738 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20739 (lrint_upward_test_data): New variable.
20740 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20741 (lround_test_data): New variable.
20742 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20744 2013-05-15 Peter Collingbourne <pcc@google.com>
20746 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20747 (EXTRACT_WORDS64) Use where appropriate.
20748 (INSERT_WORDS64) Likewise.
20750 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20751 constraints with x constraints.
20752 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20754 * malloc/obstack.c (_obstack_compat): Add initializer.
20756 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20759 si_trapno and add si_addr_lsb to _sifields.sigfault.
20760 (si_trapno): Remove macro.
20761 (si_addr_lsb): Define new macro.
20762 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20764 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20766 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20767 instead of TEST_f_l.
20768 (llrint_test_tonearest): Likewise.
20769 (llrint_test_towardzero): Likewise.
20770 (llrint_test_downward): Likewise.
20771 (llrint_test_upward): Likewise.
20772 (llround_test): Likewise.
20774 * math/libm-test.inc (struct test_f_i_data): Add comment.
20775 (RUN_TEST_LOOP_f_b): New macro.
20776 (RUN_TEST_LOOP_f_b_tg): Likewise.
20777 (finite_test_data): New variable.
20778 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20779 (isfinite_test_data): New variable.
20780 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20781 (isinf_test_data): New variable.
20782 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20783 (isnan_test_data): New variable.
20784 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20785 (isnormal_test_data): New variable.
20786 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20787 (issignaling_test_data): New variable.
20788 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20789 (signbit_test_data): New variable.
20790 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20792 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20793 with INVALID_EXCEPTION.
20794 (acosh_test_data): Likewise.
20795 (asin_test_data): Likewise.
20796 (atanh_test_data): Likewise.
20797 (fmod_test_data): Likewise.
20798 (log_test_data): Likewise.
20799 (log10_test_data): Likewise.
20800 (log2_test_data): Likewise.
20801 (pow_test_data): Likewise.
20802 (sqrt_test_data): Likewise.
20803 (y0_test_data): Likewise.
20804 (y1_test_data): Likewise.
20805 (yn_test_data): Likewise.
20807 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20810 * math/libm-test.inc (struct test_ff_i_data): New type.
20811 (RUN_TEST_LOOP_ff_i_tg): New macro.
20812 (isgreater_test_data): New variable.
20813 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20814 (isgreaterequal_test_data): New variable.
20815 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20816 (isless_test_data): New variable.
20817 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20818 (islessequal_test_data): New variable.
20819 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20820 (islessgreater_test_data): New variable.
20821 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20822 (isunordered_test_data): New variable.
20823 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20825 2013-05-14 David S. Miller <davem@davemloft.net>
20827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20829 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20831 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20833 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20835 (struct test_f_i_data): Change type of max_ulp to int.
20837 * math/libm-test.inc (test_ffI_f1_data): New type.
20838 (RUN_TEST_LOOP_ffI_f1): New macro.
20839 (remquo_test_data): New variable.
20840 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20842 * setjmp/tst-setjmp-fp.c: New file.
20843 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20844 (link-libm): New variable.
20845 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20847 * math/libm-test.inc (struct test_f_i_data): New type.
20848 (RUN_TEST_LOOP_f_i): New macro.
20849 (RUN_TEST_LOOP_f_i_tg): Likewise.
20850 (fpclassify_test_data): New variable.
20851 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20852 (ilogb_test_data): New variable.
20853 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20855 * math/libm-test.inc (scalbln_test): Correct function name in END
20858 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20859 (RUN_TEST_LOOP_fI_f1): New macro.
20860 (frexp_test_data): New variable.
20861 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20863 * math/libm-test.inc (struct test_fF_f1_data): New type.
20864 (RUN_TEST_LOOP_fF_f1): New macro.
20865 (modf_test_data): New variable.
20866 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20868 * math/libm-test.inc (struct test_f_f1_data): New type.
20869 (RUN_TEST_LOOP_f_f1): New macro.
20870 (gamma_test_data): New variable.
20871 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20872 (lgamma_test_data): New variable.
20873 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20875 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20877 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20878 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20879 (main): Comment "tls" pseudo-hwcap.
20881 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20883 * math/libm-test.inc (struct test_fl_f_data): New type.
20884 (RUN_TEST_LOOP_fl_f): New variable.
20885 (scalbln_test_data): New variable.
20886 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20888 * math/libm-test.inc (struct test_fi_f_data): New type.
20889 (RUN_TEST_LOOP_fi_f): New macro.
20890 (ldexp_test_data): New variable.
20891 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20892 (scalbn_test_data): New variable.
20893 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20895 * math/libm-test.inc (struct test_c_f_data): New type.
20896 (RUN_TEST_LOOP_c_f): New macro.
20897 (cabs_test_data): New variable.
20898 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20899 (carg_test_data): New variable.
20900 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20901 (cimag_test_data): New variable.
20902 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20903 (creal_test_data): New variable.
20904 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20906 * math/libm-test.inc (struct test_if_f_data): New type.
20907 (RUN_TEST_LOOP_if_f): New macro.
20908 (jn_test_data): New variable.
20909 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20910 (yn_test_data): New variable.
20911 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20913 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20915 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20917 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20918 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20920 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20922 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20923 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20924 (bench-deps): Add bench-timing.h.
20925 * benchtests-bench-skeleton.c: Include bench-timing.h.
20926 (main): Use TIMING_* macros instead of clock_gettime.
20927 * benchtests/bench-timing.h: New file.
20930 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20931 Renamed from _LIB_VERSION.
20932 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20934 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20936 * math/libm-test.inc (struct test_fff_f_data): New type.
20937 (RUN_TEST_LOOP_fff_f): New macro.
20938 (fma_test_data): New variable.
20939 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20940 (fma_towardzero_test_data): New variable.
20941 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20942 (fma_downward_test_data): New variable.
20943 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20944 (fma_upward_test_data): New variable.
20945 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20947 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20948 (struct test_c_c_data): New type.
20949 (RUN_TEST_LOOP_c_c): New macro.
20950 (cacos_test_data): New variable.
20951 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20952 (cacosh_test_data): New variable.
20953 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20954 (casin_test_data): New variable.
20955 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20956 (casinh_test_data): New variable.
20957 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20958 (catan_test_data): New variable.
20959 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20960 (catanh_test_data): New variable.
20961 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20962 (ccos_test_data): New variable.
20963 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20964 (ccosh_test_data): New variable.
20965 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20966 (cexp_test_data): New variable.
20967 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20968 (clog_test_data): New variable.
20969 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20970 (clog10_test_data): New variable.
20971 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20972 (conj_test_data): New variable.
20973 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20974 (cproj_test_data): New variable.
20975 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20976 (csin_test_data): New variable.
20977 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20978 (csinh_test_data): New variable.
20979 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20980 (csqrt_test_data): New variable.
20981 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20982 (ctan_test_data): New variable.
20983 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20984 (ctan_tonearest_test_data): New variable.
20985 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20986 (ctan_towardzero_test_data): New variable.
20987 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20988 (ctan_downward_test_data): New variable.
20989 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20990 (ctan_upward_test_data): New variable.
20991 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20992 (ctanh_test_data): New variable.
20993 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20994 (ctanh_tonearest_test_data): New variable.
20995 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20996 (ctanh_towardzero_test_data): New variable.
20997 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20998 (ctanh_downward_test_data): New variable.
20999 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21000 (ctanh_upward_test_data): New variable.
21001 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21002 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21005 * math/libm-test.inc (struct test_ff_f_data): New type.
21006 (struct test_ff_f_data_nexttoward): Likewise.
21007 (RUN_TEST_LOOP_2_f): New macro.
21008 (RUN_TEST_LOOP_ff_f): Likewise.
21009 (atan2_test_data): New variable.
21010 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21011 (copysign_test_data): New variable.
21012 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21013 (fdim_test_data): New variable.
21014 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21015 (fmax_test_data): New variable.
21016 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21017 (fmin_test_data): New variable.
21018 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21019 (fmod_test_data): New variable.
21020 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21021 (hypot_test_data): New variable.
21022 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21023 (nextafter_test_data): New variable.
21024 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21025 (nexttoward_test_data): New variable.
21026 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21027 (pow_test_data): New variable.
21028 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21029 (pow_tonearest_test_data): New variable.
21030 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21031 (pow_towardzero_test_data): New variable.
21032 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21033 (pow_downward_test_data): New variable.
21034 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21035 (pow_upward_test_data): New variable.
21036 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21037 (remainder_test_data): New variable.
21038 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21039 (scalb_test_data): New variable.
21040 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update.
21043 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21045 * math/libm-test.inc (fma_test): Use max_value instead of local
21047 (nextafter_test): Likewise.
21049 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21050 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21051 (acos_downward_test_data): New variable.
21052 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21053 (acos_upward_test_data): New variable.
21054 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21055 (acosh_test_data): New variable.
21056 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21057 (asin_test_data): New variable.
21058 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21059 (asin_tonearest_test_data): New variable.
21060 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21061 (asin_towardzero_test_data): New variable.
21062 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21063 (asin_downward_test_data): New variable.
21064 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21065 (asin_upward_test_data): New variable.
21066 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21067 (asinh_test_data): New variable.
21068 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21069 (atan_test_data): New variable.
21070 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21071 (atanh_test_data): New variable.
21072 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21073 (cbrt_test_data): New variable.
21074 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21075 (ceil_test_data): New variable.
21076 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21077 (cos_test_data): New variable.
21078 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21079 (cos_tonearest_test_data): New variable.
21080 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21081 (cos_towardzero_test_data): New variable.
21082 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21083 (cos_downward_test_data): New variable.
21084 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21085 (cos_upward_test_data): New variable.
21086 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21087 (cosh_test_data): New variable.
21088 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21089 (cosh_tonearest_test_data): New variable.
21090 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21091 (cosh_towardzero_test_data): New variable.
21092 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21093 (cosh_downward_test_data): New variable.
21094 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21095 (cosh_upward_test_data): New variable.
21096 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21097 (erf_test_data): New variable.
21098 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21099 (erfc_test_data): New variable.
21100 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21101 (exp_test_data): New variable.
21102 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21103 (exp_tonearest_test_data): New variable.
21104 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21105 (exp_towardzero_test_data): New variable.
21106 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21107 (exp_downward_test_data): New variable.
21108 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21109 (exp_upward_test_data): New variable.
21110 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21111 (exp10_test_data): New variable.
21112 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21113 (exp2_test_data): New variable.
21114 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21115 (expm1_test_data): New variable.
21116 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21117 (fabs_test_data): New variable.
21118 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21119 (floor_test_data): New variable.
21120 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21121 (j0_test_data): New variable.
21122 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21123 (j1_test_data): New variable.
21124 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21125 (log_test_data): New variable.
21126 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21127 (log10_test_data): New variable.
21128 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21129 (log1p_test_data): New variable.
21130 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21131 (log2_test_data): New variable.
21132 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21133 (logb_test_data): New variable.
21134 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21135 (logb_downward_test_data): New variable.
21136 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21137 (nearbyint_test_data): New variable.
21138 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21139 (rint_test_data): New variable.
21140 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21141 (rint_tonearest_test_data): New variable.
21142 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21143 (rint_towardzero_test_data): New variable.
21144 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21145 (rint_downward_test_data): New variable.
21146 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21147 (rint_upward_test_data): New variable.
21148 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21149 (round_test_data): New variable.
21150 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21151 (sin_test_data): New variable.
21152 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21153 (sin_tonearest_test_data): New variable.
21154 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21155 (sin_towardzero_test_data): New variable.
21156 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21157 (sin_downward_test_data): New variable.
21158 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21159 (sin_upward_test_data): New variable.
21160 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21161 (sinh_test_data): New variable.
21162 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21163 (sinh_tonearest_test_data): New variable.
21164 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21165 (sinh_towardzero_test_data): New variable.
21166 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21167 (sinh_downward_test_data): New variable.
21168 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21169 (sinh_upward_test_data): New variable.
21170 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21171 (sqrt_test_data): New variable.
21172 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21173 (tan_test_data): New variable.
21174 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21175 (tan_tonearest_test_data): New variable.
21176 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21177 (tan_towardzero_test_data): New variable.
21178 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21179 (tan_downward_test_data): New variable.
21180 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21181 (tan_upward_test_data): New variable.
21182 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21183 (tanh_test_data): New variable.
21184 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21185 (tgamma_test_data): New variable.
21186 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21187 (trunc_test_data): New variable.
21188 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21189 (y0_test_data): New variable.
21190 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21191 (y1_test_data): New variable.
21192 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21193 (significand_test_data): New variable.
21194 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21196 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21199 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21201 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21203 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21205 2013-05-10 Andreas Jaeger <aj@suse.de>
21208 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21209 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21211 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21213 * math/gen-libm-test.pl (adjust_arg): New function.
21214 (special_functions): Handle generating output in both functions
21216 (parse_args): Likewise.
21217 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21218 $in_func argument to parse_args.
21219 * math/libm-test.inc (struct test_f_f_data): New type.
21220 (IF_ROUND_INIT_): New macro.
21221 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21222 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21223 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21224 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21225 (ROUND_RESTORE_): Likewise.
21226 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21227 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21228 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21229 (ROUND_RESTORE_FE_UPWARD): Likewise.
21230 (RUN_TEST_LOOP_f_f): New macro.
21231 (acos_test_data): New variable.
21232 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21233 (acos_tonearest_test_data): New variable.
21234 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21236 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21238 * benchtests/bench-skeleton.c (startup): Fix coding style.
21240 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21243 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21244 negative infinity argument.
21245 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21246 negative infinity argument.
21247 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21248 negative infinity argument.
21249 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21252 2013-05-10 Florian Weimer <fweimer@redhat.com>
21254 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21255 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21256 * iconv/iconv_prog.c (main): Likewise.
21257 * locale/programs/charmap-dir.c (charmap_readdir)
21258 (fopen_uncompressed): Likewise.
21259 * locale/programs/locfile.c (siblings_uncached)
21260 (write_locale_data): Use lstat64 instead of lstat.
21261 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21264 2013-05-10 Andreas Jaeger <aj@suse.de>
21267 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21269 Include <locale.h>.
21271 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21273 * elf/dl-close.c (_dl_close_worker): Add comments.
21275 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21280 (__ieee754_rem_pio2l): Update comments.
21283 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21285 (__ieee754_rem_pio2l): Update comments.
21287 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21288 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21290 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21293 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21294 (M_PI_34_LOG10El): Likewise.
21295 (M_PI2_LOG10El): Likewise.
21296 (M_PI4_LOG10El): Likewise.
21297 (M_PI_LOG10El): Likewise.
21299 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21303 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21305 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21306 (MINUS_ZERO_INIT): Likewise.
21307 (PLUS_INFTY_INIT): Likewise.
21308 (MINUS_INFTY_INIT): Likewise.
21309 (QNAN_VALUE_INIT): Likewise.
21310 (MAX_VALUE_INIT): Likewise.
21311 (MIN_VALUE_INIT): Likewise.
21312 (MIN_SUBNORM_VALUE_INIT): Likewise.
21313 (plus_zero): Initialize with PLUS_ZERO_INIT.
21314 (minus_zero): Initialize with MINUS_ZERO_INIT.
21315 (plus_infty): Initialize with PLUS_INFTY_INIT.
21316 (minus_infty): Initialize with MINUS_INFTY_INIT.
21317 (qnan_value): Initialize with QNAN_VALUE_INIT.
21318 (max_value): Initialize with MAX_VALUE_INIT.
21319 (min_value): Initialize with MIN_VALUE_INIT.
21320 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21322 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21323 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21324 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21325 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21327 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21328 (RUN_TEST_2_f): Likewise.
21329 (RUN_TEST_ff_f): Likewise.
21330 (RUN_TEST_fi_f): Likewise.
21331 (RUN_TEST_fl_f): Likewise.
21332 (RUN_TEST_fff_f): Likewise.
21333 (RUN_TEST_c_f): Likewise.
21334 (RUN_TEST_f_f1): Likewise.
21335 (RUN_TEST_fF_f1): Likewise.
21336 (RUN_TEST_fI_f1): Likewise.
21337 (RUN_TEST_ffI_f1): Likewise.
21338 (RUN_TEST_c_c): Likewise.
21339 (RUN_TEST_cc_c): Likewise.
21340 (RUN_TEST_f_i): Likewise.
21341 (RUN_TEST_f_i_tg): Likewise.
21342 (RUN_TEST_ff_i_tg): Likewise.
21343 (RUN_TEST_f_b): Likewise.
21344 (RUN_TEST_f_b_tg): Likewise.
21345 (RUN_TEST_f_l): Likewise.
21346 (RUN_TEST_f_L): Likewise.
21347 (RUN_TEST_sincos): Likewise.
21348 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21349 whether to show exceptions. Do not include ");\n" in return
21351 (special_functions): Output call to RUN_TEST_sincos instead of
21352 check_float calls. Update calls to new_test.
21353 (parse_args): Output call to single RUN_TEST_* macro instead of
21354 check_* calls and other assignments. Update calls to new_test.
21360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21361 input to result for tgamma overflow.
21362 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21363 (gamma_coeff): New variable.
21364 (NCOEFF): New macro.
21365 (gamma_positive): New function.
21366 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21367 underflow here. Use gamma_positive instead of exp (lgamma) for
21369 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21370 (gamma_coeff): New variable.
21371 (NCOEFF): New macro.
21372 (gammaf_positive): New function.
21373 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21374 underflow here. Use gamma_positive instead of exp (lgamma) for
21376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21377 (gamma_coeff): New variable.
21378 (NCOEFF): New macro.
21379 (gammal_positive): New function.
21380 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21381 underflow here. Use gamma_positive instead of exp (lgamma) for
21383 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21384 (gamma_coeff): New variable.
21385 (NCOEFF): New macro.
21386 (gammal_positive): New function.
21387 (__ieee754_gammal_r): Handle positive infinity, overflow and
21388 underflow here. Handle NaN the same as positive infinity. Remove
21389 check x < 0xffffffff for negative integers. Use gamma_positive
21390 instead of exp (lgamma) for other arguments.
21391 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21392 (gamma_coeff): New variable.
21393 (NCOEFF): New macro.
21394 (gammal_positive): New function.
21395 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21396 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21400 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21401 * sysdeps/generic/math_private.h (__gamma_productf): New
21403 (__gamma_product): Likewise.
21404 (__gamma_productl): Likewise.
21405 * math/Makefile (libm-calls): Add gamma_product.
21406 * math/libm-test.inc (tgamma_test): Add more tests.
21407 * sysdeps/i386/fpu/libm-test-ulps: Update.
21408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21410 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21412 * benchtests/bench-skeleton.c (main): Preheat CPU.
21414 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21416 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21418 2013-05-07 Roland McGrath <roland@hack.frob.com>
21420 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21421 and _dl_skip_args_internal.
21423 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21425 * manual/message.texi (Message Translation): Talk about users.
21426 Message to key mapping impacts design.
21428 2013-05-06 Roland McGrath <roland@hack.frob.com>
21430 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21432 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21434 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21435 * sysdeps/wordsize-64/glob64.c: ... here.
21437 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21438 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21441 * debug/getlogin_r_chk.c: Moved to ...
21442 * login/getlogin_r_chk.c: ... here.
21443 * debug/Makefile (routines): Move getlogin_r_chk to ...
21444 * login/Makefile (routines): ... here.
21445 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21446 * login/Versions (libc: GLIBC_2.4): ... here.
21448 * io/poll.c (__poll): Renamed from poll.
21449 Add libc_hidden_def.
21450 (poll): Define as weak alias.
21452 * debug/ptsname_r_chk.c: Moved to ...
21453 * login/ptsname_r_chk.c: ... here.
21454 * debug/Makefile (routines): Move ptsname_r_chk to ...
21455 * login/Makefile (routines): ... here.
21456 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21457 * login/Versions (libc: GLIBC_2.4): ... here.
21459 * posix/getlogin.c: Moved to ...
21460 * login/getlogin.c: ... here.
21461 * posix/getlogin_r.c: Moved to ...
21462 * login/getlogin_r.c: ... here.
21463 * posix/getlogin_r.c: Moved to ...
21464 * login/getlogin_r.c: ... here.
21465 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21466 * login/Makefile (routines): ... here.
21467 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21468 * login/Versions (libc: GLIBC_2.0): ... here.
21470 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21471 (setrlimit): Define as weak alias.
21473 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21474 Call __ names for open, ftruncate, and close.
21475 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21476 (truncate): Define as weak alias.
21478 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21480 * math/gen-libm-test.pl (parse_args): Initialize x before each
21481 test of frexp, modf and remquo.
21483 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21484 test signgam value.
21486 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21490 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21492 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21494 2013-05-06 Roland McGrath <roland@hack.frob.com>
21496 * elf/dl-writev.h: New file.
21497 * elf/dl-misc.c: Include it.
21498 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21499 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21501 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21503 * math/libm-test.inc (noXFails): Remove variable.
21504 (noXPasses): Likewise.
21505 (BUILD_COMPLEX_INT): Remove macro.
21506 (print_screen): Remove xfail argument.
21507 (print_screen_max_error): Likewise.
21508 (update_stats): Likewise.
21509 (print_max_error): Likewise. Update calls to other affected
21511 (print_complex_max_error): Likewise.
21512 (test_single_exception): Update calls to print_screen.
21513 (test_single_errno): Likewise.
21514 (check_float_internal): Remove xfail argument. Update calls to
21515 other affected functions.
21516 (check_float): Likewise.
21517 (check_complex): Likewise.
21518 (check_int): Likewise.
21519 (check_long): Likewise.
21520 (check_bool): Likewise.
21521 (check_longlong): Likewise.
21522 (main): Don't print noXFails and noXPasses.
21523 * math/gen-libm-test.pl (top level): Don't mention expected
21524 failure handling in comment.
21525 (new_test): Don't handle expected failures.
21526 (parse_args): Don't mention expected failure handling in comment.
21527 (generate_testfile): Don't handle expected failures.
21528 (parse_ulps): Likewise.
21529 (print_ulps_file): Likewise.
21530 (get_failure): Remove function.
21531 (output_test): Don't handle expected failures.
21532 * make/README.libm-test: Don't mention expected failure handling.
21534 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21535 (minus_zero): Likewise.
21536 (plus_infty): Likewise.
21537 (minus_infty): Likewise.
21538 (qnan_value): Likewise.
21539 (max_value): Likewise.
21540 (min_value): Likewise.
21541 (min_subnorm_value): Likewise.
21542 (initialize): Do not initialize those variables dynamically.
21544 2013-05-03 Roland McGrath <roland@hack.frob.com>
21546 * io/open.c (__open_2): Moved to ...
21547 * io/open_2.c: ... this new file.
21548 * io/open64.c (__open64_2): Moved to ...
21549 * io/open64_2.c: ... this new file.
21550 * io/openat.c (__openat_2): Moved to ...
21551 * io/openat_2.c: ... this new file.
21552 * io/openat64.c (__openat64_2): Moved to ...
21553 * io/openat64_2.c: ... this new file.
21554 * io/Makefile (routines): Add them.
21555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21556 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21557 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21558 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21559 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21560 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21561 (__openat64): Add hidden_ver.
21562 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21563 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21565 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21566 Separately conditionalize setting of GLRO(dl_sysinfo) so
21567 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21568 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21570 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21575 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21576 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21577 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21578 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21579 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21581 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21583 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21584 test signgam value.
21586 * math/libm-test.inc (hypot_test): Do not use
21587 IGNORE_ZERO_INF_SIGN.
21589 2013-05-03 Andreas Jaeger <aj@suse.de>
21591 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21594 (PF_MAX): Adjust for VSOCK change.
21596 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21600 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21603 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21604 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21605 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21607 2013-05-02 David S. Miller <davem@davemloft.net>
21609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21611 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21613 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21615 2013-05-01 Roland McGrath <roland@hack.frob.com>
21617 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21619 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21622 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21623 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21624 Use __attribute__ ((__gnu_inline__)).
21625 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21626 Don't use __attribute__ ((__gnu_inline__)).
21628 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21631 * math/s_catan.c (__catan): Handle small real or imaginary part of
21632 input specially to avoid spurious underflow.
21633 * math/s_catanf.c (__catanf): Likewise.
21634 * math/s_catanh.c (__catanh): Likewise.
21635 * math/s_catanhf.c (__catanhf): Likewise.
21636 * math/s_catanhl.c (__catanhl): Likewise.
21637 * math/s_catanl.c (__catanl): Likewise.
21638 * math/libm-test.inc (catan_test): Add more tests.
21639 (catanh_test): Likewise.
21640 * sysdeps/i386/fpu/libm-test-ulps: Update.
21641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21647 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21650 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21651 accurately for denominator in atan2.
21652 * math/s_catanf.c (__catanf): Likewise.
21653 * math/s_catanh.c (__catanh): Likewise.
21654 * math/s_catanhf.c (__catanhf): Likewise.
21655 * math/s_catanhl.c (__catanhl): Likewise.
21656 * math/s_catanl.c (__catanl): Likewise.
21657 * math/libm-test.inc (catan_test): Add more tests.
21658 (catanh_test): Likewise.
21659 * sysdeps/i386/fpu/libm-test-ulps: Update.
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21662 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21666 * benchtests/Makefile (bench): Remove slow benchmarks.
21667 * benchtests/atan-inputs: Add slow benchmark inputs.
21668 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21669 (BENCH_FUNC): Accept variant offset.
21671 * benchtests/bench-skeleton.c (main): Run benchmark for each
21673 * benchtests/cos-inputs: Add slow benchmark inputs.
21674 * benchtests/exp-inputs: Likewise.
21675 * benchtests/pow-inputs: Likewise.
21676 * benchtests/sin-inputs: Likewise.
21677 * benchtests/slowatan-inputs: Remove.
21678 * benchtests/slowatan.c: Remove.
21679 * benchtests/slowcos-inputs: Remove.
21680 * benchtests/slowcos.c: Remove.
21681 * benchtests/slowexp-inputs: Remove.
21682 * benchtests/slowexp.c: Remove.
21683 * benchtests/slowpow-inputs: Remove.
21684 * benchtests/slowpow.c: Remove.
21685 * benchtests/slowsin-inputs: Remove.
21686 * benchtests/slowsin.c: Remove.
21687 * benchtests/slowtan-inputs: Remove.
21688 * benchtests/slowtan.c: Remove.
21689 * benchtests/tan-inputs: Add slow benchmark inputs.
21690 * scripts/bench.pl: Parse comments and directives.
21692 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21694 ($(objpfx)bench-%.c): Remove *-ITER.
21695 * benchtests/bench-modf.c: Remove definition of ITER.
21696 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21697 (main): Loop for DURATION seconds instead of fixed number of
21699 * scripts/bench.pl: Don't expect iterations in parameters.
21701 2013-04-29 Roland McGrath <roland@hack.frob.com>
21703 * io/fchdir.c (__fchdir): Renamed from fchdir.
21704 (fchdir): Define as weak alias.
21706 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21708 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21709 (ERRNO_EDOM): Likewise.
21710 (ERRNO_ERANGE): Likewise.
21711 (noErrnoTests): New variable.
21712 (init_max_error): Set errno to 0.
21713 (test_single_errno): New function.
21714 (test_errno): Likewise.
21715 (check_float_internal): Call test_errno. Set errno to 0.
21716 (check_complex): Refer to errno tests in comment.
21717 (check_int): Call test_errno. Set errno to 0.
21718 (check_long): Likewise.
21719 (check_bool): Likewise.
21720 (check_longlong): Likewise.
21721 (cos_test): Use ERRNO_* flags for errno tests instead of
21723 (expm1_test): Likewise.
21724 (fmod_test): Likewise.
21725 (ilogb_test): Likewise.
21726 (lgamma_test): Likewise.
21727 (pow_test): Likewise.
21728 (remainder_test): Likewise.
21729 (sin_test): Likewise.
21730 (tan_test): Likewise.
21731 (yn_test): Likewise.
21732 (initialize): Set errno to 0.
21733 (main): Print number of errno tests.
21734 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21736 2013-04-29 Andreas Jaeger <aj@suse.de>
21739 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21743 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21744 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21748 * stdlib/random.c (__initstate): Return NULL if
21752 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21753 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21756 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21760 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21762 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21763 of individual tests.
21764 (casin_test): Likewise.
21765 (casinh_test): Likewise.
21767 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21770 * math/s_catan.c (__catan): Handle arguments with large real or
21771 imaginary part separately without squaring.
21772 * math/s_catanf.c (__catanf): Likewise.
21773 * math/s_catanh.c (__catanh): Likewise.
21774 * math/s_catanhf.c (__catanhf): Likewise.
21775 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21777 (__catanhl): Handle arguments with large real or imaginary part
21778 separately without squaring.
21779 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21781 (__catanl): Handle arguments with large real or imaginary part
21782 separately without squaring.
21783 * math/libm-test.inc (catan_test): Add more tests.
21784 (catanh_test): Likewise.
21785 * sysdeps/i386/fpu/libm-test-ulps: Update.
21786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21788 2013-04-27 Andreas Jaeger <aj@suse.de>
21791 * stdlib/stdlib.h: Update guards for qecvt.
21792 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21795 2013-04-27 Allan McRae <allan@archlinux.org>
21797 * sysdeps/i386/fpu/libm-test-ulps: Update.
21799 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21802 * math/s_catan.c: Include <float.h>.
21803 (__catan): Ensure underflow exception occurs for underflowed
21805 * math/s_catanf.c: Include <float.h>.
21806 (__catanf): Ensure underflow exception occurs for underflowed
21808 * math/s_catanh.c: Include <float.h>.
21809 (__catanh): Ensure underflow exception occurs for underflowed
21811 * math/s_catanhf.c: Include <float.h>.
21812 (__catanhf): Ensure underflow exception occurs for underflowed
21814 * math/s_catanhl.c: Include <float.h>.
21815 (__catanhl): Ensure underflow exception occurs for underflowed
21817 * math/s_catanl.c: Include <float.h>.
21818 (__catanl): Ensure underflow exception occurs for underflowed
21820 * math/libm-test.inc (catan_test): Add more tests.
21821 (catanh_test): Likewise.
21824 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21825 underflowed result.
21826 * math/s_ccoshf.c (__ccoshf): Likewise.
21827 * math/s_ccoshl.c (__ccoshl): Likewise.
21828 * math/s_csin.c (__csin): Likewise.
21829 * math/s_csinf.c (__csinf): Likewise.
21830 * math/s_csinh.c (__csinh): Likewise.
21831 * math/s_csinhf.c (__csinhf): Likewise.
21832 * math/s_csinhl.c (__csinhl): Likewise.
21833 * math/s_csinl.c (__csinl): Likewise.
21834 * math/libm-test.inc (ccos_test): Add more tests.
21835 (ccosh_test): Likewise.
21836 (csin_test): Likewise.
21837 (csinh_test): Likewise.
21839 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21841 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21842 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21843 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21844 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21845 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21846 powerpc/power5+/fpu folders.
21847 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21850 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21854 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21856 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21857 additions to variable.
21858 [$(config-machine) = x86_64] (modules-names): Likewise.
21859 ($(objpfx)tst-audit3): Remove dependency.
21860 ($(objpfx)tst-audit3.out): Likewise.
21861 ($(objpfx)tst-audit4): Likewise.
21862 ($(objpfx)tst-audit4.out): Likewise.
21863 ($(objpfx)tst-audit5): Likewise.
21864 ($(objpfx)tst-audit5.out): Likewise.
21865 ($(objpfx)tst-audit6): Likewise.
21866 ($(objpfx)tst-audit6.out): Likewise.
21867 ($(objpfx)tst-audit7): Likewise.
21868 ($(objpfx)tst-audit7.out): Likewise.
21869 (tst-audit3-ENV): Remove variable.
21870 (tst-audit4-ENV): Likewise.
21871 (tst-audit5-ENV): Likewise.
21872 (tst-audit6-ENV): Likewise.
21873 (tst-audit7-ENV): Likewise.
21874 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21875 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21876 addition to variable.
21877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21878 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21879 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21880 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21881 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21882 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21883 tst-audit3, tst-audit4 and tst-audit5.
21884 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21885 tst-audit6 and tst-audit7.
21886 [$(subdir) = elf] (modules-names): Add audit modules for those
21888 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21889 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21890 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21891 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21892 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21893 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21894 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21895 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21896 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21897 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21898 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21899 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21900 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21901 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21902 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21903 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21905 [$(subdir) = elf && $(config-cflags-avx) = yes]
21906 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21907 [$(subdir) = elf && $(config-cflags-avx) = yes]
21908 (CFLAGS-tst-auditmod4a.c): Likewise.
21909 [$(subdir) = elf && $(config-cflags-avx) = yes]
21910 (CFLAGS-tst-auditmod4b.c): Likewise.
21911 [$(subdir) = elf && $(config-cflags-avx) = yes]
21912 (CFLAGS-tst-auditmod6b.c): Likewise.
21913 [$(subdir) = elf && $(config-cflags-avx) = yes]
21914 (CFLAGS-tst-auditmod6c.c): Likewise.
21915 [$(subdir) = elf && $(config-cflags-avx) = yes]
21916 (CFLAGS-tst-auditmod7b.c): Likewise.
21917 * elf/tst-audit3.c: Move to ...
21918 * sysdeps/x86_64/tst-audit3.c: ... here.
21919 * elf/tst-audit4.c: Move to ...
21920 * sysdeps/x86_64/tst-audit4.c: ... here.
21921 * elf/tst-audit5.c: Move to ...
21922 * sysdeps/x86_64/tst-audit5.c: ... here.
21923 * elf/tst-audit6.c: Move to ...
21924 * sysdeps/x86_64/tst-audit6.c: ... here.
21925 * elf/tst-audit7.c: Move to ...
21926 * sysdeps/x86_64/tst-audit7.c: ... here.
21927 * elf/tst-auditmod3a.c: Move to ...
21928 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21929 * elf/tst-auditmod3b.c: Move to ...
21930 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21931 * elf/tst-auditmod4a.c: Move to ...
21932 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21933 * elf/tst-auditmod4b.c: Move to ...
21934 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21935 * elf/tst-auditmod5a.c: Move to ...
21936 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21937 * elf/tst-auditmod5b.c: Move to ...
21938 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21939 * elf/tst-auditmod6a.c: Move to ...
21940 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21941 * elf/tst-auditmod6b.c: Move to ...
21942 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21943 * elf/tst-auditmod6c.c: Move to ...
21944 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21945 * elf/tst-auditmod7a.c: Move to ...
21946 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21947 * elf/tst-auditmod7b.c: Move to ...
21948 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21950 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21953 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21954 define unconditionally.
21955 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21956 define unconditionally.
21957 (INT8_C, INT16_C, etc.): Likewise.
21959 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21961 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21962 __ehdr_start with hidden visibility.
21964 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21966 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21968 * math/libm-test.inc (cos_test): Use accurate hex constants.
21969 (sincost_test): Likewise.
21971 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21973 * math/libm-test.inc (catan_test): Add more tests.
21974 (catanh_test): Likewise.
21976 * math/s_catanf.c (__catanf): Use suffixed floating-point
21978 * math/s_catanhf.c (__catanhf): Likewise.
21979 * math/s_catanhl.c (__catanhl): Likewise.
21980 * math/s_catanl.c (__catanl): Likewise.
21983 * math/s_catan.c (__catan): Calculate imaginary part of result
21984 with log1p not log unless computing log of number close to 0.
21985 * math/s_catanf.c (__catanf): Likewise.
21986 * math/s_catanl.c (__catanl): Likewise.
21987 * math/s_catanh.c (__catanh): Calculate real part of result with
21988 log1p not log unless computing log of number close to 0.
21989 * math/s_catanhf.c (__catanhf): Likewise.
21990 * math/s_catanhl.c (__catanhl): Likewise.
21991 * math/libm-test.inc (catan_test): Add more tests.
21992 (catanh_test): Likewise.
21993 * sysdeps/i386/fpu/libm-test-ulps: Update.
21994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21996 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21998 * benchtests/Makefile: Mention files in which fast and slow
21999 paths of math functions are implemented.
22001 2013-04-23 Roland McGrath <roland@hack.frob.com>
22003 * sysdeps/posix/timespec_get.c: New file.
22005 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22007 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22009 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22011 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22012 powerpc/power5/fpu folders.
22013 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22014 * benchtests/Makefile: Add modf testcase.
22015 * benchtests/bench-modf.c: New file: Benchmark test for mo
22017 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22020 * time/Makefile (tests): Add tst-strptime-whitespace.
22021 * time/strptime_l.c (get_number): Use ISSPACE.
22022 (__strptime_internal): Likewise.
22023 * time/tst-strptime-whitespace.c: New test case.
22025 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22027 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22029 (_nss_files_init): Set it here.
22031 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22033 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22034 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22037 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22039 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22041 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22046 2013-04-21 David S. Miller <davem@davemloft.net>
22048 * po/ru.po: Update Russion translation from translation project.
22050 2013-04-17 Adam Conrad <adconrad@0c3.net>
22052 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22055 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22057 * configure.in: Remove i386 configure warning. Remove i386 case.
22058 * configure: Regenerate.
22059 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22060 Add example to error message.
22061 * sysdeps/i386/configure: Regenerate.
22063 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22065 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22067 * benchtests/cos-inputs: New file.
22068 * benchtests/slowcos-inputs: New file.
22069 * benchtests/slowcos.c: New file.
22070 * benchtests/slowtan-inputs: New file.
22071 * benchtests/slowtan.c: New file.
22072 * benchtests/tan-inputs: New file.
22074 2013-04-16 Roland McGrath <roland@hack.frob.com>
22076 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22079 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22081 * benchtests/Makefile: Include cppflags-iterator.mk to add
22082 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22084 * Makefile.in (bench-clean): New target.
22085 * benchtests/Makefile (bench-clean): Likewise.
22087 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22089 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22091 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22093 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22095 2013-04-15 Andreas Schwab <schwab@suse.de>
22097 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22099 * nscd/pwdcache.c (cache_addpw): Likewise.
22100 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22103 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22105 * benchtests/Makefile (bench): Write all output to
22106 bench-out.tmp together.
22108 2013-04-15 Andreas Schwab <schwab@suse.de>
22110 * nscd/nscd.c (main): Don't fork again after closing files.
22112 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22114 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22116 * benchtests/Rules (bench-deps): Collect dependencies into a
22117 single variable. Add Makefile to dependencies.
22118 ($(objpfx)bench-%.c): Depend on bench-deps.
22120 2013-04-12 Roland McGrath <roland@hack.frob.com>
22121 Xavier Roche <roche+kml2@exalead.com>
22124 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22125 just that it's a file descriptor.
22126 * manual/llio.texi (Synchronizing AIO Operations): Update description
22127 for EBADF error from aio_fsync.
22129 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22131 * Rules (bench): Move target definition...
22132 * benchtests/Makefile: ... here.
22134 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22136 * math/libm-test.inc (cos_test): Fix PI/2 test.
22137 (sincos_test): Likewise.
22138 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22139 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22141 2013-04-11 Andreas Schwab <schwab@suse.de>
22144 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22145 accept exponent character only when digits were seen.
22146 * stdio-common/Makefile (tests): Add bug26.
22147 * stdio-common/bug26.c: New file.
22150 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22153 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22155 * Makeconfig (rtld-prefix): Define built linker prefix.
22156 * Rules (run-bench): Use it.
22157 * math/Makefile (run-regen-ulps): Likewise.
22159 * Rules (bench): Remove eval.
22161 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22162 Roland McGrath <roland@hack.frob.com>
22163 Ondrej Bilka <neleai@seznam.cz>
22166 * time/getdate.c: Include ctype.h and alloca.h.
22167 (__getdate_r): Trim leading and trailing spaces of input.
22168 * time/tst-getdate.c (tests): Add tests with leading and
22171 2013-04-08 Roland McGrath <roland@hack.frob.com>
22174 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22175 when computing value.
22177 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22179 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22180 Use testrun.sh to run libm tests.
22183 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22185 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22188 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22190 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22192 * Makefile.in (regen-ulps): New target.
22193 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22194 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22195 [ifneq (no,$(PERL)] (regen-ulps): New target.
22196 [ifeq (no,$(PERL)] (regen-ulps): New target.
22197 * math/libm-test.inc (ulps_file_name): Define.
22198 (output_dir): New variable.
22199 (options): Add "output-dir" option.
22200 (parse_opt): Handle 'o' case.
22201 (main): If output_dir is non-NULL use it as a prefix
22203 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22205 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22207 [BZ #10060, #10062]
22208 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22209 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22210 fail configure if __sync_val_compare_and_swap is not inlined.
22211 * sysdeps/i386/configure: Regenerate.
22212 * configure.in: Build for i686 when configured for i386.
22213 * configure: Regenerate.
22214 * README: Remove i386 reference.
22216 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22218 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22219 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22221 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22223 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22224 (lmsnanval): New variables.
22225 (F): Add conversion tests.
22226 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22227 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22229 * stdio-common/tstdiomisc.c (F): Properly collect individual
22232 [BZ #14686, #15336]
22233 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22234 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22235 Instead, use input NaN values or generate a qNaN by arithmetic
22236 operation. Also fix bugs to comply with the standard.
22237 * math/libm-test.inc (remainder_test): Add more tests.
22239 [BZ #15335, #15342]
22240 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22242 input NaN values or generate a qNaN by arithmetic operation.
22244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22247 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22250 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22253 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22254 underflowed result.
22255 * math/s_cexpf.c (__cexpf): Likewise.
22256 * math/s_cexpl.c (__cexpl): Likewise.
22257 * math/libm-test.inc (cexp_test): Add more tests.
22259 2013-04-03 Andreas Schwab <schwab@suse.de>
22262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22263 order arrays from heap if bigger than alloca cutoff.
22265 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22267 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22268 (SNAN_TESTS_double): Refer to GCC PR56831.
22269 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22272 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22274 * Rules (bench): Move bench.out after the run is complete.
22276 * Rules (bench): Echo currently running benchmark.
22278 * benchtests/Makefile (bench): Add atan and slowatan.
22279 * benchtests/atan-inputs: New file.
22280 * benchtests/slowatan-inputs: New file.
22281 * benchtests/slowatan.c: New file.
22283 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22288 * sysdeps/unix/sysv/linux/kernel-features.h
22289 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22290 __ASSUME_XFS_RESTRICTED_CHOWN.
22291 * sysdeps/unix/sysv/linux/pathconf.c
22292 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22293 Save and restore errno.
22295 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22298 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22299 arguments using __kernel_casinh.
22300 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22301 arguments using __kernel_casinhf.
22302 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22303 arguments using __kernel_casinhl.
22304 * math/libm-test.inc (cacosh_test): Add more tests.
22305 * sysdeps/i386/fpu/libm-test-ulps: Update.
22306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22308 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22310 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22313 * bench/Makefile (bench): Add sin and slowsin.
22314 * benchtests/sin-inputs: New file.
22315 * benchtests/slowsin-inputs: New file.
22316 * benchtests/slowsin.c: New file.
22318 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22319 (bench): Add slowexp and slowpow.
22320 (exp-ITER): Increase iterations.
22321 (pow-ITER): Likewise.
22322 * benchtests/exp-inputs: Change input.
22323 * benchtests/pow-inputs: Likewise.
22324 * benchtests/slowexp-inputs: New file.
22325 * benchtests/slowexp.c: New file.
22326 * benchtests/slowpow-inputs: New file.
22327 * benchtests/slowpow.c: New file.
22329 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22331 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22333 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22334 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22335 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22336 * benchtests/Makefile: Add rint benchtest.
22337 * benchtests/rint-inputs: Input for rint benchtest.
22339 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22341 * Versions.def (libm): Add GLIBC_2.18.
22342 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22343 hidden libm prototypes.
22344 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22345 * math/Makefile (libm-calls): Add s_issignaling.
22346 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22347 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22348 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22350 * math/math.h [__USE_GNU] (issignaling): New macro.
22351 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22352 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22354 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22357 * manual/arith.texi (issignaling): New section.
22358 * manual/libm-err-tab.pl (@all_functions): Update comment.
22359 * math/gen-libm-test.pl (parse_args): Apply special handling for
22361 * math/libm-test.inc (print_float, issignaling_test): New
22363 (check_float_internal): Add issignaling checks.
22364 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22365 default definition.
22366 * sysdeps/powerpc/math-tests.h: New file.
22367 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22369 * math/test-snan.c (TEST_FUNC): Likewise.
22371 2013-03-30 David S. Miller <davem@davemloft.net>
22373 * po/de.po: Update from translation team.
22375 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22378 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22379 imaginary part less than 1.0 and real part less than 0.5
22381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22383 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22384 (cacos_test): Add more tests.
22385 (casin_test): Likewise.
22386 (casinh_test): Likewise.
22387 * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22392 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22393 ONE with its value.
22395 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22396 (__pow_mp): Replace ONE and MONE with their values.
22397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22399 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22400 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22401 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22404 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22406 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22407 (__pow_mp): Replace ZERO and MZERO with their values.
22408 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22410 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22412 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22413 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22416 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22418 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22420 2013-03-28 Roland McGrath <roland@hack.frob.com>
22422 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22423 Declare with __attribute__ ((weak)).
22424 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22425 Call __call_tls_dtors only if it's not NULL.
22427 2013-03-28 Roland McGrath <roland@hack.frob.com>
22429 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22430 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22431 magic __ehdr_start linker symbol if it's defined.
22432 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22433 them up here if it was already done.
22435 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22436 (_dl_aux_init): Use const in cast when setting it.
22437 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22438 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22439 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22441 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22443 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22444 * csu/libc-tls.c: Nor here.
22445 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22447 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22448 (__libc_message): Never call vsyslog.
22450 2013-03-28 Alan Modra <amodra@gmail.com>
22452 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22454 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22457 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22460 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22464 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22467 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22468 Don't add gid passed as argument.
22470 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22472 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22475 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22476 imaginary part between 1.0 and 1.5 and real part less than 0.5
22478 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22479 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22480 * math/libm-test.inc (cacos_test): Add more tests.
22481 (casin_test): Likewise.
22482 (casinh_test): Likewise.
22483 * sysdeps/i386/fpu/libm-test-ulps: Update.
22484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22488 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22491 (denorm): Likewise.
22492 (__dbl_mp): Likewise.
22493 (add_magnitudes): Likewise.
22494 (sub_magnitudes): Likewise.
22502 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22504 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22505 (__dubcos): Likewise.
22506 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22507 (__ieee754_acos): Likewise.
22508 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22510 (__exp1): Likewise.
22511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22514 (my_log2): Likewise.
22515 (checkint): Likewise.
22516 * sysdeps/ieee754/dbl-64/e_remainder.c
22517 (__ieee754_remainder): Likewise.
22518 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22520 (bsloww): Likewise.
22521 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22525 MANTISSA_STORE_T to store computations on mantissa. Use
22526 macros for rounding and division.
22527 (denorm): Likewise.
22528 (__dbl_mp): Likewise.
22529 (add_magnitudes): Likewise.
22530 (sub_magnitudes): Likewise.
22533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22534 powers of two in terms of TWOPOW macro.
22535 (mp_no): Make type of mantissa as MANTISSA_T.
22536 [!RADIXI]: Define RADIXI.
22537 [!TWO52]: Define TWO52.
22538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22540 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22542 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22543 llroundl symbol when building for PPC32.
22545 2013-03-24 Mark H Weaver <mhw@netris.org>
22547 * manual/arith.texi (Normalization Functions): Fix prototypes for
22548 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22550 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22553 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22554 high value to check if expl overflow.
22555 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22556 to check for underflow and overflow.
22557 * math/libm-test.inc: Add exp test.
22559 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22562 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22565 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22567 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22570 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22572 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22573 wrap blocks consisting of several statements.
22575 * sysdeps/generic/math-tests.h: New file.
22576 * sysdeps/i386/fpu/math-tests.h: Likewise.
22577 * math/test-snan.c: Include it.
22578 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22580 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22584 (__ieee754_j0l): Do not improve calculations using cos of twice
22585 input for inputs above LDBL_MAX / 2.0L.
22586 (__ieee754_y0l): Likewise.
22587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22588 (__ieee754_j1l): Do not improve calculations using cos of twice
22589 input for inputs above LDBL_MAX / 2.0L.
22590 (__ieee754_y1l): Likewise.
22591 * math/libm-test.inc (j0_test): Add another test.
22592 (j1_test): Likewise.
22593 (y0_test): Likewise.
22594 (y1_test): Likewise.
22595 * sysdeps/i386/fpu/libm-test-ulps: Update.
22597 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22599 * Rules ($(objpfx)bench-%.c): Include code from a C source
22602 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22605 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22606 imaginary part 1.0 and real part less than 0.5 specially.
22607 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22608 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22609 * math/libm-test.inc (cacos_test): Add more tests.
22610 (casin_test): Likewise.
22611 (casinh_test): Likewise.
22612 * sysdeps/i386/fpu/libm-test-ulps: Update.
22613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22618 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22620 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22622 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22623 * config.make.in (config-cflags-sse4): Remove variable.
22624 (config-cflags-avx): Likewise.
22625 (config-cflags-sse2avx): Likewise.
22626 (config-cflags-novzeroupper): Likewise.
22627 (config-asflags-i686): Likewise.
22628 (have-mfma4): Likewise.
22629 (have-as-vis3): Likewise.
22631 * configure.in (MIG): Do not AC_SUBST.
22632 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22633 (libc_cv_cc_sse4): Do not AC_SUBST.
22634 (libc_cv_cc_avx): Likewise.
22635 (libc_cv_cc_sse2avx): Likewise.
22636 (libc_cv_cc_novzeroupper): Likewise.
22637 (libc_cv_cc_fma4): Likewise.
22638 (libc_cv_as_i686): Likewise.
22639 (libc_cv_sparc_as_vis3): Likewise.
22640 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22642 (config-asflags-i686): Likewise.
22643 (config-cflags-avx): Likewise.
22644 (config-cflags-sse2avx): Likewise.
22645 (have-mfma4): Likewise.
22646 (config-cflags-novzeroupper): Likewise.
22647 * sysdeps/mach/configure.in (MIG): Likewise.
22648 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22649 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22651 (config-cflags-avx): Likewise.
22652 (config-cflags-sse2avx): Likewise.
22653 (have-mfma4): Likewise.
22654 (config-cflags-novzeroupper): Likewise.
22655 * configure: Regenerated.
22656 * sysdeps/i386/configure: Likewise.
22657 * sysdeps/mach/configure: Likewise.
22658 * sysdeps/sparc/configure: Likewise.
22659 * sysdeps/x86_64/configure: Likewise.
22661 2013-03-20 Roland McGrath <roland@hack.frob.com>
22664 * locale/programs/localedef.c (options): Put N_ translation marker
22665 on argument names, not just descriptions.
22667 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22669 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22671 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22674 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22676 2013-03-19 Roland McGrath <roland@hack.frob.com>
22678 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22679 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22680 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22681 [!BEFORE_ABORT] (before_abort): New function.
22682 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22683 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22684 (writev_for_fatal): New function.
22685 (WRITEV_FOR_FATAL): New macro; call that.
22686 (backtrace_and_maps): New function.
22687 (BEFORE_ABORT): New macro; call that.
22688 (struct str_list): Type removed.
22689 (__libc_message, __libc_fatal): Functions removed.
22690 Include <sysdeps/posix/libc_fatal.c> instead.
22692 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22694 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22696 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22699 2013-03-19 Andreas Schwab <schwab@suse.de>
22701 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22702 * sysdeps/gnu/configure: Regenerate.
22704 * configure.in: Substitute libc_cv_rtlddir.
22705 * configure: Regenerate.
22706 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22707 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22708 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22709 * elf/Makefile (install-others, CFLAGS-interp.c)
22710 (ldso_install, common-ldd-rewrite): Likewise.
22711 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22712 $(inst_slibdir)/$(rtld-installed-name).
22713 * scripts/rellns-sh: Add -p option.
22714 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22717 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22719 * manual/nptl.texi: Renamed to ...
22720 * manual/threads.texi: ... this.
22721 * manual/Makefile (chapters): Update.
22723 2013-03-18 Roland McGrath <roland@hack.frob.com>
22726 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22727 on argument names, not just descriptions.
22728 * malloc/memusagestat.c (options): Likewise.
22729 * nss/getent.c (options): Likewise.
22731 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22734 * iconv/iconv_prog.c (options): Put N_ translation marker
22735 on argument names, not just descriptions.
22736 * iconv/iconvconfig.c (options): Likewise.
22738 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22740 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22741 implementation which is faster on all x86_64 architectures.
22742 Tested on AMD, Intel Nehalem, SNB, IVB.
22743 * sysdeps/x86_64/strnlen.S: Likewise.
22745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22746 Remove all multiarch strlen and strnlen versions.
22747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22748 Remove strlen and strnlen related parts.
22750 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22751 Inline strlen part.
22752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22754 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22755 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22756 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22757 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22758 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22761 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22763 * manual/memory.texi (Malloc Tunable Parameters):
22764 Sort parameters alphabetically. Add comments for missing entries.
22766 2013-03-17 David S. Miller <davem@davemloft.net>
22768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22770 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22773 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22774 for arguments at most half maximum finite value.
22775 * math/libm-test.inc (j0_test): Add more tests.
22776 (j1_test): Likewise.
22777 (y0_test): Likewise.
22778 (y1_test): Likewise.
22779 * sysdeps/i386/fpu/libm-test-ulps: Update.
22780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22783 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22784 1 / x and functions P and Q for arguments above 0x1p256L.
22785 (__ieee754_y0l): Likewise.
22786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22787 (__ieee754_y1l): Likewise.
22788 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22789 (j1_test): Likewise.
22790 (y0_test): Likewise.
22791 (y1_test): Likewise.
22793 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22795 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22798 2013-03-15 Roland McGrath <roland@hack.frob.com>
22800 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22801 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22802 zero since it's initialized to EXEC_PAGESIZE.
22804 * sysdeps/unix/sysv/linux/ldsodefs.h
22805 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22806 * sysdeps/generic/ldsodefs.h: ... here.
22808 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22810 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22812 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22814 * math/test-snan.c: Renamed from
22815 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22816 * math/Makefile (tests): Add test-snan.
22817 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22820 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22821 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22823 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22824 __builtin_nan family of functions.
22825 * math/libm-test.inc (initialize): Initialize qnan_value with
22826 __builtin_nan family of functions.
22827 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22829 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22831 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22832 storage class. Initialize qNaN_var and sNaN_var with
22833 __builtin_nan and __builtin_nans families of functions,
22836 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22837 (sqrt_test): Remove duplicate test with qNaN input.
22838 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22839 (round_test, signbit_test, significand_test): Note missing +/-Inf
22840 as well as qNaN tests.
22842 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22843 qNaN_var. Fix a few strings, too.
22844 * math/libm-test.inc (nan_value): Rename to qnan_value.
22845 * math/gen-libm-test.pl (%beautify): Adjust to that.
22846 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22847 * math/test-misc.c (main): Likewise.
22848 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22849 to __qnan_bytes, and __qnan_union, respectively.
22850 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22852 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22853 and lqnanval, respectively.
22854 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22855 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22856 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22857 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22859 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22860 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22863 * math/test-misc.c (main): Fix copy'n'pastos.
22864 * misc/tst-efgcvt.c (special): Likewise.
22866 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22867 Remove declarations.
22869 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22871 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22872 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22873 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22874 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22876 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22878 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22879 macro to return vdso values correctly in IFUNC implementations.
22880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22881 Optimization by using IFUNC.
22883 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22884 Richard Henderson <rth@redhat.com>
22885 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22887 * Makefile.in (bench): New target.
22888 * NEWS: Mention the benchmark framework.
22889 * Rules (bench): Likewise.
22890 (binaries-bench): Generate binaries for functions to
22892 * benchtests/Makefile: New makefile for benchmark tests.
22893 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22895 * benchtests/exp-inputs: New input file for EXP function.
22896 * benchtests/pow-inputs: New input file for POW function.
22897 * scripts/bench.pl: New script to generate source files for
22898 benchmark programs.
22900 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22902 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22904 computations on mantissa. Use macros for rounding and
22906 (denorm): Likewise.
22907 (__dbl_mp): Likewise.
22908 (add_magnitudes): Likewise.
22909 (sub_magnitudes): Likewise.
22912 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22913 powers of two in terms of TWOPOW macro.
22914 (mp_no): Make type of mantissa as MANTISSA_T.
22915 [!RADIXI]: Define RADIXI.
22916 [!TWO52]: Define TWO52.
22917 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22919 * manual/nptl.texi (cindex): Modify threads to pthreads.
22921 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/x86_64/preconfigure: Regenerated.
22925 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22928 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22930 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22931 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22933 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22934 * math/libm-test.inc (j0_test): Do not allow one spurious
22935 underflow exception.
22936 (y1_test): Likewise.
22938 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22940 * manual/Makefile (chapters): Add nptl.
22941 * manual/debug.texi (Debugging Support): Add link to Threads
22943 * manual/nptl.texi: New file.
22945 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22947 2013-03-14 Petr Baudis <pasky@ucw.cz>
22949 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22950 for non-NULL pointer before the memory validity test. Pointed
22951 out by Holger Brunck <holger.brunck@keymile.com>.
22953 2013-03-13 Andreas Schwab <schwab@suse.de>
22955 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22958 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22960 * timezone/zic.c: Update from tzcode 2013b.
22962 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22964 * manual/install.texi (Configuring and compiling):
22965 Mention i686 and i586.
22966 * INSTALL: Regenerate.
22968 2013-03-12 Roland McGrath <roland@hack.frob.com>
22970 * sysdeps/init_array/elf-init.c: New file.
22972 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22973 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22975 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22976 __gmon_start__ as global, but as static with a .preinit_array pointer.
22977 * sysdeps/init_array/gmon-start.c: New file. Use that.
22978 * sysdeps/init_array/crti.S: New file, empty except for comments.
22979 * sysdeps/init_array/crtn.S: Likewise.
22981 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22983 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22986 Remove Prefer_SSE_for_memop.
22987 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22988 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22989 HAS_PREFER_SSE_FOR_MEMOP.
22990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22993 Remove bzero, memset ifunc support.
22994 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22995 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22999 2013-03-11 Andreas Schwab <schwab@suse.de>
23002 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23005 (GLIBC_2.16): Remove pthread_atfork.
23007 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23009 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23010 (ptestcases.h): Likewise.
23012 2013-03-08 Roland McGrath <roland@hack.frob.com>
23014 * Makeconfig ($(common-objpfx)config.status): Depend on
23015 sysdeps/*/preconfigure{,.in} too.
23017 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23019 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23020 (__free_hook): Use void * instead of __malloc_ptr_t.
23021 (__malloc_hook): Likewise.
23022 (__realloc_hook): Likewise.
23023 (__memalign_hook): Likewise.
23024 (__after_morecore_hook): Likewise.
23025 * malloc/arena.c (save_malloc_hook): Likewise.
23026 (save_free_hook): Likewise.
23027 * malloc/hooks.c (malloc_hook_ini): Likewise.
23028 (realloc_hook_ini): Likewise.
23029 (memalign_hook_ini): Likewise.
23030 * malloc/malloc.c (malloc_hook_ini): Likewise.
23031 (realloc_hook_ini): Likewise.
23032 (memalign_hook_ini): Likewise.
23033 (__free_hook): Likewise.
23034 (__malloc_hook): Likewise.
23035 (__realloc_hook): Likewise.
23036 (__memalign_hook): Likewise.
23037 (__libc_malloc): Likewise.
23038 (__libc_free): Likewise.
23039 (__libc_realloc): Likewise.
23040 (__libc_memalign): Likewise.
23041 (__libc_valloc): Likewise.
23042 (__libc_pvalloc): Likewise.
23043 (__libc_calloc): Likewise.
23044 (__posix_memalign): Likewise.
23045 * malloc/morecore.c (__sbrk): Likewise.
23046 (__default_morecore): Likewise.
23048 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23050 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23051 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23052 __malloc_ptrdiff_t.
23054 * malloc/malloc.h (__malloc_size_t): Remove macro.
23055 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23057 (old_memalign_hook): Likewise.
23058 (old_realloc_hook): Likewise.
23059 (struct hdr): Likewise.
23061 (mallochook): Likewise.
23062 (memalignhook): Likewise.
23063 (reallochook): Likewise.
23064 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23065 (tr_old_realloc_hook): Likewise.
23066 (tr_old_memalign_hook): Likewise.
23067 (tr_mallochook): Likewise.
23068 (tr_reallochook): Likewise.
23069 (tr_memalignhook): Likewise.
23071 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23074 default_ldbl_pack and using as default implementation.
23075 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23077 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23078 redundant definition.
23079 (ldbl_insert_mantissa): Likewise.
23080 (ldbl_canonicalize): Likewise.
23081 (ldbl_nearbyint): Likewise.
23082 (ldbl_pack): Rename to ldbl_pack_ppc.
23083 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23084 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23085 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23087 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23090 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23091 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23092 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23094 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23095 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23096 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23098 2013-03-07 Andreas Jaeger <aj@suse.de>
23100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23103 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23105 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23106 Include mpa.h and declare __MPEXP.
23107 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23108 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23109 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23110 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23111 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23112 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23113 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23115 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23116 (__slowpow): Use long double EXPL and LOGL functions to
23118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23119 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23122 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23123 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23126 intermediate variable to calculate exponent.
23128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23132 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23133 [!NO__SQR]: Define __sqr.
23134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23135 and NO__SQR. Remove all code except __mul and __sqr. Include
23136 sysdeps/ieee754/dbl-64/mpa.c.
23137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23140 * posix/Makefile (tests): Add tst-pathconf.
23141 * posix/tst-pathconf.c: New test case.
23142 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23144 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23146 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23148 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23150 2013-03-06 Andreas Jaeger <aj@suse.de>
23152 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23153 definition via __MAP_ANONYMOUS.
23155 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23156 it's not part of Linux headers.
23158 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23159 (MAP_HUGE_MASK): Define.
23161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23167 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23169 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23170 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23172 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23174 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23175 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23176 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23177 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23178 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23179 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23185 Handle f2fs and efivarfs.
23187 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23190 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23191 (EFIVARFS_MAGIC): Add.
23192 (F2FS_LINK_MAX): Add.
23194 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23196 * stdio-common/vfprintf.c: Replace __builtin_expect with
23199 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23202 * sysdeps/generic/bp-sym.h: Remove file.
23203 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23204 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23205 <bp-sym.h> and <bp-asm.h>.
23206 (__longjmp): Don't use BP_SYM.
23207 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23209 (memcpy): Don't use BP_SYM.
23210 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23211 <bp-sym.h> and <bp-asm.h>.
23212 (memcpy): Don't use BP_SYM.
23213 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23215 (memcpy): Don't use BP_SYM.
23216 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23218 (memset): Don't use BP_SYM.
23219 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23220 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23221 (__bzero): Don't use BP_SYM.
23222 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23223 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23224 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (memcmp): Don't use BP_SYM. Remove comment about bounded
23228 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23229 <bp-sym.h> and <bp-asm.h>.
23230 (memcpy): Don't use BP_SYM.
23231 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23232 <bp-sym.h> and <bp-asm.h>.
23233 (memset): Don't use BP_SYM.
23234 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23235 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23236 (__bzero): Don't use BP_SYM.
23237 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23239 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23240 <bp-sym.h> and <bp-asm.h>.
23241 (strncmp): Don't use BP_SYM. Remove comment about bounded
23243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23244 <bp-sym.h> and <bp-asm.h>.
23245 (memcpy): Don't use BP_SYM.
23246 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23247 <bp-sym.h> and <bp-asm.h>.
23248 (memset): Don't use BP_SYM.
23249 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23250 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23251 (__bzero): Don't use BP_SYM.
23252 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23253 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23255 <bp-sym.h> and <bp-asm.h>.
23256 (__memchr): Don't use BP_SYM.
23257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23258 <bp-sym.h> and <bp-asm.h>.
23259 (memcmp): Don't use BP_SYM. Remove comment about bounded
23261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23262 <bp-sym.h> and <bp-asm.h>.
23263 (memcpy): Don't use BP_SYM.
23264 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23265 <bp-sym.h> and <bp-asm.h>.
23266 (__mempcpy): Don't use BP_SYM.
23267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23268 <bp-sym.h> and <bp-asm.h>.
23269 (__memrchr): Don't use BP_SYM.
23270 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23271 <bp-sym.h> and <bp-asm.h>.
23272 (memset): Don't use BP_SYM.
23273 (__bzero): Likewise.
23274 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23275 <bp-sym.h> and <bp-asm.h>.
23276 (__rawmemchr): Don't use BP_SYM.
23277 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23278 <bp-sym.h> and <bp-asm.h>.
23279 (__STRCMP): Don't use BP_SYM.
23280 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23281 <bp-sym.h> and <bp-asm.h>.
23282 (strchr): Don't use BP_SYM.
23283 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23284 <bp-sym.h> and <bp-asm.h>.
23285 (__strchrnul): Don't use BP_SYM.
23286 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23287 <bp-sym.h> and <bp-asm.h>.
23288 (strlen): Don't use BP_SYM.
23289 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23290 <bp-sym.h> and <bp-asm.h>.
23291 (strncmp): Don't use BP_SYM. Remove comment about bounded
23293 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23294 <bp-sym.h> and <bp-asm.h>.
23295 (__strnlen): Don't use BP_SYM.
23296 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23297 <bp-sym.h> and <bp-asm.h>.
23298 (__GI__setjmp): Don't use BP_SYM.
23299 (_setjmp): Likewise.
23300 (__sigsetjmp): Likewise.
23301 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23302 (L(start_addresses)): Don't use BP_SYM.
23303 (_start): Likewise.
23304 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23306 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23307 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23308 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23309 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23310 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23312 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23313 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23314 about bounded pointers.
23315 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23316 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23317 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23319 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23320 about bounded pointers. Remove GKM FIXME comments.
23321 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23322 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23324 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23325 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23326 Remove GKM FIXME comments.
23327 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23328 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23329 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23331 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23332 about bounded pointers. Remove GKM FIXME comment.
23333 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23335 (strncmp): Don't use BP_SYM. Remove comment about bounded
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23338 <bp-sym.h> and <bp-asm.h>.
23339 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23341 <bp-sym.h> and <bp-asm.h>.
23342 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23345 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23347 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23350 2013-03-05 David S. Miller <davem@davemloft.net>
23352 * po/es.po: Update from translation team.
23354 2013-03-05 Andreas Jaeger <aj@suse.de>
23356 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23357 <bits/mman-linux.h>.
23358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23361 <bits/mman-linux.h> to end of file.
23362 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23364 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23365 <bits/mman-linux.h> to end of file.
23366 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23369 <bits/mman-linux.h> to end of file.
23371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23372 (MCL_CURRENT, MCL_FUTURE): Define here.
23374 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23379 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23381 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23384 fourth parameter needed for rt_sigprocmask syscall.
23385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23387 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23388 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23389 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23390 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23392 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23395 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23396 comment about bounded pointers.
23397 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23398 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23400 2013-03-04 Andreas Jaeger <aj@suse.de>
23402 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23403 common definitions.
23405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23406 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23407 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23412 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23416 __ieee754_sqrl instead of __sqrl.
23418 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23420 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23421 * sysdeps/powerpc/fpu_control.h: ... here.
23422 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23423 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23424 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23425 * sysdeps/powerpc/bits/mathinline.h: ... here.
23427 2013-03-01 Roland McGrath <roland@hack.frob.com>
23429 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23430 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23431 to just [NEED_DL_SYSINFO_DSO].
23432 * elf/dl-support.c: Likewise.
23433 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23434 * elf/rtld.c (dl_main): Likewise.
23435 * elf/setup-vdso.h (setup_vdso): Likewise.
23436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23437 * sysdeps/unix/sysv/linux/dl-sysdep.c
23438 (_dl_discover_osversion): Likewise.
23440 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23442 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23443 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23445 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23447 * NEWS: Mention libm performance improvements and non-x86 PI
23450 * csu/libc-start.c (__pthread_initialize_minimal): Change
23451 function arguments.
23452 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23454 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23457 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23458 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23459 <bp-sym.h> and <bp-asm.h>.
23460 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23461 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23463 (memcpy): Don't use BP_SYM.
23464 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23466 (__mpn_add_n): Don't use BP_SYM.
23467 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23468 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23470 (__mpn_addmul_1): Don't use BP_SYM.
23471 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23472 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23474 (_setjmp): Don't use BP_SYM.
23475 (__novmx_setjmp): Likewise.
23476 (__GI__setjmp): Likewise.
23477 (__vmx_setjmp): Likewise.
23478 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23480 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23481 (__bzero): Don't use BP_SYM.
23482 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23483 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23485 <bp-sym.h> and <bp-asm.h>.
23486 (memcpy): Don't use BP_SYM.
23487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23488 <bp-sym.h> and <bp-asm.h>.
23489 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23491 <bp-sym.h> and <bp-asm.h>.
23492 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23493 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23495 (__mpn_lshift): Don't use BP_SYM.
23496 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23497 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23499 (memset): Don't use BP_SYM.
23500 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23501 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23502 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23504 (__mpn_mul_1): Don't use BP_SYM.
23505 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23507 <bp-sym.h> and <bp-asm.h>.
23508 (memcmp): Don't use BP_SYM.
23509 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23510 <bp-sym.h> and <bp-asm.h>.
23511 (memcpy): Don't use BP_SYM.
23512 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23513 <bp-sym.h> and <bp-asm.h>.
23514 (memset): Don't use BP_SYM.
23515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23516 <bp-sym.h> and <bp-asm.h>.
23517 (strncmp): Don't use BP_SYM.
23518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23519 <bp-sym.h> and <bp-asm.h>.
23520 (memcpy): Don't use BP_SYM.
23521 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23522 <bp-sym.h> and <bp-asm.h>.
23523 (memset): Don't use BP_SYM.
23524 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23525 <bp-sym.h> and <bp-asm.h>.
23526 (__memchr): Don't use BP_SYM.
23527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23528 <bp-sym.h> and <bp-asm.h>.
23529 (memcmp): Don't use BP_SYM.
23530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23531 <bp-sym.h> and <bp-asm.h>.
23532 (memcpy): Don't use BP_SYM.
23533 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23534 <bp-sym.h> and <bp-asm.h>.
23535 (__mempcpy): Don't use BP_SYM.
23536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23537 <bp-sym.h> and <bp-asm.h>.
23538 (__memrchr): Don't use BP_SYM.
23539 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23540 <bp-sym.h> and <bp-asm.h>.
23541 (memset): Don't use BP_SYM.
23542 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23543 <bp-sym.h> and <bp-asm.h>.
23544 (__rawmemchr): Don't use BP_SYM.
23545 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23546 <bp-sym.h> and <bp-asm.h>.
23547 (__STRCMP): Don't use BP_SYM.
23548 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23549 <bp-sym.h> and <bp-asm.h>.
23550 (strchr): Don't use BP_SYM.
23551 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23552 <bp-sym.h> and <bp-asm.h>.
23553 (__strchrnul): Don't use BP_SYM.
23554 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23555 <bp-sym.h> and <bp-asm.h>.
23556 (strlen): Don't use BP_SYM.
23557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23558 <bp-sym.h> and <bp-asm.h>.
23559 (strncmp): Don't use BP_SYM.
23560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23561 <bp-sym.h> and <bp-asm.h>.
23562 (__strnlen): Don't use BP_SYM.
23563 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23565 (__mpn_rshift): Don't use BP_SYM.
23566 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23567 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23568 <bp-sym.h> and <bp-asm.h>.
23569 (__sigsetjmp): Don't use BP_SYM.
23570 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23571 (L(start_addresses)): Don't use BP_SYM.
23572 (_start): Likewise.
23573 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23575 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23576 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23577 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23578 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23580 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23581 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23582 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23583 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23585 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23587 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23588 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23590 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23592 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23593 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23594 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23596 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23598 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23600 (strncmp): Don't use BP_SYM,
23601 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23603 (__mpn_sub_n): Don't use BP_SYM.
23604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23605 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23607 (__mpn_submul_1): Don't use BP_SYM.
23608 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23610 <bp-sym.h> and <bp-asm.h>.
23611 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23613 <bp-sym.h> and <bp-asm.h>.
23614 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23617 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23620 Use ZK to minimize writes to Z.
23621 (sub_magnitudes): Simplify code a bit.
23622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23623 Use ZK to minimize writes to Z.
23624 (sub_magnitudes): Simplify code a bit.
23626 2013-02-27 Roland McGrath <roland@hack.frob.com>
23628 * csu/gmon-start.c: Add special exception to license text.
23630 2013-02-27 Richard Henderson <rth@redhat.com>
23632 * scripts/config.guess: Update from config.git.
23633 * scripts/config.sub: Likewise.
23635 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23639 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23641 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23643 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23645 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23647 2013-02-26 Roland McGrath <roland@hack.frob.com>
23649 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23650 [$(build-shared = yes].
23652 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23654 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23655 (__mul): Reduce iterations for calculating mantissa.
23657 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23659 (__mpranred): Likewise.
23662 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23663 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23665 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23667 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23668 Define __attribute__.
23670 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23674 * posix/regex_internal.h (__attribute): Remove.
23675 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23676 (re_string_context_at): Likewise.
23677 (bitset_not): Use __attribute__ and mark function as possibly
23679 (bitset_merge): Likewise.
23680 (bitset_mask): Likewise.
23681 (re_string_char_size_at): Likewise.
23682 (re_string_wchar_at): Likewise.
23683 (re_string_elem_size_at): Likewise.
23685 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23687 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23691 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23695 (denorm): Likewise.
23696 (__dbl_mp): Likewise.
23697 (add_magnitudes): Likewise.
23698 (sub_magnitudes): Likewise.
23702 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23705 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23708 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23712 up changes with default code.
23713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23716 2013-02-24 Allan McRae <allan@archlinux.org>
23718 * manual/socket.texi (The Internet Namespace): Order menu items
23719 to match that in the file.
23721 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23722 node listing of the info page menu.
23724 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23727 * sysdeps/i386/bp-asm.h: Remove file.
23728 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23729 (PARMS): Do not use macros from bp-asm.h.
23733 (__mpn_add_n): Do not use BP_SYM
23734 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23736 (PARMS): Do not use macros from bp-asm.h.
23739 (__mpn_addmul_1): Do not use BP_SYM
23740 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23742 (PARMS): Do not use macros from bp-asm.h.
23743 (SIGMSK): Likewise.
23744 (_setjmp): Likewise. Do not use BP_SYM.
23745 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23747 (PARMS): Do not use macros from bp-asm.h.
23748 (SIGMSK): Likewise.
23749 (setjmp): Likewise. Do not use BP_SYM.
23750 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23752 (PARMS): Do not use macros from bp-asm.h.
23753 (__frexp): Do not use BP_SYM.
23755 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23757 (PARMS): Do not use macros from bp-asm.h.
23758 (__frexpf): Do not use BP_SYM.
23759 (frexpf): Likewise.
23760 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23762 (PARMS): Do not use macros from bp-asm.h.
23763 (__frexpl): Do not use BP_SYM.
23764 (frexpl): Likewise.
23765 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23767 (PARMS): Do not use macros from bp-asm.h.
23768 (__remquo): Do not use BP_SYM.
23769 (remquo): Likewise.
23770 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23772 (PARMS): Do not use macros from bp-asm.h.
23773 (__remquof): Do not use BP_SYM.
23774 (remquof): Likewise.
23775 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23777 (PARMS): Do not use macros from bp-asm.h.
23778 (__remquol): Do not use BP_SYM.
23779 (remquol): Likewise.
23780 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23782 (PARMS): Do not use macros from bp-asm.h.
23785 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23786 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23788 (PARMS): Do not use macros from bp-asm.h.
23789 (strlen): Do not use BP_SYM.
23790 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23792 (PARMS): Do not use macros from bp-asm.h.
23796 (__mpn_add_n): Do not use BP_SYM.
23797 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23799 (PARMS): Do not use macros from bp-asm.h.
23802 (__mpn_addmul_1): Do not use BP_SYM.
23803 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23806 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23808 (PARMS): Do not use macros from bp-asm.h.
23811 (__mpn_lshift): Do not use BP_SYM.
23812 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23814 (PARMS): Do not use macros from bp-asm.h.
23818 (memcpy): Likewise. Do not use BP_SYM.
23819 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23820 libc_hidden_def and weak_alias.
23821 (mempcpy): Do not use BP_SYM in weak_alias.
23822 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23824 (PARMS): Do not use macros from bp-asm.h.
23827 [!BZERO_P] (CHR): Likewise.
23828 (memset): Likewise. Do not use BP_SYM.
23829 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23831 (PARMS): Do not use macros from bp-asm.h.
23834 (__mpn_mul_1): Do not use BP_SYM.
23835 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23837 (PARMS): Do not use macros from bp-asm.h.
23840 (__mpn_rshift): Do not use BP_SYM.
23841 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23843 (PARMS): Do not use macros from bp-asm.h.
23846 (strchr): Likewise. Do not use BP_SYM.
23847 (index): Do not use BP_SYM in weak_alias.
23848 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23850 (PARMS): Do not use macros from bp-asm.h.
23853 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23854 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23856 (PARMS): Do not use macros from bp-asm.h.
23857 (strlen): Do not use BP_SYM.
23858 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23860 (PARMS): Do not use macros from bp-asm.h.
23864 (__mpn_sub_n): Do not use BP_SYM.
23865 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23867 (PARMS): Do not use macros from bp-asm.h.
23870 (__mpn_submul_1): Do not use BP_SYM.
23871 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23873 (PARMS): Do not use macros from bp-asm.h.
23877 (__mpn_add_n): Do not use BP_SYM.
23878 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23881 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23883 (PARMS): Do not use macros from bp-asm.h.
23886 (memcmp): Do not use BP_SYM.
23887 (bcmp): Do not use BP_SYM in weak_alias.
23888 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23890 (PARMS): Do not use macros from bp-asm.h.
23894 (memcpy): Likewise. Do not use BP_SYM.
23895 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23897 (PARMS): Do not use macros from bp-asm.h.
23901 (memmove): Likewise. Do not use BP_SYM.
23902 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23904 (PARMS): Do not use macros from bp-asm.h.
23908 (__mempcpy): Likewise. Do not use BP_SYM.
23909 (mempcpy): Do not use BP_SYM in weak_alias.
23910 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23912 (PARMS): Do not use macros from bp-asm.h.
23915 [!BZERO_P] (CHR): Likewise.
23916 (memset): Likewise. Do not use BP_SYM.
23917 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23919 (PARMS): Do not use macros from bp-asm.h.
23921 (strcmp): Do not use BP_SYM.
23922 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23924 (PARMS): Do not use macros from bp-asm.h.
23927 [USE_AS_STRTOK_R] (SAVE): Likewise.
23928 (FUNCTION): Likewise. Do not use BP_SYM.
23929 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23931 (strtok_r): Likewise.
23932 (__GI___strtok_r): Likewise.
23933 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23934 (PARMS): Do not use macros from bp-asm.h.
23937 (__mpn_lshift): Do not use BP_SYM.
23938 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23939 (PARMS): Do not use macros from bp-asm.h.
23942 (__memchr): Do not use BP_SYM.
23943 (memchr): Do not use BP_SYM in weak_alias.
23944 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23945 (PARMS): Do not use macros from bp-asm.h.
23948 (memcmp): Do not use BP_SYM.
23949 (bcmp): Do not use BP_SYM in weak_alias.
23950 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23951 (PARMS): Do not use macros from bp-asm.h.
23954 (__mpn_mul_1): Do not use BP_SYM.
23955 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23957 (PARMS): Do not use macros from bp-asm.h.
23960 (__rawmemchr): Do not use BP_SYM.
23961 (rawmemchr): Do not use BP_SYM in weak_alias.
23962 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23963 (PARMS): Do not use macros from bp-asm.h.
23966 (__mpn_rshift): Do not use BP_SYM.
23967 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23968 (PARMS): Do not use macros from bp-asm.h.
23969 (SIGMSK): Likewise.
23970 (__sigsetjmp): Likewise. Do not use BP_SYM.
23971 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23972 (_start): Do not use BP_SYM.
23973 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23974 (PARMS): Do not use macros from bp-asm.h.
23977 (__stpcpy): Likewise. Do not use BP_SYM.
23978 (stpcpy): Do not use BP_SYM in weak_alias.
23979 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23981 (PARMS): Do not use macros from bp-asm.h.
23985 (__stpncpy): Likewise. Do not use BP_SYM.
23986 (stpncpy): Do not use BP_SYM in weak_alias.
23987 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23988 (PARMS): Do not use macros from bp-asm.h.
23991 (strchr): Likewise. Do not use BP_SYM.
23992 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23994 (PARMS): Do not use macros from bp-asm.h.
23997 (__strchrnul): Likewise. Do not use BP_SYM.
23998 (strchrnul): Do not use BP_SYM in weak_alias.
23999 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24001 (PARMS): Do not use macros from bp-asm.h.
24003 (strcspn): Do not use BP_SYM.
24004 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24006 (PARMS): Do not use macros from bp-asm.h.
24009 (strpbrk): Likewise. Do not use BP_SYM.
24010 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24012 (PARMS): Do not use macros from bp-asm.h.
24015 (strrchr): Likewise. Do not use BP_SYM.
24016 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24017 (PARMS): Do not use macros from bp-asm.h.
24019 (strspn): Do not use BP_SYM.
24020 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24021 (PARMS): Do not use macros from bp-asm.h.
24025 (FUNCTION): Likewise. Do not use BP_SYM.
24026 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24028 (strtok_r): Likewise.
24029 (__GI___strtok_r): Likewise.
24030 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24031 (PARMS): Do not use macros from bp-asm.h.
24035 (__mpn_sub_n): Do not use BP_SYM.
24036 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24038 (PARMS): Do not use macros from bp-asm.h.
24041 (__mpn_submul_1): Do not use BP_SYM.
24042 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24044 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24046 (PARMS): Do not use macros from bp-asm.h.
24051 (__clone): Do not use BP_SYM.
24052 (clone): Do not use BP_SYM in weak_alias.
24053 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24055 (PARMS): Do not use macros from bp-asm.h.
24057 (__mmap64): Do not use BP_SYM.
24058 (mmap64): Do not use BP_SYM in weak_alias.
24059 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24060 <bp-sym.h> and <bp-asm.h>.
24061 (PARMS): Do not use macros from bp-asm.h.
24062 (__posix_fadvise64_l64): Do not use BP_SYM.
24063 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24064 (PARMS): Do not use macros from bp-asm.h.
24066 (semtimedop): Do not use BP_SYM.
24067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24070 2013-02-21 Allan McRae <allan@archlinux.org>
24072 * manual/message.texi (Charset conversion in gettext):
24073 Move @end statement to beginning of line.
24075 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24082 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24083 (denorm): Likewise.
24084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24087 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24089 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24090 tail-call to the resolved function if pltexit isn't needed.
24092 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24095 or Y being zero as being unlikely.
24096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24099 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24101 * manual/nss.texi (System Databases and Name Service Switch):
24102 Remove frobnicate @pxref.
24104 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24106 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24107 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24109 2013-02-20 Petr Machata <pmachata@redhat.com>
24111 * elf/elf.h (R_ARM_TARGET1): New macro.
24112 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24113 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24114 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24115 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24116 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24117 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24118 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24119 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24120 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24121 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24122 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24123 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24124 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24125 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24126 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24127 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24128 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24129 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24130 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24131 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24132 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24133 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24134 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24135 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24136 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24137 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24138 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24139 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24140 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24141 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24142 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24143 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24144 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24145 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24146 (R_ARM_THM_GOT_BREL12): Likewise.
24147 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24148 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24149 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24150 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24151 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24152 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24153 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24154 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24155 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24157 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24159 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24160 __attribute_used__ to __attribute__ ((unused)).
24162 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24164 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24167 comment formatting.
24168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24170 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24173 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24175 (ENTER): Remove both macro definitions.
24177 (CHECK_BOUNDS_LOW): Likewise.
24178 (CHECK_BOUNDS_HIGH): Likewise.
24179 (CHECK_BOUNDS_BOTH): Likewise.
24180 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24181 (RETURN_BOUNDED_POINTER): Likewise.
24182 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24183 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24184 (POP_ERRNO_LOCATION_RETURN): Likewise.
24185 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24186 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24187 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24189 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24190 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24191 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24192 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24193 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24194 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24195 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24196 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24197 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24198 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24199 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24200 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24201 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24202 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24204 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24205 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24207 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24208 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24209 * sysdeps/i386/i586/memset.S (memset): Likewise.
24210 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24211 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24212 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24214 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24215 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24216 Change uses of L(2) to L(out).
24217 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24218 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24219 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24220 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24221 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24223 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24224 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24226 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24227 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24228 (RETURN): Do not use macro LEAVE.
24229 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24230 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24231 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24232 * sysdeps/i386/i686/memset.S (memset): Likewise.
24233 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24234 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24236 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24238 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24239 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24240 L(1_2) and L(1_3) into L(1).
24241 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24242 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24243 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24244 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24245 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24246 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24247 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24248 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24249 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24251 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24252 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24253 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24254 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24255 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24256 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24257 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24258 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24259 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24260 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24261 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24262 * sysdeps/i386/strspn.S (strspn): Likewise.
24263 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24265 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24266 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24267 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24268 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24269 L(1_3) into L(1_1).
24270 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24271 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24272 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24274 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24276 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24278 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24281 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24283 * math/atest-exp.c (exp_mpn): Remove ROUND.
24284 * math/atest-exp2.c (exp_mpn): Likewise.
24285 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24287 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24288 * stdlib/tst-tls-atexit-lib.c: Likewise.
24289 * stdlib/tst-tls-atexit.c: Likewise.
24291 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24293 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24294 and __attribute_alloc_size__.
24296 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24298 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24299 __attribute_alloc_size__.
24300 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24301 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24303 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24305 * include/programs/xmalloc.h: New file.
24306 * catgets/gencat.c: Include it.
24307 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24308 * elf/pldd.c: Likewise.
24309 * iconv/iconv_charmap.c: Likewise.
24310 * iconv/iconvconfig.c: Likewise.
24311 * iconv/strtab.c: Likewise.
24312 * locale/programs/locale.c: Likewise.
24313 * locale/programs/localedef.h: Likewise.
24314 * locale/programs/simple-hash.c: Likewise.
24315 * nscd/nscd.h: Likewise.
24316 * nss/makedb.c: Likewise.
24317 * sysdeps/generic/ldconfig.h: Likewise.
24319 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24321 * Versions.def: Add GLIBC_2.18.
24322 * include/link.h (struct link_map): New member l_tls_dtor_count.
24323 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24324 (__call_tls_dtors): Likewise.
24325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24326 __cxa_thread_atexit_impl.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24343 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24344 (tests): Add test case tst-tls-atexit.
24345 (modules-names): Add shared library for tst-tls-atexit.
24346 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24347 (GLIBC_PRIVATE): Add __call_tls_dtors.
24348 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24350 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24351 * stdlib/tst-tls-atexit.c: New test case.
24352 * stdlib/tst-tls-atexit-lib.c: New test case.
24354 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24356 * elf/Versions (ld): Add _dl_find_dso_for_object.
24357 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24358 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24359 (dl_open_worker): Use _dl_find_dso_for_object.
24360 * elf/dl-sym.c (do_sym): Likewise.
24361 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24363 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24365 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24366 Syntactic changes only.
24367 (_dl_runtime_profile): Do a tail-call to the resolved function.
24369 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24372 * sysdeps/x86_64/bp-asm.h: Remove file.
24373 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24374 <bp-sym.h> and <bp-asm.h>.
24375 (__clone): Do not use BP_SYM.
24376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24377 <bp-sym.h> and <bp-asm.h>.
24378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24379 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24381 (_setjmp): Do not use BP_SYM.
24382 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24384 (setjmp): Do not use BP_SYM.
24385 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24387 (mempcpy): Do not use BP_SYM in weak_alias.
24388 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24390 (strchr): Do not use BP_SYM.
24391 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24393 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24394 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24395 (_start): Do not use BP_SYM.
24396 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24398 (strcat): Do not use BP_SYM.
24399 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24401 (STRCMP): Do not use BP_SYM.
24402 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24404 (STRCPY): Do not use BP_SYM.
24405 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24407 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24409 (FUNCTION): Do not use BP_SYM.
24410 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24412 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24414 2013-02-17 Andreas Jaeger <aj@suse.de>
24416 * time/Versions: Sort entries.
24417 * string/Versions: Likewise.
24418 * resolv/Versions: Likewise.
24419 * posix/Versions: Likewise.
24420 * iconv/Versions: Likewise.
24421 * elf/Versions: Likewise.
24422 * wcsmbs/Versions: Likewise.
24424 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24426 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24427 loop termination condition.
24429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24430 variable to calculate EZ.
24433 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24434 the lower precision input.
24436 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24439 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24440 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24441 (run-via-rtld-prefix): Do not handle %-bp tests.
24442 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24443 (all-object-suffixes): Remove .ob.
24444 (bppfx): Remove variable.
24445 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24446 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24447 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24448 [$(build-bounded) = yes] (libtype.ob): Likewise.
24449 * Makerules (elide-routines.ob): Remove variable.
24450 (do-tests-clean): Do not handle *-bp.out.
24451 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24452 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24453 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24454 (tests): Do not include $(tests-bp.out).
24455 (xtests): Do not include $(xtests-bp.out).
24456 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24457 [$(build-bounded) = yes] ($(addprefix
24458 $(objpfx),$(binaries-bounded))): Remove rule.
24459 ($(objpfx)%-bp.out): Remove rule.
24460 * config.make.in (build-bounded): Remove variable.
24461 * crypt/Makefile [$(build-bounded) = yes]
24462 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24463 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24464 append to variable.
24465 [$(build-bounded) = yes] (install-lib): Likewise.
24466 [$(build-bounded) = yes] (generated): Likewise.
24467 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24469 * intl/Makefile [$(build-bounded) = yes]
24470 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24471 * math/Makefile [$(build-bounded) = yes]
24472 ($(tests:%=$(objpfx)%-bp): Likewise.
24473 * misc/Makefile [$(build-bounded) = yes]
24474 ($(objpfx)tst-tsearch-bp): Likewise.
24475 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24476 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24478 * string/Makefile (o-objects.ob): Remove variable.
24479 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24480 (CFLAGS-.ob): Remove variable.
24481 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24482 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24483 both definitions of variable.
24484 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24485 (ASFLAGS-.ob): Remove variable.
24487 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24490 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24491 Remove __BOUNDED_POINTERS__ from condition.
24492 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24493 * string/bits/string2.h [!__NO_STRING_INLINES &&
24494 !__BOUNDED_POINTERS__]: Likewise.
24495 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24497 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24498 Remove conditional code.
24499 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24500 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24501 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24505 * csu/libc-start.c: Do not include <bp-sym.h>.
24506 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24507 * elf/dl-open.c: Do not include <bp-sym.h>.
24508 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24509 * math/fegetenv.c: Do not include <bp-sym.h>.
24510 (fegetenv): Do not use BP_SYM in versioned symbols.
24511 * nptl/sysdeps/pthread/bits/libc-lockP.h
24512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24515 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24517 (__pthread_mutex_destroy): Likewise.
24518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24519 (__pthread_mutex_lock): Likewise.
24520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24521 (__pthread_mutex_trylock): Likewise.
24522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24523 (__pthread_mutex_unlock): Likewise.
24524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24525 (__pthread_mutexattr_init): Likewise.
24526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24527 (__pthread_mutexattr_destroy): Likewise.
24528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24529 (__pthread_mutexattr_settype): Likewise.
24530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24531 (__pthread_rwlock_init): Likewise.
24532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24533 (__pthread_rwlock_destroy): Likewise.
24534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24535 (__pthread_rwlock_rdlock): Likewise.
24536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24537 (__pthread_rwlock_tryrdlock): Likewise.
24538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24539 (__pthread_rwlock_wrlock): Likewise.
24540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24541 (__pthread_rwlock_trywrlock): Likewise.
24542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24543 (__pthread_rwlock_unlock): Likewise.
24544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24545 (__pthread_key_create): Likewise.
24546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24547 (__pthread_setspecific): Likewise.
24548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24549 (__pthread_getspecific): Likewise.
24550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24553 (_pthread_cleanup_push_defer): Likewise.
24554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24555 (_pthread_cleanup_pop_restore): Likewise.
24556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24557 (pthread_setcancelstate): Likewise.
24558 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24560 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24561 (memchr): Do not use BP_SYM in weak_alias.
24562 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24563 (fegetenv): Do not use BP_SYM in versioned symbols.
24564 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24565 (fesetenv): Do not use BP_SYM in versioned symbols.
24566 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24567 (feupdateenv): Do not use BP_SYM in versioned symbols.
24568 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24569 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24570 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24571 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24572 (open64): Do not use BP_SYM in weak_alias.
24573 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24574 (fegetenv): Do not use BP_SYM in versioned symbols.
24575 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24576 (fesetenv): Do not use BP_SYM in versioned symbols.
24577 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24578 (feupdateenv): Do not use BP_SYM in versioned symbols.
24579 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24580 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24581 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24582 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24583 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24584 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24585 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24587 (__libc_start_main): Do not use BP_SYM.
24589 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24592 redundant return line.
24594 (denorm): Likewise.
24595 (dbl_mp): Likewise.
24596 (sub_magnitudes): Likewise.
24602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24604 (denorm): Likewise.
24605 (dbl_mp): Likewise.
24606 (sub_magnitudes): Likewise.
24613 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24616 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24619 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24620 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24622 of __mul for squares.
24623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24627 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24630 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24633 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24635 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24636 prototype or function definition. Rename ubp_* variables and
24637 parameters. Remove argv definitions conditional on
24638 [__BOUNDED_POINTERS__].
24639 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24640 * elf/dl-runtime.c (_dl_fixup): Likewise.
24641 * include/set-hooks.h (RUN_HOOK): Likewise.
24642 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24644 * string/strcpy.c (strcpy): Do not use __unbounded.
24645 * sysdeps/generic/frame.h (struct layout): Likewise.
24646 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24647 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24648 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24649 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24650 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24651 (__backtrace): Likewise.
24652 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24654 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24655 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24656 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24658 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24659 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24660 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24661 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24662 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24663 Do not use __unbounded.
24664 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24665 Rename __unboundedrlimits parameter to rlimits in prototype.
24666 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24667 Do not use __unbounded.
24668 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24669 not use __ptrvalue.
24670 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24671 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24672 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24673 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24674 __ptrvalue or __unbounded.
24675 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24676 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24678 (__new_msgctl): Do not use __ptrvalue.
24679 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24681 (__libc_msgrcv): Do not use __ptrvalue.
24682 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24683 startup_info): Do not use __unbounded.
24684 (__libc_start_main): Likewise. Rename ubp_* variables and
24685 parameters. Remove argv definitions conditional on
24686 [__BOUNDED_POINTERS__].
24687 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24689 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24691 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24693 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24695 (__new_shmctl): Do not use __ptrvalue.
24696 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24697 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24699 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24701 (__libc_sigaction): Likewise.
24702 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24705 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24707 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24709 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24711 * string/mempcpy.c: Implement by calling memcpy.
24713 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24720 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24721 values in the mantissa.
24723 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24724 minimize writes to Z.
24725 (sub_magnitudes): Simplify code a bit.
24727 2013-02-12 Roland McGrath <roland@hack.frob.com>
24729 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24730 from the message. The linker prefixes all warnings with that already.
24732 2013-02-12 Andreas Schwab <schwab@suse.de>
24735 * posix/regexec.c (extend_buffers): Add parameter min_len.
24736 (check_matching): Pass minimum needed length.
24737 (clean_state_log_if_needed): Likewise.
24738 (get_subexp): Likewise.
24739 * posix/Makefile (tests): Add bug-regex34.
24740 (bug-regex34-ENV): Define.
24741 * posix/bug-regex34.c: New file.
24744 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24745 elements compare against the byte sequence of it, not its name.
24746 * posix/Makefile (tests): Add bug-regex35.
24747 (bug-regex35-ENV): Define.
24748 * posix/bug-regex35.c: New file.
24750 2013-02-11 Tom de Vries <tom@codesourcery.com>
24752 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24754 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24755 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24756 (CHECK_EOL): Add undef.
24758 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24760 * bits/stdlib-bsearch.h: New file.
24761 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24762 * stdlib/stdlib.h: Likewise.
24764 2013-02-11 Roland McGrath <roland@hack.frob.com>
24766 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24767 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24769 * manual/search.texi (Array Search Function): Add missing const in
24771 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24772 declaration to use rlim_t.
24773 (Basic Scheduling Functions): Remove erroneous const from
24774 sched_getparam prototype. Remove erroneous * from
24775 sched_get_priority_max and sched_get_priority_min prototypes.
24776 (Resource Usage): Fix summary @comment on vtimes to refer to
24777 sys/vtimes.h rather than vtimes.h.
24778 Add missing *s in vtimes prototype.
24779 (Limits on Resources): Fix ulimit prototype to return long int.
24780 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24781 prototypes to use long int rather than double.
24782 (BSD Random): Fix initstate and setstate to use char *, not void *.
24783 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24784 prototype to make second argument 'struct aiocb64 *const[]'.
24785 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24786 (Status of AIO Operations): Remove erroneous const in aio_return and
24787 aio_return64 prototypes.
24788 (Synchronizing I/O): Fix sync prototype to return void.
24789 * manual/startup.texi (Suboptions): Remove an erroneous const in
24790 getsubopt prototype.
24791 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24792 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24793 use size_t rather than int.
24794 (Scanning All Users): Likewise for getpwent_r.
24795 (Setting Groups): Add missing const to setgroups prototype.
24796 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24797 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24798 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24799 'const void *' rather than 'const char *'.
24800 (Host Address Functions): Likewise for inet_ntop.
24801 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24802 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24803 ssize_t for return value.
24804 (Sending Data): Likewise for send, sendto, sendmsg.
24805 (Socket Option Functions): Add a missing const in setsockopt prototype.
24806 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24807 use wchar_t for the argument.
24808 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24809 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24811 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24812 double/float/long double for second argument.
24813 Fix return types of significand, significandf, significandl.
24814 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24815 argument in fchmod prototype.
24816 (File Owner): Use uid_t and gid_t in fchown prototype.
24817 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24818 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24819 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24820 use 'const struct dirent **' as argument types to CMP function pointer
24822 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24823 (File Times): Fix summary magic @comment for struct utimbuf and utime
24824 to refer to utime.h, not time.h.
24825 * manual/string.texi (Argz Functions): Add missing const in
24826 argz_extract and argz_next prototypes.
24827 (Finding Tokens in a String): Likewise for basename.
24828 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24829 (Copying and Concatenation): Fix typo in wmemmove prototype.
24830 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24831 (Signal Stack): Remove erroneous const in sigstack prototype.
24832 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24834 (Simple Calendar Time): Likewise for stime.
24835 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24837 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24838 say sys/sysctl.h instead.
24839 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24840 and vsyslog prototypes.
24842 2013-02-11 Tom de Vries <tom@codesourcery.com>
24844 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24847 2013-02-11 Roland McGrath <roland@hack.frob.com>
24849 * misc/sys/mman.h: Fix typo in mremap comment.
24851 2013-02-08 Roland McGrath <roland@hack.frob.com>
24853 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24854 the '\0' terminator.
24856 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24859 * debug/segfault.c: Don't include <bp-checks.h>.
24860 * sysdeps/generic/bp-checks.h: Remove file.
24861 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24862 (__GETDENTS): Don't use CHECK_N.
24863 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24864 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24865 (__getgroups): Don't use CHECK_N.
24866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24867 (setgroups): Don't use CHECK_N.
24868 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24869 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24870 (__libc_msgrcv): Don't use CHECK_N.
24871 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24872 (__libc_msgsnd): Don't use CHECK_N.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24875 (__libc_pread): Don't use CHECK_N.
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24877 include <bp-checks.h>.
24878 (__libc_pread64): Don't use CHECK_N.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24880 include <bp-checks.h>.
24881 (__libc_pwrite): Don't use CHECK_N.
24882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24883 include <bp-checks.h>.
24884 (__libc_pwrite64): Don't use CHECK_N.
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24887 (__libc_pread): Don't use CHECK_N.
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24889 include <bp-checks.h>.
24890 (__libc_pread64): Don't use CHECK_N.
24891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24892 include <bp-checks.h>.
24893 (__libc_pwrite): Don't use CHECK_N.
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24895 include <bp-checks.h>.
24896 (__libc_pwrite64): Don't use CHECK_N.
24897 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24898 (do_pread): Don't use CHECK_N.
24899 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24900 (do_pread64): Don't use CHECK_N.
24901 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24902 (do_pwrite): Don't use CHECK_N.
24903 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24904 (do_pwrite64): Don't use CHECK_N.
24905 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24906 (__libc_readv): Don't use CHECK_N.
24907 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24908 (semop): Don't use CHECK_N.
24909 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24911 (semtimedop): Don't use CHECK_N.
24912 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24913 (__libc_pread): Don't use CHECK_N.
24914 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24916 (__libc_pread64): Don't use CHECK_N.
24917 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24919 (__libc_pwrite): Don't use CHECK_N.
24920 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24922 (__libc_pwrite64): Don't use CHECK_N.
24923 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24925 (__libc_msgrcv): Don't use CHECK_N.
24926 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24927 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24928 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24929 (__libc_writev): Don't use CHECK_N.
24931 2013-02-08 Roland McGrath <roland@hack.frob.com>
24933 * string/strcpy.c: Removed unused variable.
24935 * Makeconfig (+sysdep-includes): Define with := rather than =.
24936 Use an existing include/ subdir of each sysdeps dir before it.
24938 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24940 * nscd/connection.c (register_traced_file): Comment function.
24941 [HAVE_INOTIFY] (union __inev): Define.
24942 [HAVE_INOTIFY] (inotify_check_files): New function.
24943 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24944 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24946 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24948 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24950 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24951 loaded if not already and that a failure is permanent.
24953 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24956 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24957 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24959 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24962 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24963 (CHECK_1_NULL_OK): Likewise.
24964 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24965 (__fxstat): Do not use CHECK_1.
24966 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24968 (___fxstat64): Do not use CHECK_1.
24969 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24971 (__fxstatat): Do not use CHECK_1.
24972 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24974 (__fxstatat64): Do not use CHECK_1.
24975 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24977 (__fxstat): Do not use CHECK_1.
24978 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24980 (__fxstatat): Do not use CHECK_1.
24981 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24983 (__getresgid): Do not use CHECK_1.
24984 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24986 (__getresuid): Do not use CHECK_1.
24987 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24989 (__lxstat): Do not use CHECK_1.
24990 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24992 (__old_msgctl): Do not use CHECK_1.
24993 (__new_msgctl): Likewise.
24994 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24996 (__new_setrlimit): Do not use CHECK_1.
24997 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24999 (__old_shmctl): Do not use CHECK_1.
25000 (__new_shmctl): Likewise.
25001 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25003 (__xstat): Do not use CHECK_1.
25004 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25005 (__lxstat): Do not use CHECK_1.
25006 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25008 (___lxstat64): Do not use CHECK_1.
25009 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25010 (__old_msgctl): Do not use CHECK_1.
25011 (__new_msgctl): Likewise.
25012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25014 (__gettimeofday): Do not use CHECK_1.
25015 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25016 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25017 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25019 (__gettimeofday): Do not use CHECK_1.
25020 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25021 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25022 (__new_shmctl): Do not use CHECK_1.
25023 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25025 (do_sigtimedwait): Do not use CHECK_1.
25026 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25028 (do_sigwaitinfo): Do not use CHECK_1.
25029 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25031 (msgctl): Do not use CHECK_1.
25032 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25034 (shmctl): Do not use CHECK_1.
25035 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25036 (ustat): Do not use CHECK_1.
25037 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25039 (__fxstat): Do not use CHECK_1.
25040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25042 (__fxstatat): Do not use CHECK_1.
25043 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25045 (__lxstat): Do not use CHECK_1.
25046 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25048 (__xstat): Do not use CHECK_1.
25049 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25050 (__xstat): Do not use CHECK_1.
25051 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25052 (___xstat64): Do not use CHECK_1.
25055 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25057 (CHECK_BOUNDS_HIGH): Likewise.
25058 * string/strcpy.c: Do not include <bp-checks.h>.
25059 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25061 2013-02-07 Roland McGrath <roland@hack.frob.com>
25063 * nscd/nscd-client.h (__nscd_drop_map_ref):
25064 Add __attribute__ ((unused)).
25065 * nis/nss-nisplus.h (niserr2nss): Likewise.
25067 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25068 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25070 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25071 Remove inline keyword.
25072 * include/rounding-mode.h (round_away): Likewise.
25073 * libio/wfileops.c (adjust_wide_data): Likewise.
25074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25075 (__m128i_strloadu_tolower): Likewise.
25076 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25077 (__m128i_strloadu_tolower): Likewise.
25078 * time/mktime.c (ydhms_diff): Likewise.
25079 * locale/elem-hash.h (elem_hash): Likewise.
25080 * locale/setlocale.c (setdata): Likewise.
25081 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25082 (re_string_wchar_at): Likewise.
25083 (bitset_not, bitset_merge, bitset_mask): Likewise.
25084 [!(__GNUC__ > 3)] (inline): Remove macro.
25085 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25086 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25087 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25088 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25089 * string/memcmp.c (memcmp_bytes): Likewise.
25090 * locale/programs/locarchive.c (compute_hashval): Likewise.
25091 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25092 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25093 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25094 * nss/getent.c (print_rpc, print_protocols): Likewise.
25095 (print_passwd, print_group, print_aliases): Likewise.
25096 * nis/nss-nisplus.h (niserr2nss): Likewise.
25097 * nscd/connections.c (restart_p): Likewise.
25098 Change return type to bool.
25100 2013-02-05 Roland McGrath <roland@hack.frob.com>
25102 * Makeconfig (all-Depend-files): Add existing
25103 $(sorted-subdirs:=/Depend) files.
25104 (all-subdirs): Remove nss.
25105 * sysdeps/unix/inet/Subdirs: Add it here instead.
25106 * hesiod/Depend: New file.
25108 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25109 instead of calling alloca.
25111 * io/lseek.c (__lseek): Rename to __libc_lseek.
25112 Define __lseek as an alias.
25114 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25116 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25118 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25119 else clause and remove check for non-standard endianness.
25121 2013-02-04 David S. Miller <davem@davemloft.net>
25123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25125 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25128 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25129 (__ubp_memchr): Remove prototype.
25130 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25131 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25132 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25133 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25134 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25136 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25137 (__ubp_memchr): Likewise.
25138 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25139 (__ubp_memchr): Likewise.
25140 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25141 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25142 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25143 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25145 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25146 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25147 (__getcwd): Do not use CHECK_STRING.
25148 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25150 (__real_chown): Do not use CHECK_STRING.
25151 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25153 (fchownat): Do not use CHECK_STRING.
25154 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25156 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25158 (__lchown): Do not use CHECK_STRING.
25159 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25160 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25161 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25162 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25164 include <bp-checks.h>.
25165 (truncate64): Do not use CHECK_STRING.
25166 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25168 (__real_chown): Do not use CHECK_STRING.
25169 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25171 (__lchown): Do not use CHECK_STRING.
25172 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25174 (__chown): Do not use CHECK_STRING.
25175 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25177 (truncate64): Do not use CHECK_STRING.
25178 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25180 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25181 (__xmknod): Do not use CHECK_STRING.
25182 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25184 (__xmknodat): Do not use CHECK_STRING.
25185 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25186 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25188 2013-02-04 Andreas Schwab <schwab@suse.de>
25191 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25192 * include/netdb.h: Likewise for h_errno.
25193 * elf/tst-stackguard1.c: Include <tls.h>.
25195 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25197 * elf/link.h (struct link_map): Extend the l_addr comment.
25198 * include/link.h (struct link_map): Likewise.
25200 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25203 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25204 (BOUNDED_1): Remove macro.
25205 * debug/backtrace.c: Don't include <bp-checks.h>.
25206 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25207 (__backtrace): Likewise.
25208 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25210 (__backtrace): Don't use BOUNDED_1.
25211 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25213 (__backtrace): Don't use BOUNDED_1.
25214 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25215 (__backtrace): Don't use BOUNDED_1.
25216 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25217 (shmat): Don't use BOUNDED_N.
25219 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25222 * sysdeps/generic/bp-start.h: Remove file.
25223 * csu/libc-start.c: Don't include <bp-start.h>.
25224 (LIBC_START_MAIN): Set up __environ directly instead of using
25225 INIT_ARGV_and_ENVIRON.
25226 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25230 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25232 (CHECK_FCNTL): Likewise.
25233 (CHECK_N_PAGES): Likewise.
25236 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25238 (CHECK_SIGSET_NULL_OK): Likewise.
25239 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25241 (sigpending): Don't use CHECK_SIGSET.
25242 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25244 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25245 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25247 (do_sigsuspend): Don't use CHECK_SIGSET.
25248 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25250 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25251 (do_sigwait): Don't use CHECK_SIGSET.
25252 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25255 include <bp-checks.h>.
25256 (sigpending): Don't use CHECK_SIGSET.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25258 include <bp-checks.h>.
25259 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25260 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25262 (sigpending): Don't use CHECK_SIGSET.
25263 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25265 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25268 * sysdeps/generic/bp-semctl.h: Remove file.
25269 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25270 <bp-checks.h> and <bp-semctl.h>.
25271 (__old_semctl): Don't use CHECK_SEMCTL.
25272 (__new_semctl): Likewise.
25273 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25275 (__old_semctl): Don't use CHECK_SEMCTL.
25276 (__new_semctl): Likewise.
25277 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25278 <bp-checks.h> and <bp-semctl.h>.
25279 (__old_semctl): Don't use CHECK_SEMCTL.
25280 (__new_semctl): Likewise.
25281 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25282 <bp-checks.h> and <bp-semctl.h>.
25283 (semctl): Don't use CHECK_SEMCTL.
25286 * Makerules (elide-bp-thunks): Remove variable.
25287 (elide-routines.oS): Don't use $(elide-bp-thunks).
25288 (elide-routines.os): Likewise.
25289 (elide-routines.o): Likewise.
25290 (elide-routines.op): Likewise.
25291 (elide-routines.og): Likewise.
25292 (objects): Don't use $(bp-thunks).
25293 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25295 (common-generated): Do not add s-proto-bp.d.
25296 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25299 Do not generate makefile rules for bounded-pointer thunks.
25300 * sysdeps/generic/bp-thunks.h: Remove file.
25301 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25302 * sysdeps/unix/s-proto-bp.S: Likewise.
25305 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25306 parts of result separately when argument is not close to line from
25307 -i to i and one part of argument is small.
25308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25310 * math/libm-test.inc (cacos_test): Add more tests.
25311 (casin_test): Likewise.
25312 (casinh_test): Likewise.
25313 * sysdeps/i386/fpu/libm-test-ulps: Update.
25314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25316 2013-01-31 David S. Miller <davem@davemloft.net>
25318 * po/de.po: Update from translation team.
25320 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25322 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25324 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25326 * configure.in (_AC_PROG_CC_C89): New definition.
25327 * configure: Regenerate.
25329 * configure.in (AC_PROG_CPP): New definition.
25330 * configure: Regenerate.
25332 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25334 * debug/tst-backtrace.h: New file.
25335 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25336 (ret): Remove variable.
25338 (FAIL): Remove macro.
25339 (NO_INLINE): Likewise.
25340 (fn1): Use match function instead of strstr.
25341 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25342 (ret): Remove variable.
25344 (FAIL): Remove macro.
25345 (NO_INLINE): Likewise.
25346 (fn): Use match function instead of strstr.
25347 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25348 (ret): Remove variable.
25350 (FAIL): Remove macro.
25351 (NO_INLINE): Likewise.
25352 (handle_signal): Use match function instead of strstr.
25353 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25354 (ret): Remove variable.
25356 (FAIL): Remove macro.
25357 (NO_INLINE): Likewise.
25358 (handle_signal): Use match function instead of strstr.
25360 2013-01-23 Roland McGrath <roland@hack.frob.com>
25362 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25364 2013-01-23 David S. Miller <davem@davemloft.net>
25366 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25367 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25368 argument of CAS if possible.
25369 * sysdeps/sparc/sparc64/bits/atomic.h
25370 (__arch_compare_and_exchange_val_32_acq): Likewise.
25371 (__arch_compare_and_exchange_val_64_acq): Likewise.
25373 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25375 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25376 * sysdeps/posix/ulimit.c: ... this.
25377 Include <limits.h>.
25378 * sysdeps/unix/bsd/ulimit.c: Remove file.
25380 2013-01-23 Adam Conrad <adconrad@0c3.net>
25382 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25383 (LDFLAGS-tst-array5): Likewise.
25385 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25388 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25389 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25390 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25391 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25393 2013-01-21 David S. Miller <davem@davemloft.net>
25395 * sysdeps/sparc/backtrace.c: New file.
25396 * sysdeps/sparc/sparc32/backtrace.h: New file.
25397 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25398 * sysdeps/sparc/sparc64/backtrace.h: New file.
25399 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25400 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25403 2013-01-21 Andreas Schwab <schwab@suse.de>
25406 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25409 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25415 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25416 Mark Mitchell <mark@codesourcery.com>
25417 Tom de Vries <tom@codesourcery.com>
25418 Paul Pluzhnikov <ppluzhnikov@google.com>
25420 * debug/tst-backtrace2.c: New file.
25421 * debug/tst-backtrace3.c: Likewise.
25422 * debug/tst-backtrace4.c: Likewise.
25423 * debug/tst-backtrace5.c: Likewise.
25424 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25425 (CFLAGS-tst-backtrace3.c): Likewise.
25426 (CFLAGS-tst-backtrace4.c): Likewise.
25427 (CFLAGS-tst-backtrace5.c): Likewise.
25428 (LDFLAGS-tst-backtrace2): Likewise.
25429 (LDFLAGS-tst-backtrace3): Likewise.
25430 (LDFLAGS-tst-backtrace4): Likewise.
25431 (LDFLAGS-tst-backtrace5): Likewise.
25432 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25433 tst-backtrace4 and tst-backtrace5.
25435 2013-01-18 Anton Blanchard <anton@samba.org>
25436 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25438 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25439 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25440 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25441 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25443 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25444 "+r" and remove output regs list as redundant. Add explicit inline
25445 asm to specify register of return val to work around compiler codegen
25446 bug. Remove (int) cast on return value. Add return type parameter to
25447 use in macro so that this macro does not truncate return value for
25449 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25450 pass to INTERNAL_VSYSCALL_NCS.
25451 (INLINE_VSYSCALL): Add 'long int' as return type to
25452 INTERNAL_VSYSCALL_NCS macro invocation.
25453 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25454 INTERNAL_VSYSCALL_NCS macro invocation.
25455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25457 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25460 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25461 Fix application of SIMD FP exception mask.
25463 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25464 mp_no from a power of two.
25465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25466 __mpexp_twomm1. Use __pow_mp.
25468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25471 2013-01-17 David S. Miller <davem@davemloft.net>
25473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25475 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25478 * include/complex.h: Condition contents on [!_COMPLEX_H].
25479 (__kernel_casinhf): New prototype.
25480 (__kernel_casinh): Likewise.
25481 (__kernel_casinhl): Likewise.
25482 * math/Makefile (libm_calls): Add k_casinh.
25483 * math/k_casinh.c: New file.
25484 * math/k_casinhf.c: Likewise.
25485 * math/k_casinhl.c: Likewise.
25486 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25487 finite nonzero arguments.
25488 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25489 finite nonzero arguments.
25490 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25491 finite nonzero arguments.
25492 * math/s_casinh.c: Do not include <float.h>.
25493 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25494 * math/s_casinhf.c: Do not include <float.h>.
25495 (__casinhf): Move code for finite nonzero arguments to
25497 * math/s_casinhl.c: Do not include <float.h>.
25498 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25500 (__casinhl): Move code for finite nonzero arguments to
25502 * math/libm-test.inc (cacos_test): Add more tests.
25503 * sysdeps/i386/fpu/libm-test-ulps: Update.
25504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25506 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25508 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25509 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25510 [!HAVE_MREMAP]: Remove [defined linux] case.
25511 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25513 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25515 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25517 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25519 * elf/elf.h (R_386_SIZE32): New relocation.
25520 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25522 (elf_machine_rela): Likewise.
25523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25524 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25526 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25528 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25529 (FP_FAST_FMA): Do not define.
25530 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25531 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25532 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25533 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25534 !_SOFT_FLOAT]: Likewise.
25535 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25536 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25538 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25539 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25540 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25541 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25542 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25543 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25546 2013-01-16 Andreas Schwab <schwab@suse.de>
25549 * include/stdlib.h (__mktemp): Add declaration.
25550 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25551 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25553 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25555 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25557 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25558 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25559 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25561 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25562 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25564 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25566 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25567 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25568 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25570 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25571 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25573 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25575 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25577 2013-01-15 David S. Miller <davem@davemloft.net>
25579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25580 trunc{,f} to libm-sysdep_routes.
25581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25591 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25593 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25594 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25595 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25596 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25599 nearbyint{,f} to libm-sysdep_routes.
25600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25617 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25618 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25620 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25621 libc_feholdexcept and libc_fesetenv.
25623 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25625 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25627 2013-01-14 David S. Miller <davem@davemloft.net>
25629 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25630 (SPARC_ASM_VIS2_IFUNC): Likewise.
25631 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25633 use of 'siam' instruction.
25634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25667 routines to libm-sysdep_routines.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25671 fdim/fdimf to libm-sysdep_routines.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25680 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25681 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25682 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25683 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25685 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25688 to optimize copies.
25690 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25695 local variable MPTWO.
25696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25699 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25701 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25704 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25706 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25708 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25710 * manual/pattern.texi (glob_t): Document gl_flags.
25711 (glob64_t): Likewise.
25713 2013-01-11 David S. Miller <davem@davemloft.net>
25715 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25716 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25717 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25718 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25719 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25720 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25721 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25722 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25723 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25724 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25725 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25726 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25727 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25729 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25730 sparc V9 rather than using V8 code.
25731 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25732 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25734 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25739 2013-01-11 Roland McGrath <roland@hack.frob.com>
25741 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25742 not in the main loop.
25743 * configure: Regenerated.
25745 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25747 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25748 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25750 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25751 [!__GLIBC_HAVE_LONG_LONG] case.
25752 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25753 condition to just #else.
25754 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25755 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25756 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25757 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25759 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25760 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25761 #elif condition to just #else.
25762 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25763 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25764 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25765 #elif condition to just #else.
25767 2013-01-11 Steve Ellcey <sellcey@mips.com>
25769 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25770 (EF_MIPS_ARCH_64): Fix value.
25771 (EF_MIPS_ARCH_32R2): New.
25772 (EF_MIPS_ARCH_64R2): New.
25774 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25776 * Makeconfig (+link-pie-before-libc): New.
25777 (+link-pie-after-libc): Likewise.
25778 (+link-pie-tests): Likewise.
25779 (+link-pie): Rewritten.
25780 (link-before-libc): Remove $(config-LDFLAGS).
25781 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25782 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25783 (config-LDFLAGS): Renamed to ...
25784 (rtld-LDFLAGS): This.
25785 (rtld-tests-LDFLAGS): New macro.
25786 (link-libc-rpath-link): Likewise.
25787 (link-libc-tests-rpath-link): Likewise.
25788 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25789 (link-libc): Prepand $(link-libc-rpath-link).
25790 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25791 (test-program-prefix): New macro.
25792 (test-via-rtld-prefix): Likewise.
25793 (test-program-cmd): Likewise.
25794 (host-test-program-cmd): Likewise.
25795 * Makefile ($(common-objpfx)testrun.sh): Replace
25796 $(run-program-prefix) with $(test-program-prefix).
25797 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25799 ($(common-objpfx)shlib.lds): Likewise.
25800 (build-module-helper): Likewise.
25801 ($(common-objpfx)format.lds): Likewise.
25802 * Rules (binaries-pie-tests): New.
25803 (binaries-pie-notests): Likewise.
25804 (binaries-pie): Rewritten.
25805 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25806 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25807 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25808 (make-test-out): Replace $(host-built-program-cmd) with
25809 $(host-test-program-cmd).
25810 * config.make.in (build-hardcoded-path-in-tests): New variable.
25811 * configure.in (--enable-hardcoded-path-in-tests): New configure
25813 (hardcoded_path_in_tests): New AC_SUBST.
25814 * configure: Regenerated.
25815 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25816 $(built-program-cmd) with $(test-program-cmd).
25817 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25818 (test_program_cmd): This.
25819 * elf/Makefile ($(objpfx)order.out): Run test with
25820 $(test-program-prefix).
25821 ($(objpfx)order2.out): Likewise.
25822 ($(objpfx)tst-initorder.out): Likewise.
25823 ($(objpfx)tst-initorder2.out): Likewise.
25824 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25825 $(test-program-cmd).
25826 ($(objpfx)tst-array1-static.out): Likewise.
25827 ($(objpfx)tst-array2.out): Likewise.
25828 ($(objpfx)tst-array3.out): Likewise.
25829 ($(objpfx)tst-array4.out): Likewise.
25830 ($(objpfx)tst-array5.out): Likewise.
25831 ($(objpfx)tst-array5-static.out): Likewise.
25832 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25833 $(test-program-cmd).
25834 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25835 $(run-program-prefix) with $(test-program-prefix).
25836 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25837 (test_program_prefix): This.
25838 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25839 $(run-program-prefix) with $(test-program-prefix).
25840 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25841 (test_program_prefix): This.
25842 * iconvdata/tst-tables.sh: Likewise.
25843 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25844 $(run-program-prefix) with $(test-program-prefix).
25845 ($(objpfx)tst-translit.out): Likewise.
25846 ($(objpfx)tst-gettext2.out): Likewise.
25847 ($(objpfx)tst-gettext4.out): Likewise.
25848 ($(objpfx)tst-gettext6.out): Likewise.
25849 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25850 (test_program_prefix): This.
25851 * intl/tst-gettext2.sh: Likewise.
25852 * intl/tst-gettext4.sh Likewise.
25853 * intl/tst-gettext6.sh: Likewise.
25854 * intl/tst-translit.sh: Likewise.
25855 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25856 with $(test-program-cmd).
25857 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25858 $(run-program-prefix) with $(test-program-prefix).
25859 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25860 (test_program_prefix): This.
25861 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25862 $(run-program-prefix) with $(test-program-prefix).
25863 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25864 (test_program_prefix): This.
25865 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25866 * posix/Makefile ($(objpfx)globtest.out): Replace
25867 $(run-via-rtld-prefix) and $(test-wrapper) with
25868 $(test-program-prefix) and $(test-via-rtld-prefix).
25869 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25870 $(test-program-prefix).
25871 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25872 $(host-test-program-cmd).
25873 (tst-spawn-ARGS): Likewise.
25874 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25875 $(test-program-prefix).
25876 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25877 (test_via_rtld_prefix): This.
25878 (test_wrapper): Renamed to ...
25879 (test_program_prefix): This.
25880 (run_program_prefix): Replaced by test_program_prefix.
25881 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25882 (test_program_prefix): This.
25883 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25884 with $(host-test-program-cmd).
25885 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25886 $(run-program-prefix) with $(test-program-prefix).
25887 ($(objpfx)tst-printf.out): Likewise.
25888 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25889 $(test-program-cmd).
25890 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25891 (test_program_prefix): This.
25892 * stdio-common/tst-unbputc.sh: Likewise.
25893 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25894 $(run-program-prefix) with $(test-program-prefix).
25895 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25896 (test_program_prefix): This.
25897 * string/Makefile ($(objpfx)tst-svc.out): Replace
25898 $(built-program-cmd) with $(test-program-cmd).
25900 2013-01-11 Andreas Jaeger <aj@suse.de>
25903 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25904 value. Sync with Linux 3.7.
25906 2013-01-10 David S. Miller <davem@davemloft.net>
25908 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25909 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25910 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25912 2013-01-10 Roland McGrath <roland@hack.frob.com>
25914 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25916 * configure: Regenerated.
25918 2013-01-10 David S. Miller <davem@davemloft.net>
25920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25921 sparc V9 rather than using V8 code.
25922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25925 2013-01-10 Roland McGrath <roland@hack.frob.com>
25927 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25928 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25929 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25930 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25931 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25932 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25933 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25934 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25935 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25936 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25937 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25938 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25939 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25940 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25941 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25942 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25943 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25944 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25945 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25946 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25947 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25948 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25949 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25950 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25951 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25952 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25953 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25955 2013-01-10 David S. Miller <davem@davemloft.net>
25957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25959 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25961 * posix/Makefile (tests-static): New variable.
25962 (tests): Add $(tests-static).
25963 (tst-exec-static-ARGS): New variable.
25964 (tst-spawn-static-ARGS): Likewise.
25965 * posix/tst-exec-static.c: New file.
25966 * posix/tst-spawn-static.c: Likewise.
25967 * posix/tst-exec.c: Support run directly.
25968 * posix/tst-spawn.c: Likewise.
25970 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25972 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25974 * math/bits/mathcalls.h (llrint): Likewise.
25975 (llround): Likewise.
25976 * stdlib/stdlib.h (struct drand48_data): Likewise.
25977 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25978 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25979 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25981 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25983 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25984 (elf_greg_t): Likewise.
25985 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25986 (__jmp_buf): Likewise.
25987 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25989 (llrint): Likewise, for all definitions.
25990 (llrintl): Likewise.
25992 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25993 Remove [__GNUC__] condition.
25994 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25995 condition to just [__USE_ISOC99].
25996 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25998 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26001 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26002 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26004 (_POSIX_V6_ILP32_OFF32): Likewise.
26005 (_XBS5_ILP32_OFF32): Likewise.
26006 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26007 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26009 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26011 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26014 doubles __mpexp_twomm1. Adjust usage.
26015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26018 2013-01-10 Andreas Schwab <schwab@suse.de>
26021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26022 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26024 2013-01-09 David S. Miller <davem@davemloft.net>
26027 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26028 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26029 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26030 (TCP_FASTOPEN): Define.
26031 (tcp_repair_opt): New structure.
26032 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26034 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26035 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26036 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26037 (tcp_cookie_transactions): New structure.
26039 2013-01-09 Anton Blanchard <anton@samba.org>
26041 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26042 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26043 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26044 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26046 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26048 * include/features.h (__USE_ANSI): Remove.
26050 2013-01-09 Roland McGrath <roland@hack.frob.com>
26052 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26054 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26056 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26058 * sysdeps/s390/fpu/libm-test-ulps: Update.
26060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26062 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26066 (denorm): Likewise.
26067 (__mp_dbl): Likewise.
26068 (__dbl_mp): Likewise.
26069 (add_magnitudes): Likewise.
26070 (sub_magnitudes): Likewise.
26076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26080 (denorm): Likewise.
26081 (__mp_dbl): Likewise.
26082 (__dbl_mp): Likewise.
26083 (add_magnitudes): Likewise.
26084 (sub_magnitudes): Likewise.
26090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26094 (denorm): Likewise.
26095 (__mp_dbl): Likewise.
26096 (__dbl_mp): Likewise.
26097 (add_magnitudes): Likewise.
26098 (sub_magnitudes): Likewise.
26105 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26107 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26108 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26109 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26110 2 && __USE_EXTERN_INLINES]: Likewise.
26112 2013-01-08 Andreas Jaeger <aj@suse.de>
26115 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26117 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26118 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26120 2013-01-07 Anton Blanchard <anton@samba.org>
26122 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26123 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26124 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26125 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26126 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26127 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26128 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26129 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26134 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26137 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26138 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26140 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26142 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26143 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26145 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26147 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26149 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26152 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26155 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26166 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26168 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26169 (__MALLOC_PMT): Likewise.
26170 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26171 [__GNUC__], only on [_LIBC].
26172 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26173 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26174 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26175 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26176 forward declaration.
26177 (realloc_hook_ini): Likewise.
26178 (memalign_hook_ini): Likewise.
26179 (__libc_memalign): Do not use __MALLOC_PMT in variable
26181 (__libc_valloc): Likewise.
26182 (__libc_pvalloc): Likewise.
26183 (__libc_calloc): Likewise.
26184 (__posix_memalign): Likewise.
26187 * math/s_casinh.c: Include <float.h>.
26188 (__casinh): Do not do computation with squaring and square root
26189 for large arguments.
26190 * math/s_casinhf.c: Include <float.h>.
26191 (__casinhf): Do not do computation with squaring and square root
26192 for large arguments.
26193 * math/s_casinhl.c: Include <float.h>.
26194 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26195 (__casinhl): Do not do computation with squaring and square root
26196 for large arguments.
26197 * math/libm-test.inc (casin_test): Add more tests.
26198 (casinh_test): Likewise.
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26204 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26205 (__x86_64_raw_data_cache_size): Likewise.
26206 (__x86_64_data_cache_size_half): Likewise.
26207 (__x86_64_raw_data_cache_size_half): Likewise.
26208 (__x86_64_shared_cache_size): Likewise.
26209 (__x86_64_raw_shared_cache_size): Likewise.
26210 (__x86_64_shared_cache_size_half): Likewise.
26211 (__x86_64_raw_shared_cache_size_half): Likewise.
26212 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26214 (__x86_data_cache_size): This.
26215 (__x86_64_raw_data_cache_size): Renamed to ...
26216 (__x86_raw_data_cache_size): This.
26217 (__x86_64_data_cache_size_half): Renamed to ...
26218 (__x86_data_cache_size_half): This.
26219 (__x86_64_raw_data_cache_size_half): Renamed to ...
26220 (__x86_raw_data_cache_size_half): This.
26221 (__x86_64_shared_cache_size): Renamed to ...
26222 (__x86_shared_cache_size): This.
26223 (__x86_64_raw_shared_cache_size): Renamed to ...
26224 (__x86_raw_shared_cache_size): This.
26225 (__x86_64_shared_cache_size_half): Renamed to ...
26226 (__x86_shared_cache_size_half): This.
26227 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26228 (__x86_raw_shared_cache_size_half): This.
26229 * sysdeps/x86_64/memcpy.S: Updated.
26230 * sysdeps/x86_64/memset.S: Likewise.
26231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26235 2013-01-04 David S. Miller <davem@davemloft.net>
26237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26239 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26241 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26242 1 to avoid redefinition warning.
26243 (__USE_GNU): Don't define.
26244 (init_signaling_nan): Protoize.
26246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26248 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26250 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26252 (__cpymn): Likewise.
26253 (norm): Remove commented code.
26254 (denorm): Likewise.
26255 (__mp_dbl): Likewise.
26257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26258 (__cpymn): Likewise.
26259 (norm): Remove commented code.
26260 (denorm): Likewise.
26261 (__mp_dbl): Likewise.
26264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26265 mp_no value for 1.0 and 2.0.
26266 (norm): Use RADIXI instead of radixi.d.
26267 (denorm): Likewise.
26268 (__mul): Use 0.0 instead of zero.d.
26269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26270 mp_no value for 1.0 and 2.0.
26271 (norm): Use RADIXI instead of radixi.d.
26272 (denorm): Likewise.
26273 (__mul): Use 0.0 instead of zero.d.
26275 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26278 * math/s_casinh.c (__casinh): Reduce finite argument to first
26279 quadrant then set signs of results at the end.
26280 * math/s_casinhf.c (__casinhf): Likewise.
26281 * math/s_casinhl.c (__casinhl): Likewise.
26282 * math/libm-test.inc (casin_test): Add more tests.
26283 (casinh_test): Likewise.
26284 * sysdeps/i386/fpu/libm-test-ulps: Update.
26285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26287 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26289 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26291 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26293 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26295 (denorm): Likewise.
26296 (__mp_dbl): Likewise.
26299 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26300 and adjust the header comment.
26302 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26303 variable name from declaration.
26305 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26308 Initialize COMMON_CPUID_INDEX_7 element.
26309 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26310 (CPUID_RTM): Likewise.
26311 (HAS_RTM): Likewise.
26312 (COMMON_CPUID_INDEX_7): New enum.
26314 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26317 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26318 size is zero, record memory as freed.
26320 2013-01-03 Andreas Jaeger <aj@suse.de>
26322 * po/ia.po: Add new Interlingua translation.
26324 2012-01-03 Allan McRae <allan@archlinux.org>
26326 * locale/programs/localedef.c: Fix description of '--posix' flag.
26328 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26330 * NEWS: Update dates in second copyright notice.
26331 * README: Update copyright dates in example.
26332 * manual/libc.texinfo: Update copyright dates.
26333 * scripts/test-installation.pl: Update copyright date in --version
26336 * hurd/ctty-input.c: Fix copyright notice formatting.
26337 * hurd/ctty-output.c: Likewise.
26338 * hurd/dtable.c: Likewise.
26339 * hurd/hurd-raise.c: Likewise.
26340 * hurd/hurdprio.c: Likewise.
26341 * hurd/msgportdemux.c: Likewise.
26342 * misc/sys/file.h: Likewise.
26343 * misc/sys/ioctl.h: Likewise.
26344 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26345 * sysdeps/mach/hurd/chdir.c: Likewise.
26346 * sysdeps/mach/hurd/fchdir.c: Likewise.
26347 * sysdeps/mach/hurd/rename.c: Likewise.
26348 * sysdeps/mach/hurd/rmdir.c: Likewise.
26349 * sysdeps/mach/hurd/seekdir.c: Likewise.
26350 * sysdeps/mach/hurd/setsid.c: Likewise.
26351 * sysdeps/posix/wait3.c: Likewise.
26353 * All files with FSF copyright notices: Update copyright dates
26354 using scripts/update-copyrights.
26355 * intl/plural.c: Regenerated.
26356 * locale/programs/charmap-kw.h: Likewise.
26357 * locale/programs/locfile-kw.h: Likewise.
26359 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26364 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26365 calculation loop and add branch prediction.
26367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26368 check access beyond bounds of m1np.
26370 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26372 (__inv): Remove local variable MPTWO to use the global
26374 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26378 MP3HALFS static const.
26380 2013-01-01 David S. Miller <davem@davemloft.net>
26382 * po/ca.po: Update from translation team.
26384 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26386 * scripts/update-copyrights: New file.
26387 * Makeconfig: Reformat copyright notice.
26388 * ctype/ctype.h: Likewise.
26389 * debug/swprintf_chk.c: Likewise.
26390 * elf/dl-cache.c: Likewise.
26391 * elf/dl-debug.c: Likewise.
26392 * elf/dl-object.c: Likewise.
26393 * grp/initgroups.c: Likewise.
26394 * hurd/Makefile: Likewise.
26395 * hurd/hurd/signal.h: Likewise.
26396 * hurd/hurdfault.c: Likewise.
26397 * hurd/hurdioctl.c: Likewise.
26398 * hurd/hurdlookup.c: Likewise.
26399 * hurd/intr-msg.c: Likewise.
26400 * iconv/gconv_open.c: Likewise.
26401 * libio/swprintf.c: Likewise.
26402 * locale/lc-ctype.c: Likewise.
26403 * locale/nl_langinfo.c: Likewise.
26404 * mach/Machrules: Likewise.
26405 * mach/Makefile: Likewise.
26406 * malloc/obstack.h: Likewise.
26407 * manual/Makefile: Likewise.
26408 * manual/tsort.awk: Likewise.
26409 * misc/bits/stab.def: Likewise.
26410 * nis/nis_print_group_entry.c: Likewise.
26411 * nis/nis_table.c: Likewise.
26412 * nis/nss_compat/compat-pwd.c: Likewise.
26413 * nis/nss_compat/compat-spwd.c: Likewise.
26414 * po/Makefile: Likewise.
26415 * posix/fnmatch.c: Likewise.
26416 * posix/regex.h: Likewise.
26417 * resolv/Makefile: Likewise.
26418 * resolv/nss_dns/dns-network.c: Likewise.
26419 * resolv/res_hconf.c: Likewise.
26420 * scripts/gen-sorted.awk: Likewise.
26421 * soft-fp/soft-fp.h: Likewise.
26422 * stdio-common/printf.h: Likewise.
26423 * stdlib/monetary.h: Likewise.
26424 * stdlib/random.c: Likewise.
26425 * stdlib/random_r.c: Likewise.
26426 * sysdeps/generic/Makefile: Likewise.
26427 * sysdeps/gnu/Makefile: Likewise.
26428 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26451 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26452 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26455 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26456 * sysdeps/mach/hurd/errnos.awk: Likewise.
26457 * sysdeps/mach/hurd/fork.c: Likewise.
26458 * sysdeps/mach/hurd/getcwd.c: Likewise.
26459 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26460 * sysdeps/mach/hurd/mmap.c: Likewise.
26461 * sysdeps/mach/hurd/utimes.c: Likewise.
26462 * sysdeps/mach/hurd/xmknod.c: Likewise.
26463 * sysdeps/posix/profil.c: Likewise.
26464 * sysdeps/posix/readdir_r.c: Likewise.
26465 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26466 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26467 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26470 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26471 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26472 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26474 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26475 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26476 * sysdeps/pthread/lio_listio.c: Likewise.
26477 * sysdeps/sparc/dl-procinfo.h: Likewise.
26478 * sysdeps/unix/i386/sysdep.S: Likewise.
26479 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26480 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26481 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26482 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26484 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26485 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26486 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26487 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26488 * sysdeps/wordsize-32/divdi3.c: Likewise.
26489 * time/sys/time.h: Likewise.
26490 * wcsmbs/Makefile: Likewise.
26492 2013-01-01 David S. Miller <davem@davemloft.net>
26494 * po/fr.po: Update from translation team.
26496 * catgets/gencat.c: Update copyright year.
26497 * csu/version.c: Likewise.
26498 * debug/catchsegv.sh: Likewise.
26499 * debug/pcprofiledump.c: Likewise.
26500 * debug/xtrace.sh: Likewise.
26501 * elf/ldconfig.c: Likewise.
26502 * elf/ldd.bash.in: Likewise.
26503 * elf/pldd.c: Likewise.
26504 * elf/sotruss.ksh: Likewise.
26505 * elf/sprof.c: Likewise.
26506 * iconv/iconv_prog.c: Likewise.
26507 * iconv/iconvconfig.c: Likewise.
26508 * locale/programs/locale.c: Likewise.
26509 * locale/programs/localedef.c: Likewise.
26510 * login/programs/pt_chown.c: Likewise.
26511 * malloc/memusage.sh: Likewise.
26512 * malloc/memusagestat.c: Likewise.
26513 * malloc/mtrace.pl: Likewise.
26514 * nscd/nscd.c: Likewise.
26515 * nss/getent.c: Likewise.
26516 * nss/makedb.c: Likewise.
26517 * posix/getconf.c: Likewise.
26519 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26521 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26524 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26526 * math/bits/mathcalls.h (modf): Use __nonnull.
26528 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26530 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26531 (split): Use macro CN instead of the bare value.
26532 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26535 instead of the bare value.
26536 (power1): Likewise.
26538 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26540 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26542 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26544 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26546 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26548 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26549 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26551 2012-12-28 Andreas Jaeger <aj@suse.de>
26553 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26554 values are from Linux 3.7.
26556 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26557 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26559 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26561 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26566 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26567 variables with preprocessor constants.
26568 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26569 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26570 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26572 2012-12-27 Bruno Haible <bruno@clisp.org>
26575 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26578 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26581 and use variable directly.
26582 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26584 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26586 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26591 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26592 include directive. Remove local variable MPONE.
26593 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26597 2012-12-25 David S. Miller <davem@davemloft.net>
26599 * version.h (RELEASE): Set to "development".
26600 (VERSION): Set to "2.17.90".
26601 * NEWS: Add 2.18 section.
26603 2012-12-21 David S. Miller <davem@davemloft.net>
26605 * po/hr.po: Update from translation team.
26607 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26609 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26611 2012-12-19 Steve Ellcey <sellcey@mips.com>
26613 * NEWS: Mention new memcpy for MIPS.
26615 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26617 * manual/contrib.texi (Contributors): Spelling correction.
26619 2012-12-15 David S. Miller <davem@davemloft.net>
26621 * po/ru.po: Update from translation team.
26623 2012-12-13 David S. Miller <davem@davemloft.net>
26625 * NEWS: Mention IFUNC testsuite enhancements.
26627 * po/pl.po: Update from translation team.
26628 * po/bg.po: Likewise.
26630 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26631 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26633 2012-12-11 David S. Miller <davem@davemloft.net>
26635 * po/sv.po: Update from translation team.
26637 * po/vi.po: Update from translation team.
26639 * po/cs.po: Update from translation team.
26641 * po/de.po: Update from translation team.
26642 * po/eo.po: Likewise.
26643 * po/nl.po: Likewise.
26645 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26648 * manual/argp.texi (Argp Helper Functions): Move node to follow
26649 Argp Parsing State.
26652 * manual/conf.texi (Limits on File System Capacity): Mention if
26653 terminating null is included in the max size.
26655 2012-12-10 Andreas Jaeger <aj@suse.de>
26657 * po/cs.po: Update from translation team.
26659 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26661 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26662 void pointer and cast to uintptr_t.
26663 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26665 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26666 * sysdeps/s390/s390-64/memset.S: Likewise.
26668 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26671 * menual/message.texi (Message Translation): Fix typos.
26672 (Helper programs for gettext): Likewise.
26674 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26677 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26680 2012-12-07 David S. Miller <davem@davemloft.net>
26682 * po/libc.pot: Update.
26684 2012-12-07 Richard Henderson <rth@redhat.com>
26687 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26688 normal/normal case to before the switch.
26689 (_FP_DIV): Likewise.
26691 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26692 Mike Frysinger <vapier@gentoo.org>
26694 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26695 check for __NR_fadvise64_64.
26697 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26699 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26700 0, not just to plain "0" as a statement.
26701 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26704 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26706 * NEWS: Use sourceware.org in Bugzilla URL.
26708 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26711 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26713 * stdio-common/tst-put-error.c (do_test): Add newline to the
26714 padded test to ensure flush.
26716 2012-12-05 Jeff Law <law@redhat.com>
26718 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26720 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26722 * README: Don't refer to ports add-on as distributed separately.
26723 Mention AArch64 in list of systems supported in the ports add-on.
26725 * LICENSES: Add more non-FSF copyright and license notices.
26727 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26730 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26732 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26733 10000 as width of padded output.
26735 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26737 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26740 variable LX with __attribute__ ((unused)).
26741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26746 with __attribute__ ((unused)).
26748 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26750 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26752 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26754 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26755 (CFLAGS-nldbl-acos.c): New variable.
26756 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26757 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26758 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26759 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26760 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26761 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26762 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26763 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26764 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26765 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26766 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26767 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26781 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26782 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26783 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26784 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26785 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26786 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26787 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26788 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26789 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26790 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26791 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26792 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26793 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26794 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26795 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26796 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26797 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26798 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26799 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26800 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26801 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26802 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26803 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26804 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26805 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26806 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26807 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26808 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26809 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26810 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26811 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26812 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26813 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26814 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26815 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26816 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26817 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26818 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26819 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26820 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26821 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26822 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26823 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26824 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26825 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26826 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26827 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26828 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26829 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26830 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26831 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26832 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26833 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26834 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26835 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26836 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26837 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26838 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26839 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26840 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26841 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26842 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26843 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26844 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26845 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26846 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26847 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26848 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26849 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26850 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26851 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26852 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26855 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26859 whole low double instead of just low 47 bits when splitting values
26862 2012-12-03 Allan McRae <allan@archlinux.org>
26864 * manual/stdio.texi (Predefined Printf Handlers): Remove
26865 @hsep and @vsep usage.
26867 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26869 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26870 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26872 2012-12-03 Jeff Law <law@redhat.com>
26874 * time/sys/time.h (settimeofday): Do not mark TV argument
26877 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26879 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26880 when currently writing and seek to current position when not.
26881 * libio/Makefile (tests): Remove bug-fclose1.
26882 * libio/bug-fclose1.c: Delete.
26884 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26886 * manual/arith.texi (feenableexcept): Fix typo.
26887 (fedisableexcept): Likewise.
26889 2012-11-30 Roland McGrath <roland@hack.frob.com>
26891 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26892 second, differently-typed declaration, rather than a cast.
26894 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26896 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26897 * include/rpc/svc.h: ... here.
26899 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26902 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26903 depending n and resplen2 to catch cases where answer
26906 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26909 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26911 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26913 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26915 2012-11-29 Roland McGrath <roland@hack.frob.com>
26917 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26919 2012-11-28 Jeff Law <law@redhat.com>
26922 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26923 dataset_temporary. Track alloca usage into alloca_used.
26924 If dataset is large allocate and release it via malloc/free.
26926 2012-06-04 Florian Weimer <fweimer@redhat.com>
26929 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26931 2012-11-28 David S. Miller <davem@davemloft.net>
26933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26935 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26938 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26939 of pi/2 rounded to nearest to 64 bits.
26940 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26941 nearest to 64 bits.
26942 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26945 2012-11-28 Jeff Law <law@redhat.com>
26946 Martin Osvald <mosvald@redhat.com>
26949 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26950 * sunrpc/svc.c: Include time.h.
26951 (__svc_accept_failed): New function.
26952 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26953 any reason other than EINTR, call __svc_accept_failed.
26954 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26955 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26957 2012-11-28 Andreas Schwab <schwab@suse.de>
26959 * scripts/abilist.awk: Also handle indirect functions in .opd
26962 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26965 * sysdeps/x86/fpu/powl_helper.c: New file.
26966 * sysdeps/x86/fpu/Makefile: Likewise.
26967 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26969 (__ieee754_powl): Use __powl_helper for finite arguments except
26970 integer exponents below 8.
26971 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26973 (__ieee754_powl): Use __powl_helper for finite arguments except
26974 integer exponents below 8.
26975 * math/libm-test.inc (pow_test): Add more tests and enable some
26976 previously disabled tests.
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 Carlos O'Donell <carlos_odonell@mentor.com>
26983 * nss/makedb.c (is_prime): Assert that input is odd and greater
26984 than 4. Note that fact in a comment too.
26985 (next_prime): Add 4 to input.
26987 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26990 * libio/Makefile (tests): Add test case tst-fwrite-error.
26991 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26992 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26993 * libio/tst-fwrite-error.c: New test case.
26995 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26997 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26998 before casting to void *.
26999 * include/libc-internal.h (__pointer_type): New macro.
27000 (__integer_if_pointer_type_sub): Likewise.
27001 (__integer_if_pointer_type): Likewise.
27002 (cast_to_integer): Likewise.
27003 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27004 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27005 before casting to atomic64_t.
27006 (atomic_exchange_acq): Likewise.
27007 (__arch_exchange_and_add_body): Likewise.
27008 (__arch_add_body): Likewise.
27009 (atomic_add_negative): Likewise.
27010 (atomic_add_zero): Likewise.
27012 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27014 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27015 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27016 (add_fdes): Likewise.
27017 (linear_search_fdes): Likewise.
27018 (binary_search_unencoded_fdes): Likewise.
27020 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27022 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27024 2012-11-24 Adam Conrad <adconrad@0c3.net>
27026 * configure.in: Autodetect C++ header directories.
27027 * configure: Regenerated.
27029 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27031 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27033 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27037 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27039 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27040 LDBL_MANT_DIG == 106]: Disable some tests.
27041 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27043 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27048 input for small inputs. Return +/- pi/2 for large inputs.
27049 * math/libm-test.inc (atan_test): Add more tests.
27051 * sysdeps/generic/unwind-dw2-fde-glibc.c
27052 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27053 __attribute__ ((unused)).
27056 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27057 x * y if x and y are nonzero and z is zero.
27060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27061 nonzero exponents with absolute value below 0x1p-117 to +/-
27065 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27066 up arguments below 2**-450, not just those below 2**-500.
27067 * math/libm-test.inc (hypot_test): Add another test.
27070 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27071 Return a+b for ratio over 2**120, not 2**60.
27072 * math/libm-test.inc (hypot_test): Add another test.
27074 * math/libm-test.inc (clog_test): Use
27075 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27076 (clog10_test): Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27081 2012-11-22 Andreas Schwab <schwab@suse.de>
27083 * sysdeps/i386/fpu/libm-test-ulps: Update.
27085 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27087 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27088 printf output with newline.
27090 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27093 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27094 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27095 -z nodlopen, -z initfirst and -z execstack support.
27096 * configure: Regenerated.
27098 * elf/elf.h (DF_1_NODIRECT): New macro.
27099 (DF_1_IGNMULDEF): Likewise.
27100 (DF_1_NOKSYMS): Likewise.
27101 (DF_1_NOHDR): Likewise.
27102 (DF_1_EDITED): Likewise.
27103 (DF_1_NORELOC): Likewise.
27104 (DF_1_SYMINTPOSE): Likewise.
27105 (DF_1_GLOBAUDIT): Likewise.
27106 (DF_1_SINGLETON): Likewise.
27107 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27108 DT_1_SUPPORTED_MASK bits.
27109 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27111 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27113 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27115 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27117 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27120 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27121 (sendmmsg): Move declarations...
27122 * socket/sys/socket.h: ... here.
27123 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27124 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27126 * socket/recvmmsg.c: ... this new file.
27127 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27128 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27129 definition of __sendmmsg hidden.
27130 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27131 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27132 Move ENOSYS stub into and include it from...
27133 * socket/sendmmsg.c: ... this new file.
27134 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27135 (sysdep_routines): Move recvmmsg and sendmmsg...
27136 * socket/Makefile (routines): ... here.
27137 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27138 (GLIBC_PRIVATE): Add __sendmmsg.
27139 * include/sys/socket.h (__sendmmsg): Add declarations.
27140 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27143 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27146 variable I1 with __attribute__ ((unused)).
27147 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27149 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27151 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27152 DUMMY variables with __attribute__ ((unused)).
27154 * bits/byteswap.h: Include <bits/types.h>.
27155 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27157 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27159 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27160 string_t. Do not manually set errno.
27161 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27162 length with __strnlen. Make sure to both set errno and return it on
27165 2012-11-19 David S. Miller <davem@davemloft.net>
27167 With help from Joseph Myers.
27168 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27169 very large arguments properly.
27170 * math/libm-test.inc (atan_test): New tests.
27171 (atan2_test): New tests.
27172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27175 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27178 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27181 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27182 [POSIX] (EADDRNOTAVAIL): Likewise.
27183 [POSIX] (EAFNOSUPPORT): Likewise.
27184 [POSIX] (EALREADY): Likewise.
27185 [POSIX] (ECONNABORTED): Likewise.
27186 [POSIX] (ECONNREFUSED): Likewise.
27187 [POSIX] (ECONNRESET): Likewise.
27188 [POSIX] (EDESTADDRREQ): Likewise.
27189 [POSIX] (EDQUOT): Likewise.
27190 [POSIX] (EHOSTUNREACH): Likewise.
27191 [POSIX] (EIDRM): Likewise.
27192 [POSIX] (EISCONN): Likewise.
27193 [POSIX] (ELOOP): Likewise.
27194 [POSIX] (EMULTIHOP): Likewise.
27195 [POSIX] (ENETDOWN): Likewise.
27196 [POSIX] (ENETUNREACH): Likewise.
27197 [POSIX] (ENOBUFS): Likewise.
27198 [POSIX] (ENODATA): Likewise.
27199 [POSIX] (ENOLINK): Likewise.
27200 [POSIX] (ENOMSG): Likewise.
27201 [POSIX] (ENOPROTOOPT): Likewise.
27202 [POSIX] (ENOSR): Likewise.
27203 [POSIX] (ENOSTR): Likewise.
27204 [POSIX] (ENOTCONN): Likewise.
27205 [POSIX] (ENOTSOCK): Likewise.
27206 [POSIX] (EOPNOTSUPP): Likewise.
27207 [POSIX] (EOVERFLOW): Likewise.
27208 [POSIX] (EPROTO): Likewise.
27209 [POSIX] (EPROTONOSUPPORT): Likewise.
27210 [POSIX] (EPROTOTYPE): Likewise.
27211 [POSIX] (ESTALE): Likewise.
27212 [POSIX] (ETIME): Likewise.
27213 [POSIX] (ETXTBSY): Likewise.
27214 [POSIX] (EWOULDBLOCK): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27216 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27217 [POSIX] (SEEK_CUR): Likewise.
27218 [POSIX] (SEEK_END): Likewise.
27219 [POSIX || UNIX98] (mode_t): Do not require.
27220 [POSIX] (off_t): Likewise.
27221 [POSIX] (pid_t): Likewise.
27222 [POSIX] (sys/stat.h): Do not allow header.
27223 [POSIX] (unistd.h): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27225 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27227 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27229 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27230 sigevent): Specify elements.
27231 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27233 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27234 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27236 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27237 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27238 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27239 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27240 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27241 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27242 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27243 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27245 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27246 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27247 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27248 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27249 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27251 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27253 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27255 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27257 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27258 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27259 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27260 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27262 Specify lower bound on value.
27263 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27269 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27270 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27272 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27274 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27279 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27280 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27281 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27282 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27283 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27284 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27285 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27286 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27287 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27288 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27289 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27291 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27293 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27294 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27295 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27296 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27297 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27298 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27300 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27301 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27302 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27303 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27304 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27305 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27308 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27309 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27310 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27311 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27312 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27313 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27314 specify as optional.
27315 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27316 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27317 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27318 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27319 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27320 [XPG3] (NL_LANGMAX): Likewise.
27321 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27322 [POSIX || XPG3] (NL_NMAX): Likewise.
27323 [POSIX || XPG3] (NL_SETMAX): Likewise.
27324 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27325 [XPG3] (NZERO): Likewise.
27326 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27327 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27328 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27329 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27330 (REG_ERANGE): Expect.
27331 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27333 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27334 Use (void) in prototype.
27335 [POSIX] (*_t): Allow.
27336 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27337 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27338 (WRDE_BADVAL): Expect.
27340 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27342 [XPG3 || XPG4] (O_RSYNC): Likewise.
27343 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27345 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27346 [XPG3 || XPG4] (sigqueue): Likewise.
27347 [XPG3 || XPG4] (sigtimedwait): Likewise.
27348 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27349 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27350 [XPG3 || XPG4] (vsnprintf): Likewise.
27351 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27353 [XPG3 || XPG4] (blksize_t): Likewise.
27354 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27356 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27357 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27358 [XPG3 || XPG4] (struct itimerspec): Likewise.
27359 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27360 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27361 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27362 [XPG3 || XPG4] (clockid_t): Likewise.
27363 [XPG3 || XPG4] (timer_t): Likewise.
27364 [XPG3 || XPG4] (clock_getres): Likewise.
27365 [XPG3 || XPG4] (clock_gettime): Likewise.
27366 [XPG3 || XPG4] (clock_settime): Likewise.
27367 [XPG3 || XPG4] (nanosleep): Likewise.
27368 [XPG3 || XPG4] (timer_create): Likewise.
27369 [XPG3 || XPG4] (timer_delete): Likewise.
27370 [XPG3 || XPG4] (timer_gettime): Likewise.
27371 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27372 [XPG3 || XPG4] (timer_settime): Likewise.
27373 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27374 [XPG3 || XPG4] (getlogin_r): Likewise.
27375 [XPG3 || XPG4] (pread): Likewise.
27376 [XPG3 || XPG4] (pthread_atfork): Likewise.
27377 [XPG3 || XPG4] (pwrite): Likewise.
27380 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27383 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27385 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27386 finalizing MALLSTREAM.
27388 * sysdeps/mach/hurd/syncfs.c: New file.
27390 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27393 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27394 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27396 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27397 (_nss_dns_gethostbyname4_r): Likewise.
27398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27399 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27401 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27404 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27406 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27408 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27409 * elf/cache.c (print_entry): Print ",AArch64" for
27412 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27413 * elf/cache.c (print_entry): Print ",hard-float" for
27416 2012-11-18 David S. Miller <davem@davemloft.net>
27418 With help from Joseph Myers.
27419 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27421 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27423 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27424 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27426 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27427 * math/libm-test.inc (y0_test): New tests.
27428 (y1_test): New tests.
27429 * sysdeps/i386/fpu/libm-test-ulps: Update.
27430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27433 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27435 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27437 * configure: Regenerated.
27439 2012-11-17 David S. Miller <davem@davemloft.net>
27442 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27443 nonzero exponents with absolute value below 0x1p-128 to +/-
27446 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27448 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27450 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27452 * posix/getconf-speclist.c: New file.
27453 * posix/posix-envs.def: Likewise.
27454 * posix/confstr.c (START_ENV_GROUP): New macro.
27455 (END_ENV_GROUP): Likewise.
27456 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27457 (KNOWN_PRESENT_ENV_STRING): Likewise.
27458 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27459 (UNKNOWN_ENVIRONMENT): Likewise.
27460 (confstr): Include posix-envs.def instead of handling
27461 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27462 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27463 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27464 (END_ENV_GROUP): Likewise.
27465 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27466 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27467 (UNKNOWN_ENVIRONMENT): Likewise.
27468 (__sysconf): Include posix-envs.def instead of handling associated
27469 cases directly here.
27470 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27471 preprocessing getconf-speclist.c rather than running getconf or
27472 generating empty file.
27474 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27476 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27478 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27481 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27483 2012-11-16 David S. Miller <davem@davemloft.net>
27485 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27486 smaller than LDBL_EPSILON/2.0L, just return xm1.
27488 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27490 * elf/tst-array1.c (init): Set constructor priority to 1000.
27491 (fini): Set destructor priority to 1000.
27492 * elf/tst-array2dep.c: Likewise.
27494 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27497 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27498 (_IO_new_file_xsputn): Also return EOF if none of the input
27499 data was written when overflow failed.
27500 * libio/iopadn.c (_IO_padn): Likewise.
27501 * libio/iowpadn.c (_IO_wpadn): Likewise.
27502 * stdio-common/tst-put-error.c: Add copyright notice.
27503 (do_test): Add case for printing padded string.
27504 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27505 _IO_padn returned error.
27506 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27507 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27510 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27512 * libio/libioP.h: Add comment note that the references to C++
27513 bits are now obsolete.
27515 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27517 * math/libm-test.inc (check_complex): Use asprintf.
27519 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27521 * debug/pcprofiledump.c (print_version): Update copyright year.
27522 * malloc/memusagestat.c (print_version): Likewise.
27524 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27527 * elf/Makefile (tests): Add tst-audit8.
27528 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27529 ($(objpfx)tst-audit8.out): New target.
27530 (tst-audit8-ENV): New variable.
27531 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27532 audit if l_reloc_result is NULL.
27533 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27534 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27535 * elf/tst-audit8.c: New file.
27537 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27539 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27540 * misc/Makefile (CFLAGS-select.c): Define.
27541 * posix/Makefile (CFLAGS-pause.c): Define.
27543 2012-11-13 David S. Miller <davem@davemloft.net>
27545 * crypt/Makefile: Move test targets after toplevel Rules
27546 inclusion. Grab any necessary sysdep routines when linking.
27547 * crypt/md5.c (md5_process_block): Remove define, we will always
27548 name it __md5_process_block.
27549 (md5_finish_ctx): Update md5_process_block call.
27550 (md5_stream): Likewise.
27551 (md5_process_bytes): Likewise.
27552 (md5_process_block): Rename to __md5_process_block and move to ...
27553 * crypt/md5-block.c: ... here.
27554 * crypt/sha256.c (sha256_process_block): Move to ...
27555 * crypt/sha256-block.c: ... here.
27556 * crypt/sha512.c (sha512_process_block): Move to ...
27557 * crypt/sha512-block.c: ... here.
27558 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27560 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27561 * sysdeps/sparc/sparc64/multiarch/Makefile
27562 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27564 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27567 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27568 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27569 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27570 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27571 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27572 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27573 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27574 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27575 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27577 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27578 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27580 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27582 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27584 * timezone/tzselect.ksh: Update from tzcode git revision
27585 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27586 * timezone/zdump.c: Likewise.
27587 * timezone/zic.c: Likewise.
27588 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27589 in TZVERSION setting, not $(PKGVERSION).
27590 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27591 REPORT_BUGS_TO settings.
27594 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27597 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27599 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27600 detection to immediately after _FP_ROUND().
27601 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27604 2012-11-11 David S. Miller <davem@davemloft.net>
27606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27608 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27609 __close rather than their public counterparts.
27611 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27613 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27615 [UNIX98] (sem_timedwait): Do not expect.
27616 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27617 [XPG4 || UNIX98] (sockatmark): Do not expect.
27618 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27619 (clock_getcpuclockid): Do not expect.
27620 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27621 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27623 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27624 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27625 [UNIX98] (vwscanf): Likewise.
27626 [UNIX98] (vswscanf): Likewise.
27628 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27630 * timezone/version.h: Remove file.
27631 * timezone/README: Do not refer to version.h.
27632 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27633 $(objpfx)version.h.
27634 ($(objpfx)zdump.o): Likewise.
27635 ($(objpfx)version.h): New target.
27637 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27639 * timezone/README: Don't mention modification to tzselect.ksh.
27640 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27641 work on unmodified tzselect.ksh. Substitute version numbers in
27644 * Makefile (format-me): Remove.
27645 (INSTALL): Adjust indentation. Use commands directly instead of
27646 using $(format-me).
27648 * aclocal.m4 (ACX_PKGVERSION): New macro.
27649 (ACX_BUGURL): Likewise.
27650 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27651 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27652 (REPORT_BUGS_TO): Likewise.
27653 * configure: Regenerated.
27654 * config.h.in (PKGVERSION): New macro.
27655 (REPORT_BUGS_TO): Likewise.
27656 * config.make.in (PKGVERSION): New variable.
27657 (PKGVERSION_TEXI): Likewise.
27658 (REPORT_BUGS_TO): Likewise.
27659 (REPORT_BUGS_TEXI): Likewise.
27660 * Makefile (format-me): Use -I$(common-objpfx)manual.
27661 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27662 ($(common-objpfx)manual/%): New target.
27663 (manual/%): Remove target.
27664 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27665 (print_version): Use PKGVERSION.
27666 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27667 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27668 and REPORT_BUGS_TO.
27669 ($(objpfx)xtrace): Likewise.
27670 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27671 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27672 (print_version): Use PKGVERSION.
27673 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27674 (do_version): Use PKGVERSION.
27675 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27677 (common-ldd-rewrite): Likewise.
27678 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27679 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27680 (print_version): Use PKGVERSION.
27681 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27682 * elf/pldd.c (argp_program_bug_address): Remove variable.
27683 (more_help): New function.
27684 (argp): Use more_help.
27685 (print_version): Use PKGVERSION.
27686 * elf/sln.c (main): Use PKGVERSION.
27687 (usage): Use REPORT_BUGS_TO.
27688 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27689 (top level): Use PKGVERSION.
27690 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27691 (print_version): Use PKGVERSION.
27692 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27693 (print_version): Use PKGVERSION.
27694 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27695 (print_version): Use PKGVERSION.
27696 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27697 (print_version): Use PKGVERSION.
27698 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27699 (print_version): Use PKGVERSION.
27700 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27701 (print_version): Use PKGVERSION.
27702 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27704 ($(objpfx)memusage): Likewise.
27705 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27706 (do_version): Use PKGVERSION.
27707 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27708 (print_version): Use PKGVERSION.
27709 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27710 ($PKGVERSION): New variable.
27711 ($REPORT_BUGS_TO): Likewise.
27712 (usage): Use $REPORT_BUGS_TO.
27713 (top level): Use $PKGVERSION.
27714 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27715 ($(objpfx)pkgvers.texi): New rule.
27716 ($(objpfx)stamp-pkgvers): Likewise.
27717 * manual/install.texi: Include pkgvers.texi.
27718 (--with-pkgversion): Document new configure option.
27719 (--with-bugurl): Likewise.
27720 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27721 than necessarily for this particular distribution. Use
27722 REPORT_BUGS_TO for where to report bugs.
27723 * INSTALL: Regenerated.
27724 * manual/libc.texinfo: Include pkgvers.texi.
27725 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27726 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27727 (print_version): Use PKGVERSION.
27728 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27729 (print_version): Use PKGVERSION.
27730 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27731 (print_version): Use PKGVERSION.
27732 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27733 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27735 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27736 (print_version): Use PKGVERSION.
27737 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27738 (print_version): Use PKGVERSION.
27739 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27742 * timezone/checktab.awk: Update from tzcode 2012i.
27743 * timezone/ialloc.c: Likewise.
27744 * timezone/private.h: Likewise.
27745 * timezone/scheck.c: Likewise.
27746 * timezone/tzfile.h: Likewise.
27747 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27748 (TZVERSION): Hardcode tzcode version number.
27749 * timezone/zdump.c: Update from tzcode 2012i.
27750 * timezone/zic.c: Likewise.
27751 * timezone/version.h: New file.
27752 * timezone/README: Describe version.h. Update upstream location.
27755 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27756 (mktemp): Enable declaration.
27757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27774 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27775 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27776 for copies of such integer values.
27777 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27778 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27780 2012-11-09 Andreas Jaeger <aj@suse.de>
27782 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27783 definitions and declarations that are provided by
27784 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27786 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27788 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27789 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27790 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27793 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27795 * elf/elf.h: Update comment before AArch64 relocations.
27797 2012-11-07 David S. Miller <davem@davemloft.net>
27799 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27801 (__start_context): Declare.
27802 (__makecontext_ret): Delete.
27803 (__makecontext): Hook up __start_context instead of
27805 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27806 (sysdep_routines): Add __start_context when in stdlib.
27808 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27810 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27811 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27812 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27814 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27815 (READELF): New variable. Use it instead of hardcoded "readelf".
27817 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27819 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27820 * sysdeps/x86/Makefile: Here.
27821 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27822 * sysdeps/x86/tst-xmmymm.sh: This.
27824 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27826 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27828 [UNIX98] (pthread_barrier_t): Do not expect.
27829 [UNIX98] (pthread_barrierattr_t): Likewise.
27830 [UNIX98] (pthread_spinlock_t): Likewise.
27831 [UNIX98] (pthread_barrier_destroy): Likewise.
27832 [UNIX98] (pthread_barrier_init): Likewise.
27833 [UNIX98] (pthread_barrier_wait): Likewise.
27834 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27835 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27836 [UNIX98] (pthread_barrierattr_init): Likewise.
27837 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27838 [UNIX98] (pthread_getcpuclockid): Likewise.
27839 [UNIX98] (pthread_mutex_timedlock): Likewise.
27840 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27841 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27842 [UNIX98] (pthread_sigmask): Likewise.
27843 [UNIX98] (pthread_spin_destroy): Likewise.
27844 [UNIX98] (pthread_spin_init): Likewise.
27845 [UNIX98] (pthread_spin_lock): Likewise.
27846 [UNIX98] (pthread_spin_trylock): Likewise.
27847 [UNIX98] (pthread_spin_unlock): Likewise.
27848 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27850 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27851 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27852 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27853 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27854 [XPG3 || XPG4] (pthread_key_t): Likewise.
27855 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27856 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27857 [XPG3 || XPG4] (pthread_once_t): Likewise.
27858 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27859 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27860 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27861 [XPG3 || XPG4] (pthread_t): Likewise.
27863 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27865 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27867 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27868 Change function return type to int.
27870 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27871 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27872 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27873 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27874 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27875 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27876 [!POSIX] (posix_madvise): Likewise.
27877 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27879 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27880 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27881 (mode_t): Likewise.
27882 (posix_mem_offset): Likewise.
27883 (posix_typed_mem_get_info): Likewise.
27884 (posix_typed_mem_open): Likewise.
27886 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27887 Change condition to [XOPEN2K8].
27889 * conform/conformtest.pl: Preprocess allow-header data with -x c
27890 instead of from stdin.
27891 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27892 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27893 [C99-based standards] (cerfc): Likewise.
27894 [C99-based standards] (cexp2): Likewise.
27895 [C99-based standards] (cexpm1): Likewise.
27896 [C99-based standards] (clog10): Likewise.
27897 [C99-based standards] (clog1p): Likewise.
27898 [C99-based standards] (clog2): Likewise.
27899 [C99-based standards] (clgamma): Likewise.
27900 [C99-based standards] (ctgamma): Likewise.
27901 [C99-based standards] (cerff): Likewise.
27902 [C99-based standards] (cerfcf): Likewise.
27903 [C99-based standards] (cexp2f): Likewise.
27904 [C99-based standards] (cexpm1f): Likewise.
27905 [C99-based standards] (clog10f): Likewise.
27906 [C99-based standards] (clog1pf): Likewise.
27907 [C99-based standards] (clog2f): Likewise.
27908 [C99-based standards] (clgammaf): Likewise.
27909 [C99-based standards] (ctgammaf): Likewise.
27910 [C99-based standards] (cerfl): Likewise.
27911 [C99-based standards] (cerfcl): Likewise.
27912 [C99-based standards] (cexp2l): Likewise.
27913 [C99-based standards] (cexpm1l): Likewise.
27914 [C99-based standards] (clog10l): Likewise.
27915 [C99-based standards] (clog1pl): Likewise.
27916 [C99-based standards] (clog2l): Likewise.
27917 [C99-based standards] (clgammal): Likewise.
27918 [C99-based standards] (ctgammal): Likewise.
27919 * conform/data/inttypes.h-data [C99-based standards]: Include
27920 stdint.h-data. Remove all expectations for stdint.h contents.
27921 [C99-based standards] (PRI*): Do not allow.
27922 [C99-based standards] (SCN*): Likewise.
27923 [C99-based standards] (*_t): Likewise.
27924 [C99-based-standards] (PRId8): Expect macro.
27925 [C99-based-standards] (PRIi8): Likewise.
27926 [C99-based-standards] (PRIo8): Likewise.
27927 [C99-based-standards] (PRIu8): Likewise.
27928 [C99-based-standards] (PRIx8): Likewise.
27929 [C99-based-standards] (PRIX8): Likewise.
27930 [C99-based-standards] (SCNd8): Likewise.
27931 [C99-based-standards] (SCNi8): Likewise.
27932 [C99-based-standards] (SCNo8): Likewise.
27933 [C99-based-standards] (SCNu8): Likewise.
27934 [C99-based-standards] (SCNx8): Likewise.
27935 [C99-based-standards] (PRIdLEAST8): Likewise.
27936 [C99-based-standards] (PRIiLEAST8): Likewise.
27937 [C99-based-standards] (PRIoLEAST8): Likewise.
27938 [C99-based-standards] (PRIuLEAST8): Likewise.
27939 [C99-based-standards] (PRIxLEAST8): Likewise.
27940 [C99-based-standards] (PRIXLEAST8): Likewise.
27941 [C99-based-standards] (SCNdLEAST8): Likewise.
27942 [C99-based-standards] (SCNiLEAST8): Likewise.
27943 [C99-based-standards] (SCNoLEAST8): Likewise.
27944 [C99-based-standards] (SCNuLEAST8): Likewise.
27945 [C99-based-standards] (SCNxLEAST8): Likewise.
27946 [C99-based-standards] (PRIdFAST8): Likewise.
27947 [C99-based-standards] (PRIiFAST8): Likewise.
27948 [C99-based-standards] (PRIoFAST8): Likewise.
27949 [C99-based-standards] (PRIuFAST8): Likewise.
27950 [C99-based-standards] (PRIxFAST8): Likewise.
27951 [C99-based-standards] (PRIXFAST8): Likewise.
27952 [C99-based-standards] (SCNdFAST8): Likewise.
27953 [C99-based-standards] (SCNiFAST8): Likewise.
27954 [C99-based-standards] (SCNoFAST8): Likewise.
27955 [C99-based-standards] (SCNuFAST8): Likewise.
27956 [C99-based-standards] (SCNxFAST8): Likewise.
27957 [C99-based-standards] (PRId16): Likewise.
27958 [C99-based-standards] (PRIi16): Likewise.
27959 [C99-based-standards] (PRIo16): Likewise.
27960 [C99-based-standards] (PRIu16): Likewise.
27961 [C99-based-standards] (PRIx16): Likewise.
27962 [C99-based-standards] (PRIX16): Likewise.
27963 [C99-based-standards] (SCNd16): Likewise.
27964 [C99-based-standards] (SCNi16): Likewise.
27965 [C99-based-standards] (SCNo16): Likewise.
27966 [C99-based-standards] (SCNu16): Likewise.
27967 [C99-based-standards] (SCNx16): Likewise.
27968 [C99-based-standards] (PRIdLEAST16): Likewise.
27969 [C99-based-standards] (PRIiLEAST16): Likewise.
27970 [C99-based-standards] (PRIoLEAST16): Likewise.
27971 [C99-based-standards] (PRIuLEAST16): Likewise.
27972 [C99-based-standards] (PRIxLEAST16): Likewise.
27973 [C99-based-standards] (PRIXLEAST16): Likewise.
27974 [C99-based-standards] (SCNdLEAST16): Likewise.
27975 [C99-based-standards] (SCNiLEAST16): Likewise.
27976 [C99-based-standards] (SCNoLEAST16): Likewise.
27977 [C99-based-standards] (SCNuLEAST16): Likewise.
27978 [C99-based-standards] (SCNxLEAST16): Likewise.
27979 [C99-based-standards] (PRIdFAST16): Likewise.
27980 [C99-based-standards] (PRIiFAST16): Likewise.
27981 [C99-based-standards] (PRIoFAST16): Likewise.
27982 [C99-based-standards] (PRIuFAST16): Likewise.
27983 [C99-based-standards] (PRIxFAST16): Likewise.
27984 [C99-based-standards] (PRIXFAST16): Likewise.
27985 [C99-based-standards] (SCNdFAST16): Likewise.
27986 [C99-based-standards] (SCNiFAST16): Likewise.
27987 [C99-based-standards] (SCNoFAST16): Likewise.
27988 [C99-based-standards] (SCNuFAST16): Likewise.
27989 [C99-based-standards] (SCNxFAST16): Likewise.
27990 [C99-based-standards] (PRId32): Likewise.
27991 [C99-based-standards] (PRIi32): Likewise.
27992 [C99-based-standards] (PRIo32): Likewise.
27993 [C99-based-standards] (PRIu32): Likewise.
27994 [C99-based-standards] (PRIx32): Likewise.
27995 [C99-based-standards] (PRIX32): Likewise.
27996 [C99-based-standards] (SCNd32): Likewise.
27997 [C99-based-standards] (SCNi32): Likewise.
27998 [C99-based-standards] (SCNo32): Likewise.
27999 [C99-based-standards] (SCNu32): Likewise.
28000 [C99-based-standards] (SCNx32): Likewise.
28001 [C99-based-standards] (PRIdLEAST32): Likewise.
28002 [C99-based-standards] (PRIiLEAST32): Likewise.
28003 [C99-based-standards] (PRIoLEAST32): Likewise.
28004 [C99-based-standards] (PRIuLEAST32): Likewise.
28005 [C99-based-standards] (PRIxLEAST32): Likewise.
28006 [C99-based-standards] (PRIXLEAST32): Likewise.
28007 [C99-based-standards] (SCNdLEAST32): Likewise.
28008 [C99-based-standards] (SCNiLEAST32): Likewise.
28009 [C99-based-standards] (SCNoLEAST32): Likewise.
28010 [C99-based-standards] (SCNuLEAST32): Likewise.
28011 [C99-based-standards] (SCNxLEAST32): Likewise.
28012 [C99-based-standards] (PRIdFAST32): Likewise.
28013 [C99-based-standards] (PRIiFAST32): Likewise.
28014 [C99-based-standards] (PRIoFAST32): Likewise.
28015 [C99-based-standards] (PRIuFAST32): Likewise.
28016 [C99-based-standards] (PRIxFAST32): Likewise.
28017 [C99-based-standards] (PRIXFAST32): Likewise.
28018 [C99-based-standards] (SCNdFAST32): Likewise.
28019 [C99-based-standards] (SCNiFAST32): Likewise.
28020 [C99-based-standards] (SCNoFAST32): Likewise.
28021 [C99-based-standards] (SCNuFAST32): Likewise.
28022 [C99-based-standards] (SCNxFAST32): Likewise.
28023 [C99-based-standards] (PRId64): Likewise.
28024 [C99-based-standards] (PRIi64): Likewise.
28025 [C99-based-standards] (PRIo64): Likewise.
28026 [C99-based-standards] (PRIu64): Likewise.
28027 [C99-based-standards] (PRIx64): Likewise.
28028 [C99-based-standards] (PRIX64): Likewise.
28029 [C99-based-standards] (SCNd64): Likewise.
28030 [C99-based-standards] (SCNi64): Likewise.
28031 [C99-based-standards] (SCNo64): Likewise.
28032 [C99-based-standards] (SCNu64): Likewise.
28033 [C99-based-standards] (SCNx64): Likewise.
28034 [C99-based-standards] (PRIdLEAST64): Likewise.
28035 [C99-based-standards] (PRIiLEAST64): Likewise.
28036 [C99-based-standards] (PRIoLEAST64): Likewise.
28037 [C99-based-standards] (PRIuLEAST64): Likewise.
28038 [C99-based-standards] (PRIxLEAST64): Likewise.
28039 [C99-based-standards] (PRIXLEAST64): Likewise.
28040 [C99-based-standards] (SCNdLEAST64): Likewise.
28041 [C99-based-standards] (SCNiLEAST64): Likewise.
28042 [C99-based-standards] (SCNoLEAST64): Likewise.
28043 [C99-based-standards] (SCNuLEAST64): Likewise.
28044 [C99-based-standards] (SCNxLEAST64): Likewise.
28045 [C99-based-standards] (PRIdFAST64): Likewise.
28046 [C99-based-standards] (PRIiFAST64): Likewise.
28047 [C99-based-standards] (PRIoFAST64): Likewise.
28048 [C99-based-standards] (PRIuFAST64): Likewise.
28049 [C99-based-standards] (PRIxFAST64): Likewise.
28050 [C99-based-standards] (PRIXFAST64): Likewise.
28051 [C99-based-standards] (SCNdFAST64): Likewise.
28052 [C99-based-standards] (SCNiFAST64): Likewise.
28053 [C99-based-standards] (SCNoFAST64): Likewise.
28054 [C99-based-standards] (SCNuFAST64): Likewise.
28055 [C99-based-standards] (SCNxFAST64): Likewise.
28056 [C99-based-standards] (PRIdMAX): Likewise.
28057 [C99-based-standards] (PRIiMAX): Likewise.
28058 [C99-based-standards] (PRIoMAX): Likewise.
28059 [C99-based-standards] (PRIuMAX): Likewise.
28060 [C99-based-standards] (PRIxMAX): Likewise.
28061 [C99-based-standards] (PRIXMAX): Likewise.
28062 [C99-based-standards] (SCNdMAX): Likewise.
28063 [C99-based-standards] (SCNiMAX): Likewise.
28064 [C99-based-standards] (SCNoMAX): Likewise.
28065 [C99-based-standards] (SCNuMAX): Likewise.
28066 [C99-based-standards] (SCNxMAX): Likewise.
28067 [C99-based-standards] (PRIdPTR): Likewise.
28068 [C99-based-standards] (PRIiPTR): Likewise.
28069 [C99-based-standards] (PRIoPTR): Likewise.
28070 [C99-based-standards] (PRIuPTR): Likewise.
28071 [C99-based-standards] (PRIxPTR): Likewise.
28072 [C99-based-standards] (PRIXPTR): Likewise.
28073 [C99-based-standards] (SCNdPTR): Likewise.
28074 [C99-based-standards] (SCNiPTR): Likewise.
28075 [C99-based-standards] (SCNoPTR): Likewise.
28076 [C99-based-standards] (SCNuPTR): Likewise.
28077 [C99-based-standards] (SCNxPTR): Likewise.
28078 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28080 * conform/data/stdint.h-data: Update comments to clarify
28082 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28084 [C99-based standards] (INT8_MAX): Likewise.
28085 [C99-based standards] (INT16_MIN): Likewise.
28086 [C99-based standards] (INT16_MAX): Likewise.
28087 [C99-based standards] (INT32_MIN): Likewise.
28088 [C99-based standards] (INT32_MAX): Likewise.
28089 [C99-based standards] (INT64_MIN): Likewise.
28090 [C99-based standards] (INT64_MAX): Likewise.
28091 [C99-based standards] (UINT8_MAX): Likewise.
28092 [C99-based standards] (UINT16_MAX): Likewise.
28093 [C99-based standards] (UINT32_MAX): Likewise.
28094 [C99-based standards] (UINT64_MAX): Likewise.
28095 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28096 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28097 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28098 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28099 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28100 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28101 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28102 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28103 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28104 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28105 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28106 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28107 [C99-based standards] (INT_FAST8_MIN): Likewise.
28108 [C99-based standards] (INT_FAST8_MAX): Likewise.
28109 [C99-based standards] (INT_FAST16_MIN): Likewise.
28110 [C99-based standards] (INT_FAST16_MAX): Likewise.
28111 [C99-based standards] (INT_FAST32_MIN): Likewise.
28112 [C99-based standards] (INT_FAST32_MAX): Likewise.
28113 [C99-based standards] (INT_FAST64_MIN): Likewise.
28114 [C99-based standards] (INT_FAST64_MAX): Likewise.
28115 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28116 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28117 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28118 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28119 [C99-based standards] (INTPTR_MIN): Likewise.
28120 [C99-based standards] (INTPTR_MAX): Likewise.
28121 [C99-based standards] (UINTPTR_MAX): Likewise.
28122 [C99-based standards] (INTMAX_MIN): Likewise.
28123 [C99-based standards] (INTMAX_MAX): Likewise.
28124 [C99-based standards] (UINTMAX_MAX): Likewise.
28125 [C99-based standards] (PTRDIFF_MIN): Likewise.
28126 [C99-based standards] (PTRDIFF_MAX): Likewise.
28127 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28128 [C99-based standards] (SIZE_MAX): Likewise.
28129 [C99-based standards] (WCHAR_MAX): Likewise.
28130 [C99-based standards] (WINT_MAX): Likewise.
28131 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28132 constraint on value.
28133 [C99-based standards] (WCHAR_MIN): Likewise.
28134 [C99-based standards] (WINT_MIN): Likewise.
28135 [C99-based standards] (*_t): Allow.
28136 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28137 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28138 Include math.h-data and complex.h-data. Remove all expectations
28139 of math.h and complex.h contents.
28140 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28142 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28143 (struct tm): Expect tag.
28144 [C99-based-standards] (wcstof): Expect function.
28145 [C99-based-standards] (wcstold): Likewise.
28146 [C99-based-standards] (wcstoll): Likewise.
28147 [C99-based-standards] (wcstoull): Likewise.
28148 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28149 macro-int-constant. Specify type.
28150 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28151 constraint on value.
28152 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28154 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28156 [ISO C standards]: Do not allow headers.
28157 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28158 wcs[abcdefghijklmnopqrstuvwxyz]*.
28159 [ISO C standards] (*_t): Do not allow.
28160 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28162 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28163 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28165 [ISO C standards]: Do not allow headers.
28166 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28167 is[abcdefghijklmnopqrstuvwxyz]*.
28168 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28169 to[abcdefghijklmnopqrstuvwxyz]*.
28170 [ISO C standards] (*_t): Do not allow.
28171 * conform/data/stdalign.h-data: New file.
28172 * conform/data/stdbool.h-data: Likewise.
28173 * conform/data/stdnoreturn.h-data: Likewise.
28175 2012-11-07 Roland McGrath <roland@hack.frob.com>
28178 * manual/filesys.texi (Directory Entries): Typo fix.
28179 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28181 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28183 * elf/elf.h (EM_AARCH64): New macro.
28184 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28185 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28186 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28187 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28188 (R_AARCH64_TLSDESC): Likewise.
28189 (NT_ARM_TLS): Likewise.
28190 (NT_ARM_HW_BREAK): Likewise.
28191 (NT_ARM_HW_WATCH): Likewise.
28193 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28196 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28197 (__ieee754_powl): Saturate nonzero exponents with absolute value
28198 below 0x1p-79 to +/- 0x1p-79.
28199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28200 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28201 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28202 nonzero exponents with absolute value below 0x1p-32 to +/-
28204 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28205 (__ieee754_powl): Saturate nonzero exponents with absolute value
28206 below 0x1p-79 to +/- 0x1p-79.
28207 * math/libm-test.inc (pow_test): Add more tests.
28209 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28211 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28212 _dl_s390_cap_flags with kernel. Increase string length.
28213 (_dl_s390_platforms): Add z196 and zEC12.
28215 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28217 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28218 Change XOPEN21K to XOPEN2K.
28220 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28222 * string/memmove.c: Use memcpy when possible.
28224 2012-11-06 Andreas Jaeger <aj@suse.de>
28226 * po/eo.po: Update from translation team.
28228 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28232 exponent and small x and y exponents, scale x or y up. Increase
28233 by 2 the exponent used in scaling up.
28234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28236 * math/libm-test.inc (fma_test): Add more tests.
28237 (fma_test_towardzero): Likewise.
28238 (fma_test_downward): Likewise.
28239 (fma_test_upward): Likewise.
28241 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28244 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28248 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28249 namespace for names of struct fields.
28250 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28252 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28253 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28255 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28258 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28260 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28262 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28266 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28269 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28273 definitely overflow as x * y not x * y + z.
28274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28276 * math/libm-test.inc (fma_test): Add more tests.
28277 (fma_test_towardzero): Likewise.
28278 (fma_test_downward): Likewise.
28279 (fma_test_upward): Likewise.
28281 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28285 * include/stub-tag.h: Remove file.
28286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28288 * manual/maint.texi (Porting): Don't reference it.
28289 * Makerules ($(objpfx)stubs): Likewise.
28290 * dirent/closedir.c: Don't include <stub-tag.h>.
28291 * dirent/dirfd.c: Likewise.
28292 * dirent/fdopendir.c: Likewise.
28293 * dirent/getdents.c: Likewise.
28294 * dirent/getdents64.c: Likewise.
28295 * dirent/opendir.c: Likewise.
28296 * dirent/readdir.c: Likewise.
28297 * dirent/readdir64.c: Likewise.
28298 * dirent/readdir64_r.c: Likewise.
28299 * dirent/readdir_r.c: Likewise.
28300 * dirent/rewinddir.c: Likewise.
28301 * dirent/seekdir.c: Likewise.
28302 * dirent/telldir.c: Likewise.
28303 * gmon/profil.c: Likewise.
28304 * grp/setgroups.c: Likewise.
28305 * inet/if_index.c: Likewise.
28306 * io/access.c: Likewise.
28307 * io/chdir.c: Likewise.
28308 * io/chmod.c: Likewise.
28309 * io/chown.c: Likewise.
28310 * io/close.c: Likewise.
28311 * io/dup.c: Likewise.
28312 * io/dup2.c: Likewise.
28313 * io/dup3.c: Likewise.
28314 * io/euidaccess.c: Likewise.
28315 * io/faccessat.c: Likewise.
28316 * io/fchdir.c: Likewise.
28317 * io/fchmod.c: Likewise.
28318 * io/fchmodat.c: Likewise.
28319 * io/fchown.c: Likewise.
28320 * io/fchownat.c: Likewise.
28321 * io/fcntl.c: Likewise.
28322 * io/flock.c: Likewise.
28323 * io/fstatfs.c: Likewise.
28324 * io/fstatfs64.c: Likewise.
28325 * io/fstatvfs.c: Likewise.
28326 * io/fstatvfs64.c: Likewise.
28327 * io/futimens.c: Likewise.
28328 * io/fxstat.c: Likewise.
28329 * io/fxstat64.c: Likewise.
28330 * io/fxstatat.c: Likewise.
28331 * io/fxstatat64.c: Likewise.
28332 * io/getcwd.c: Likewise.
28333 * io/isatty.c: Likewise.
28334 * io/lchmod.c: Likewise.
28335 * io/lchown.c: Likewise.
28336 * io/link.c: Likewise.
28337 * io/linkat.c: Likewise.
28338 * io/lseek.c: Likewise.
28339 * io/lseek64.c: Likewise.
28340 * io/lxstat64.c: Likewise.
28341 * io/mkdir.c: Likewise.
28342 * io/mkdirat.c: Likewise.
28343 * io/mkfifo.c: Likewise.
28344 * io/mkfifoat.c: Likewise.
28345 * io/open.c: Likewise.
28346 * io/open64.c: Likewise.
28347 * io/openat.c: Likewise.
28348 * io/openat64.c: Likewise.
28349 * io/pipe.c: Likewise.
28350 * io/pipe2.c: Likewise.
28351 * io/poll.c: Likewise.
28352 * io/posix_fadvise.c: Likewise.
28353 * io/posix_fadvise64.c: Likewise.
28354 * io/posix_fallocate.c: Likewise.
28355 * io/posix_fallocate64.c: Likewise.
28356 * io/read.c: Likewise.
28357 * io/readlink.c: Likewise.
28358 * io/readlinkat.c: Likewise.
28359 * io/rmdir.c: Likewise.
28360 * io/sendfile.c: Likewise.
28361 * io/sendfile64.c: Likewise.
28362 * io/statfs.c: Likewise.
28363 * io/statfs64.c: Likewise.
28364 * io/statvfs.c: Likewise.
28365 * io/statvfs64.c: Likewise.
28366 * io/symlink.c: Likewise.
28367 * io/symlinkat.c: Likewise.
28368 * io/ttyname.c: Likewise.
28369 * io/ttyname_r.c: Likewise.
28370 * io/umask.c: Likewise.
28371 * io/unlink.c: Likewise.
28372 * io/unlinkat.c: Likewise.
28373 * io/utime.c: Likewise.
28374 * io/utimensat.c: Likewise.
28375 * io/write.c: Likewise.
28376 * io/xmknod.c: Likewise.
28377 * io/xmknodat.c: Likewise.
28378 * io/xstat.c: Likewise.
28379 * io/xstat64.c: Likewise.
28380 * login/getpt.c: Likewise.
28381 * login/grantpt.c: Likewise.
28382 * login/unlockpt.c: Likewise.
28383 * math/e_acoshl.c: Likewise.
28384 * math/e_acosl.c: Likewise.
28385 * math/e_asinl.c: Likewise.
28386 * math/e_atan2l.c: Likewise.
28387 * math/e_atanhl.c: Likewise.
28388 * math/e_coshl.c: Likewise.
28389 * math/e_expl.c: Likewise.
28390 * math/e_fmodl.c: Likewise.
28391 * math/e_gammal_r.c: Likewise.
28392 * math/e_hypotl.c: Likewise.
28393 * math/e_j0l.c: Likewise.
28394 * math/e_j1l.c: Likewise.
28395 * math/e_jnl.c: Likewise.
28396 * math/e_lgammal_r.c: Likewise.
28397 * math/e_log10l.c: Likewise.
28398 * math/e_log2l.c: Likewise.
28399 * math/e_logl.c: Likewise.
28400 * math/e_powl.c: Likewise.
28401 * math/e_rem_pio2l.c: Likewise.
28402 * math/e_sinhl.c: Likewise.
28403 * math/e_sqrtl.c: Likewise.
28404 * math/fclrexcpt.c: Likewise.
28405 * math/fedisblxcpt.c: Likewise.
28406 * math/feenablxcpt.c: Likewise.
28407 * math/fegetenv.c: Likewise.
28408 * math/fegetexcept.c: Likewise.
28409 * math/fegetround.c: Likewise.
28410 * math/feholdexcpt.c: Likewise.
28411 * math/fesetenv.c: Likewise.
28412 * math/fesetround.c: Likewise.
28413 * math/feupdateenv.c: Likewise.
28414 * math/fgetexcptflg.c: Likewise.
28415 * math/fraiseexcpt.c: Likewise.
28416 * math/fsetexcptflg.c: Likewise.
28417 * math/ftestexcept.c: Likewise.
28418 * math/k_cosl.c: Likewise.
28419 * math/k_rem_pio2l.c: Likewise.
28420 * math/k_sinl.c: Likewise.
28421 * math/k_tanl.c: Likewise.
28422 * math/s_asinhl.c: Likewise.
28423 * math/s_atanl.c: Likewise.
28424 * math/s_cbrtl.c: Likewise.
28425 * math/s_erfl.c: Likewise.
28426 * math/s_expm1l.c: Likewise.
28427 * math/s_log1pl.c: Likewise.
28428 * math/s_tanhl.c: Likewise.
28429 * misc/acct.c: Likewise.
28430 * misc/brk.c: Likewise.
28431 * misc/chflags.c: Likewise.
28432 * misc/chroot.c: Likewise.
28433 * misc/fchflags.c: Likewise.
28434 * misc/fgetxattr.c: Likewise.
28435 * misc/flistxattr.c: Likewise.
28436 * misc/fremovexattr.c: Likewise.
28437 * misc/fsetxattr.c: Likewise.
28438 * misc/fsync.c: Likewise.
28439 * misc/ftruncate.c: Likewise.
28440 * misc/futimes.c: Likewise.
28441 * misc/futimesat.c: Likewise.
28442 * misc/getdomain.c: Likewise.
28443 * misc/getdtsz.c: Likewise.
28444 * misc/gethostid.c: Likewise.
28445 * misc/gethostname.c: Likewise.
28446 * misc/getloadavg.c: Likewise.
28447 * misc/getpagesize.c: Likewise.
28448 * misc/getsysstats.c: Likewise.
28449 * misc/getxattr.c: Likewise.
28450 * misc/gtty.c: Likewise.
28451 * misc/ioctl.c: Likewise.
28452 * misc/lgetxattr.c: Likewise.
28453 * misc/listxattr.c: Likewise.
28454 * misc/llistxattr.c: Likewise.
28455 * misc/lremovexattr.c: Likewise.
28456 * misc/lsetxattr.c: Likewise.
28457 * misc/lutimes.c: Likewise.
28458 * misc/madvise.c: Likewise.
28459 * misc/mincore.c: Likewise.
28460 * misc/mlock.c: Likewise.
28461 * misc/mlockall.c: Likewise.
28462 * misc/mmap.c: Likewise.
28463 * misc/mprotect.c: Likewise.
28464 * misc/msync.c: Likewise.
28465 * misc/munlock.c: Likewise.
28466 * misc/munlockall.c: Likewise.
28467 * misc/munmap.c: Likewise.
28468 * misc/preadv.c: Likewise.
28469 * misc/preadv64.c: Likewise.
28470 * misc/ptrace.c: Likewise.
28471 * misc/pwritev.c: Likewise.
28472 * misc/pwritev64.c: Likewise.
28473 * misc/readv.c: Likewise.
28474 * misc/reboot.c: Likewise.
28475 * misc/remap_file_pages.c: Likewise.
28476 * misc/removexattr.c: Likewise.
28477 * misc/revoke.c: Likewise.
28478 * misc/select.c: Likewise.
28479 * misc/setdomain.c: Likewise.
28480 * misc/setegid.c: Likewise.
28481 * misc/seteuid.c: Likewise.
28482 * misc/sethostid.c: Likewise.
28483 * misc/sethostname.c: Likewise.
28484 * misc/setregid.c: Likewise.
28485 * misc/setreuid.c: Likewise.
28486 * misc/setxattr.c: Likewise.
28487 * misc/sstk.c: Likewise.
28488 * misc/stty.c: Likewise.
28489 * misc/swapoff.c: Likewise.
28490 * misc/swapon.c: Likewise.
28491 * misc/sync.c: Likewise.
28492 * misc/syncfs.c: Likewise.
28493 * misc/syscall.c: Likewise.
28494 * misc/truncate.c: Likewise.
28495 * misc/ualarm.c: Likewise.
28496 * misc/usleep.c: Likewise.
28497 * misc/ustat.c: Likewise.
28498 * misc/utimes.c: Likewise.
28499 * misc/vhangup.c: Likewise.
28500 * misc/writev.c: Likewise.
28501 * posix/_exit.c: Likewise.
28502 * posix/alarm.c: Likewise.
28503 * posix/execve.c: Likewise.
28504 * posix/fexecve.c: Likewise.
28505 * posix/fork.c: Likewise.
28506 * posix/fpathconf.c: Likewise.
28507 * posix/getaddrinfo.c: Likewise.
28508 * posix/getegid.c: Likewise.
28509 * posix/geteuid.c: Likewise.
28510 * posix/getgid.c: Likewise.
28511 * posix/getgroups.c: Likewise.
28512 * posix/getlogin.c: Likewise.
28513 * posix/getlogin_r.c: Likewise.
28514 * posix/getpgid.c: Likewise.
28515 * posix/getpid.c: Likewise.
28516 * posix/getppid.c: Likewise.
28517 * posix/getresgid.c: Likewise.
28518 * posix/getresuid.c: Likewise.
28519 * posix/getsid.c: Likewise.
28520 * posix/getuid.c: Likewise.
28521 * posix/glob64.c: Likewise.
28522 * posix/nanosleep.c: Likewise.
28523 * posix/pathconf.c: Likewise.
28524 * posix/pause.c: Likewise.
28525 * posix/posix_madvise.c: Likewise.
28526 * posix/pread.c: Likewise.
28527 * posix/pread64.c: Likewise.
28528 * posix/pwrite.c: Likewise.
28529 * posix/pwrite64.c: Likewise.
28530 * posix/sched_getaffinity.c: Likewise.
28531 * posix/sched_getp.c: Likewise.
28532 * posix/sched_gets.c: Likewise.
28533 * posix/sched_primax.c: Likewise.
28534 * posix/sched_primin.c: Likewise.
28535 * posix/sched_rr_gi.c: Likewise.
28536 * posix/sched_setaffinity.c: Likewise.
28537 * posix/sched_setp.c: Likewise.
28538 * posix/sched_sets.c: Likewise.
28539 * posix/sched_yield.c: Likewise.
28540 * posix/setgid.c: Likewise.
28541 * posix/setlogin.c: Likewise.
28542 * posix/setpgid.c: Likewise.
28543 * posix/setresgid.c: Likewise.
28544 * posix/setresuid.c: Likewise.
28545 * posix/setsid.c: Likewise.
28546 * posix/setuid.c: Likewise.
28547 * posix/sleep.c: Likewise.
28548 * posix/spawni.c: Likewise.
28549 * posix/sysconf.c: Likewise.
28550 * posix/times.c: Likewise.
28551 * posix/wait.c: Likewise.
28552 * posix/wait3.c: Likewise.
28553 * posix/wait4.c: Likewise.
28554 * posix/waitpid.c: Likewise.
28555 * resolv/gai_sigqueue.c: Likewise.
28556 * resource/getpriority.c: Likewise.
28557 * resource/getrlimit.c: Likewise.
28558 * resource/getrusage.c: Likewise.
28559 * resource/nice.c: Likewise.
28560 * resource/setpriority.c: Likewise.
28561 * resource/setrlimit.c: Likewise.
28562 * resource/ulimit.c: Likewise.
28563 * rt/aio_cancel.c: Likewise.
28564 * rt/aio_fsync.c: Likewise.
28565 * rt/aio_read.c: Likewise.
28566 * rt/aio_sigqueue.c: Likewise.
28567 * rt/aio_suspend.c: Likewise.
28568 * rt/aio_write.c: Likewise.
28569 * rt/clock_getres.c: Likewise.
28570 * rt/clock_gettime.c: Likewise.
28571 * rt/clock_nanosleep.c: Likewise.
28572 * rt/clock_settime.c: Likewise.
28573 * rt/lio_listio.c: Likewise.
28574 * rt/mq_close.c: Likewise.
28575 * rt/mq_getattr.c: Likewise.
28576 * rt/mq_notify.c: Likewise.
28577 * rt/mq_open.c: Likewise.
28578 * rt/mq_receive.c: Likewise.
28579 * rt/mq_send.c: Likewise.
28580 * rt/mq_setattr.c: Likewise.
28581 * rt/mq_timedreceive.c: Likewise.
28582 * rt/mq_timedsend.c: Likewise.
28583 * rt/mq_unlink.c: Likewise.
28584 * rt/shm_open.c: Likewise.
28585 * rt/shm_unlink.c: Likewise.
28586 * rt/timer_create.c: Likewise.
28587 * rt/timer_delete.c: Likewise.
28588 * rt/timer_getoverr.c: Likewise.
28589 * rt/timer_gettime.c: Likewise.
28590 * rt/timer_settime.c: Likewise.
28591 * setjmp/__longjmp.c: Likewise.
28592 * setjmp/setjmp.c: Likewise.
28593 * signal/kill.c: Likewise.
28594 * signal/killpg.c: Likewise.
28595 * signal/raise.c: Likewise.
28596 * signal/sigaction.c: Likewise.
28597 * signal/sigaltstack.c: Likewise.
28598 * signal/sigblock.c: Likewise.
28599 * signal/sigignore.c: Likewise.
28600 * signal/sigintr.c: Likewise.
28601 * signal/signal.c: Likewise.
28602 * signal/sigpause.c: Likewise.
28603 * signal/sigpending.c: Likewise.
28604 * signal/sigqueue.c: Likewise.
28605 * signal/sigreturn.c: Likewise.
28606 * signal/sigset.c: Likewise.
28607 * signal/sigsetmask.c: Likewise.
28608 * signal/sigstack.c: Likewise.
28609 * signal/sigsuspend.c: Likewise.
28610 * signal/sigtimedwait.c: Likewise.
28611 * signal/sigvec.c: Likewise.
28612 * signal/sigwait.c: Likewise.
28613 * signal/sigwaitinfo.c: Likewise.
28614 * signal/sysv_signal.c: Likewise.
28615 * socket/accept.c: Likewise.
28616 * socket/accept4.c: Likewise.
28617 * socket/bind.c: Likewise.
28618 * socket/connect.c: Likewise.
28619 * socket/getpeername.c: Likewise.
28620 * socket/getsockname.c: Likewise.
28621 * socket/getsockopt.c: Likewise.
28622 * socket/isfdtype.c: Likewise.
28623 * socket/listen.c: Likewise.
28624 * socket/recv.c: Likewise.
28625 * socket/recvfrom.c: Likewise.
28626 * socket/recvmsg.c: Likewise.
28627 * socket/send.c: Likewise.
28628 * socket/sendmsg.c: Likewise.
28629 * socket/sendto.c: Likewise.
28630 * socket/setsockopt.c: Likewise.
28631 * socket/shutdown.c: Likewise.
28632 * socket/sockatmark.c: Likewise.
28633 * socket/socket.c: Likewise.
28634 * socket/socketpair.c: Likewise.
28635 * stdio-common/ctermid.c: Likewise.
28636 * stdio-common/cuserid.c: Likewise.
28637 * stdio-common/remove.c: Likewise.
28638 * stdio-common/rename.c: Likewise.
28639 * stdio-common/renameat.c: Likewise.
28640 * stdio-common/tempname.c: Likewise.
28641 * stdlib/getcontext.c: Likewise.
28642 * stdlib/makecontext.c: Likewise.
28643 * stdlib/setcontext.c: Likewise.
28644 * stdlib/swapcontext.c: Likewise.
28645 * stdlib/system.c: Likewise.
28646 * streams/fattach.c: Likewise.
28647 * streams/fdetach.c: Likewise.
28648 * streams/getmsg.c: Likewise.
28649 * streams/getpmsg.c: Likewise.
28650 * streams/putmsg.c: Likewise.
28651 * streams/putpmsg.c: Likewise.
28652 * sysdeps/unix/bsd/getpt.c: Likewise.
28653 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28654 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28655 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28658 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28659 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28660 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28661 * sysvipc/msgctl.c: Likewise.
28662 * sysvipc/msgget.c: Likewise.
28663 * sysvipc/msgrcv.c: Likewise.
28664 * sysvipc/msgsnd.c: Likewise.
28665 * sysvipc/semctl.c: Likewise.
28666 * sysvipc/semget.c: Likewise.
28667 * sysvipc/semop.c: Likewise.
28668 * sysvipc/semtimedop.c: Likewise.
28669 * sysvipc/shmat.c: Likewise.
28670 * sysvipc/shmctl.c: Likewise.
28671 * sysvipc/shmdt.c: Likewise.
28672 * sysvipc/shmget.c: Likewise.
28673 * termios/tcdrain.c: Likewise.
28674 * termios/tcflow.c: Likewise.
28675 * termios/tcflush.c: Likewise.
28676 * termios/tcgetattr.c: Likewise.
28677 * termios/tcgetpgrp.c: Likewise.
28678 * termios/tcsendbrk.c: Likewise.
28679 * termios/tcsetattr.c: Likewise.
28680 * termios/tcsetpgrp.c: Likewise.
28681 * time/adjtime.c: Likewise.
28682 * time/clock.c: Likewise.
28683 * time/getitimer.c: Likewise.
28684 * time/gettimeofday.c: Likewise.
28685 * time/setitimer.c: Likewise.
28686 * time/settimeofday.c: Likewise.
28687 * time/stime.c: Likewise.
28688 * time/time.c: Likewise.
28690 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28692 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28695 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28697 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28699 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28703 FE_TONEAREST before applying Dekker multiplication and Knuth
28704 addition. Clear inexact exceptions and check for exact zero
28705 results afterwards.
28706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28709 * math/libm-test.inc (fma_test): Add more tests.
28710 (fma_test_towardzero): Likewise.
28711 (fma_test_downward): Likewise.
28712 (fma_test_upward): Likewise.
28713 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28715 (libc_fesetround): New macro.
28716 (libc_fesetroundf): Likewise.
28717 (libc_fesetroundl): Likewise.
28718 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28720 (libc_fesetround_387): Likewise.
28721 (libc_fesetroundf): New macro.
28722 (libc_fesetround): Likewise.
28723 (libc_fesetroundl): Likewise.
28724 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28726 (libc_fesetroundf): New macro.
28727 (libc_fesetround): Likewise.
28728 (libc_fesetroundl): Likewise.
28729 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28730 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28731 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28733 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28734 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28736 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28737 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28739 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28743 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28744 integer constant usable in #if and use that to give value to enum
28746 (FE_DIVBYZERO): Likewise.
28747 (FE_UNDERFLOW): Likewise.
28748 (FE_OVERFLOW): Likewise.
28749 (FE_INVALID): Likewise.
28750 (FE_INVALID_SNAN): Likewise.
28751 (FE_INVALID_ISI): Likewise.
28752 (FE_INVALID_IDI): Likewise.
28753 (FE_INVALID_ZDZ): Likewise.
28754 (FE_INVALID_IMZ): Likewise.
28755 (FE_INVALID_COMPARE): Likewise.
28756 (FE_INVALID_SOFTWARE): Likewise.
28757 (FE_INVALID_SQRT): Likewise.
28758 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28759 (FE_TONEAREST): Likewise.
28760 (FE_TOWARDZERO): Likewise.
28761 (FE_UPWARD): Likewise.
28762 (FE_DOWNWARD): Likewise.
28763 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28764 (FE_DIVBYZERO): Likewise.
28765 (FE_OVERFLOW): Likewise.
28766 (FE_UNDERFLOW): Likewise.
28767 (FE_INEXACT): Likewise.
28768 (FE_TONEAREST): Likewise.
28769 (FE_DOWNWARD): Likewise.
28770 (FE_UPWARD): Likewise.
28771 (FE_TOWARDZERO): Likewise.
28772 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28773 (FE_UNDERFLOW): Likewise.
28774 (FE_OVERFLOW): Likewise.
28775 (FE_DIVBYZERO): Likewise.
28776 (FE_INVALID): Likewise.
28777 (FE_TONEAREST): Likewise.
28778 (FE_TOWARDZERO): Likewise.
28779 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28780 (FE_OVERFLOW): Likewise.
28781 (FE_UNDERFLOW): Likewise.
28782 (FE_DIVBYZERO): Likewise.
28783 (FE_INEXACT): Likewise.
28784 (FE_TONEAREST): Likewise.
28785 (FE_TOWARDZERO): Likewise.
28786 (FE_UPWARD): Likewise.
28787 (FE_DOWNWARD): Likewise.
28788 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28789 (FE_DIVBYZERO): Likewise.
28790 (FE_OVERFLOW): Likewise.
28791 (FE_UNDERFLOW): Likewise.
28792 (FE_INEXACT): Likewise.
28793 (FE_TONEAREST): Likewise.
28794 (FE_DOWNWARD): Likewise.
28795 (FE_UPWARD): Likewise.
28796 (FE_TOWARDZERO): Likewise.
28798 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28800 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28802 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28804 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28805 commands. Quote $PWD.
28806 (blacklist_exports): Don't use remove_newlines. Replace "declare
28808 (remove_newlines): Remove.
28810 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28812 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28813 * stdlib/stdlib.h (atof): Moved to ...
28814 * include/bits/stdlib-float.h: Here. New file.
28815 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28816 * stdlib/bits/stdlib-float.h: New file.
28817 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28822 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28824 * conform/conformtest.pl (@headers): Add fenv.h.
28825 * conform/data/fenv.h-data: New file.
28826 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28827 include of <math/fenv.h>.
28829 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28830 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28831 && !UNIX98]. Enables tests for XOPEN2K8.
28832 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28833 POSIX2008]: Likewise.
28835 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28836 (struct rusage): Do not expect type or its members.
28839 * math/math.h (FP_NAN): Define macro to integer constant usable in
28840 #if and use that to give value to enum constant.
28841 (FP_INFINITE): Likewise.
28842 (FP_ZERO): Likewise.
28843 (FP_SUBNORMAL): Likewise.
28844 (FP_NORMAL): Likewise.
28846 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28848 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28849 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28852 2012-11-02 Roland McGrath <roland@hack.frob.com>
28854 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28855 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28856 autoconf-time if not.
28857 * configure.in: Remove AC_PREREQ.
28859 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28861 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28862 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28863 of the internal implementation.
28865 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28867 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28868 except include of <misc/sys/syslog.h>.
28870 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28873 function returns with a NULL context exit with zero.
28875 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28877 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28879 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28881 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28882 (run_program_cmd): This.
28883 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28884 (tst_langinfo): New variable. Use it.
28886 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28888 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28889 floating point opcodes.
28891 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28893 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28896 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28898 * sysdeps/mach/hurd/powerpc: Remove directory.
28899 * sysdeps/mach/powerpc: Likewise.
28901 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28903 * scripts/check-local-headers.sh: Ignore c++ headers.
28905 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28907 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28908 __libc_cleanup_region_start argument.
28910 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28915 x * y using scaling, not as x * y + z.
28916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28918 * math/libm-test.inc (fma_test): Add more tests.
28919 (fma_test_towardzero): Likewise.
28920 (fma_test_downward): Likewise.
28921 (fma_test_upward): Likewise.
28923 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28925 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28927 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28929 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28932 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28934 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28936 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28943 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28946 Fix the order of the list for glibc 2.17.
28947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28950 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28954 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28958 for low part of x being zero before using __atanl (y).
28959 * math/libm-test.inc (atan2_test): Add another test.
28961 * manual/install.texi (Configuring and compiling): Document
28962 general use of test-wrapper and test-wrapper-env.
28963 * INSTALL: Regenerated.
28965 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28966 (__fma): Do not extract and scale down low bits on after-rounding
28967 systems when result rounded to normal precision would have normal
28969 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28970 (__fmal): Do not extract and scale down low bits on after-rounding
28971 systems when result rounded to normal precision would have normal
28973 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28974 (__fmal): Do not extract and scale down low bits on after-rounding
28975 systems when result rounded to normal precision would have normal
28977 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28979 (fma_test): Add more tests.
28980 (fma_test_towardzero): Likewise.
28981 (fma_test_downward): Likewise.
28982 (fma_test_upward): Likewise.
28984 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/i386/tininess.h: Renamed to ...
28987 * sysdeps/x86/tininess.h: This.
28988 * sysdeps/x86_64/tininess.h: Removed.
28990 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28992 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28993 input. Use $(build-program-cmd).
28994 ($(objpfx)tst-array1-static.out): Likewise.
28995 ($(objpfx)tst-array2.out): Likewise.
28996 ($(objpfx)tst-array3.out): Likewise.
28997 ($(objpfx)tst-array4.out): Likewise.
28998 ($(objpfx)tst-array5.out): Likewise.
28999 ($(objpfx)tst-array5-static.out): Likewise.
29001 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29003 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29006 * nss/nsswitch.h (nss_interface_function): Provide new
29007 macro for use with NSS functions.
29008 * grp/initgroups.c: Use new macro.
29009 * nss/getXXbyYY.c: Likewise.
29010 * nss/getXXbyYY_r.c: Likewise.
29011 * nss/getXXent.c: Likewise.
29012 * nss/getXXent_r.c: Likewise.
29013 * sysdeps/posix/getaddrinfo.c: Likewise.
29015 2012-10-30 Andreas Jaeger <aj@suse.de>
29017 * po/ru.po: Update Russion translation from translation project.
29019 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29024 result and shift together with sticky bit instead of replicating
29025 round-to-nearest rounding.
29026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29028 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29029 missing underflow exceptions.
29030 (fma_test_towardzero): Add more tests.
29031 (fma_test_downward): Likewise.
29032 (fma_test_upward): Likewise.
29035 * sysdeps/generic/tininess.h: New file.
29036 * sysdeps/i386/tininess.h: Likewise.
29037 * sysdeps/sh/tininess.h: Likewise.
29038 * sysdeps/x86_64/tininess.h: Likewise.
29039 * stdlib/tst-strtod-underflow.c: Likewise.
29040 * stdlib/tst-tininess.c: Likewise.
29041 * stdlib/strtod_l.c: Include <tininess.h>.
29042 (round_and_return): Do not set errno for exact underflow cases.
29043 Force an underflow exception when setting errno for underflow.
29044 Determine underflow based on rounding to normal precision if
29045 TININESS_AFTER_ROUNDING.
29046 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29047 ERANGE for exact underflow cases.
29048 * stdlib/Makefile (tests): Add tst-tininess and
29049 tst-strtod-underflow.
29050 ($(objpfx)tst-tininess): Use $(link-libm).
29051 ($(objpfx)tst-strtod-underflow): Likewise.
29053 2012-10-30 Andreas Jaeger <aj@suse.de>
29056 * elf/Makefile (tests): Remove conditional for have-initfini-array
29057 since this is now always required and the variable does not exist
29059 (tests-static): Likewise.
29060 (modules-names): Likewise.
29062 * po/eo.po: Add Esperanto translation from translation project.
29064 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29065 merged with constructor/destructor.
29066 (init_array): Likewise.
29067 * elf/tst-array2dep.c (fini_array): Likewise.
29068 (init_array): Likewise.
29070 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29072 * manual/message.texi: Delete @cartouche tags.
29074 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29076 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29078 * sysdeps/mach/hurd/fsync.c: Likewise.
29080 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29081 [_POSIX_REALTIME_SIGNALS]: Change condition to
29082 [_POSIX_REALTIME_SIGNALS > 0].
29084 2012-10-27 Andreas Jaeger <aj@suse.de>
29086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29087 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29089 [__WORDSIZE != 64]: Likewise.
29091 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29093 * iconvdata/tst-table.sh: Remove ${SHELL}.
29094 * iconvdata/tst-tables.sh: Likewise.
29096 2012-10-25 David S. Miller <davem@davemloft.net>
29098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29099 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29105 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29106 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29109 2012-10-25 Roland McGrath <roland@hack.frob.com>
29111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29112 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29115 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29116 Jim Blandy <jimb@codesourcery.com>
29118 * scripts/cross-test-ssh.sh: New file.
29119 * manual/install.texi (Configuring and compiling): Document use of
29121 * INSTALL: Regenerated.
29123 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29125 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29128 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29130 * Makeconfig (run-program-prefix): Fix comment.
29132 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29133 Jim Blandy <jimb@codesourcery.com>
29135 * Makeconfig (test-wrapper): New variable,
29136 (test-wrapper-env): Likewise.
29137 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29138 (run-built-tests): Define to yes.
29139 (run-program-prefix): Use $(test-wrapper).
29140 (built-program-cmd): Likewise.
29141 * Rules (make-test-out): Use $(test-wrapper-env) and
29142 $(host-built-program-cmd).
29143 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29144 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29146 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29147 $(test-wrapper-env) to tst-rtld-load-self.sh.
29148 ($(objpfx)order2.out): Use $(test-wrapper).
29149 ($(objpfx)tst-initorder.out): Likewise.
29150 ($(objpfx)tst-initorder2.out): Likewise.
29151 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29152 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29153 (test_wrapper_env): New variable. Use it to run ld.so.
29154 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29155 Use it to run ld.so.
29156 (test_wrapper_env): Likewise.
29157 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29158 $(test-wrapper) to run-iconv-test.sh.
29159 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29160 (ICONV): Use $test_wrapper.
29161 * posix/Makefile ($(objpfx)globtest.out): Pass
29162 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29163 globtest.sh, not $(run-program-prefix).
29164 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29165 (test_wrapper): Likewise.
29166 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29167 set together with run_via_rtld_prefix.
29168 (run_program_prefix): Define in terms of test_wrapper and
29169 run_via_rtld_prefix.
29171 2012-10-24 Roland McGrath <roland@hack.frob.com>
29173 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29174 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29178 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29179 Declare __clock_getres, __clock_gettime, __clock_settime,
29180 __clock_nanosleep, and __clock_getcpuclockid.
29181 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29182 Remove librt_hidden_def (clock_gettime).
29183 * sysdeps/unix/clock_gettime.c: Likewise.
29184 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29185 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29186 * rt/clock_getres.c: Define __clock_getres as an alias.
29187 * sysdeps/posix/clock_getres.c: Likewise.
29188 * rt/clock_settime.c: Define __clock_settime as an alias.
29189 * sysdeps/unix/clock_settime.c: Likewise.
29190 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29191 * sysdeps/unix/clock_nanosleep.c: Likewise.
29192 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29193 * rt/clock-compat.c: New file.
29194 * rt/Makefile (librt-routines): Add clock-compat and move
29195 $(clock-routines) to ...
29196 (routines): ... here, new variable.
29197 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29198 Don't add get_clockfreq here.
29199 * rt/Versions (libc: GLIBC_2.17): New version set.
29200 Add clock_* symbols here.
29201 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29203 (GLIBC_2.17): Add clock_* symbols.
29204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29215 * NEWS: Mention the move.
29217 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29218 Use __open, __read, __close rather than their public counterparts.
29219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29220 (__get_clockfreq_via_cpuinfo): Likewise.
29221 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29222 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29224 * config.h.in (HAVE_IFUNC): New #undef.
29225 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29227 * configure: Regenerated.
29229 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29231 * configure.in: Move READELF check to start of file.
29232 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29233 libc_cv_asm_gnu_indirect_function in the process.
29234 * configure: Regenerated.
29236 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29238 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29239 send the output to /dev/null.
29240 (libc_cv_cc_with_libunwind): Likewise.
29241 (libc_cv_as_noexecstack): Likewise.
29242 * configure: Regenerate.
29244 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29246 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29248 * posix/globtest.sh (TMPDIR): Do not set.
29249 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29250 (testout): Likewise.
29252 2012-10-24 Andreas Jaeger <aj@suse.de>
29254 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29255 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29256 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29257 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29258 posix_fadvise64, posix_fallocate64.
29260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29261 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29262 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29264 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29266 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29269 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29270 <bits/fcntl-linux.h>.
29271 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29274 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29275 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29276 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29277 [__WORDSIZE != 64]: Likewise.
29279 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29281 * Makeconfig (run-built-tests): New variable.
29282 * Rules [$(cross-compiling) = yes]: Change condition to
29283 [$(run-built-tests) = no].
29284 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29285 to [$(run-built-tests) = yes].
29286 * elf/Makefile [$(cross-compiling) = no]: Likewise
29287 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29288 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29289 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29290 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29291 * io/Makefile [$(cross-compiling) = no]: Likewise.
29292 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29293 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29294 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29295 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29296 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29297 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29298 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29299 * string/Makefile [$(cross-compiling) = no]: Likewise.
29301 * posix/Makefile ($(objpfx)globtest.out): Pass
29302 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29303 $(rtld-installed-name).
29304 * posix/globtest.sh (elf_objpfx): Remove variable.
29305 (rtld_installed_name): Likewise.
29306 (library_path): Likewise.
29307 (run_program_prefix): New variable. Use for running globtest
29310 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29311 Joseph Myers <joseph@codesourcery.com>
29313 * Makeconfig (host-built-program-cmd): New variable.
29314 * elf/Makefile (tst-stackguard1-ARGS): Use
29315 $(host-built-program-cmd).
29316 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29317 (tst-spawn-ARGS): Likewise.
29318 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29320 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29321 Jim Blandy <jimb@codesourcery.com>
29323 * Makeconfig (run-via-rtld-prefix): New variable.
29324 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29325 (built-program-cmd): Likewise.
29327 2012-10-22 Andreas Jaeger <aj@suse.de>
29329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29330 __O_RSYNC if it exists, otherwise to O_SYNC.
29332 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29333 Joseph Myers <joseph@codesourcery.com>
29335 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29337 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29339 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29342 2012-10-22 Andreas Jaeger <aj@suse.de>
29344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29349 bits/fcntl-linux.h.
29351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29352 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29359 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29360 Joseph Myers <joseph@codesourcery.com>
29362 * config.make.in (NM): New variable.
29364 2012-10-21 Andreas Jaeger <aj@suse.de>
29366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29367 definitions and declarations that are provided by
29368 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29370 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29373 * elf/Makefile (tests-static): Add tst-leaks1-static.
29374 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29375 ($(objpfx)tst-leaks1-static): New rule.
29376 ($(objpfx)tst-leaks1-static-mem): Likewise.
29377 (tst-leaks1-static-ENV): New macro.
29378 * elf/dl-open.c (dl_open_worker): Check the main application
29379 only if SHARED is defined.
29380 * elf/tst-leaks1-static.c: New file.
29382 2012-10-20 Andreas Jaeger <aj@suse.de>
29384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29385 generic values for Linux.
29386 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29387 and declarations that are provided by <bits/fcntl-linux.h> and
29388 include <bits/fcntl-linux.h>.
29389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29392 2012-10-20 Roland McGrath <roland@hack.frob.com>
29394 * io/fcntl.h: Move include of <bits/types.h> to the top and
29395 include it unconditionally.
29397 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29399 * wcsmbs/Makefile (tests-ifunc): New variable.
29400 (tests): Add $(tests-ifunc).
29401 * wcsmbs/test-wcschr-ifunc.c: New file.
29402 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29403 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29404 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29405 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29406 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29408 * string/Makefile (tests-ifunc): New variable.
29409 (tests): Add $(tests-ifunc).
29410 * string/test-memccpy.c (TEST_NAME): New macro.
29411 * string/test-memchr.c (TEST_NAME): Likewise.
29412 * string/test-memcmp.c (TEST_NAME): Likewise.
29413 * string/test-memcpy.c (TEST_NAME): Likewise.
29414 * string/test-memmem.c (TEST_NAME): Likewise.
29415 * string/test-memmove.c (TEST_NAME): Likewise.
29416 * string/test-memset.c (TEST_NAME): Likewise.
29417 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29418 * string/test-stpcpy.c (TEST_NAME): Likewise.
29419 * string/test-stpncpy.c (TEST_NAME): Likewise.
29420 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29421 * string/test-strcasestr.c (TEST_NAME): Likewise.
29422 * string/test-strcat.c (TEST_NAME): Likewise.
29423 * string/test-strchr.c (TEST_NAME): Likewise.
29424 * string/test-strcmp.c(TEST_NAME): Likewise.
29425 * string/test-strcpy.c (TEST_NAME): Likewise.
29426 * string/test-strcspn.c (TEST_NAME): Likewise.
29427 * string/test-strlen.c (TEST_NAME): Likewise.
29428 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29429 * string/test-strncmp.c (TEST_NAME): Likewise.
29430 * string/test-strncpy.c (TEST_NAME): Likewise.
29431 * string/test-strnlen.c (TEST_NAME): Likewise.
29432 * string/test-strpbrk.c (TEST_NAME): Likewise.
29433 * string/test-strrchr.c (TEST_NAME): Likewise.
29434 * string/test-strspn.c (TEST_NAME): Likewise.
29435 * string/test-strstr.c (TEST_NAME): Likewise.
29436 * string/test-bcopy-ifunc.c: New file.
29437 * string/test-bzero-ifunc.c: Likewise.
29438 * string/test-memccpy-ifunc.c: Likewise.
29439 * string/test-memchr-ifunc.c: Likewise.
29440 * string/test-memcmp-ifunc.c: Likewise.
29441 * string/test-memcpy-ifunc.c: Likewise.
29442 * string/test-memmem-ifunc.c: Likewise.
29443 * string/test-memmove-ifunc.c: Likewise.
29444 * string/test-mempcpy-ifunc.c: Likewise.
29445 * string/test-memset-ifunc.c: Likewise.
29446 * string/test-rawmemchr-ifunc.c: Likewise.
29447 * string/test-stpcpy-ifunc.c: Likewise.
29448 * string/test-stpncpy-ifunc.c: Likewise.
29449 * string/test-strcasecmp-ifunc.c: Likewise.
29450 * string/test-strcasestr-ifunc.c: Likewise.
29451 * string/test-strcat-ifunc.c: Likewise.
29452 * string/test-strchr-ifunc.c: Likewise.
29453 * string/test-strchrnul-ifunc.c: Likewise.
29454 * string/test-strcmp-ifunc.c: Likewise.
29455 * string/test-strcpy-ifunc.c: Likewise.
29456 * string/test-strcspn-ifunc.c: Likewise.
29457 * string/test-strlen-ifunc.c: Likewise.
29458 * string/test-strncasecmp-ifunc.c: Likewise.
29459 * string/test-strncat-ifunc.c: Likewise.
29460 * string/test-strncmp-ifunc.c: Likewise.
29461 * string/test-strncpy-ifunc.c: Likewise.
29462 * string/test-strnlen-ifunc.c: Likewise.
29463 * string/test-strpbrk-ifunc.c: Likewise.
29464 * string/test-strrchr-ifunc.c: Likewise.
29465 * string/test-strspn-ifunc.c: Likewise.
29466 * string/test-strstr-ifunc.c: Likewise.
29468 * debug/Makefile (tests-ifunc): New variable.
29469 (tests): Add $(tests-ifunc).
29470 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29471 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29472 * debug/test-stpcpy_chk-ifunc.c: New file.
29473 * debug/test-strcpy_chk-ifunc.c: Likewise.
29475 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29478 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29479 header is not read in.
29481 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29483 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29484 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29485 directly. Pass built executable to script as
29486 $(built-program-cmd).
29487 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29488 $testprogram without using LD_LIBRARY_PATH and $ldso.
29490 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29491 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29492 $(rtld-installed-name).
29493 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29494 (rtld_installed_name): Likewise.
29495 (library_path): Likewise.
29496 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29497 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29498 $(run-program-prefix) to tst-tables.sh.
29499 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29500 it to run tst-table-from and tst-table-to.
29501 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29502 Pass it to tst-table.sh.
29503 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29504 $(run-program-prefix) to tst-gettext.sh.
29505 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29507 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29509 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29510 to run tst-gettext.
29511 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29512 to run tst-gettext2.
29513 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29514 to run tst-translit.
29515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29516 $(run-program-prefix) to tst-mtrace.sh.
29517 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29519 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29520 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29521 $(rtld-installed-name).
29522 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29523 (rtld_installed_name): Likewise.
29524 (run_program_prefix): New variable. Use it to run wordexp-test.
29526 * Makeconfig (ARCH): Remove all definitions.
29527 (machine): Likewise.
29528 [ARCH]: Remove conditional code.
29529 [!objdir]: Give error.
29530 [!objdir] (objpfx): Remove.
29531 [!objdir] (common-objpfx): Likewise.
29532 [!objdir] (common-objdir): Likewise.
29533 * configure.in (config_makefile): Remove. Hardcode Makefile in
29534 AC_CONFIG_FILES call.
29535 * configure: Regenerated.
29538 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29540 (testout): Likewise.
29542 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29543 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29544 $(rtld-installed-name).
29545 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29546 (rtld_installed_name): Likwise.
29547 (runit): Remove function.
29548 (run_getconf): New variable, Use it for running getconf binary.
29550 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29553 * string/test-memmem.c (check_result): New function.
29554 (do_one_test): Use it.
29555 (check1): New function.
29556 (test_main): Use it.
29558 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29560 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29562 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29564 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29565 (_G_LSEEK64): Likewise.
29566 (_G_MMAP64): Likewise.
29567 (_G_FSTAT64): Likewise.
29568 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29569 (_G_LSEEK64): Likewise.
29570 (_G_MMAP64): Likewise.
29571 (_G_FSTAT64): Likewise.
29572 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29573 unconditional. Call __mmap64 directly.
29574 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29575 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29576 __lseek64 directly.
29577 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29578 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29580 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29581 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29582 __lseek64 directly.
29583 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29584 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29585 __lseek64 directly.
29586 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29587 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29588 __lseek64 directly.
29589 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29590 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29591 __fxstat64 directly.
29592 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29593 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29595 (freopen64) [!_G_OPEN64]: Remove conditional code.
29596 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29598 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29599 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29601 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29602 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29604 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29605 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29607 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29608 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29610 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29611 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29613 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29614 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29616 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29618 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29621 * manual/memory.texi (Malloc Tunable Parameters): Add note
29622 about free list pointers overwriting some perturb bytes.
29623 Wording suggested by Roland McGrath.
29625 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29627 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29628 (lgamma_test): Likewise.
29629 (tgamma_test): Likewise.
29631 2012-10-16 Florian Weimer <fweimer@redhat.com>
29634 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29635 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29637 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29639 * NEWS: Mention BZ #14716.
29640 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29641 when removing AVAILABLE1_USES_J macro.
29643 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29645 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29646 (__bswap_64): __uint64_t for unsigned 64-bit int.
29648 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29650 * include/string.h (memmem): Declare libc hidden alias.
29651 * string/memmem.c (memmem): Define libc hidden alias.
29652 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29653 __read, __close instead of open, read, close.
29655 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29658 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29660 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29661 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29662 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29664 (__rawmemchr_sse2): Likewise.
29665 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29667 (__strchr_sse2): Likewise.
29668 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29669 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29670 (__strcasecmp_sse2): Likewise.
29671 (__strncasecmp_sse2): Likewise.
29672 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29673 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29674 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29675 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29676 (__strrchr_sse2): Likewise.
29677 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29679 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29680 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29681 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29682 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29683 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29684 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29685 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29686 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29687 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29688 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29689 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29690 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29691 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29692 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29693 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29694 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29695 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29696 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29697 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29698 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29699 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29700 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29701 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29702 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29703 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29704 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29705 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29706 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29707 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29708 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29710 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29712 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29713 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29714 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29715 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29717 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29719 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29720 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29721 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29722 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29724 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29725 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29726 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29727 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29728 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29729 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29730 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29731 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29732 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29733 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29734 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29735 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29736 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29737 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29738 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29739 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29740 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29741 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29742 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29743 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29745 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29746 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29747 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29748 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29749 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29750 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29751 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29752 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29753 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29754 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29755 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29756 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29757 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29758 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29759 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29760 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29761 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29762 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29763 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29764 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29766 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29767 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29768 * include/ifunc-impl-list.h: New file.
29769 * misc/ifunc-impl-list.c: Likewise.
29770 * misc/Makefile (routines): Add ifunc-impl-list.
29771 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29772 * string/test-string.h: Include <ifunc-impl-list.h>.
29773 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29774 TEST_NAME]: New variables.
29775 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29777 (test_init): Call __libc_ifunc_impl_list to initialize
29778 func_list if TEST_IFUNC and TEST_NAME are defined.
29780 * string/Makefile (strop-tests): Add bcopy and bzero.
29781 * string/test-bcopy.c: New file.
29782 * string/test-bzero.c: Likewise.
29783 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29785 * string/test-memset.c: Support bzero test if TEST_BZERO is
29787 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29789 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29791 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29794 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29796 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29797 * configure: Regenerated.
29799 * Makeconfig (+link-static-before-libc): Don't include
29800 $(link-static-libc).
29802 * libio/libio.h (_IO_pos_t): Remove.
29804 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29806 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29809 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29811 * crypt/crypt-entry.c: Include fips-private.h.
29812 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29813 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29814 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29815 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29817 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29819 * crypt/crypt-private.h: Include stdbool.h.
29820 (_ufc_setup_salt_r): Return bool.
29821 * crypt/crypt-entry.c: Include errno.h.
29822 (__crypt_r): Return NULL with EINVAL for bad salt.
29823 * crypt/crypt_util.c (bad_for_salt): New.
29824 (_ufc_setup_salt_r): Check that salt is long enough and within
29825 the specified alphabet.
29826 * crypt/badsalttest.c: New file.
29827 * crypt/Makefile (tests): Add it.
29828 ($(objpfx)badsalttest): New.
29830 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29832 * NEWS: Add entry for BZ #14602.
29834 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29836 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29838 * math/libm-test.inc: Update comment listing what functions and
29840 (isgreater_test): New function.
29841 (isgreaterequal_test): Likewise.
29842 (isless_test): Likewise.
29843 (islessequal_test): Likewise.
29844 (islessgreater_test): Likewise.
29845 (isunordered_test): Likewise.
29846 (main): Call the new functions.
29848 2012-10-09 Roland McGrath <roland@hack.frob.com>
29850 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29851 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29852 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29853 * sysdeps/i386/configure: Regenerated.
29854 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29855 * sysdeps/mach/configure: Regenerated.
29856 * sysdeps/mach/hurd/configure: Regenerated.
29857 * sysdeps/powerpc/configure: Regenerated.
29858 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29859 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29860 * sysdeps/s390/s390-32/configure: Regenerated.
29861 * sysdeps/s390/s390-64/configure: Regenerated.
29862 * sysdeps/sh/configure: Regenerated.
29863 * sysdeps/sparc/configure: Regenerated.
29864 * sysdeps/unix/sysv/linux/configure: Regenerated.
29865 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29866 * sysdeps/x86_64/configure: Regenerated.
29868 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29869 defined. Don't check if MAP is NULL.
29871 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29873 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29874 (_G_stat64): Likewise.
29875 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29876 (_G_stat64): Likewise.
29877 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29878 instead of struct _G_stat64.
29879 * libio/fileops.c (mmap_remap_check): Likewise.
29880 (decide_maybe_mmap): Likewise.
29881 (_IO_new_file_seekoff): Likewise.
29882 (_IO_file_stat): Likewise.
29883 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29885 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29886 instead of struct _G_stat64.
29887 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29889 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29894 (CHECK_EOL): New macro.
29895 (two_way_short_needle): Check beginning of haystack for EOL. Use
29897 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29898 Replace with CHECK_EOL.
29899 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29900 Replace with CHECK_EOL.
29902 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29904 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29906 * math/libm-test.inc: Update comment listing what functions and
29908 (finite_test): New function.
29909 (isinf_test): Likewise.
29910 (isnan_test): Likewise.
29911 (fpclassify_test): Test subnormal input.
29912 (isfinite_test): Likewise.
29913 (isnormal_test): Likewise.
29914 (main): Call the new functions.
29916 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29919 * Makerules (%.dynsym): Force C locale when running
29920 $(OBJDUMP) --dynamic-syms.
29922 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29924 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29927 2012-10-06 David S. Miller <davem@davemloft.net>
29929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29930 upper 32-bits of the length value in %o2 since we use branch-on-register
29931 tests which consider the entire 64-bit register.
29933 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29935 * string/test-strstr.c (check2): Add a test for page boundary.
29937 2012-10-05 David S. Miller <davem@davemloft.net>
29939 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29940 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29942 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29945 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29946 and bzero when HWCAP_SPARC_CRYPTO is present.
29948 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29951 * string/test-strstr.c (check2): New function.
29952 (test_main): Call check2.
29954 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29956 * string/bug-strcasestr1.c (do_test): Moved to ...
29957 * string/test-strcasestr.c (check1): Here. New function.
29958 (do_one_test): Break out result checking code into ...
29959 (check_result): This. New function.
29960 (do_one_test): Call check_result.
29961 (test_main): Call check1.
29962 * string/bug-strchr1.c (do_test): Moved to ...
29963 * string/test-strchr.c (check1): Here. New function.
29964 (do_one_test): Break out result checking code into ...
29965 (check_result): This. New function.
29966 (do_one_test): Call check_result.
29967 (test_main): Call check1.
29968 * string/bug-strstr1.c (main): Moved to ...
29969 * string/test-strstr.c (check1): Here. New function.
29970 (do_one_test): Break out result checking code into ...
29971 (check_result): This. New function.
29972 (do_one_test): Call check_result.
29973 (test_main): Call check1.
29974 * string/bug-strcasestr1.c: Removed.
29975 * string/bug-strchr1.c: Likewise.
29976 * string/bug-strstr1.c: Likewise.
29978 * elf/Makefile (dl-routines): Add hwcaps.
29979 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29980 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29981 (_dl_important_hwcaps): Moved to ...
29982 * elf/dl-hwcaps.c: Here. New file.
29983 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29986 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29987 if IS_IN_rtld isn't defined.
29989 * elf/dl-support.c (_dl_sysinfo_map): New.
29990 Include "get-dynamic-info.h" and "setup-vdso.h".
29991 (_dl_non_dynamic_init): Call setup_vdso.
29992 * elf/dynamic-link.h: Don't include <assert.h>.
29993 (elf_get_dynamic_info): Moved to ...
29994 * elf/get-dynamic-info.h: Here. New file.
29995 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29996 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29997 * elf/setup-vdso.h: Here. New file.
29998 * elf/rtld.c: Include "setup-vdso.h".
29999 (dl_main): Call setup_vdso.
30001 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30003 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30004 creal in comment listing functions tested. List finite, isinf,
30005 isnan, isless, islessequal, isgreater, isgreaterequal,
30006 islessgreater, isunordered, lgamma_r and pow10 as functions and
30007 macros not tested. Mention which functions not tested are aliases
30008 for other functions. Fix typo. Note that signs of NaNs are not
30011 * scripts/config.guess: Update from config.git.
30012 * scripts/config.sub: Likewise.
30014 2012-10-04 Roland McGrath <roland@hack.frob.com>
30016 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30017 * misc/madvise.c (madvise): Renamed to __madvise.
30018 Make madvise a weak alias.
30019 * include/sys/mman.h: Declare __madvise.
30020 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30021 * sysdeps/unix/syscalls.list
30022 (madvise): Make __madvise the strong name, and madvise a weak alias.
30023 * sysdeps/unix/sysv/linux/syscalls.list
30024 (madvise, mmap): Remove redundant entries.
30025 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30026 * malloc/malloc.c (mtrim): Likewise.
30027 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30029 2012-10-03 Roland McGrath <roland@hack.frob.com>
30031 * sysdeps/mach/hurd/dl-cache.c: File removed.
30032 * config.h.in (USE_LDCONFIG): New #undef.
30033 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30034 * configure: Regenerated.
30035 * elf/Makefile (dl-routines): Add dl-cache only under
30036 [$(use-ldconfig) = yes].
30037 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30038 cache on [USE_LDCONFIG].
30039 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30041 * elf/rtld.c (dl_main): Likewise.
30043 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30045 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30046 _SC_LEVEL4_CACHE_LINESIZE.
30048 2012-10-03 Roland McGrath <roland@hack.frob.com>
30050 * sysdeps/unix/bsd/confstr.h: File removed.
30052 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30054 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30057 2012-10-02 Roland McGrath <roland@hack.frob.com>
30059 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30060 Make 'mapoff' field ElfW(Off) rather than off_t.
30062 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30064 * nscd/Makefile: Remove nscd-cflags and all its users.
30065 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30066 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30069 * malloc.c (malloc_printerr): Clarify error message.
30071 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30075 Set bit_FMA_Usable if FMA is supported.
30076 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30078 (bit_FMA4_Usable): Updated.
30079 (index_FMA_Usable): New macro.
30080 (CPUID_FMA): Likewise
30081 (HAS_FMA): Defined with bit_FMA_Usable.
30083 2012-10-01 Roland McGrath <roland@hack.frob.com>
30085 * bits/types.h (__swblk_t): Type removed.
30086 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30087 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30089 (__SWBLK_T_TYPE): Likewise.
30090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30091 (__SWBLK_T_TYPE): Likewise.
30092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30093 (__SWBLK_T_TYPE): Likewise.
30094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30095 (__SWBLK_T_TYPE): Likewise.
30097 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30098 Honza Horak <hhorak@redhat.com>
30100 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30101 (xdr_mapname): Use YPMAXMAP as maxsize.
30102 (xdr_peername): Use YPMAXPEER as maxsize.
30103 (xdr_keydat): Use YPAXRECORD as maxsize.
30104 (xdr_valdat): Use YPMAXRECORD as maxsize.
30106 2012-10-01 Roland McGrath <roland@hack.frob.com>
30108 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30110 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30111 * csu/init-first.c: ... here.
30112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30113 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30114 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30115 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30116 * sysdeps/i386/init-first.c: File removed.
30117 * sysdeps/sh/init-first.c: File removed.
30119 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30123 if x * y might underflow to zero and z is zero.
30124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30126 * math/libm-test.inc (min_subnorm_value): New variable.
30127 (fma_test): Add more tests.
30128 (fma_test_towardzero): Likewise.
30129 (fma_test_downward): Likewise
30130 (fma_test_upward): Likewise.
30131 (initialize): Set min_subnorm_value.
30133 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30139 mode for addition resulting in exact zero.
30140 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30145 * math/libm-test.inc (fma_test): Add more tests.
30146 (fma_test_towardzero): New function.
30147 (fma_test_downward): Likewise.
30148 (fma_test_upward): Likewise.
30149 (main): Call the new functions.
30151 2012-09-28 David S. Miller <davem@davemloft.net>
30153 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30155 2012-09-28 Roland McGrath <roland@hack.frob.com>
30157 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30158 instead of SIGALRM.
30160 * sysdeps/gnu/_G_config.h: Moved to ...
30161 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30162 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30163 * sysdeps/generic/_G_config.h: ... here.
30165 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30167 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30169 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30170 Conditionalize target on [libnss_test1.so-version].
30172 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30174 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30175 (elfobjdir): Move out of conditionals.
30177 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30178 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30179 (__nss_lookup_function): Conditionalize label remove_from_tree on
30180 [!DO_STATIC_NSS || SHARED], matching its only use.
30182 2012-09-28 David S. Miller <davem@davemloft.net>
30184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30185 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30187 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30189 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30191 when HWCAP_SPARC_CRYPTO is present.
30193 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30195 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30197 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30200 * stdio-common/vfprintf.c (process_string_arg): Revert
30203 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30205 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30207 * stdio-common/tst-sprintf.c: Include <locale.h>
30208 (main): Test sprintf's handling of incomplete multibyte
30211 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30213 * elf/dl-runtime.c (VERSYMIDX): Removed.
30214 * elf/dl-version.c (VERSYMIDX): Likewise.
30215 * elf/do-rel.h (VERSYMIDX): Likewise.
30216 (VALIDX): Likewise.
30217 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30218 * elf/rtld.c (VALIDX): Likewise.
30219 (ADDRIDX): Likewise.
30220 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30221 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30222 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30223 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30224 (VALIDX): Likewise.
30225 (ADDRIDX): Likewise.
30227 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30229 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30231 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30234 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30236 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30237 addresses are in the same scope as 192.0.2/24.
30238 * posix/gai.conf: Document new scope table defaults.
30240 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30243 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30244 for ftell. Compute offsets from write pointers instead.
30245 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30247 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30250 * libio/Makefile (tests): New test case tst-fseek.
30251 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30252 combination works in wide mode.
30253 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30254 state when the external buffer state changes.
30256 2012-09-27 David S. Miller <davem@davemloft.net>
30259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30260 pass reloc->r_addend in as the 'high' argument to
30261 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30265 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30267 * rt/tst-aio2.c: Include <pthread.h>.
30268 * rt/tst-aio3.c: Likewise.
30270 2012-09-27 Steve Ellcey <sellcey@mips.com>
30272 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30274 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30276 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30277 contents on [SHARED].
30279 2012-09-26 Marek Polacek <polacek@redhat.com>
30283 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30284 for C++ and GCC <4.3 as well as for non GCC compilers.
30286 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30290 2012-09-25 Roland McGrath <roland@hack.frob.com>
30292 * Makefile.in (all, install): Declare with .PHONY.
30293 Reported by Michael Hope <michael.hope@linaro.org>.
30295 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30297 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30298 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30300 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30302 (sydep_routines): Add the new and the internal functions.
30303 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30304 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30306 (GLIBC_2.17): Add the new function.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30308 (GLIBC_2.17): Likewise.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30310 (GLIBC_2.17): Likewise.
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30312 (GLIBC_2.17): Likewise.
30313 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30315 2012-09-25 Alan Modra <amodra@gmail.com>
30317 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30318 Add release barrier before setting once_control to say
30319 initialisation is done. Add hints on lwarx. Use macro in
30321 (clear_once_control): Add release barrier.
30323 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30326 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30328 * math/s_clog10.c (__clog10): Likewise.
30329 * math/s_clog10f.c (__clog10f): Likewise.
30330 * math/s_clog10l.c (__clog10l): Likewise.
30331 * math/s_clogf.c (__clogf): Likewise.
30332 * math/s_clogl.c (__clogl): Likewise.
30333 * math/Makefile (libm-calls): Add x2y2m1.
30334 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30335 (__x2y2m1): Likewise.
30336 (__x2y2m1l): Likewise.
30337 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30338 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30341 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30342 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30343 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30344 * sysdeps/i386/fpu/libm-test-ulps: Update.
30345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30348 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30349 int as type of variable DEPTH.
30350 (glob): Use size_t instead of int as type of variables NEWCOUNT
30353 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30355 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30356 Add s_sincosf-sse2.
30357 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30358 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30359 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30360 macros for using routine as __sincosf_ia32.
30361 Use macro for function declaration and weak_alias.
30362 * sysdeps/i386/fpu/libm-test-ulps: Update.
30364 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30367 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30368 subnormal argument.
30369 * math/s_cexpf.c (__cexpf): Likewise.
30370 * math/s_csinf.c (__csinf): Likewise.
30371 * math/s_csinhf.c (__csinhf): Likewise.
30372 * math/s_ctanf.c (__ctanf): Likewise.
30373 * math/s_ctanhf.c (__ctanhf): Likewise.
30374 * math/s_ccosh.c (__ccoshf): Likewise.
30375 * math/s_cexp.c (__cexpl): Likewise.
30376 * math/s_csin.c (__csin): Likewise.
30377 * math/s_csinh.c (__csinh): Likewise.
30378 * math/s_ctan.c (__ctan): Likewise.
30379 * math/s_ctanh.c (ctanh): Likewise.
30380 * math/s_ccoshl.c (__ccoshl): Likewise.
30381 * math/s_cexpl.c (__cexpl): Likewise.
30382 * math/s_csinl.c (__csinl): Likewise.
30383 * math/s_csinhl.c (__csinhl): Likewise.
30384 * math/s_ctanl.c (__ctanl): Likewise.
30385 * math/s_ctanhl.c (__ctanhl): Likewise.
30387 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30389 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30390 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30391 (_IO_off_t): Define to __off_t, not _G_off_t.
30392 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30393 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30394 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30395 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30396 type of __dummy and __dummy2 fields.
30397 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30398 (_G_ssize_t): Likewise.
30399 (_G_off_t): Likewise.
30400 (_G_pid_t): Likewise.
30401 (_G_uid_t): Likewise.
30402 (_G_wchar_t): Likewise.
30403 (_G_wint_t): Likewise.
30404 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30405 (_G_ssize_t): Likewise.
30406 (_G_off_t): Likewise.
30407 (_G_pid_t): Likewise.
30408 (_G_uid_t): Likewise.
30409 (_G_wchar_t): Likewise.
30410 (_G_wint_t): Likewise.
30411 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30412 (_G_ssize_t): Likewise.
30413 (_G_off_t): Likewise.
30414 (_G_pid_t): Likewise.
30415 (_G_uid_t): Likewise.
30416 (_G_wchar_t): Likewise.
30417 (_G_wint_t): Likewise.
30419 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30421 * malloc/arena.c: Include malloc-sysdep.h.
30422 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30423 is sufficient to shrink the heap or an unmap is needed.
30424 * sysdeps/generic/malloc-sysdep.h: New file. Define
30425 new function check_may_shrink_heap.
30426 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30427 new function check_may_shrink_heap.
30429 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30431 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30434 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30436 * catgets/test-gencat.sh: Add "set -e".
30437 * elf/tst-pathopt.sh: Likewise.
30438 * grp/tst_fgetgrent.sh: Likewise.
30439 * iconvdata/run-iconv-test.sh: Likewise.
30440 * intl/tst-gettext.sh: Likewise.
30441 * intl/tst-gettext2.sh: Likewise.
30442 * intl/tst-gettext4.sh: Likewise.
30443 * intl/tst-gettext6.sh: Likewise.
30444 * intl/tst-translit.sh: Likewise.
30445 * io/ftwtest-sh: Likewise.
30446 * libio/test-freopen.sh: Likewise.
30447 * malloc/tst-mtrace.sh: Likewise.
30448 * posix/globtest.sh: Likewise.
30449 * posix/tst-getconf.sh: Likewise.
30450 * posix/wordexp-tst.sh: Likewise.
30451 * stdio-common/tst-printf.sh: Likewise.
30452 * stdio-common/tst-unbputc.sh: Likewise.
30453 * stdlib/tst-fmtmsg.sh: Likewise.
30454 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30455 * catgets/Makefile: Do not specify -e option when running
30456 testsuite shell scripts.
30457 * elf/Makefile: Likewise.
30458 * grp/Makefile: Likewise.
30459 * iconvdata/Makefile: Likewise.
30460 * intl/Makefile: Likewise.
30461 * io/Makefile: Likewise.
30462 * libio/Makefile: Likewise.
30463 * malloc/Makefile: Likewise.
30464 * posix/Makefile: Likewise.
30465 * stdio-common/Makefile: Likewise.
30466 * stdlib/Makefile: Likewise.
30467 * sysdeps/x86_64/Makefile: Likewise.
30469 * io/ftwtest-sh: Add copyright header.
30470 * posix/globtest.sh: Likewise.
30471 * posix/tst-getconf.sh: Likewise.
30472 * posix/wordexp-tst.sh: Likewise.
30473 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30475 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30478 * Makeconfig (+link): Defined as $(+link-static) if
30479 $(build-shared) isn't yes.
30480 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30482 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30484 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30487 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30488 new chunk size with MALLOC_ALIGN_MASK.
30490 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30493 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30495 (__printf_fphex): Determine rounding using get_rounding_mode and
30497 * stdio-common/tst-printf-round.c (struct hex_test): New
30499 (hex_tests): New variable.
30500 (test_hex_in_one_mode): New function.
30501 (do_test): Also run tests for hex float output.
30503 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30505 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30506 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30507 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30508 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30509 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30510 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30511 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30512 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30514 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30516 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30517 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30518 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30519 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30521 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30524 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30526 * elf/tst-rtld-load-self.sh: New test.
30527 * elf/Makefile: Run it.
30529 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30531 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30532 (tst-writev-ENV): Remove.
30533 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30535 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30537 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30539 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30541 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30543 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30545 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30546 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30547 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30550 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30553 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30554 * config.make.in (have-cpp-asm-debuginfo): Removed.
30555 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30556 * configure: Regenerated.
30558 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30561 * stdio-common/printf_fp.c: Include <stdbool.h> and
30563 (___printf_fp): Determine rounding using get_rounding_mode and
30565 * stdio-common/tst-printf-round.c: New file.
30566 * stdio-common/Makefile (tests): Add tst-printf-round.
30567 (link-libm): New variable.
30568 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30570 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30573 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30574 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30576 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30579 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30581 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30582 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30583 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30584 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30586 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30589 * include/rounding-mode.h: New file.
30590 * sysdeps/generic/get-rounding-mode.h: Likewise.
30591 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30592 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30593 (MAX_VALUE): New macro.
30594 (MIN_VALUE): Likewise.
30595 (overflow_value): New function.
30596 (underflow_value): Likewise.
30597 (round_and_return): Use overflow_value and underflow_value to
30598 determine return values in overflow and underflow cases. Use
30599 round_away to determine rounding depending on rounding mode.
30600 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30601 determine return values in overflow and underflow cases.
30602 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30603 (struct test_results): New structure.
30604 (struct test): Use struct test_results to store expected results
30605 for all rounding modes.
30606 (TEST): Include expected results for all rounding modes.
30607 (test_in_one_mode): New function.
30608 (do_test): Use test_in_one_mode to compute and check results.
30609 Check results for all rounding modes.
30610 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30613 2012-12-09 Allan McRae <allan@archlinux.org>
30615 * sysdeps/i386/fpu/libm-test-ulps: Update
30617 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30619 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30620 (_G_int32_t): Likewise.
30621 (_G_uint16_t): Likewise.
30622 (_G_uint32_t): Likewise.
30623 (_G_HAVE_BOOL): Likewise.
30624 (_G_HAVE_ATEXIT): Likewise.
30625 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30626 (_G_HAVE_IO_FILE_OPEN): Likewise.
30627 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30628 (_G_int32_t): Likewise.
30629 (_G_uint16_t): Likewise.
30630 (_G_uint32_t): Likewise.
30631 (_G_HAVE_BOOL): Likewise.
30632 (_G_HAVE_ATEXIT): Likewise.
30633 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30634 (_G_HAVE_IO_FILE_OPEN): Likewise.
30635 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30636 (_G_int32_t): Likewise.
30637 (_G_uint16_t): Likewise.
30638 (_G_uint32_t): Likewise.
30639 (_G_HAVE_BOOL): Likewise.
30640 (_G_HAVE_ATEXIT): Likewise.
30641 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30642 (_G_HAVE_IO_FILE_OPEN): Likewise.
30644 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30646 * csu/libc-tls.c: Update copyright years.
30648 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30650 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30651 [!_G_USING_THUNKS]: Remove conditional code.
30652 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30653 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30655 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30656 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30657 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30658 (_G_VTABLE_LABEL_PREFIX): Likewise.
30659 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30660 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30661 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30662 (_G_VTABLE_LABEL_PREFIX): Likewise.
30663 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30664 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30665 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30666 (_G_VTABLE_LABEL_PREFIX): Likewise.
30667 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30669 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30671 * libio/Makefile: Include ../Makeconfig before tests.
30672 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30673 only if $(build-shared) is yes.
30675 * iconv/gconv_db.c: Update copyright years.
30677 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30679 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30680 unwind info if defined PIC. Fix special cases description.
30681 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30683 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30685 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30687 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30689 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30691 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30694 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30695 (LDLIBS-tst-chk4): This.
30696 (LDFLAGS-tst-chk5): Renamed to ...
30697 (LDLIBS-tst-chk5): This.
30698 (LDFLAGS-tst-chk6): Renamed to ...
30699 (LDLIBS-tst-chk6): This.
30700 (LDFLAGS-tst-lfschk4): Renamed to ...
30701 (LDLIBS-tst-lfschk4): This.
30702 (LDFLAGS-tst-lfschk5): Renamed to ...
30703 (LDLIBS-tst-lfschk5): This.
30704 (LDFLAGS-tst-lfschk6): Renamed to ...
30705 (LDLIBS-tst-lfschk6): This.
30707 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30708 on $(common-objpfx)soversions.mk.
30710 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30713 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30716 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30718 * malloc/arena.c (arena_get_retry): New function that gets
30719 another arena for the caller to try its request on.
30720 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30721 current arena cannot fulfill the request.
30722 (__libc_memalign): Likewise.
30723 (__libc_memalign): Likewise.
30724 (__libc_pvalloc): Likewise.
30725 (__libc_calloc): Likewise.
30727 2012-09-05 John Tobey <john.tobey@gmail.com>
30730 * manual/arith.texi (Operations on Complex): Fix description
30731 of carg branch cut.
30733 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30736 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30740 * manual/memory.texi (Memory): Make order of menu items match
30743 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30745 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30746 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30747 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30749 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30751 * csu/libc-tls.c (static_dtv): Renamed to ...
30752 (_dl_static_dtv): This. Make it global.
30753 (_dl_initial_dtv): Removed.
30754 (__libc_setup_tls): Updated.
30755 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30756 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30759 2012-09-06 Petr Machata <pmachata@redhat.com>
30761 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30762 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30763 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30764 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30766 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30769 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30770 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30773 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30776 * Makeconfig (link-static-before-libc): Replace $(+prector)
30778 (link-static-after-libc): Replace $(+postctor) with
30780 (link-bounded): Replace $(+prector)/$(+postctor) with
30781 $(+prectorT)/$(+postctorT).
30782 (+prectorT): New macro.
30783 (+postctorT): Likewise.
30785 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30787 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30788 (round_str): Handle values above the maximum for IBM long double
30790 * stdlib/tst-strtod-round.c (tests): Regenerated.
30792 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30794 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30796 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30797 zarch_nohighgprs around the zarch optimized routines.
30798 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30799 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30800 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30803 2012-09-05 David S. Miller <davem@davemloft.net>
30805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30807 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30808 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30809 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30813 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30815 * malloc/arena.c: Fold copyright years.
30816 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30818 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30820 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30822 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30824 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30826 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30828 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30829 change internal state upon failure.
30831 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30833 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30834 * malloc/memusage.c (mmap): Likewise.
30835 (mmap64, mremap): Likewise. Adjust name in comment.
30837 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30839 * libio/fileops.c: Fix typos in comments.
30840 * libio/oldfileops.c: Likewise.
30841 * libio/wfileops.c: Likewise.
30843 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30846 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30847 (tst-malloc-usable-ENV): Set environment for test case.
30848 * malloc/hooks.c (malloc_check_get_size): New function to get
30850 * malloc/malloc.c (musable): Use malloc_check_get_size.
30851 * malloc/tst-malloc-usable.c: New test case.
30853 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30855 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30857 2012-09-05 Allan McRae <allan@archlinux.org>
30860 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30861 determine header location.
30862 * configure: Regenerated.
30864 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30866 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30868 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30869 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30871 (test): Regenerate.
30873 2012-09-04 David S. Miller <davem@davemloft.net>
30875 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30876 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30877 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30879 2012-09-04 Florian Weimer <fweimer@redhat.com>
30881 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30884 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30886 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30889 * libio/iogetdelim.c: Include <limits.h>.
30890 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30891 + len + 1 would overflow.
30893 2012-09-03 Andreas Jaeger <aj@suse.de>
30895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30896 * sysdeps/i386/fpu/libm-test-ulps: Update.
30898 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30900 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30901 Add s_sinf-sse2, s_conf-sse2.
30903 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30905 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30906 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30908 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30909 for using routine as __sinf_ia32.
30910 Use macro for function declaration and weak_alias.
30911 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30912 for using routine as __cosf_ia32.
30913 Use macro for function declaration and weak_alias.
30915 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30916 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30918 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30919 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30922 * math/libm-test.inc (cos_test): Add more test cases.
30923 (sin_test): Likewise.
30924 (sincos_test): Likewise.
30926 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30929 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30931 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30933 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30936 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30937 first element of the GOT.
30938 (elf_machine_load_address): Return the difference between
30939 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30941 2012-09-01 Allan McRae <allan@archlinux.org>
30944 * configure.in (AWK): Require gawk version 3.0 or later.
30945 * configure: Regenerated.
30947 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/unix/sysv/linux/kernel-features.h
30950 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30952 [__NR_clock_getres]: Make code unconditional.
30953 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30954 (clock_getcpuclockid): Remove code left unreachable by removal of
30956 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30957 code unconditional.
30958 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30959 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30960 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30961 Make code unconditional.
30962 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30963 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30964 * sysdeps/unix/sysv/linux/clock_settime.c
30965 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30967 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30968 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30970 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30973 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30974 scripts/test-installation.pl.
30976 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30977 and $ld_so_version if it is set.
30979 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30982 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30983 failure if reading from procfs failed.
30984 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30986 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30988 * sysdeps/unix/sysv/linux/kernel-features.h
30989 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30990 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30991 Remove conditional code.
30992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30993 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30994 Remove conditional code.
30995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30996 * sysdeps/unix/sysv/linux/i386/fxstat.c
30997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30999 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31002 * sysdeps/unix/sysv/linux/i386/lxstat.c
31003 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31005 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31006 Remove conditional code.
31007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31008 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31009 Remove conditional code.
31010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31011 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31012 <kernel-features.h>.
31013 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31015 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31016 Remove conditional code.
31017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31018 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31019 Remove conditional.
31021 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31024 * NEWS: Add fixed bug number.
31026 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31029 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31030 underflowing exponent in case of negative sign.
31031 * stdlib/tst-strtod-round-data: Add more tests.
31032 * stdlib/tst-strtod-round.c (tests): Regenerated.
31035 * stdlib/strtod_l.c (NDIG): Remove.
31036 (HEXNDIG): Likewise.
31037 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31038 smallest representable value.
31039 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31040 lie within an exact representation of 1/2 ulp of the result.
31041 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31043 (TENS_P9_IDX): Define unconditionally.
31044 (TENS_P9_SIZE): Likewise.
31045 (TENS_P10_IDX): Likewise.
31046 (TENS_P10_SIZE): Likewise.
31047 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31048 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31049 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31050 entries for 10^2^13 and 10^2^14.
31051 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31052 (TENS_P13_IDX): Define.
31053 (TENS_P13_SIZE): Likewise.
31054 (TENS_P14_IDX): Likewise.
31055 (TENS_P14_SIZE): Likewise.
31056 (_fpioconst_pow10): Change array size to
31057 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31059 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31060 1024]: Add entries for 10^2^13 and 10^2^14.
31061 [LAST_POW10 > _LAST_POW10]: Remove #error.
31062 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31063 (_fpioconst_pow10): Change array size to
31064 FPIOCONST_POW10_ARRAY_SIZE.
31065 * stdlib/gen-fpioconst.c: New file.
31066 * stdlib/gen-tst-strtod-round.c: Likewise.
31067 * stdlib/tst-strtod-round-data: Likewise.
31068 * stdlib/tst-strtod-round.c: Likewise.
31069 * stdlib/Makefile (tests): Add tst-strtod-round.
31072 * stdlib/strtod_l.c: Include <stdint.h>.
31073 (NDEBUG): Do not define.
31074 (round_and_return): Change EXPONENT parameter to type intmax_t.
31075 Rearrange calculations to avoid internal overflow possibilities.
31076 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31077 Rearrange calculations to avoid internal overflow possibilities.
31078 Assert that number fits inside MPNSIZE limbs.
31079 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31080 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31081 calculations and add assertions to avoid internal overflow
31082 possibilities. Add casts to avoid signed/unsigned operations.
31083 * stdlib/tst-strtod-overflow.c: New file.
31084 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31086 2012-08-25 Marek Polacek <polacek@redhat.com>
31088 * time/time.h: Fix some typos in comments.
31090 2012-08-23 Roland McGrath <roland@hack.frob.com>
31092 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31093 * posix/tst-rfc3484-2.c: Likewise.
31094 * posix/tst-rfc3484-3.c: Likewise.
31096 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31098 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31099 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31101 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31103 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31104 #include of fxstatat64.c.
31106 2012-08-22 Roland McGrath <roland@hack.frob.com>
31108 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31109 * shadow/getspent_r.c: Likewise.
31110 * shadow/getspnam.c: Likewise.
31111 * shadow/getspnam_r.c: Likewise.
31112 * gshadow/getsgent.c: Likewise.
31113 * gshadow/getsgent_r.c: Likewise.
31114 * gshadow/getsgnam.c: Likewise.
31115 * gshadow/getsgnam_r.c: Likewise.
31116 * inet/getnetbyad.c: Likewise.
31117 * inet/getnetbyad_r.c: Likewise.
31118 * inet/getnetbynm.c: Likewise.
31119 * inet/getnetbynm_r.c: Likewise.
31120 * inet/getnetent.c: Likewise.
31121 * inet/getnetent_r.c: Likewise.
31122 * inet/getproto.c: Likewise.
31123 * inet/getproto_r.c: Likewise.
31124 * inet/getprtent.c: Likewise.
31125 * inet/getprtent_r.c: Likewise.
31126 * inet/getprtname.c: Likewise.
31127 * inet/getprtname_r.c: Likewise.
31128 * inet/getrpcbyname.c: Likewise.
31129 * inet/getrpcbyname_r.c: Likewise.
31130 * inet/getrpcbynumber.c: Likewise.
31131 * inet/getrpcbynumber_r.c: Likewise.
31132 * inet/getrpcent.c: Likewise.
31133 * inet/getrpcent_r.c: Likewise.
31134 * inet/getaliasent.c: Likewise.
31135 * inet/getaliasent_r.c: Likewise.
31136 * inet/getaliasname.c: Likewise.
31137 * inet/getaliasname_r.c: Likewise.
31138 * nscd/getgrgid_r.c: Likewise.
31139 * nscd/getgrnam_r.c: Likewise.
31140 * nscd/gethstbyad_r.c: Likewise.
31141 * nscd/gethstbynm3_r.c: Likewise.
31142 * nscd/getpwnam_r.c: Likewise.
31143 * nscd/getpwuid_r.c: Likewise.
31144 * nscd/getsrvbynm_r.c: Likewise.
31145 * nscd/getsrvbypt_r.c: Likewise.
31146 * nscd/gai.c: Likewise.
31148 * configure.in (build_nscd): New substituted variable, set
31149 by --disable-build-nscd and defaults to $use_nscd.
31150 * configure: Regenerated.
31151 * config.make.in (build-nscd): New substituted variable.
31152 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31153 Change conditional to require [$(build-nscd) = yes] as well.
31154 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31157 * configure.in (use_nscd): New substituted variable, set by
31158 --disable-nscd. If enabled, define USE_NSCD.
31159 * configure: Regenerated.
31160 * config.h.in: Add USE_NSCD.
31161 * config.make.in (use-nscd): New substituted variable.
31162 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31163 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31164 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31165 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31166 (CFLAGS-getgrnam_r.c): Likewise.
31167 (CFLAGS-initgroups.c): Likewise.
31168 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31169 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31171 * inet/getnetgrent_r.c
31172 (nscd_setnetgrent): New function, broken out of ...
31173 (setnetgrent): ... here. Call it.
31174 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31175 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31176 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31177 * nscd/Makefile (routines, aux): Move definitions after include of
31178 Makeconfig. Conditionalize on [$(use-nscd) != no].
31179 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31180 Conditionalize on [USE_NSCD].
31181 (is_nscd, nscd_init_cb): Likewise.
31182 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31183 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31184 * nss/nss_db/db-init.c: Likewise.
31185 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31187 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31188 (make_request): Use it.
31189 (cache_valid_p): New function.
31190 (__check_pf): Use it.
31191 * NEWS: Add item for --disable-nscd.
31193 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31195 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31196 to support sed >= 4.2.1-20-ga9bf076.
31197 * configure: Regenerated.
31199 2012-08-22 Roland McGrath <roland@hack.frob.com>
31201 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31202 Conditionalize whole body on [IREL].
31204 2012-08-22 Jeff Law <law@redhat.com>
31207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31208 if the family is PF_UNSPEC.
31210 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31212 * Makerules (lib-version): Rename from V.
31213 (install-lib-nosubdir): Change V to lib-version.
31215 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31218 * powerpc32/power6/wcschr.c: New file.
31219 * powerpc32/power6/wcscpy.c: New file.
31220 * powerpc32/power6/wcsrchr.c: New file.
31221 * powerpc64/power6/wcschr.c: New file.
31222 * powerpc64/power6/wcscpy.c: New file.
31223 * powerpc64/power6/wcsrchr.c: New file.
31225 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31227 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31228 (two_way_short_needle): Use it.
31229 * string/strstr.c (AVAILABLE1_USES_J): Define.
31230 * string/strcasestr.c: Likewise.
31232 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31234 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31237 * NEWS: Add an entry.
31238 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31239 define their defaults.
31240 (two_way_short_needle): Detect end-of-string on-the-fly.
31241 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31242 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31243 * string/bug-strcasestr1.c: New test.
31244 * string/Makefile: Run it.
31246 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31249 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31250 the first character.
31252 2012-08-21 Roland McGrath <roland@hack.frob.com>
31254 * csu/elf-init.c (__libc_csu_irel): Function removed.
31255 * csu/libc-start.c (apply_irel): New function.
31256 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31258 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31260 * sysdeps/unix/sysv/linux/kernel-features.h
31261 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31262 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31263 <kernel-features.h>.
31264 [__NR_fadvise64_64]: Make code unconditional.
31265 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31266 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31267 !__NR_fadvise64_64)]: Likewise.
31268 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31269 !__NR_fadvise64_64))]: Likewise.
31270 [__NR_fadvise64]: Make code unconditional.
31271 [!__NR_fadvise64]: Remove conditional code.
31272 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31273 <kernel-features.h>.
31274 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31276 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31279 not include <kernel-features.h>.
31280 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31282 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31284 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31285 include <kernel-features.h>.
31286 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31288 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31291 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31293 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31294 slight instruction rearrangements per scrollpipe analysis.
31295 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31297 2012-08-20 Roland McGrath <roland@hack.frob.com>
31299 * manual/syslog.texi (syslog; vsyslog, closelog):
31300 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31301 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31303 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31304 DSOCAPS to match condition on defining it.
31306 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31308 * sysdeps/unix/sysv/linux/kernel-features.h
31309 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31317 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31318 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31320 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31321 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31323 * sysdeps/unix/sysv/linux/kernel-features.h
31324 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31325 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31327 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31328 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31329 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31330 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31331 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31332 Make code unconditional.
31333 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31334 (__mmap64) [!__NR_mmap2]: Likewise.
31335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31336 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31337 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31339 [__NR_mmap2]: Make code unconditional.
31340 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31341 (__mmap64) [!__NR_mmap2]: Likewise.
31343 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31345 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31347 2012-08-18 Andreas Jaeger <aj@suse.de>
31349 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31351 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31353 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31354 * include/unistd.h (__have_sock_cloexec): Likewise.
31355 (__have_pipe2): Likewise.
31356 (__have_dup3): Likewise.
31358 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31361 * include/unistd.h (__have_pipe2): Change define into an extern int.
31362 (__have_dup3): Likewise.
31363 * socket/have_sock_cloexec.c: Include fcntl.h.
31364 (__have_pipe2): New variable.
31365 (__have_dup3): Likewise.
31367 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31369 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31371 2012-08-17 Marek Polacek <polacek@redhat.com>
31373 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31374 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31376 2012-08-17 Roland McGrath <roland@hack.frob.com>
31378 * configure.in: Add AC_SUBST for sysheaders.
31379 * configure: Regenerated.
31380 * config.make.in (sysheaders): New substituted variable.
31382 * sysdeps/unix/mkfifo.c: Moved ...
31383 * sysdeps/posix/mkfifo.c: ... here.
31384 * sysdeps/unix/mkfifoat.c: Moved ...
31385 * sysdeps/posix/mkfifoat.c: ... here.
31387 * sysdeps/unix/utime.c: Moved ...
31388 * sysdeps/posix/utime.c: ... here.
31390 * sysdeps/unix/time.c: Moved ...
31391 * sysdeps/posix/time.c: ... here.
31392 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31395 * sysdeps/unix/nice.c: Moved ...
31396 * sysdeps/posix/nice.c: ... here.
31398 * sysdeps/unix/alarm.c: Moved ...
31399 * sysdeps/posix/alarm.c: ... here.
31401 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31403 2012-08-17 Jeff Law <law@redhat.com>
31405 * intl/Makefile (codeset_mo): New variable.
31406 ($(codeset_mo)): New target.
31407 (tst-codeset.out): Depend on that. Remove explicit rule.
31408 (tst-gettext3.out, tst-gettext5.out): Likewise.
31409 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31410 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31411 * intl/tst-codeset.sh: Remove.
31412 * intl/tst-gettext3.sh: Likewise.
31413 * intl/tst-gettext5.sh: Likewise.
31415 2012-08-17 Roland McGrath <roland@hack.frob.com>
31417 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31418 * sysdeps/unix/syscalls.list: ... here.
31420 * sysdeps/posix/getaddrinfo.c
31421 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31422 (gaiconf_init, gaiconf_reload): Use them.
31423 [!_STATBUF_ST_NSEC]
31424 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31425 Define using time_t rather than struct timespec.
31427 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31428 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31430 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31432 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31433 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31436 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31437 __libc_cleanup_push argument.
31439 * bits/param.h: New file.
31440 * misc/sys/param.h: New file.
31441 * include/sys/param.h: New file.
31442 * misc/Makefile (headers): Add bits/param.h.
31443 * sysdeps/generic/sys/param.h: File removed.
31444 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31445 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31446 * sysdeps/mach/hurd/bits/param.h: New file.
31447 * sysdeps/mach/hurd/sys/param.h: File removed.
31449 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31452 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31454 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31455 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31458 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31459 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31460 rather than -D_IO_MTSAFE_IO conditionally.
31461 * stdio-common/Makefile (CPPFLAGS): Likewise.
31462 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31463 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31464 Use $(libio-mtsafe).
31465 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31466 of -D_IO_MTSAFE_IO.
31467 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31468 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31469 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31470 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31471 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31472 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31473 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31474 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31475 (CFLAGS-fread_u_chk.c): Likewise.
31476 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31477 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31478 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31479 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31480 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31481 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31482 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31483 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31484 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31486 * libio/Makefile: Test [$(libc-reentrant) = yes]
31487 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31490 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31491 * sysdeps/pthread/configure: File removed.
31492 * sysdeps/pthread/Makeconfig: New file.
31493 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31494 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31496 2012-08-16 Gary Benson <gbenson@redhat.com>
31498 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31499 unmapping the first object in a namespace.
31501 2012-08-16 Roland McGrath <roland@hack.frob.com>
31503 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31504 (__internal_setnetgrent): ... this. Add internal_function to
31505 definition. Add libc_hidden_def.
31506 (setnetgrent): Update caller.
31507 (internal_endnetgrent): Renamed to ...
31508 (__internal_endnetgrent): ... this. Add internal_function to
31509 definition. Add libc_hidden_def.
31510 (endnetgrent): Update caller.
31511 (internal_getnetgrent_r): Renamed to ...
31512 (__internal_getnetgrent_r): ... this. Add internal_function to
31513 definition. Add libc_hidden_def.
31514 (__getnetgrent_r): Update caller.
31515 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31517 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31519 * stdlib/longlong.h: Update from GCC.
31521 2012-08-16 Roland McGrath <roland@hack.frob.com>
31523 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31524 on _QL, which is set by umul_ppmm but never used.
31525 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31526 variables, which are set by GMP macros but never used.
31527 * stdio-common/_itowa.c (_itowa): Likewise.
31528 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31529 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31531 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31533 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31534 struct La_sh_regs is not constant.
31535 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31536 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31537 and struct La_sparc64_regs are not constant.
31539 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31541 * sysdeps/unix/sysv/linux/kernel-features.h
31542 (__ASSUME_POSIX_TIMERS): Remove.
31543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31545 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31546 Make code unconditional.
31547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31548 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31549 Make code unconditional.
31550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31551 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31552 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31554 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31555 Make code unconditional.
31556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31558 (__libc_missing_posix_timers): Remove.
31560 2012-08-15 Roland McGrath <roland@hack.frob.com>
31562 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31563 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31565 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31567 * elf/dl-sym.c: Include <stdlib.h>.
31569 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31570 constants, which avoids warnings in 32-bit builds.
31572 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31573 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31575 * misc/lseek.c: File moved to ...
31576 * io/lseek.c: ... here.
31578 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31580 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31581 shifting LEN more than 31 bits at once.
31583 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31586 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31587 segmentation fault for a case of two empty input strings.
31588 * string/test-strncasecmp.c (check1): Renamed to...
31589 (bz12205): ...this.
31590 (bz14195): Add new testcase for two empty input strings and N > 0.
31591 (test_main): Call new testcase, adapt for renamed function.
31593 2012-08-15 Andreas Jaeger <aj@suse.de>
31596 * crypt/md5test2.c: New test, based on test supplied by Serge
31597 Belyshev <belyshev@depni.sinp.msu.ru>.
31598 * crypt/Makefile (xtests): Add md5test-giant..
31599 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31601 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31604 * crypt/md5.c (md5_process_block): Don't assume the buffer
31605 length is less than 2**32.
31606 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31607 length is less than 2**64.
31609 2012-08-15 Roland McGrath <roland@hack.frob.com>
31611 * string/str-two-way.h: Include <sys/param.h>.
31612 (MAX): Macro removed.
31614 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31615 Move #define and #undef of memmove to just before and after
31616 including <string.h>.
31618 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31619 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31620 and after including <string.h>. Move declarations of
31621 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31622 to before #include "string/memmove.c".
31624 * include/dirent.h: Declare __getdirentries.
31626 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31627 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31629 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31631 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31632 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31633 * sysdeps/i386/configure: Regenerated.
31634 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31635 STABS_CURRENT_FILE, and STABS_FUN.
31636 (END): Remove call to STABS_FUN_END.
31637 (STABS_CURRENT_FILE1): Delete.
31638 (STABS_CURRENT_FILE): Likewise.
31639 (STABS_FUN): Likewise.
31640 (STABS_FUN_END): Likewise.
31641 (STABS_FUN2): Likewise.
31642 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31643 * sysdeps/x86_64/configure: Regenerated.
31645 2012-08-14 Roland McGrath <roland@hack.frob.com>
31647 * elf/dl-open.c: Include <atomic.h>.
31648 * elf/dl-lookup.c: Likewise.
31650 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31652 * sysdeps/unix/sysv/linux/kernel-features.h
31653 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31654 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31656 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31658 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31659 condition on __ASSUME_CLONE_THREAD_FLAGS.
31661 2012-08-14 Andreas Jaeger <aj@suse.de>
31663 * sysdeps/i386/fpu/libm-test-ulps: Update.
31665 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31667 * include/atomic.h (atomic_exchange_and_add): Split into ...
31668 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31671 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31675 2012-08-13 Jeff Law <law@redhat.com>
31677 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31678 null byte in the output string.
31680 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31682 * sysdeps/unix/sysv/linux/kernel-features.h
31683 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31684 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31685 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31687 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31688 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31689 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31691 2012-08-09 Jeff Law <law@redhat.com>
31694 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31695 When avoid_arena is set, don't retry in the that arena. Pick the
31696 next one, whatever it might be.
31697 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31698 (arena_lock): Pass in new parameter to arena_get2.
31699 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31701 (__libc_malloc): Unify retrying after main arena failure with
31702 __libc_memalign version.
31703 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31705 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31708 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31709 to __redirect_strstr.
31710 (__strstr_sse42): Use typeof __redirect_strstr.
31711 (__strstr_ia32): Likewise.
31712 (__libc_strstr): New prototype.
31713 (strstr): Renamed to ...
31714 (__libc_strstr): This.
31715 (strstr): New strong alias of __libc_strstr.
31716 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31717 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31720 (__libc_time): New prototype.
31721 (time_ifunc): Replace time with __libc_time.
31722 (time): New strong alias and hidden definition of __libc_time.
31723 (__GI_time): Remove strong alias.
31724 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31725 Include <stddef.h>.
31726 (memmove): Redefined to __redirect_memmove.
31727 (__memmove_sse2): Use typeof __redirect_memmove.
31728 (__memmove_ssse3): Likewise.
31729 (__memmove_ssse3_back): Likewise.
31730 (__libc_memmove): New prototype.
31731 (memmove): Renamed to ...
31732 (__libc_memmove): This.
31733 (memmove): New strong alias of __libc_memmove.
31735 2012-08-08 Mark Salter <msalter@redhat.com>
31738 (R_MN10300_TLS_GD): Define.
31739 (R_MN10300_TLS_LD): Likewise.
31740 (R_MN10300_TLS_LDO): Likewise.
31741 (R_MN10300_TLS_GOTIE): Likewise.
31742 (R_MN10300_TLS_IE): Likewise.
31743 (R_MN10300_TLS_LE): Likewise.
31744 (R_MN10300_TLS_DTPMOD): Likewise.
31745 (R_MN10300_TLS_DTPOFF): Likewise.
31746 (R_MN10300_TLS_TPOFF): Likewise.
31747 (R_MN10300_SYM_DIFF): Likewise.
31748 (R_MN10300_ALIGN): Likewise.
31749 (R_MN10300_NUM): Update.
31751 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31756 2012-08-08 Roland McGrath <roland@hack.frob.com>
31758 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31760 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31761 sysdeps/unix -> sysdeps/posix move.
31762 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31764 2012-08-07 Allan McRae <allan@archlinux.org>
31767 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31768 (SUNOS_CPP): Likewise.
31769 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31771 (open_input): Call CPP using execvp.
31773 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31775 * sysdeps/unix/sysv/linux/kernel-features.h
31776 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31777 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31778 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31779 (__ASSUME_WAITID_SYSCALL): Likewise.
31780 * sysdeps/unix/sysv/linux/dl-execstack.c
31781 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31782 code unconditional.
31783 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31785 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31786 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31787 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31789 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31791 [__ASSUME_WAITID_SYSCALL]: Likewise.
31792 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31794 2012-08-07 Roland McGrath <roland@hack.frob.com>
31796 * sysdeps/unix/closedir.c: Renamed to ...
31797 * sysdeps/posix/closedir.c: ... here.
31798 * sysdeps/unix/dirfd.c: Renamed to ...
31799 * sysdeps/posix/dirfd.c: ... here.
31800 * sysdeps/unix/dirstream.h: Renamed to ...
31801 * sysdeps/posix/dirstream.h: ... here.
31802 * sysdeps/unix/fdopendir.c: Renamed to ...
31803 * sysdeps/posix/fdopendir.c: ... here.
31804 * sysdeps/unix/opendir.c: Renamed to ...
31805 * sysdeps/posix/opendir.c: ... here.
31806 * sysdeps/unix/readdir.c: Renamed to ...
31807 * sysdeps/posix/readdir.c: ... here.
31808 * sysdeps/unix/readdir_r.c: Renamed to ...
31809 * sysdeps/posix/readdir_r.c: ... here.
31810 * sysdeps/unix/rewinddir.c: Renamed to ...
31811 * sysdeps/posix/rewinddir.c: ... here.
31812 * sysdeps/unix/seekdir.c: Renamed to ...
31813 * sysdeps/posix/seekdir.c: ... here.
31814 * sysdeps/unix/telldir.c: Renamed to ...
31815 * sysdeps/posix/telldir.c: ... here.
31816 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31817 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31818 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31819 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31821 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31822 * bits/fcntl.h: ... here.
31824 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31826 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31827 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31828 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31829 (struct flock): Move l_start, l_len to the beginning.
31830 Use __pid_t for l_pid.
31831 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31832 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31833 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31834 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31835 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31836 [__USE_LARGEFILE64] (struct flock64): New type.
31837 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31839 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31840 * bits/dirent.h: ... here.
31842 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31843 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31845 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31847 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31848 Change from 2.6.0 to 2.6.16.
31849 * sysdeps/unix/sysv/linux/configure: Regenerated.
31850 * sysdeps/unix/sysv/linux/kernel-features.h
31851 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31852 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31854 (__ASSUME_UTIMES): Likewise.
31855 (__ASSUME_CLONE_STOPPED): Remove.
31856 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31857 architectures, not kernel version.
31858 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31859 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31860 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31861 (__ASSUME_WAITID_SYSCALL): Likewise.
31862 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31863 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31864 * README: State 2.6.16 as minimum Linux kernel version. Do not
31865 refer to older versions.
31867 2012-08-06 Roland McGrath <roland@hack.frob.com>
31869 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31870 Define alphasort64 as an alias.
31871 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31872 Define versionsort64 as an alias.
31873 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31874 Define scandir64 as an alias.
31875 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31876 Define scandirat64 as an alias.
31877 * dirent/alphasort64.c (alphasort64):
31878 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31879 * dirent/versionsort64.c: Likewise.
31880 * dirent/scandir64.c: Likewise.
31881 * dirent/scandirat64.c: Likewise.
31882 * sysdeps/wordsize-64/alphasort.c: File removed.
31883 * sysdeps/wordsize-64/alphasort64.c: File removed.
31884 * sysdeps/wordsize-64/scandir.c: File removed.
31885 * sysdeps/wordsize-64/scandir64.c: File removed.
31886 * sysdeps/wordsize-64/scandirat.c: File removed.
31887 * sysdeps/wordsize-64/scandirat64.c: File removed.
31888 * sysdeps/wordsize-64/versionsort.c: File removed.
31889 * sysdeps/wordsize-64/versionsort64.c: File removed.
31890 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31891 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31893 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31895 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31897 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31899 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31901 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31903 [defined __arch64__ || defined __sparcv9]
31904 (__INO_T_MATCHES_INO64_T): New macro.
31905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31906 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31907 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31908 * sysdeps/unix/sysv/linux/bits/dirent.h
31909 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31910 (_DIRENT_MATCHES_DIRENT64): New macro.
31912 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31913 Define lockf64 as an alias.
31914 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31915 Define fseeko64 as an alias.
31916 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31917 Define ftello64 as an alias.
31918 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31919 Define _IO_fgetpos64 and fgetpos64 as aliases.
31920 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31921 Define _IO_fsetpos64 and fsetpos64 as aliases.
31922 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31923 Conditionalize body on this.
31924 * libio/fseeko64.c: Likewise.
31925 * libio/ftello64.c: Likewise.
31926 * libio/iofgetpos64.c: Likewise.
31927 * libio/iofsetpos64.c: Likewise.
31928 * sysdeps/wordsize-64/lockf.c: File removed.
31929 * sysdeps/wordsize-64/lockf64.c: File removed.
31930 * sysdeps/wordsize-64/fseeko.c: File removed.
31931 * sysdeps/wordsize-64/fseeko64.c: File removed.
31932 * sysdeps/wordsize-64/ftello.c: File removed.
31933 * sysdeps/wordsize-64/ftello64.c: File removed.
31934 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31935 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31936 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31937 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31938 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31939 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31941 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31943 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31949 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31951 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31953 [defined __arch64__ || defined __sparcv9]
31954 (__OFF_T_MATCHES_OFF64_T): New macro.
31955 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31956 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31958 (__OFF_T_MATCHES_OFF64_T): New macro.
31960 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31962 * stdlib/secure-getenv.c (__secure_getenv): Replace
31963 GLIBC_2_16 with GLIBC_2_17.
31965 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31967 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31968 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31970 2012-08-03 David S. Miller <davem@davemloft.net>
31972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31974 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31978 (__ASSUME_CORRECT_SI_PID): Likewise.
31979 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31980 (__ASSUME_TMPFS_NAME): Likewise.
31981 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31982 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31983 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31984 (HAVE_AUX_SECURE): Make definition unconditional.
31985 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31986 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31988 2012-08-03 Roland McGrath <roland@hack.frob.com>
31990 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31991 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31992 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31993 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31994 __eloop_threshold instead of SYMLOOP_MAX.
31996 * sysdeps/generic/eloop-threshold.h: New file.
31997 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31999 * elf/chroot_canon.c (chroot_canon): Likewise.
32001 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32005 Change to 2.6.0 everywhere.
32006 * sysdeps/unix/sysv/linux/configure: Regenerated.
32007 * sysdeps/unix/sysv/linux/kernel-features.h
32008 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32009 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32011 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32012 (__ASSUME_FUTEX_REQUEUE): Remove.
32013 (__ASSUME_STATFS64): Define unconditionally.
32014 (__ASSUME_AT_SECURE): Likewise.
32015 (__ASSUME_CORRECT_SI_PID): Likewise.
32016 (__ASSUME_TGKILL): Define without depending on kernel version for
32018 (__ASSUME_UTIMES): Likewise.
32019 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32021 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32022 (__ASSUME_TMPFS_NAME): Likewise.
32023 * README: Update reference to Linux kernel versions.
32025 2012-08-02 Marek Polacek <polacek@redhat.com>
32028 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32029 libc_cv_asm_type_prefix with %.
32030 * configure: Regenerated.
32031 * include/libc-symbols.h: Remove comment about
32032 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32033 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32034 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32035 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32036 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32037 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32038 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32039 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32040 * elf/tst-unique2mod1.c: Likewise.
32041 * elf/tst-unique1mod2.c: Likewise.
32042 * elf/tst-unique1mod1.c: Likewise.
32043 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32044 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32045 Replace ASM_TYPE_DIRECTIVE with .type.
32046 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32047 * sysdeps/i386/sysdep.h: Likewise.
32048 * sysdeps/x86_64/sysdep.h: Likewise.
32049 * sysdeps/sh/sysdep.h: Likewise.
32050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32051 Do not define ASM_TYPE_DIRECTIVE.
32052 * sysdeps/powerpc/sysdep.h: Likewise.
32053 * sysdeps/powerpc/powerpc32/sysdep.h:
32054 Replace ASM_TYPE_DIRECTIVE with .type.
32055 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32057 * sysdeps/i386/fpu/e_powf.S: Likewise.
32058 * sysdeps/i386/fpu/e_expl.S: Likewise.
32059 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32061 * sysdeps/i386/fpu/e_pow.S: Likewise.
32062 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32063 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32064 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32065 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32066 * sysdeps/i386/fpu/e_log2.S: Likewise.
32067 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32068 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32069 * sysdeps/i386/fpu/e_powl.S: Likewise.
32070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32071 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32072 * sysdeps/i386/fpu/e_logl.S: Likewise.
32073 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32074 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32075 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32076 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32077 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32078 * sysdeps/i386/fpu/e_log.S: Likewise.
32079 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32080 * sysdeps/i386/fpu/e_logf.S: Likewise.
32081 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32082 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32083 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32084 * sysdeps/i386/fpu/e_log10.S: Likewise.
32085 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32087 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32088 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32090 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32091 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32092 * sysdeps/i386/i686/strtok.S: Likewise.
32093 * sysdeps/i386/i386-mcount.S: Likewise.
32094 * sysdeps/i386/strtok.S: Likewise.
32095 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32096 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32097 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32098 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32099 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32101 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32102 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32104 * sysdeps/x86_64/_mcount.S: Likewise.
32105 * sysdeps/x86_64/strtok.S: Likewise.
32106 * sysdeps/sh/_mcount.S: Likewise.
32108 2012-08-01 Roland McGrath <roland@hack.frob.com>
32110 * libio/iofopen.c: Include <fcntl.h>.
32111 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32112 (_IO_fopen64, fopen64): Define as aliases.
32113 * libio/iofopen64.c: Include <fcntl.h>.
32114 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32115 Conditionalize body on this.
32116 * sysdeps/wordsize-64/iofopen.c: File removed.
32117 * sysdeps/wordsize-64/iofopen64.c: File removed.
32119 2012-08-01 Marek Polacek <polacek@redhat.com>
32121 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32122 Use dlfcn directly instead of a variable.
32123 (binfmt-subdir): Do not define.
32126 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32129 Remove all definitions.
32130 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32131 <kernel-features.h>.
32132 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32133 (miss_F_GETOWN_EX): Remove all definitions.
32134 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32136 [!__ASSUME_FCNTL64]: Remove conditional code.
32137 [__ASSUME_FCNTL64]: Make code unconditional.
32138 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32139 <kernel-features.h>.
32140 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32141 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32142 (lockf64) [__NR_fcntl64]: Make code unconditional.
32143 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32145 * sysdeps/unix/sysv/linux/kernel-features.h
32146 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32147 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32148 Make code unconditional.
32149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32152 [__NR_vfork]: Make code unconditional.
32153 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32154 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32156 [__NR_vfork]: Make code unconditional.
32157 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32158 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32160 2012-08-01 Roland McGrath <roland@hack.frob.com>
32162 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32163 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32165 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32166 Define mkstemp64 as an alias.
32167 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32168 Define mkstemps64 as an alias.
32169 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32170 Define mkostemp64 as an alias.
32171 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32172 Define mkostemps64 as an alias.
32173 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32174 Conditionalize body on this.
32175 * misc/mkostemp64.c: Likewise.
32176 * misc/mkostemps64.c: Likewise.
32177 * misc/mkstemps64.c: Likewise.
32178 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32179 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32180 * sysdeps/wordsize-64/mkostemp.c: File removed.
32181 * sysdeps/wordsize-64/mkstemp.c: File removed.
32182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32183 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32188 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32189 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32190 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32191 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32193 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32194 compat_symbol macros from <shlib-compat.h> rather than the underlying
32195 default_symbol_version and symbol_version macros, so that DEFAULT
32196 lines in shlib-versions are respected.
32197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32199 2012-08-01 Florian Weimer <fweimer@redhat.com>
32201 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32202 Declare with warn_unused_result.
32203 (setgid, setregid, setegid, setresgid): Likewise.
32204 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32206 * WUR-REPORT: Remove set*id functions.
32208 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32210 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32212 2012-07-31 Roland McGrath <roland@hack.frob.com>
32215 * include/sys/socket.h (__libc_accept, __libc_accept4):
32216 Add attribute_hidden.
32217 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32219 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32221 * inet/getnetgrent_r.c (setup): Likewise.
32223 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32225 2012-07-31 David S. Miller <davem@davemloft.net>
32227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32229 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32232 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32233 value between 1.0 and 2.0 and smaller part has absolute value less
32235 * math/s_clog10.c (__clog10): Likewise.
32236 * math/s_clog10f.c (__clog10f): Likewise.
32237 * math/s_clog10l.c (__clog10l): Likewise.
32238 * math/s_clogf.c (__clogf): Likewise.
32239 * math/s_clogl.c (__clogl): Likewise.
32240 * math/libm-test.inc (clog_test): Add more tests.
32241 (clog10_test): Likewise.
32242 * sysdeps/i386/fpu/libm-test-ulps: Update.
32243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32245 2012-07-31 Florian Weimer <fweimer@redhat.com>
32247 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32248 Exit with zero in case no suitable GID is found, and write a
32249 message to standard error.
32251 2012-07-30 Roland McGrath <roland@hack.frob.com>
32253 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32255 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32256 (MAXPATHLEN): Removed.
32257 (NOGROUP, NODEV): New macros.
32258 (setbit, clrbit, isset, isclr): New macros.
32259 (howmany, roundup, powerof2): New macros.
32260 (DEV_BSIZE): New macro.
32262 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32263 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32265 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32266 definition on [!__NO_LONG_DOUBLE_MATH].
32268 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32269 PTR_MANGLE and PTR_DEMANGLE.
32271 * socket/accept4.c (accept4): Rename to __libc_accept4.
32272 Define accept4 as a weak alias.
32274 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32275 on [_DIRENT_HAVE_D_TYPE].
32276 * io/ftw.c (ftw_dir): Likewise.
32278 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32280 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32282 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32283 Use the BSD numbers rather than the arbitrary ones we had.
32284 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32285 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32286 (SIGXCPU, SIGXFSZ): New macros.
32289 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32290 initializer on [_LIBC_REENTRANT].
32292 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32293 definitions inside [_POSIX_MAPPED_FILES].
32295 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32297 * dirent/opendir.c: Include <fcntl.h>.
32299 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32300 (__libc_getspecific): Likewise.
32301 (__libc_key_create): Likewise.
32303 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32304 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32305 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32306 (tmpfile64): Define as alias.
32307 * sysdeps/wordsize-64/tmpfile.c: File removed.
32308 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32310 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32312 * stdio-common/vfscanf.c: Include <stdbool.h>.
32313 * nss/makedb.c: Likewise.
32314 * stdio-common/_i18n_number.h: Likewise.
32315 * argp/argp-help.c: Likewise.
32316 * posix/wordexp.c: Likewise.
32317 * sysdeps/posix/spawni.c: Likewise.
32318 * nss/nss_files/files-initgroups.c: Likewise.
32319 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32320 * nss/nss_files/files-initgroups.c: Likewise.
32321 * nss/nss_db/db-netgrp.c: Likewise.
32322 * nss/nss_db/db-initgroups.c: Likewise.
32323 * io/fchmodat.c: Include <sys/stat.h>.
32325 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32326 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32328 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32331 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32332 Add multiple inclusion protection.
32334 2012-07-27 David S. Miller <davem@davemloft.net>
32336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32338 2012-07-27 Gary Benson <gbenson@redhat.com>
32341 * elf/rtld.c: Include <stap-probe.h>.
32342 (dl_main): Added static probes "init_start" and "init_complete".
32343 * elf/dl-load.c: Include <stap-probe.h>.
32344 (lose): Take new parameter "nsid".
32345 Added static probe "map_failed".
32346 (_dl_map_object_from_fd): Pass namespace id to lose.
32347 Added static probe "map_start".
32348 (open_verify): Pass namespace id to lose.
32349 * elf/dl-open.c: Include <stap-probe.h>.
32350 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32351 and "reloc_complete".
32352 * elf/dl-close.c: Include <stap-probe.h>.
32353 (_dl_close_worker): Added static probes "unmap_start" and
32355 * elf/rtld-debugger-interface.txt: New file documenting the above.
32357 2012-07-26 Roland McGrath <roland@hack.frob.com>
32359 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32360 rather than a string variable.
32361 * sunrpc/rpc_main.c (h_output): Likewise.
32362 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32364 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32366 * inet/check_native.c: New file.
32368 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32371 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32372 if larger part has absolute value 1.0.
32373 * math/s_clog10.c (__clog10): Likewise.
32374 * math/s_clog10f.c (__clog10f): Likewise.
32375 * math/s_clog10l.c (__clog10l): Likewise.
32376 * math/s_clogf.c (__clogf): Likewise.
32377 * math/s_clogl.c (__clogl): Likewise.
32378 * math/libm-test.inc (clog_test): Add more tests.
32379 (clog10_test): Likewise.
32380 * sysdeps/i386/fpu/libm-test-ulps: Update.
32381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32383 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32384 (pltexit): Likewise.
32385 (La_regs): Likewise.
32386 (La_retval): Likewise.
32387 (int_retval): Likewise.
32388 Update #error for removed macros to refer only to definitions in
32390 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32392 (pltexit): Likewise.
32393 (La_regs): Likewise.
32394 (La_retval): Likewise.
32395 (int_retval): Likewise.
32396 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32398 (pltexit): Likewise.
32399 (La_regs): Likewise.
32400 (La_retval): Likewise.
32401 (int_retval): Likewise.
32402 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32404 (pltexit): Likewise.
32405 (La_regs): Likewise.
32406 (La_retval): Likewise.
32407 (int_retval): Likewise.
32408 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32410 (pltexit): Likewise.
32411 (La_regs): Likewise.
32412 (La_retval): Likewise.
32413 (int_retval): Likewise.
32414 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32416 (pltexit): Likewise.
32417 (La_regs): Likewise.
32418 (La_retval): Likewise.
32419 (int_retval): Likewise.
32420 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32422 (pltexit): Likewise.
32423 (La_regs): Likewise.
32424 (La_retval): Likewise.
32425 (int_retval): Likewise.
32426 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32427 macro definitions in tst-audit.h.
32428 * sysdeps/i386/tst-audit.h: New file.
32429 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32430 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32431 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32432 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32433 * sysdeps/sh/tst-audit.h: Likewise.
32434 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32435 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32436 * sysdeps/x86_64/tst-audit.h: Likewise.
32438 2012-07-26 Andreas Jaeger <aj@suse.de>
32440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32443 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32444 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32445 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32447 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32448 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32449 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32451 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32454 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32456 (si_call_addr, si_syscall, si_arch): Define new macro.
32457 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32459 (si_call_addr, si_syscall, si_arch): Define new marcro.
32460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32462 (si_call_addr, si_syscall, si_arch): Define new macro.
32463 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32465 (si_call_addr, si_syscall, si_arch): Define new macro.
32467 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32471 Change to 2.4.21 where previously 2.4.1.
32472 * sysdeps/unix/sysv/linux/configure: Regenerated.
32473 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32474 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32475 Linux kernel version.
32476 (__ASSUME_STD_AUXV): Remove.
32477 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32479 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32480 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32481 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32482 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32483 (__ASSUME_NETLINK_SUPPORT): Likewise.
32484 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32485 (__no_netlink_support): Remove conditional definition.
32486 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32488 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32489 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32490 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32491 (if_nameindex_ioctl): Remove.
32492 (if_nameindex_netlink): Do not handle __no_netlink_support.
32493 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32495 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32496 Remove conditional code.
32497 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32499 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32501 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32502 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32503 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32505 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32506 [!__ASSUME_STD_AUXV]: Remove conditional code.
32507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32508 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32509 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32511 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32512 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32514 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32516 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32517 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32519 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32521 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32524 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32527 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32528 code unconditional.
32529 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32531 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32533 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32536 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32538 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32541 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32542 code unconditional.
32543 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32545 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32547 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32550 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32551 code unconditional.
32552 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32554 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32556 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32559 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32561 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32562 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32563 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32564 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32565 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32566 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32567 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32568 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32569 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32570 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32571 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32572 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32573 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32574 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32575 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32577 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32579 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32581 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32582 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32583 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32585 2012-07-25 Florian Weimer <fweimer@redhat.com>
32587 * Versions.def: Add GLIBC_2.17.
32588 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32589 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32590 Introduce __libc_secure_getenv.
32591 * stdlib/Versions (2.17): Add secure_getenv
32592 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32593 * stdlib/secure-getenv.c: Rename __secure_getenv to
32594 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32595 symbol __secure_getenv for GLIBC_2.0.
32596 * stdlib/tst-secure-getenv.c: New.
32597 * stdlib/Makefile (tests): Add testcase.
32598 * manual/startup.texi (Environment Access): Document
32600 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32601 __libc_secure_getenv.
32602 * inet/ruserpass.c (ruserpass): Likewise.
32603 * malloc/mtrace.c (mtrace): Likewise.
32604 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32605 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32606 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32607 * sysdeps/posix/tempname.c: Likewise. Evaluate
32608 HAVE_SECURE_GETENV.
32609 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32610 __secure_getenv to __libc_secure_getenv.
32611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32624 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32626 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32627 (struct La_i86_retval): Likewise.
32628 (struct La_x86_64_regs): Likewise.
32629 (struct La_x86_64_retval): Likewise.
32630 (struct La_x32_regs): Likewise.
32631 (struct La_x32_retval): Likewise.
32632 (struct La_ppc32_regs): Likewise.
32633 (struct La_ppc32_retval): Likewise.
32634 (struct La_ppc64_regs): Likewise.
32635 (struct La_ppc64_retval): Likewise.
32636 (struct La_sh_regs): Likewise.
32637 (struct La_sh_retval): Likewise.
32638 (struct La_s390_32_regs): Likewise.
32639 (struct La_s390_32_retval): Likewise.
32640 (struct La_s390_64_regs): Likewise.
32641 (struct La_s390_64_retval): Likewise.
32642 (struct La_sparc32_regs): Likewise.
32643 (struct La_sparc32_retval): Likewise.
32644 (struct La_sparc64_regs): Likewise.
32645 (struct La_sparc64_retval): Likewise.
32646 (struct audit_ifaces): Remove architecture-specific pltenter and
32648 * sysdeps/i386/ldsodefs.h: New file.
32649 * sysdeps/powerpc/ldsodefs.h: Likewise.
32650 * sysdeps/s390/ldsodefs.h: Likewise.
32651 * sysdeps/sh/ldsodefs.h: Likewise.
32652 * sysdeps/sparc/ldsodefs.h: Likewise.
32653 * sysdeps/x86_64/ldsodefs.h: Likewise.
32655 2012-07-25 Marek Polacek <polacek@redhat.com>
32658 * math/libm-test.inc (yn_test): Add another test.
32659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32660 to ERANGE when the result is +-Inf.
32661 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32662 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32663 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32666 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32668 * conform/data/time.h-data (NULL): Use macro-constant. Require
32670 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32672 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32674 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32676 * configure.in <sysdeps resolving>: Correct printing
32678 * configure: Regenerate.
32680 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32682 * math/w_ilogb.c: Include <limits.h>.
32683 * math/w_ilogbl.c: Likewise.
32685 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32687 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32688 va_copy. Document allowing for unavailable va_copy only as
32689 pre-C99 compatibility.
32690 * manual/string.texi (Copying and Concatenation): Use va_copy
32691 instead of __va_copy in concat example.
32693 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32695 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32696 (__sendto): Use create_address_port. Initialize APORT and deallocate
32699 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32700 with O_NOLINK passed to __file_name_lookup.
32702 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32703 with O_NOLINK passed to __file_name_lookup.
32705 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32706 negative N or less than NGIDS.
32708 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32709 type to string_t. Set ERANGE as errno and return it if NAME is not big
32710 enough. Use memcpy instead of strncpy.
32712 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32714 * elf/Makefile (check-data): Remove.
32715 (localplt.data): New vpath directive.
32716 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32717 instead of $(check-data).
32718 * scripts/data/localplt-generic.data: Move to ...
32719 * sysdeps/generic/localplt.data: ... here.
32720 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32721 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32722 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32725 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32728 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32731 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32734 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32737 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32741 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32743 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32744 PPC32 and PPC64 files.
32745 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32746 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32748 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32750 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32751 __makecontext_ret to ...
32752 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32753 ... here and call exit if uc_link is NULL. New file.
32754 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32755 __makecontext_ret.S.
32756 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32757 __makecontext_ret to ...
32758 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32759 ... here and call exit if uc_link is NULL. New file.
32760 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32761 __makecontext_ret.S.
32763 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32765 * elf/elf.h (R_390_IRELATIVE): New definition.
32766 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32767 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32768 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32770 (elf_machine_lazy_rel): Likewise.
32771 * sysdeps/s390/dl-irel.h: New file.
32772 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32773 * sysdeps/s390/s390-64/memset.S: New asm code.
32774 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32775 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32777 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32778 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32779 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32781 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32782 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32783 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32784 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32785 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32786 * sysdeps/s390/s390-32/memset.S: New asm code.
32787 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32789 2012-07-17 Marek Polacek <polacek@redhat.com>
32792 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32793 * sysdeps/s390/s390-64/configure.in: Likewise.
32794 * sysdeps/sparc/configure.in: Likewise.
32795 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32796 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32797 * sysdeps/i386/configure.in: Likewise.
32798 * sysdeps/x86_64/configure.in: Likewise.
32799 * sysdeps/sh/configure.in: Likewise.
32800 * sysdeps/s390/s390-32/configure: Regenerated.
32801 * sysdeps/s390/s390-64/configure: Likewise.
32802 * sysdeps/x86_64/configure: Likewise.
32803 * sysdeps/sh/configure: Likewise.
32804 * sysdeps/powerpc/powerpc64/configure: Likewise.
32805 * sysdeps/powerpc/powerpc32/configure: Likewise.
32806 * sysdeps/sparc/configure: Likwise.
32807 * sysdeps/i386/configure: Likewise.
32809 * elf/dl-open.c: Comment fixes.
32811 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32813 * Makefile [CXX] (check-data): Remove.
32814 [CXX] (c++-types.data): New vpath directive.
32815 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32816 vpath. Do not allow for C++ type data being missing.
32817 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32818 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32819 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32820 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32821 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32822 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32823 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32826 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32829 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32832 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32835 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32838 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32841 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32844 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32847 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32848 definitions to architecture-specific files.
32849 (TLS_IE): Likewise.
32850 (TLS_LD): Likewise.
32851 (TLS_GD): Likewise.
32852 * sysdeps/i386/tls-macros.h: New file.
32853 * sysdeps/powerpc/tls-macros.h: Likewise.
32854 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32855 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32856 * sysdeps/sh/tls-macros.h: Likewise.
32857 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32858 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32859 * sysdeps/x86_64/tls-macros.h: Likewise.
32861 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32863 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32864 zero value for regular exit case.
32866 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32867 (__start_context): Preserve zero value for regular exit case.
32869 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32870 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32872 * manual/setjmp.texi (setcontext): Clarify normal process
32873 termination when uc_link is the null pointer.
32874 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32877 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32879 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32880 preprocessor. Test for each exception mask separately.
32882 2012-07-16 Andreas Jaeger <aj@suse.de>
32884 * po/ru.po: Update from translation team.
32886 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32888 * conform/data/string.h-data (NULL): Use macro-constant. Require
32890 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32891 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32892 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32893 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32896 2012-07-13 Andreas Jaeger <aj@suse.de>
32898 * po/fr.po: Update from translation team.
32900 2012-07-12 Marek Polacek <polacek@redhat.com>
32903 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32904 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32907 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32911 Change to 2.4.1 where previously 2.4.0.
32912 * sysdeps/unix/sysv/linux/configure: Regenerated.
32913 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32914 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32916 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32917 (__ASSUME_AT_CLKTCK): Remove.
32918 (__ASSUME_AT_PAGESIZE): Likewise.
32919 (__ASSUME_AT_XID): Likewise.
32920 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32921 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32922 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32924 (HAVE_AUX_PAGESIZE): Likewise.
32925 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32926 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32927 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32929 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32933 the temporary buffer used to invoke __gethostbyname2_r,
32934 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32935 host_data / struct gaih_addrtuple.
32936 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32937 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32938 header file nss/nsswitch.h.
32939 * nss/nsswitch.h (global scope): Add definition of implementation
32940 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32941 resolv/nss_dns/dns-host.c).
32943 2012-07-11 Andreas Jaeger <aj@suse.de>
32945 * po/fr.po: Update from translation team.
32947 * po/sv.po: Update from translation team
32948 * po/fr.po: Another update from translation team.
32950 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32952 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32953 for subnormals or multiply small sinh result by itself.
32954 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32957 2012-07-11 David S. Miller <davem@davemloft.net>
32959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32961 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32964 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32965 (INTERNAL_MARK): Shift it here.
32967 2012-07-10 Marek Polacek <polacek@redhat.com>
32970 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32971 libc_cv_asm_global_directive with .globl.
32972 * configure: Regenerated.
32973 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32975 * sysdeps/i386/configure: Regenerated.
32976 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32978 * sysdeps/x86_64/configure: Regenerated.
32979 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32980 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32981 * elf/tst-unique2mod2.c: Likewise.
32982 * elf/tst-unique2mod1.c: Likewise.
32983 * elf/tst-unique1mod2.c: Likewise.
32984 * elf/tst-unique1mod1.c: Likewise.
32985 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32986 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32988 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32989 * sysdeps/mach/sysdep.h: Likewise.
32990 * sysdeps/i386/sysdep.h: Likewise.
32991 * sysdeps/i386/i386-mcount.S: Likewise.
32992 * sysdeps/x86_64/_mcount.S: Likewise.
32993 * sysdeps/x86_64/sysdep.h: Likewise.
32994 * sysdeps/sh/_mcount.S: Likewise.
32995 * sysdeps/sh/sysdep.h: Likewise.
32996 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32997 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32998 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32999 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33000 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33001 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33002 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33003 * locale/localeinfo.h: Likewise.
33004 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33005 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33007 2012-07-09 Roland McGrath <roland@hack.frob.com>
33010 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33012 * manual/message.texi (The Uniforum approach): Likewise.
33013 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33014 (glibc iconv Implementation): Likewise.
33016 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33019 * math/s_clog.c (__clog): Avoid scaling a value down where that
33020 could result in underflow.
33021 * math/s_clog10.c (__clog10): Likewise.
33022 * math/s_clog10f.c (__clog10f): Likewise.
33023 * math/s_clog10l.c (__clog10l): Likewise.
33024 * math/s_clogf.c (__clogf): Likewise.
33025 * math/s_clogl.c (__clogl): Likewise.
33026 * math/libm-test.inc (clog_test): Add more tests.
33027 (clog10_test): Likewise.
33028 * sysdeps/i386/fpu/libm-test-ulps: Update.
33029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33031 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33034 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33035 by 7 not 8 to examine high bit of fractional part.
33038 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33039 for call to __mcount_internal.
33040 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33041 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33042 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33044 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33047 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33048 approximation for values within 0x1p-13f of an odd multiple of
33050 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33051 exception. Add more tests.
33052 * sysdeps/i386/fpu/libm-test-ulps: Update.
33055 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33056 inputs and return -1 for them. Do not check for +Inf in case not
33057 reachable for +Inf.
33058 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33059 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33060 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33061 and return -1 for them. Do not check for +Inf in case not
33062 reachable for +Inf.
33063 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33066 and return -1 for them. Do not check for +Inf in case not
33067 reachable for +Inf.
33068 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33069 spurious underflow.
33070 * sysdeps/i386/fpu/libm-test-ulps: Update.
33071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33073 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33075 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33077 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33081 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33082 could result in spurious underflow. Scale down values above
33083 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33084 * math/s_csqrtf.c (__csqrtf): Likewise.
33085 * math/s_csqrtl.c (__csqrtl): Likewise.
33086 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33087 spurious underflow.
33088 * sysdeps/i386/fpu/libm-test-ulps: Update.
33089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33093 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33095 * catgets/xopen-msg.awk: New file.
33096 * catgets/xopen-msg.sed: Removed.
33098 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33100 * intl/po2test.awk: New file.
33101 * intl/po2test.sed: Removed.
33103 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33106 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33107 or multiply small sinh result by itself.
33108 * math/s_ctanf.c (__ctanf): Likewise.
33109 * math/s_ctanh.c (__ctanh): Likewise.
33110 * math/s_ctanhf.c (__ctanhf): Likewise.
33111 * math/s_ctanhl.c (__ctanhl): Likewise.
33112 * math/s_ctanl.c (__ctanl): Likewise.
33113 * math/libm-test.inc (ctan_test_tonearest): New function.
33114 (ctan_test_towardzero): Likewise.
33115 (ctan_test_downward): Likewise.
33116 (ctan_test_upward): Likewise.
33117 (ctanh_test_tonearest): Likewise.
33118 (ctanh_test_towardzero): Likewise.
33119 (ctanh_test_downward): Likewise.
33120 (ctanh_test_upward): Likewise.
33121 (main): Call these new functions.
33122 * sysdeps/i386/fpu/libm-test-ulps: Update.
33123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33125 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33127 * .gitignore: Delete /ports entry.
33129 2012-07-03 Andreas Jaeger <aj@suse.de>
33131 * po/bg.po: Update from translation team.
33132 * po/cs.po: Likewise.
33133 * po/de.po: Likewise.
33134 * po/hr.po: Likewise.
33135 * po/nl.pl: Likewise.
33136 * po/pl.po: Likewise.
33137 * po/vi.po: Likewise.
33139 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33141 * Makeconfig [!+link] (+link-before-libc): New variable.
33142 [!+link] (+link-after-libc): Likewise.
33143 [!+link] (+link-tests): Likewise.
33144 [!+link] (+link): Define in terms of $(+link-before-libc) and
33145 $(+link-after-libc).
33146 [!+link-static] (+link-static-before-libc): New variable.
33147 [!+link-static] (+link-static-after-libc): Likewise.
33148 [!+link-static] (+link-static-tests): Likewise.
33149 [!+link-static] (+link-static): Define in terms of
33150 $(+link-static-before-libc) and $(+link-static-after-libc).
33151 [build-shared] (link-libc-before-gnulib): New variable.
33152 [build-shared] (link-libc-tests): Likewise.
33153 [build-shared] (link-libc): Define in terms of
33154 $(link-libc-before-gnulib).
33155 [!build-shared] (link-libc-tests): New variable.
33156 (link-libc-static-tests): New variable.
33157 [!gnulib] (gnulib-arch): New variable.
33158 [!gnulib] (gnulib-tests): Likewise.
33159 [!gnulib] (static-gnulib-arch): Likewise.
33160 [!gnulib] (static-gnulib-tests): Likewise.
33161 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33162 Define with "=" instead of ":=".
33163 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33164 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33165 * Rules (binaries-all-notests): New variable.
33166 (binaries-all-tests): Likewise.
33167 (binaries-static-notests): Likewise.
33168 (binaries-static-tests): Likewise.
33169 (binaries-all): Define using $(binaries-all-notests) and
33170 $(binaries-all-tests).
33171 (binaries-static): Define using $(binaries-static-notests) and
33172 $(binaries-static-tests).
33173 (binaries-shared-tests): New variable.
33174 (binaries-shared-notests): Likewise.
33175 (binaries-shared): Remove variable.
33176 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33177 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33178 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33179 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33180 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33181 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33182 * elf/Makefile (sln-modules): New variable.
33183 (extra-objs): Add $(sln-modules:=.o).
33184 (ldconfig-modules): Add static-stubs.
33185 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33186 * elf/static-stubs.c: New file.
33189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33190 by 7 not 8 to examine high bit of fractional part. Use volatile
33191 variables when splitting into final array of floats if
33192 __FLT_EVAL_METHOD__ != 0.
33193 * math/libm-test.inc (cos_test): Add another test.
33194 (sin_test): Likewise.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33198 * math/libm-test.inc (cosh_test): Add more tests.
33200 * version.h (RELEASE): Set to "development".
33201 (VERSION): Set to "2.16.90".
33203 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33205 * NEWS: Update copyright. Remove last-updated date.
33206 Mention math library bug fixes and timezone data changes.
33207 * README: Mention GNU/Hurd, x32, and HPPA support status.
33209 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33211 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33213 2012-06-27 Andreas Jaeger <aj@suse.de>
33215 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33217 2012-06-25 Andreas Jaeger <aj@suse.de>
33219 * sysdeps/s390/fpu/libm-test-ulps: Update.
33221 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33222 Thomas Schwinge <thomas@codesourcery.com>
33224 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33225 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33229 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33231 * sysdeps/mach/start.c: Remove file.
33232 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33233 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33234 * sysdeps/sh/init-first.c: Likewise.
33236 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33237 registers for frame unwinding purposes, add CFI directives.
33238 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33239 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33240 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33243 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33244 __fortify_fail returning.
33245 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33247 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33248 sysdeps/sh/____longjmp_chk.S.
33249 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33250 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33251 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33252 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33254 * sysdeps/sh/abort-instr.h: New file.
33255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33256 process in case exit returns.
33258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33259 initialize the GOT register before use.
33261 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33262 calculation of ARGC > 4.
33264 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33265 meaningful names to some local labels.
33267 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33268 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33270 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33271 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33272 (__arch_compare_and_exchange_val_16_acq): Likewise.
33273 (__arch_compare_and_exchange_val_32_acq): Likewise.
33274 (atomic_exchange_and_add): Fix gUSA sequence.
33275 (atomic_add): Likewise.
33276 (atomic_add_negative): Likewise.
33277 (atomic_add_zero): Likewise.
33278 (atomic_bit_test_set): Likewise.
33280 2012-06-22 Andreas Schwab <schwab@redhat.com>
33283 * include/link.h (struct link_map): Add l_free_initfini.
33284 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33286 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33287 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33288 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33291 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33293 * configure.in: Use AC_LANG_SOURCE.
33294 * configure: Regenerate.
33296 2012-06-22 Roland McGrath <roland@hack.frob.com>
33298 * configure.in (libc_cv_localstatedir): New substituted variable.
33299 * configure: Regenerated.
33300 * config.make.in (localstatedir): New variable, substituted from
33301 libc_cv_localstatedir.
33302 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33303 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33304 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33305 * sysdeps/gnu/configure: Regenerated.
33307 2012-06-21 Jeff Law <law@redhat.com>
33310 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33311 free. Simplify list management for _LIBC case.
33313 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33317 Clear sign bit of 64-bit integer value before comparing against
33320 * sysdeps/mach/configure: Regenerated.
33322 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33325 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33327 2012-06-21 Jeff Law <law@redhat.com>
33330 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33331 uint16_t for elements in the "seen" array to avoid char overflows.
33332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33333 * elf/dl-open.c (dl_open_worker): Likewise.
33335 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33337 * scripts/list-sources.sh: Scan PORTS for translations.
33338 * po/libc.pot: Regenerated.
33340 2012-06-21 Andreas Jaeger <aj@suse.de>
33343 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33345 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33346 * bits/byteswap-16.h (__bswap_16): Likewise.
33347 * bits/byteswap.h (__bswap_constant_16): Likewise.
33349 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33352 * sysdeps/i386/fpu_control.h: Removed.
33353 * sysdeps/x86_64/fpu_control.h: Moved to ...
33354 * sysdeps/x86/fpu_control.h: Here.
33356 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33357 (_FPU_SETCW): Likewise.
33359 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33362 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33363 * sysdeps/x86/fpu/bits/mathinline.h: This.
33364 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33368 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33369 functions if __x86_64__ is defined.
33371 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33373 * string/endian.h: Add !__ASSEMBLER__ condition for including
33374 conversion interfaces.
33376 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33380 of ABS(x) in calculating zero to negative powers other than odd
33382 * math/libm-test.inc (pow_test): Add more tests.
33384 2012-06-15 Andreas Jaeger <aj@suse.de>
33386 * manual/contrib.texi (Contributors): Update entry of Liubov
33387 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33390 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33392 * string/string.h: Add __wur to GNU version of strerror_r.
33394 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33397 * string/Makefile (tests): Add tst-strtok_r.
33398 * string/tst-strtok_r.c: New file.
33399 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33400 RAX_LP/RDX_LP on SAVE_PTR.
33402 2012-06-14 Roland McGrath <roland@hack.frob.com>
33404 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33406 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33408 * libm_test.inc (csqrt_test): Allow more spurious underflow
33410 (j0_test): Likewise.
33411 (j1_test): Likewise.
33412 (y0_test): Likewise.
33413 (y1_test): Likewise.
33415 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33417 * po/Makefile (libc.pot): Use UTF-8 charset.
33419 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33422 Suppress sign-conversion warning from FD_SET.
33423 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33424 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33425 not unsigned long int.
33426 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33428 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33432 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33433 __extern_always_inline instead of __extern_inline.
33434 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33435 (__signbit): Likewise.
33436 (__signbitl): Support C++ namespace.
33437 (lrintf): New inline function.
33439 (llrintf): Likewise.
33440 (llrint): Likewise.
33450 (floorf): Likewise.
33451 (nearbyint): Likewise.
33452 (nearbyintf): Likewise.
33454 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33457 non-default versions.
33459 2012-06-11 Roland McGrath <roland@hack.frob.com>
33462 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33464 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33466 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33467 (FE_UPWARD, FE_DOWNWARD): Don't define.
33468 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33471 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33473 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33474 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33476 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33478 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33480 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33481 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33483 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33486 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33487 * sysdeps/i386/fpu/Implies: New file.
33488 * sysdeps/x86_64/fpu/Implies: Likewise.
33489 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33490 * sysdeps/x86/fpu/bits/fenv.h: This.
33492 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33495 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33498 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33499 character 0xffff that matches the last element of the
33502 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33504 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33507 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33509 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33510 values higher than 25.6283.
33512 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33515 subnormal exponent extraction and add some __builtin_expect.
33516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33517 Fix for subnormal mantissa calculation.
33519 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33521 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33522 cpu2 is -1 and errno is not ENOSYS.
33524 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33527 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33528 * sysdeps/x86/bits/string.h: This.
33529 * sysdeps/x86_64/bits/string.h: Removed.
33531 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33532 if not compiling for x86-64, but compiling for >= i486.
33534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33535 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33537 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33538 New macro from Linux kernel 3.4.0.
33539 (FP_XSTATE_MAGIC2): Likewise.
33540 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33541 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33542 (struct _fpx_sw_bytes): New struct.
33543 (struct _xsave_hdr): Likewise.
33544 (struct _ymmh_state): Likewise.
33545 (struct _xstate): Likewise.
33547 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33548 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33550 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33552 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33554 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33556 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33557 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33558 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33559 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33561 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33564 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33565 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33566 (sysdep_headers): Include sys/platform/ppc.h.
33567 * sysdeps/powerpc/test-gettimebase.c: Test for
33568 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33569 * manual/Makefile (appendices): Include platform.texi.
33570 * manual/contrib.texi (Contributors): Update @node pointers.
33571 * manual/maint.texi (Maintenance): Likewise.
33572 (Platform): New node.
33573 * manual/platform.texi: New file. Document the new features.
33575 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33576 Jakub Jelinek <jakub@redhat.com>
33579 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33580 where __builtin_expect is unavailable.
33582 2012-06-03 David S. Miller <davem@davemloft.net>
33584 * stdlib/longlong.h: Updated from GCC.
33586 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33589 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33590 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33593 (GLIBC_2.16): Likewise.
33595 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33599 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33602 (default-abi): New variable.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33604 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33606 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33608 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33610 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33613 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33614 definition. Document in comment.
33616 2012-06-01 David S. Miller <davem@davemloft.net>
33618 * stdlib/longlong.h: Updated from GCC.
33620 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33623 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33624 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33625 sys/debugreg.h sys/io.h here.
33626 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33627 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33629 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33630 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33631 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33632 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33633 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33634 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33636 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33637 Define only if __x86_64__ is defined.
33639 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33643 Use int64_t for variable i.
33644 * math/libm-test.inc (fmod_test): Add more tests.
33646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33647 z computation is not scheduled after fetestexcept.
33648 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33649 Use math_force_eval instead of asm to ensure calculation scheduled
33650 before exception test.
33651 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33652 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33654 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33657 computation is not scheduled after fetestexcept.
33659 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33662 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33663 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33665 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33667 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33668 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33670 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33673 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33675 (__WCHAR_MIN): Support __WORDSIZE == 64.
33676 (__WCHAR_MAX): Likewise.
33678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33682 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33683 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33686 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33687 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33689 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33690 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33692 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33693 Defined to 1 if __x86_64__ isn't defined.
33694 (_STAT_VER_LINUX_OLD): New.
33695 (st_atime): Remove duplicate.
33696 (st_mtime): Likewise.
33697 (st_ctime): Likewise.
33699 2012-05-31 David S. Miller <davem@davemloft.net>
33701 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33704 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33706 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33710 * elf/dl-reloc.c: Include <_itoa.h>.
33711 (_dl_reloc_bad_type): Remove use of INTUSE.
33712 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33713 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33714 * stdio-common/psiginfo.c (psiginfo): Likewise.
33715 * stdio-common/psignal.c (psignal): Likewise.
33716 * string/strsignal.c (strsignal): Likewise.
33717 * include/signal.h (_sys_siglist): Declare hidden proto.
33718 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33719 INTVARDEF with libc_hidden_data_def.
33720 * stdio-common/itoa-udigits.c: Likewise.
33721 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33722 (_itoa_lower_digits_internal): Remove declaration.
33723 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33724 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33725 (_sys_sigabbrev_internal): Remove aliases.
33726 (_sys_siglist): Define hidden alias.
33728 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33733 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33736 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33737 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33739 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33740 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33741 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33742 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33744 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33746 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33758 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33760 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33762 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33763 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33764 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33765 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33766 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33769 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33770 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33772 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33773 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33777 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33779 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33780 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33782 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33784 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33785 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33786 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33788 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33790 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33792 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33794 * math/math.h (M_El): Use two more decimal places.
33795 (M_LOG2El): Likewise.
33796 (M_LOG10El): Likewise.
33797 (M_LN2l): Likewise.
33798 (M_LN10l): Likewise.
33800 (M_PI_2l): Likewise.
33801 (M_PI_4l): Likewise.
33802 (M_1_PIl): Likewise.
33803 (M_2_PIl): Likewise.
33804 (M_2_SQRTPIl): Likewise.
33805 (M_SQRT2l): Likewise.
33806 (M_SQRT1_2l): Likewise.
33808 2012-05-31 David S. Miller <davem@davemloft.net>
33810 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33811 values between float registers.
33812 * sysdeps/sparc/sparc64/memset.S: Likewise.
33813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33815 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33817 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33818 -D_FORTIFY_SOURCE=1.
33819 (CPPFLAGS-tst-longjmp_chk.c): Define.
33820 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33821 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33822 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33823 CFLAGS-tst-wchar-h.c.
33825 2012-05-31 Marek Polacek <polacek@redhat.com>
33828 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33829 __endmntent_internal): Remove declaration.
33830 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33831 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33832 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33834 2012-05-30 David S. Miller <davem@davemloft.net>
33836 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33837 (___Q_simulate_exceptions): Use real FP ops rather than writing
33839 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33842 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33845 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33846 * sysdeps/x86/bits/xtitypes.h: This.
33848 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33849 * sysdeps/x86/bits/wordsize.h: This.
33851 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33852 * sysdeps/x86/bits/huge_vall.h: This.
33854 * sysdeps/i386/bits/select.h: Removed.
33855 * sysdeps/x86_64/bits/select.h: Renamed to ...
33856 * sysdeps/x86/bits/select.h: This.
33858 * sysdeps/i386/bits/setjmp.h: Removed.
33859 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33860 * sysdeps/x86/bits/setjmp.h: This.
33862 * sysdeps/i386/bits/mathdef.h: Removed.
33863 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33864 * sysdeps/x86/bits/mathdef.h: This.
33866 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33869 * include/sys/socket.h (__connect_internal)
33870 (__libc_sa_len_internal): Remove declaration.
33871 (__connect, __libc_sa_len): Declare hidden_proto.
33872 (SA_LEN): Remove use of INTUSE.
33873 * socket/connect.c: Add libc_hidden_def.
33874 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33875 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33876 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33878 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33879 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33880 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33881 of adding _internal alias.
33883 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/i386/bits/link.h: Removed.
33887 * sysdeps/i386/bits/linkmap.h: Likewise.
33888 * sysdeps/x86_64/bits/link.h: Renamed to ...
33889 * sysdeps/x86/bits/link.h: This.
33890 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33891 * sysdeps/x86/bits/linkmap.h: This.
33893 * sysdeps/i386/bits/endian.h: Removed.
33894 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33895 * sysdeps/x86/bits/endian.h: This.
33897 * sysdeps/i386/bits/byteswap.h: Removed.
33898 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33899 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33900 * sysdeps/x86/bits/byteswap.h: This.
33901 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33902 * sysdeps/x86/bits/byteswap-16.h: This.
33903 * sysdeps/i386/Implies: Add x86.
33904 * sysdeps/x86_64/Implies: Likewise.
33906 2012-05-30 David S. Miller <davem@davemloft.net>
33908 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33909 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33910 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33911 (FP_TRAPPING_EXCEPTIONS): Define.
33912 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33913 (FP_TRAPPING_EXCEPTIONS): Define.
33914 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33915 subnormals only when inexact has been signalled or underflow
33916 exceptions are enabled.
33917 (_FP_PACK_CANONICAL): Likewise.
33919 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33922 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33923 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33925 2012-05-30 Richard Henderson <rth@twiddle.net>
33927 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33928 with #ifndef NOT_IN_libc.
33930 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33931 marked to avoid plt entry.
33933 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33936 * Makeconfig (default-abi): New macro.
33937 (abi-includes): Likewise.
33938 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33939 $(abi-$(default-abi)-lib-soname) for soname if defined.
33940 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33942 * Makefile (installed-stubs): Likewise.
33943 * include/stubs-biarch.h: Removed.
33944 * scripts/lib-names.awk: Only handle one library at a time.
33945 * scripts/soversions.awk: Remove WORDSIZE support.
33946 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33948 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33950 (syscall-list-default-condition): Likewise.
33951 (syscall-list-default-condition): Likewise.
33952 (syscall-list-includes): Likewise.
33953 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33954 syscall-list-* with abi-*. Handle undefined abi-variants.
33955 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33956 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33957 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33958 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33959 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33960 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33962 (syscall-list-32-options): Likewise.
33963 (syscall-list-32-condition): Likewise.
33964 (syscall-list-64-options): Likewise.
33965 (syscall-list-64-condition): Likewise.
33966 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33968 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33971 (abi-64-ld-soname): New macro.
33972 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33973 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33976 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33977 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33979 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33981 * sysdeps/unix/sysv/linux/kernel-features.h
33982 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33983 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33984 include <kernel-features.h>.
33985 [!__NR_ftruncate64]: Remove conditional code.
33986 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33987 [__NR_ftruncate64]: Make code unconditional.
33988 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33989 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33990 include <kernel-features.h>.
33991 [!__NR_ftruncate64]: Remove conditional code.
33992 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33993 [__NR_ftruncate64]: Make code unconditional.
33994 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33996 include <kernel-features.h>.
33997 [!__NR_ftruncate64]: Remove conditional code.
33998 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33999 [__NR_ftruncate64]: Make code unconditional.
34000 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34002 include <kernel-features.h>.
34003 [!__NR_ftruncate64]: Remove conditional code.
34004 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34005 [__NR_ftruncate64]: Make code unconditional.
34006 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34008 * configure.in (libc_cv_fpie): Weaken to a compile test using
34009 LIBC_TRY_CC_OPTION.
34010 * configure: Regenerated.
34012 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34027 2012-05-27 David S. Miller <davem@davemloft.net>
34029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34031 (__Q_simulate_exceptions): Return void. Change to simulate
34032 exceptions by writing into the %fsr.
34033 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34034 (__Qp_handle_exceptions): Likewise.
34036 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34037 __Qp_handle_exceptions.
34038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34039 __Qp_handle_exceptions.
34040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34041 as unused and give dummy FP_RND_NEAREST initializer.
34042 (FP_INHIBIT_RESULTS): Define.
34043 (___Q_simulate_exceptions): Update declaration.
34044 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34047 as unused and give dummy FP_RND_NEAREST initializer.
34048 (__Qp_handle_exceptions): Update declaration.
34049 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34052 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34054 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34055 the temporary FPU control word.
34056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34057 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34058 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34061 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34062 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34063 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34064 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34065 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34068 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34073 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34075 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34076 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34077 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34078 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34080 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34081 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34084 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34086 * po/h.po: Update from translation team.
34088 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34090 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34092 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34093 handling of denormals.
34094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34095 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34096 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34097 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34103 2012-05-26 Marek Polacek <polacek@redhat.com>
34106 * math/libm-test.inc (fma_test): Don't always expect underflow
34109 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34112 * elf/tst-execstack.c: Include stackinfo.h.
34113 (do_test): Adjust test case to ensure that pthread_getattr_np
34114 behaviour remains the same after marking stack executable.
34116 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34118 * sysdeps/unix/sysv/linux/kernel-features.h
34119 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34120 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34122 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34123 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34124 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34126 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34127 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34129 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34131 * configure.in: Define the default includes to being none.
34132 * configure: Regenerated.
34134 2012-05-25 Roland McGrath <roland@hack.frob.com>
34136 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34137 * sysdeps/x86_64/setjmp.S: Likewise.
34138 * sysdeps/i386/bsd-setjmp.S: Likewise.
34139 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34140 * sysdeps/i386/setjmp.S: Likewise.
34141 * sysdeps/i386/__longjmp.S: Likewise.
34142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34143 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34145 * include/stap-probe.h: New file.
34146 * configure.in: Handle --enable-systemtap.
34147 * configure: Regenerated.
34148 * config.h.in (USE_STAP_PROBE): New #undef.
34149 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34150 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34151 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34153 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34157 to 2.4.0 where earlier.
34158 * sysdeps/unix/sysv/linux/configure: Regenerated.
34159 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34160 <kernel-features.h>.
34161 [__ASSUME_32BITUIDS]: Make code unconditional.
34162 [!__ASSUME_32BITUIDS]: Remove conditional code.
34163 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34164 <kernel-features.h>.
34165 [__ASSUME_32BITUIDS]: Make code unconditional.
34166 [!__ASSUME_32BITUIDS]: Remove conditional code.
34167 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34168 [__ASSUME_32BITUIDS]: Make code unconditional.
34169 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34170 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34171 <kernel-features.h>.
34172 [__ASSUME_32BITUIDS]: Make code unconditional.
34173 [!__ASSUME_32BITUIDS]: Remove conditional code.
34174 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34175 <kernel-features.h>.
34176 [__ASSUME_32BITUIDS]: Make code unconditional.
34177 [!__ASSUME_32BITUIDS]: Remove conditional code.
34178 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34179 <kernel-features.h>.
34180 [__ASSUME_32BITUIDS]: Make code unconditional.
34181 [!__ASSUME_32BITUIDS]: Remove conditional code.
34182 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34183 <kernel-features.h>.
34184 [__ASSUME_32BITUIDS]: Make code unconditional.
34185 [!__ASSUME_32BITUIDS]: Remove conditional code.
34186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34187 <kernel-features.h>.
34188 [__ASSUME_32BITUIDS]: Make code unconditional.
34189 [!__ASSUME_32BITUIDS]: Remove conditional code.
34190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34191 <kernel-features.h>.
34192 [__ASSUME_32BITUIDS]: Make code unconditional.
34193 [!__ASSUME_32BITUIDS]: Remove conditional code.
34194 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34195 <kernel-features.h>.
34196 [__ASSUME_32BITUIDS]: Make code unconditional.
34197 [!__ASSUME_32BITUIDS]: Remove conditional code.
34198 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34199 <kernel-features.h>.
34200 [__ASSUME_32BITUIDS]: Make code unconditional.
34201 [!__ASSUME_32BITUIDS]: Remove conditional code.
34202 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34203 <kernel-features.h>.
34204 [__ASSUME_32BITUIDS]: Make code unconditional.
34205 [!__ASSUME_32BITUIDS]: Remove conditional code.
34206 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34207 <kernel-features.h>.
34208 [__ASSUME_32BITUIDS]: Make code unconditional.
34209 [!__ASSUME_32BITUIDS]: Remove conditional code.
34210 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34211 <kernel-features.h>.
34212 [__NR_setresgid] (__setresgid): Do not declare.
34213 [__ASSUME_32BITUIDS]: Make code unconditional.
34214 [!__ASSUME_32BITUIDS]: Remove conditional code.
34215 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34216 <kernel-features.h>.
34217 [__NR_setresuid] (__setresuid): Do not declare.
34218 [__ASSUME_32BITUIDS]: Make code unconditional.
34219 [!__ASSUME_32BITUIDS]: Remove conditional code.
34220 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34221 <kernel-features.h>.
34222 [__ASSUME_32BITUIDS]: Make code unconditional.
34223 [!__ASSUME_32BITUIDS]: Remove conditional code.
34224 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34225 <kernel-features.h>.
34226 [__ASSUME_32BITUIDS]: Make code unconditional.
34227 [!__ASSUME_32BITUIDS]: Remove conditional code.
34228 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34229 <kernel-features.h>.
34230 [__ASSUME_32BITUIDS]: Make code unconditional.
34231 [!__ASSUME_32BITUIDS]: Remove conditional code.
34232 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34233 <kernel-features.h>.
34234 [__ASSUME_32BITUIDS]: Make code unconditional.
34235 [!__ASSUME_32BITUIDS]: Remove conditional code.
34236 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34237 <kernel-features.h>.
34238 [__ASSUME_32BITUIDS]: Make code unconditional.
34239 [!__ASSUME_32BITUIDS]: Remove conditional code.
34240 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34241 <kernel-features.h>.
34242 [__ASSUME_32BITUIDS]: Make code unconditional.
34243 [!__ASSUME_32BITUIDS]: Remove conditional code.
34244 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34245 <kernel-features.h>.
34246 [__ASSUME_32BITUIDS]: Make code unconditional.
34247 [!__ASSUME_32BITUIDS]: Remove conditional code.
34248 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34249 <kernel-features.h>.
34250 [__ASSUME_32BITUIDS]: Make code unconditional.
34251 [!__ASSUME_32BITUIDS]: Remove conditional code.
34252 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34253 <kernel-features.h>.
34254 [__ASSUME_32BITUIDS]: Make code unconditional.
34255 [!__ASSUME_32BITUIDS]: Remove conditional code.
34256 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34257 <kernel-features.h>.
34258 [__ASSUME_32BITUIDS]: Make code unconditional.
34259 [!__ASSUME_32BITUIDS]: Remove conditional code.
34260 * sysdeps/unix/sysv/linux/kernel-features.h
34261 (__ASSUME_SETRESUID_SYSCALL): Remove.
34262 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34263 (__ASSUME_32BITUIDS): Likewise.
34264 (__ASSUME_LDT_WORKS): Likewise.
34265 (__ASSUME_O_DIRECTORY): Likewise.
34266 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34267 architecture but not kernel version.
34268 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34269 (__ASSUME_MMAP2_SYSCALL): Likewise.
34270 (__ASSUME_STAT64_SYSCALL): Likewise.
34271 (__ASSUME_IPC64): Likewise.
34272 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34273 <kernel-features.h>.
34274 [__ASSUME_32BITUIDS]: Make code unconditional.
34275 [!__ASSUME_32BITUIDS]: Remove conditional code.
34276 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34277 <kernel-features.h>.
34278 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34279 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34280 132096]: Remove conditional code.
34281 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34282 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34283 <kernel-features.h>.
34284 [__ASSUME_32BITUIDS]: Make code unconditional.
34285 [!__ASSUME_32BITUIDS]: Remove conditional code.
34286 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34287 <kernel-features.h>.
34288 [__ASSUME_32BITUIDS]: Make code unconditional.
34289 [!__ASSUME_32BITUIDS]: Remove conditional code.
34290 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34291 <kernel-features.h>.
34292 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34294 (__setresgid): Do not declare.
34295 [__ASSUME_32BITUIDS]: Make code unconditional.
34296 [!__ASSUME_32BITUIDS]: Remove conditional code.
34297 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34298 <kernel-features.h>.
34299 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34301 (__setresuid): Do not declare.
34302 [__ASSUME_32BITUIDS]: Make code unconditional.
34303 [!__ASSUME_32BITUIDS]: Remove conditional code.
34304 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34305 <kernel-features.h>.
34306 [__ASSUME_32BITUIDS]: Make code unconditional.
34307 [!__ASSUME_32BITUIDS]: Remove conditional code.
34308 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34309 <kernel-features.h>.
34310 [__ASSUME_32BITUIDS]: Make code unconditional.
34311 [!__ASSUME_32BITUIDS]: Remove conditional code.
34313 2012-05-25 Richard Henderson <rth@twiddle.net>
34315 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34316 dl_hwcap to ifunc resolver.
34317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34319 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34320 dl_hwcap to ifunc resolver.
34321 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34323 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34326 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34327 for |x| <= 2**-26, not 2**-57.
34328 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34331 2012-05-24 Jeff Law <law@redhat.com>
34333 * stdio-common/Makefile (tests): Add bug25.
34334 * stdio-common/bug25.c: New test.
34336 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34339 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34340 multiple of MALLOC_ALIGNMENT in size.
34341 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34343 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34345 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34347 (FILENAME_MAX): Use macro-int-constant.
34348 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34349 (_IOFBF): Use macro-int-constant.
34350 (_IOLBF): Likewise.
34351 (_IONBF): Likewise.
34352 (SEEK_CUR): Likewise.
34353 (SEEK_END): Likewise.
34354 (SEEK_SET): Likewise.
34355 (TMP_MAX): Likewise.
34356 (EOF): Use macro-int-constant. Require < 0.
34357 (NULL): Use macro-constant. Require == 0.
34358 (stdin): Require type to be FILE *.
34359 (stdout): Likewise.
34360 (stderr): Likewise.
34361 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34362 macro-int-constant.
34363 (EXIT_SUCCESS): Likewise.
34364 (NULL): Use macro-constant. Require == 0.
34365 (RAND_MAX): Use macro-int-constant.
34366 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34367 [C99-based standards] (strtof): Require function.
34368 [C99-based standards] (strtold): Likewise.
34369 [C99-based standards] (strtoll): Likewise.
34370 [C99-based standards] (strtoull): Likewise.
34371 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34372 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34373 [ISO || ISO99 || ISO11] (math.h): Likewise.
34374 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34375 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34378 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34381 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34382 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34383 * intl/dgettext.c (DCGETTEXT): Likewise.
34384 * intl/gettext.c (DCGETTEXT): Likewise.
34385 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34386 * posix/regex_internal.h (gettext): Likewise.
34387 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34388 Remove declaration.
34389 * include/argz.h (__argz_count_internal)
34390 (__argz_stringify_internal): Remove declaration.
34391 (__argz_count, __argz_stringify): Declare hidden proto.
34392 * intl/dcgettext.c: Remove use of INTDEF.
34393 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34394 * string/argz-stringify.c: Likewise.
34395 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34396 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34397 Declare hidden proto.
34398 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34399 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34400 Declare hidden proto.
34401 * include/stdio.h (__asprintf_internal): Don't declare.
34402 (__asprintf): Don't define as macro. Declare hidden proto.
34403 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34404 (__fsetlocking): Declare hidden proto.
34405 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34406 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34408 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34409 (_IO_setlinebuf): Remove use of INTUSE.
34410 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34411 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34412 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34413 Remove declaration.
34414 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34415 (_IO_do_flush): Remove use of INTUSE.
34416 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34417 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34418 (_IO_adjust_column, _IO_least_wmarker)
34419 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34420 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34421 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34422 (_IO_default_doallocate, _IO_wdefault_doallocate)
34423 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34424 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34425 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34426 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34427 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34428 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34429 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34430 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34431 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34432 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34433 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34434 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34435 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34437 (_IO_flush_all_internal, _IO_adjust_column_internal)
34438 (_IO_default_uflow_internal, _IO_default_finish_internal)
34439 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34440 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34441 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34442 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34443 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34444 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34445 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34446 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34447 (_IO_file_close_internal, _IO_file_close_it_internal)
34448 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34449 (_IO_file_init_internal, _IO_file_attach_internal)
34450 (_IO_file_fopen_internal, _IO_file_read_internal)
34451 (_IO_file_sync_internal, _IO_file_seek_internal)
34452 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34453 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34454 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34455 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34456 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34457 (_IO_list_all_internal, _IO_link_in_internal)
34458 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34459 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34460 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34461 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34462 (_IO_do_write_internal, _IO_padn_internal)
34463 (_IO_getline_info_internal, _IO_getline_internal)
34464 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34465 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34466 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34467 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34468 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34469 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34470 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34471 with libc_hidden_ver, remove use of INTUSE.
34472 * libio/genops.c: Likewise.
34473 * libio/freopen.c: Likewise.
34474 * libio/freopen64.c: Likewise.
34475 * libio/iofclose.c: Likewise.
34476 * libio/iofdopen.c: Likewise.
34477 * libio/iofflush.c: Likewise.
34478 * libio/iofflush_u.c: Likewise.
34479 * libio/iofgets.c: Likewise.
34480 * libio/iofgets_u.c: Likewise.
34481 * libio/iofopen.c: Likewise.
34482 * libio/iofopncook.c: Likewise.
34483 * libio/iofread.c: Likewise.
34484 * libio/iofread_u.c: Likewise.
34485 * libio/ioftell.c: Likewise.
34486 * libio/iofwrite.c: Likewise.
34487 * libio/iogetline.c: Likewise.
34488 * libio/iogets.c: Likewise.
34489 * libio/iogetwline.c: Likewise.
34490 * libio/iopadn.c: Likewise.
34491 * libio/iopopen.c: Likewise.
34492 * libio/ioseekoff.c: Likewise.
34493 * libio/ioseekpos.c: Likewise.
34494 * libio/iosetbuffer.c: Likewise.
34495 * libio/iosetvbuf.c: Likewise.
34496 * libio/ioungetc.c: Likewise.
34497 * libio/ioungetwc.c: Likewise.
34498 * libio/iovdprintf.c: Likewise.
34499 * libio/iovsprintf.c: Likewise.
34500 * libio/iovsscanf.c: Likewise.
34501 * libio/memstream.c: Likewise.
34502 * libio/obprintf.c: Likewise.
34503 * libio/oldfileops.c: Likewise.
34504 * libio/oldiofclose.c: Likewise.
34505 * libio/oldiofdopen.c: Likewise.
34506 * libio/oldiofopen.c: Likewise.
34507 * libio/oldiopopen.c: Likewise.
34508 * libio/oldstdfiles.c: Likewise.
34509 * libio/putc.c: Likewise.
34510 * libio/setbuf.c: Likewise.
34511 * libio/setlinebuf.c: Likewise.
34512 * libio/stdfiles.c: Likewise.
34513 * libio/strops.c: Likewise.
34514 * libio/vasprintf.c: Likewise.
34515 * libio/vscanf.c: Likewise.
34516 * libio/vsnprintf.c: Likewise.
34517 * libio/vswprintf.c: Likewise.
34518 * libio/wfiledoalloc.c: Likewise.
34519 * libio/wfileops.c: Likewise.
34520 * libio/wgenops.c: Likewise.
34521 * libio/wmemstream.c: Likewise.
34522 * libio/wstrops.c: Likewise.
34523 * libio/__fpurge.c: Likewise.
34524 * libio/__fsetlocking.c: Likewise.
34525 * assert/assert.c: Likewise.
34526 * debug/fgets_chk.c: Likewise.
34527 * debug/fgets_u_chk.c: Likewise.
34528 * debug/fread_chk.c: Likewise.
34529 * debug/fread_u_chk.c: Likewise.
34530 * debug/gets_chk.c: Likewise.
34531 * debug/obprintf_chk.c: Likewise.
34532 * debug/vasprintf_chk.c: Likewise.
34533 * debug/vdprintf_chk.c: Likewise.
34534 * debug/vsnprintf_chk.c: Likewise.
34535 * debug/vsprintf_chk.c: Likewise.
34536 * malloc/mtrace.c: Likewise.
34537 * misc/error.c: Likewise.
34538 * misc/syslog.c: Likewise.
34539 * stdio-common/asprintf.c: Likewise.
34540 * stdio-common/fxprintf.c: Likewise.
34541 * stdio-common/getw.c: Likewise.
34542 * stdio-common/isoc99_fscanf.c: Likewise.
34543 * stdio-common/isoc99_scanf.c: Likewise.
34544 * stdio-common/isoc99_vfscanf.c: Likewise.
34545 * stdio-common/isoc99_vscanf.c: Likewise.
34546 * stdio-common/isoc99_vsscanf.c: Likewise.
34547 * stdio-common/printf-prs.c: Likewise.
34548 * stdio-common/printf_fp.c: Likewise.
34549 * stdio-common/printf_fphex.c: Likewise.
34550 * stdio-common/printf_size.c: Likewise.
34551 * stdio-common/putw.c: Likewise.
34552 * stdio-common/scanf.c: Likewise.
34553 * stdio-common/sprintf.c: Likewise.
34554 * stdio-common/tmpfile.c: Likewise.
34555 * stdio-common/vfprintf.c: Likewise.
34556 * stdio-common/vfscanf.c: Likewise.
34557 * stdlib/strfmon_l.c: Likewise.
34558 * sunrpc/openchild.c: Likewise.
34559 * sunrpc/xdr_stdio.c: Likewise.
34560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34561 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34563 2012-05-24 Roland McGrath <roland@hack.frob.com>
34565 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34567 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34568 in the third column, to generate for the shared library an IFUNC
34569 that uses _dl_vdso_vsym.
34570 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34571 * Makeconfig (object-suffixes-noshared): New variable.
34573 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34574 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34575 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34576 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34579 * include/sys/time.h (__gettimeofday): Remove macro.
34580 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34581 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34583 (__gettimeofday): Add libc_hidden_def.
34584 (gettimeofday): Add libc_hidden_weak.
34585 * sysdeps/mach/gettimeofday.c: Likewise.
34586 * sysdeps/posix/gettimeofday.c: Likewise.
34587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34588 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34590 (__gettimeofday_internal): Remove strong_alias.
34591 (__gettimeofday): Add libc_hidden_def.
34592 (gettimeofday): Add libc_hidden_weak.
34593 * sysdeps/unix/syscalls.list (gettimeofday):
34594 Remove __gettimeofday_internal alias.
34596 2012-05-24 Daniel Jacobowitz <drow@false.org>
34597 H.J. Lu <hongjiu.lu@intel.com>
34600 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34601 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34602 (largebin_index_32_big): New.
34603 (largebin_index): Use it for 16-byte alignment.
34604 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34605 correction with front_misalign.
34607 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34635 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34636 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34638 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34642 * math/libm-test.inc (exp_test): Add test from bug 14036.
34643 (pow_test): Add test from bug 10846.
34645 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34647 (special_function): Do not include flags in test name.
34648 (parse_args): Likewise.
34649 * sysdeps/i386/fpu/libm-test-ulps: Update.
34650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34651 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34652 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34655 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34657 * math/libm-test.inc ("Philosophy"): Update comment about
34659 (UNDERFLOW_EXCEPTION): New macro.
34660 (UNDERFLOW_EXCEPTION_OK): Likewise.
34661 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34662 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34663 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34664 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34665 (INVALID_EXCEPTION_OK): Update value.
34666 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34667 (OVERFLOW_EXCEPTION_OK): Likewise.
34668 (IGNORE_ZERO_INF_SIGN): Likewise.
34669 (test_exceptions): Handle underflow exceptions.
34670 (acos_test): Update for underflow exception expectations.
34671 (cexp_test): Likewise.
34672 (clog_test): Likewise.
34673 (clog10_test): Likewise.
34674 (csqrt_test): Likewise.
34675 (ctan_test): Likewise.
34676 (ctanh_test): Likewise.
34677 (exp_test): Likewise.
34678 (exp10_test): Likewise.
34679 (exp2_test): Likewise.
34680 (expm1_test): Likewise.
34681 (fma_test): Likewise.
34682 (j0_test): Likewise.
34683 (jn_test): Likewise.
34684 (nexttoward_test): Likewise.
34685 (pow_test): Likewise.
34686 (scalbn_test): Likewise.
34687 (scalbln_test): Likewise.
34688 (tan_test): Likewise.
34689 (y1_test): Likewise.
34690 * sysdeps/i386/fpu/libm-test-ulps: Update.
34691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34693 2012-05-23 David S. Miller <davem@davemloft.net>
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34696 (__libc_sigaction): Remove unused local variables.
34698 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34700 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34702 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34704 mktime: avoid signed integer overflow
34705 * time/mktime.c (__mktime_internal): Do not mishandle the case
34706 where diff == INT_MIN.
34708 mktime: simplify computation of average
34709 * time/mktime.c (ranged_convert): Use new time_t_avg function
34710 instead of rolling our own (probably-slower) code.
34712 mktime: do not assume signed right shift propagates sign bit
34713 * time/mktime.c (isdst_differ): New static function.
34714 (__mktime_internal): No need to normalize tm_isdst now.
34715 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34718 mktime: merge another wrapv change from gnulib
34719 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34720 from some compilers.
34722 mktime: remove incorrect attempt at unusual arithmetics
34723 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34724 The code didn't really work on such machines anyway.
34725 (TYPE_MINIMUM): Assume two's complement.
34726 (twos_complement_arithmetic): Verify that long_int and time_t
34727 are two's complement (or unsigned, in the latter case).
34729 mktime: check signed shifts on long_int and time_t, too
34730 * time/mktime.c (SHR): Check that shifts work as desired
34731 on the types long_int and time_t too, as SHR is used on
34734 mktime: do not assume 'long' is wide enough
34735 * time/mktime.c (verify): Move decl up.
34736 (long_int): New type.
34737 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34738 to remove assumption in the code that 'long' is wide enough to
34739 store year values. This assumption is not true on x32 and on
34740 some non-glibc platforms.
34742 mktime: merge wrapv change from gnulib
34743 * time/mktime.c (WRAPV): New macro.
34744 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34745 (guess_time_tm, __mktime_internal): Do not assume that signed
34746 integer overflow wraps around; modern compilers generate code
34747 where this assumption is no longer valid.
34749 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34751 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34752 Replace "jmp L(pseudo_end)" with "ret".
34753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34756 2012-05-23 Andreas Jaeger <aj@suse.de>
34758 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34759 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34761 2012-05-23 Andreas Jaeger <aj@suse.de>
34762 Maximilian Attems <max@stro.at>
34764 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34767 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34770 code so that pseudo_end is just ret and the stack pointer is
34771 correct also for static library in error case.
34773 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34775 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34776 move to syscalls.list.
34777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34782 * manual/install.texi (Running make install): Do not mention Linux
34783 kernel version for which pt_chown is not needed.
34784 (Linux): Do not mention problems with nscd with 2.0 kernels.
34785 * INSTALL: Regenerated.
34787 2012-05-23 Andreas Jaeger <aj@suse.de>
34789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34790 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34792 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34794 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34796 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34797 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34799 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34801 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34802 * sysdeps/unix/sysv/linux/bits/in.h
34803 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34805 2012-05-22 Roland McGrath <roland@hack.frob.com>
34807 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34808 (PREPARE_VERSION): Just use assert instead, it will be elided
34809 under [NDEBUG] anyway.
34811 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34813 * sysdeps/unix/sysv/linux/Makefile: Include
34814 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34815 (sysdep_routines): Remove sysctl.
34816 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34817 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34818 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34819 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34820 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34822 2012-05-22 Andreas Jaeger <aj@suse.de>
34824 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34825 that pseudo_end is just ret and the stack pointer is correct also
34826 for static library in error case.
34828 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34831 * nss/nsswitch.c (defconfig_entries): New variable.
34832 (__nss_database_lookup): Don't leak defconfig entries.
34833 (nss_parse_service_list): Don't leak on error paths.
34834 (free_database_entries): New function.
34835 (free_defconfig): New function.
34836 (free_mem): Move common code to free_database_entries.
34838 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34842 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34844 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34845 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34848 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34849 (INTERNAL_SYSCALL_TYPES): Likewise.
34850 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34851 (LOAD_REGS_TYPES_[1-6]): Likewise.
34852 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34853 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34855 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34858 copysignl for GLIBC_2_0.
34859 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34860 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34862 logbl for GLIBC_2_0.
34863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34864 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34866 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34869 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34871 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34874 * time/mktime.c: Update copyright years.
34876 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34878 mktime: merge comment-quoting-style change from gnulib
34879 * time/mktime.c: Quote 'like this' in comments.
34880 The GNU coding standards suggest that we no longer quote `like this',
34881 as "`" and "'" are typically rendered asymmetrically nowadays.
34882 The typical gnulib style is to quote 'like this' when quoting
34883 code, and "like this" when quoting English.
34885 * time/mktime.c (compile-command): Add "-I.".
34887 mktime: merge mktime-internal.h change from gnulib
34888 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34890 mktime: merge time_r change from gnulib
34891 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34893 mktime: merge DEBUG change from gnulib
34894 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34895 case system <time.h> has a #define.
34897 mktime: merge <sys/types.h> change from gnulib
34898 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34899 since <time.t> is now guaranteed to define time_t.
34901 mktime: merge HAVE_CONFIG_H change from gnulib
34902 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34904 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34909 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34911 (struct rusage): Use anonymous union to pad each field to
34914 2012-05-21 David S. Miller <davem@davemloft.net>
34916 * Makefules (o-iterator): Remove .s cases.
34917 (compile-command.s): Delete.
34918 (COMPILE.s): Delete.
34919 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34921 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34923 * configure.in (libc_cv_predef_stack_protector): Only consider
34924 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34925 * configure: Regenerated.
34927 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34930 New macro. Use R*LP on int and pointer.
34931 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34932 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34933 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34934 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34936 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34937 [__WORDSIZE_TIME64_COMPAT32] instead of
34938 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34939 (struct utmp): Likewise.
34940 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34941 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34943 (__WORDSIZE_TIME64_COMPAT32): This.
34944 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34945 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34946 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34947 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34948 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34949 (__WORDSIZE_TIME64_COMPAT32): New macro.
34951 2012-05-21 Andreas Jaeger <aj@suse.de>
34953 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34954 only if [SHARED]. Add prototype for __wcschr_ia32.
34956 2012-05-21 Roland McGrath <roland@hack.frob.com>
34958 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34959 of %rbp unmolested in the jmp_buf while mangling the low bits.
34960 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34961 unmolested high bits of %rbp while demangling the low bits.
34962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34964 2012-05-21 Andreas Jaeger <aj@suse.de>
34966 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34967 * sunrpc/svc_simple.c: Use it for registerrpc.
34968 * sunrpc/xcrypt.c: Use it for passwd2des.
34970 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34972 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34974 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34975 Don't define if [__SYSCALL_WORDSIZE != 32].
34976 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34979 2012-05-21 Bruno Haible <bruno@clisp.org>
34980 Andreas Jaeger <aj@suse.de>
34982 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34983 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34984 inptr and inend for must_buffer_ch.
34985 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34986 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34987 * stdio-common/Makefile (tests): Remove bug15.
34988 (bug15-ENV): Remove macro.
34989 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34992 2012-05-19 Andreas Jaeger <aj@suse.de>
34993 Roland McGrath <roland@hack.frob.com>
34995 * manual/contrib.texi: Completely rewritten. It contains now an
34996 alphabetical list of contributors and their contributions.
34998 2012-05-21 Richard Henderson <rth@twiddle.net>
35000 * misc/getauxval.c (__getauxval): Use unsigned long int.
35001 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35002 (getauxval): Use unsigned long int.
35004 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35006 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35008 2012-05-21 Roland McGrath <roland@hack.frob.com>
35010 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35011 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35012 __alignof__ (long double).
35014 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35018 2012-05-20 Richard Henderson <rth@twiddle.net>
35020 * misc/getauxval.c: New file.
35021 * misc/sys/auxv.h: New file.
35022 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35023 (routines): Add getauxval.
35024 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35025 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35026 * elf/dl-sysdep.c (_dl_auxv): Remove.
35027 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35028 * elf/dl-support.c (_dl_auxv): New variable.
35029 (_dl_aux_init): Initialize it.
35030 * manual/startup.texi (Auxiliary Vector): New node.
35031 * sysdeps/generic/bits/hwcap.h: New file.
35032 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35033 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35034 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35035 * sysdeps/sparc/sysdep.h: ... here. Include it.
35036 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35049 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35053 2012-05-19 David S. Miller <davem@davemloft.net>
35055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35057 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35060 * math/s_ccosh.c: Include <float.h>
35061 (__ccosh): Avoid internal overflow calculating sinh and cosh
35062 values before multiplying by sin and cos values.
35063 * math/s_ccoshf.c: Likewise.
35064 * math/s_ccoshl.c: Likewise.
35065 * math/s_csin.c: Likewise.
35066 * math/s_csinf.c: Likewise.
35067 * math/s_csinl.c: Likewise.
35068 * math/s_csinh.c: Likewise.
35069 * math/s_csinhf.c: Likewise.
35070 * math/s_csinhl.c: Likewise.
35071 * math/libm-test.inc (ccos_test): Add more tests.
35072 (ccosh_test): Likewise.
35073 (csin_test): Likewise.
35074 (csinh_test): Likewise.
35075 * sysdeps/i386/fpu/libm-test-ulps: Update.
35076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35080 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35081 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35083 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35085 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35087 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35088 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35089 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35090 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35091 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35092 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35093 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35094 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35095 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35096 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35097 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35098 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35099 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35100 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35101 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35102 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35103 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35104 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35105 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35106 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35107 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35108 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35109 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35110 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35111 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35112 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35113 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35114 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35115 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35116 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35117 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35119 2012-05-18 Andreas Jaeger <aj@suse.de>
35121 * csu/.gitignore: Delete.
35123 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35125 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35126 (timex): Use __syscall_slong_t.
35128 2012-05-18 Andreas Jaeger <aj@suse.de>
35129 Carlos O'Donell <carlos_odonell@mentor.com>
35131 * manual/install.texi (Configuring and compiling): Update
35132 description about files modified in the source directory.
35133 * INSTALL: Regenerated.
35135 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35137 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35138 value. Use "or" to set return value to -1.
35139 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35140 negate return value.
35142 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35144 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35145 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35146 failure if the compiler has Graphite support disabled.
35147 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35149 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35150 (CFLAGS-memmove.c): Likewise.
35151 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35154 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35156 * sysdeps/x86_64/x32/_itoa.h: New file.
35158 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35159 getdents system call only if kernel and user dirents have the
35160 same d_ino and d_off.
35162 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35163 LLONG_MAX != LONG_MAX.
35164 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35165 (_fitoa_word): Likewise.
35167 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35170 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35173 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35174 include <bits/wordsize.h>. Check __x86_64__ instead of
35176 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35177 if __x86_64__ is defined. Use anonymous union on fpstate.
35179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35182 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35184 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35185 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35187 Refer to _rtld_local_ro instead of _rtld_global_ro.
35188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35190 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35192 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35194 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35195 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35196 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35198 * sysdeps/powerpc/powerpc32/dl-machine.c
35199 (__elf_machine_runtime_setup) [PROF]: Don't reference
35202 2012-05-18 Andreas Jaeger <aj@suse.de>
35204 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35205 function only available for GCCs before 3.4 since GCC 3.4
35206 introduced a builtin.
35208 (llrintf): Likewise.
35209 (llrint): Likewise.
35216 (nearbyint): Likewise.
35217 (nearbyintf): Likewise.
35221 (floorf): Likewise.
35223 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35225 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35226 on both fields and cast pointer to __syscall_ulong_t.
35228 * bits/types.h (__fsword_t): New type.
35229 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35230 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35232 (__FSWORD_T_TYPE): Likewise.
35233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35234 (__FSWORD_T_TYPE): Likewise.
35235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35236 (__FSWORD_T_TYPE): Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35238 (__FSWORD_T_TYPE): Likewise.
35239 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35240 __SWORD_TYPE with __fsword_t.
35241 (statfs64): Likewise.
35243 2012-05-17 David S. Miller <davem@davemloft.net>
35245 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35247 2012-05-17 Andreas Jaeger <aj@suse.de>
35249 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35252 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35254 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35256 2012-05-17 Andreas Jaeger <aj@suse.de>
35258 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35261 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35263 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35265 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35267 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35268 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35270 2012-05-17 Andreas Jaeger <aj@suse.de>
35271 Carlos O'Donell <carlos_odonell@mentor.com>
35274 * sysdeps/x86_64/multiarch/init-arch.h
35275 (bit_YMM_Usable): Rename to...
35276 (bit_AVX_Usable): ... this.
35277 (bit_FMA4_Usable): New macro.
35278 (bit_XMM_state): New macro.
35279 (bit_YMM_state): New macro.
35280 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35281 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35282 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35283 (CPUID_OSXSAVE): New macro.
35284 (CPUID_AVX): New macro.
35285 (CPUID_FMA4): New macro.
35286 (index_YMM_Usable): Rename to...
35287 (index_AVX_Usable): ... this.
35288 (HAS_AVX): Use HAS_ARCH_FEATURE.
35289 (HAS_FMA4): Likewise.
35290 (HAS_YMM_USABLE): Remove.
35291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35292 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35294 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35295 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35296 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35297 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35298 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35300 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35302 * math/libm-test.c: Support platforms without multiple rounding modes.
35303 * math/bug-nextafter.c: Support platforms without FP exceptions.
35304 * math/bug-nexttoward.c: Likewise.
35305 * math/test-fenv.c: Likewise.
35306 * math/test-misc.c: Likewise.
35307 * stdlib/bug-getcontext.c: Likewise.
35309 2012-05-17 Andreas Jaeger <aj@suse.de>
35311 * manual/examples/search.c (critter_cmp): Change signature to
35313 * manual/string.texi (Collation Functions): Likewise.
35315 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35317 * bits/types.h: Fold copyright years.
35318 * bits/typesizes.h: Likewise.
35319 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35323 * time/time.h: Likewise.
35325 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35328 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35329 in instead of returning them. Return void.
35330 (__libc_mallinfo): Accumulate over all arenas.
35331 (__malloc_stats): Adjust for change in int_mallinfo interface.
35333 2012-05-16 Roland McGrath <roland@hack.frob.com>
35336 * configure.in (NM): Add AC_CHECK_TOOL for it.
35337 (libc_extra_cflags): New substituted variable.
35338 Check for -fstack-protector being used implicitly.
35339 * configure: Regenerated.
35340 * config.make.in (config-extra-cflags): New variable,
35341 gets @libc_extra_cflags@.
35342 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35345 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35346 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35347 * configure: Regenerated.
35348 * config.make.in (CPPUNDEFS): New substituted variable.
35349 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35350 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35351 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35353 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35355 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35356 (mq_attr): Use __syscall_slong_t.
35358 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35360 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35361 Check __x86_64__ instead of __WORDSIZE.
35362 (_STAT_VER_LINUX): Likewise.
35363 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35364 __syscall_ulong_t and __syscall_slong_t.
35365 (stat64): Likewise.
35367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35371 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35373 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35375 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35377 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35380 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35381 include <bits/wordsize.h>. Check __x86_64__ instead of
35383 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35385 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35387 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35388 include <bits/wordsize.h>. Check __x86_64__ instead of
35390 (user_regs_struct): Use "__extension__ unsigned long long"
35391 instead of "unsigned long" if __x86_64__ is defined.
35392 (user): Likewise. Pad after pointer field if __ILP32__ is
35395 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35397 * configure.in (makeinfo): Require version 4.5 or later. Allow
35399 * configure: Regenerated.
35400 * manual/install.texi (texinfo): Increase version requirement to
35402 * INSTALL: Regenerated.
35404 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35406 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35408 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35410 * sysdeps/x86_64/x32/ffs.c: New file.
35412 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35414 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35415 defined. Use __syscall_ulong_t.
35416 (shminfo): Use __syscall_ulong_t.
35417 (shm_info): Likewise.
35419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35422 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35424 (msgqnum_t): Use __syscall_ulong_t.
35425 (msglen_t): Likewise.
35426 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35429 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35430 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35432 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35434 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35435 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35437 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35440 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35441 include <bits/wordsize.h>. Check __x86_64__ instead of
35444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35445 "unsigned long long int" if __x86_64__ is defined.
35446 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35448 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35450 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35452 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35454 (GET_PC): Cast to uintptr_t first.
35455 (GET_FRAME): Likewise.
35456 (GET_STACK): Likewise.
35458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35461 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35463 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35464 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35465 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35466 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35468 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35471 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35472 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35474 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35484 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35486 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35488 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35490 * Makerules (+depfiles): Also collect depfiles from .oS in
35492 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35493 .oS, $(libnldbl-routines)).
35495 * Makerules (native-compile-mkdep-flags): Define.
35496 * sunrpc/Makefile (extra-objs): Add $(addprefix
35497 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35498 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35499 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35500 calling $(make-target-directory).
35502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35504 * bits/types.h (__snseconds_t): Removed.
35505 * time/time.h (struct timespec): Replace __snseconds_t with
35507 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35508 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35511 (__SNSECONDS_T_TYPE): Likewise.
35512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35513 (__SNSECONDS_T_TYPE): Likewise.
35514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35515 (__SNSECONDS_T_TYPE): Likewise.
35517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35519 * sysdeps/mach/hurd/bits/typesizes.h
35520 (__SYSCALL_SLONG_TYPE): New macro.
35521 (__SYSCALL_ULONG_TYPE): Likewise.
35523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35525 * bits/types.h (__syscall_slong_t): New type.
35526 (__syscall_ulong_t): Likewise.
35528 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35529 (__SYSCALL_ULONG_TYPE): Likewise.
35530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35531 (__SYSCALL_SLONG_TYPE): Likewise.
35532 (__SYSCALL_ULONG_TYPE): Likewise.
35533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35534 (__SYSCALL_SLONG_TYPE): Likewise.
35535 (__SYSCALL_ULONG_TYPE): Likewise.
35536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35537 (__SYSCALL_SLONG_TYPE): Likewise.
35538 (__SYSCALL_ULONG_TYPE): Likewise.
35540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35542 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35543 Add sigaltstack-offsets.sym.
35544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35545 <sigaltstack-offsets.h>.
35546 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35547 longjmp_msg pointer.
35548 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35549 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35551 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35553 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35555 * elf/stackguard-macros.h: Remove file.
35556 * sysdeps/generic/stackguard-macros.h: New file.
35557 * sysdeps/i386/stackguard-macros.h: Likewise.
35558 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35559 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35560 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35561 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35562 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35563 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35564 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35565 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35566 <elf/stackguard-macros.h>.
35569 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35570 __aligned__ in attribute.
35571 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35572 (gregset_t): Likewise.
35574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35576 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35577 * sysdeps/x86_64/64/Implies-after: Here. New file.
35578 * sysdeps/x86_64/x32/Implies-after: New file.
35580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35582 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35583 and access return value for _dl_profile_fixup. Use R10_LP to
35586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35588 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35592 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35593 * sysdeps/x86_64/x32/sysdep.h: New file.
35595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35597 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35598 * sysdeps/x86_64/setjmp.S: Likewise.
35600 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35604 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35606 remove unused global constant.
35608 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35610 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35611 include of <not-cancel.h>.
35613 2012-05-15 Roland McGrath <roland@hack.frob.com>
35615 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35617 2012-05-15 Jeff Law <law@redhat.com>
35618 Andreas Jaeger <aj@suse.de>
35621 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35623 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35624 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35625 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35626 code changing __hst_map_handle.map.
35628 2012-05-15 Roland McGrath <roland@hack.frob.com>
35630 * configure.in (sysnames): Look for Implies-before and Implies-after
35632 * configure: Regenerated.
35634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35636 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35637 8-byte data alignment with LP_SIZE alignment.
35639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35641 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35646 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35651 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35652 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35658 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35659 (stackinfo_sub_sp): Likewise.
35661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35668 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35678 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35682 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35683 into R11_LP and load __x86_64_shared_cache_size_half into
35686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35691 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35700 powerpc32/power7/fpu/s_logb.c via #include.
35701 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35702 powerpc32/power7/fpu/s_logbf.c via #include.
35703 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35704 powerpc32/power7/fpu/s_logbl.c via #include.
35706 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35708 * README.libm: Remove file.
35710 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35712 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35713 count for x32. Use R*_LP and omit operand-size suffix.
35715 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35717 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35718 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35719 * sysdeps/x86_64/x32/shlib-versions: New file.
35721 2012-05-14 Roland McGrath <roland@hack.frob.com>
35723 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35724 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35725 Use _dl_fatal_printf instead.
35727 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35729 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35730 set if not set by the user. Do not allow for being unset.
35731 * sysdeps/unix/sysv/linux/configure: Regenerated.
35733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35735 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35736 the `q' suffix from lea and replace .quad with ASM_ADDR.
35738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35741 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35743 (PTR_DEMANGLE): Likewise.
35745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35747 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35749 (ASM_ADDR): Likewise.
35750 (RAX_LP): Likewise.
35751 (RBP_LP): Likewise.
35752 (RBX_LP): Likewise.
35753 (RCX_LP): Likewise.
35754 (RDI_LP): Likewise.
35755 (RSI_LP): Likewise.
35756 (RSP_LP): Likewise.
35759 (R10_LP): Likewise.
35760 (R10_LP): Likewise.
35761 (R11_LP): Likewise.
35762 (R12_LP): Likewise.
35763 (R13_LP): Likewise.
35764 (R14_LP): Likewise.
35765 (R15_LP): Likewise.
35767 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35769 * sysdeps/x86_64/x32/dl-machine.h: New file.
35771 2012-05-14 Andreas Jaeger <aj@suse.de>
35773 * manual/Makefile (subdir): Remove export of subdir.
35774 (all): Remove target.
35775 (.PHONY): Remove all from list.
35776 (mkinstalldirs): Remove.
35777 (.PHONY): Remove installdirs from list.
35778 ($(inst_infodir)/libc.info): Use make-target-directory.
35779 (installdirs): Remove.
35780 (subdir_%): Remove.
35781 (glibc-targets): Remove.
35784 ($(objpfx)stubs ../po/manual.pot): Remove.
35785 ($(objpfx)stamp%): Remove.
35786 (make-target-directory): Remove.
35787 (subdir_install): Remove.
35788 (routines): Remove.
35795 * manual/.gitignore: Remove, it's not needed anymore.
35796 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35798 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35800 (texis): Renamed to $(objpfx)texis.
35801 (texis-path): New, contains path to generated files.
35802 (chapters.%): Use texis-path for complete path, add extra argument
35804 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35805 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35806 (summary,texi, stamp-summary): Use complete path of
35807 files. Generate files in build dir.
35808 (dir-add.texi): Build in build dir.
35809 (libm-err.texi,stamp-libm-err): Likewise.
35810 (version.texi, stamp-version): Likewise.
35811 (.%c.texi): Likewise.
35812 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35813 (mostlyclean): Remove target.
35814 (realclean): Remove target.
35815 (generated): Add new variable with contents from mostlyclean and
35816 realclean, remove entries duplicated in common-mostlyclean, add
35817 stamp-libm-err and stamp-version.
35818 (generated-dirs): Add libc directory.
35819 ($(inst_infodir)/libc.info): Install files from build dir.
35821 * manual/install.texi (Configuring and compiling): Adjust since
35822 the info files are not part of the tar ball anymore.
35824 2012-05-14 Andreas Jaeger <aj@suse.de>
35826 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35829 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35833 to 2.2.0 where earlier.
35834 * sysdeps/unix/sysv/linux/configure: Regenerated.
35835 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35836 Remove conditional code.
35837 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35838 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35839 Remove conditional code.
35840 [!__NR_lchown]: Likewise.
35841 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35842 [__NR_lchown]: Likewise.
35843 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35844 comment referencing __ASSUME_LCHOWN_SYSCALL.
35845 * sysdeps/unix/sysv/linux/i386/sigaction.c
35846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35848 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35849 Remove conditional code.
35850 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35851 (__protocol_available): Remove #if 0 code.
35852 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35854 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35855 * sysdeps/unix/sysv/linux/kernel-features.h
35856 (__ASSUME_GETCWD_SYSCALL): Don't define.
35857 (__ASSUME_REALTIME_SIGNALS): Likewise.
35858 (__ASSUME_PREAD_SYSCALL): Likewise.
35859 (__ASSUME_PWRITE_SYSCALL): Likewise.
35860 (__ASSUME_POLL_SYSCALL): Likewise.
35861 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35862 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35864 (__ASSUME_SIOCGIFNAME): Don't define.
35865 (__ASSUME_MSG_NOSIGNAL): Likewise.
35866 (__ASSUME_SENDFILE): Define unconditionally.
35867 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35868 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35870 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35871 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35872 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35873 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35874 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35875 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35876 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35881 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35887 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35893 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35899 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35901 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35902 Remove conditional code.
35903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35904 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35905 Remove conditional code.
35906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35907 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35908 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35909 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35910 Remove conditional code.
35911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35912 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35913 Remove conditional code.
35914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35915 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35916 Remove conditional code.
35917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35918 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35919 Remove conditional code.
35920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35921 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35922 Remove conditional code.
35923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35924 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35927 * sysdeps/unix/sysv/linux/sigaction.c
35928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35930 * sysdeps/unix/sysv/linux/sigpending.c
35931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35933 * sysdeps/unix/sysv/linux/sigprocmask.c
35934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35936 * sysdeps/unix/sysv/linux/sigsuspend.c
35937 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35938 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35939 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35940 (__libc_missing_rt_sigs): Remove.
35941 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35942 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35943 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35944 Remove conditional code.
35945 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35946 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35949 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35950 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35951 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35953 2012-05-14 Andreas Jaeger <aj@suse.de>
35955 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35956 it's not used in glibc.
35957 (__coshm1): Likewise.
35958 (__acosh1p): Likewise.
35961 * manual/string.texi (Copying and Concatenation): Add missing
35962 variable in concat example.
35963 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35969 __builtin_clzl with __builtin_clzll.
35971 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35974 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35977 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35979 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35980 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35981 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35984 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35986 * NEWS: Update ia64 info.
35988 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35990 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35993 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35995 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35996 * sysdeps/unix/syscalls.list (dup3): Likewise.
35997 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35998 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36000 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36002 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36003 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36005 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36007 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36009 (TLS_IE): Use mov/add instead of movq/addq to load thread
36011 (TLS_GD_PREFIX): New.
36014 2012-05-11 David S. Miller <davem@davemloft.net>
36016 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36017 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36018 (_FPU_SETCW): Likewise.
36020 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36022 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36023 is 32-byte aligned.
36025 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36028 * iconvdata/gb18030.c: Update tables.
36029 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36030 characters specially.
36031 (BODY for TO_LOOP): Add encoding of missing ranges.
36033 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36036 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36037 * sysdeps/mach/hurd/dup3.c: Likewise.
36038 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36039 * sysdeps/powerpc/memmove.c:: Likewise.
36041 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36044 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36046 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36048 * elf/elf.h (R_X86_64_RELATIVE64): New.
36049 (R_X86_64_NUM): Updated.
36050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36051 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36052 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36053 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36054 tst-quad1pie tst-quad2pie
36055 (modules-names): Add tst-quadmod1 tst-quadmod2.
36056 ($(objpfx)tst-quad1): New dependency.
36057 ($(objpfx)tst-quad2): Likewise.
36058 ($(objpfx)tst-quad1pie): Likewise.
36059 ($(objpfx)tst-quad2pie): Likewise.
36060 * sysdeps/x86_64/tst-quad1.c: New file.
36061 * sysdeps/x86_64/tst-quad1pie.c: New file.
36062 * sysdeps/x86_64/tst-quad2.c: Likewise.
36063 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36064 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36065 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36066 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36067 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36069 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36071 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36072 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36073 * streams/stropts.h (t_scalar_t): Define type.
36075 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36076 (_PATH_PRESERVE): Set to "/var/lib".
36077 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36079 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36082 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36083 if __dir_mkfile succeeded.
36085 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36086 checking for _hurd_dtablesize. Unlock it right after having
36087 finished _hurd_dtable allocation.
36089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36091 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36092 * sysdeps/mach/hurd/configure: Regenerated.
36093 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36094 special-casing to...
36095 * sysdeps/gnu/configure.in: ... this new file.
36096 * sysdeps/unix/sysv/linux/configure: Regenerated.
36097 * sysdeps/gnu/configure: New generated file.
36099 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36100 for Linux: use nsec instead of usec, as well as:
36101 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36102 members of type struct timespec.
36103 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36105 (struct stat64): Likewise.
36106 (_STATBUF_ST_NSEC): New macro.
36107 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36110 __strtoul_internal rather than strtoul.
36112 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36114 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36119 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36120 which preserves existing values.
36121 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36123 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36125 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36126 TIMEOUT values. Return EINVAL for NFDS values either negative or
36127 greater than FD_SETSIZE.
36129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36131 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36132 allocated, call __vm_protect to finish enabling the existing space, and
36133 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36134 allocate the remainder.
36136 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36138 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36139 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36143 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36144 sysdeps/mach/hurd/readlink.c.
36146 * posix/tst-sysconf.c (posix_options): Only use
36147 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36148 _POSIX_SYNCHRONIZED_IO when they are defined
36149 * sysdeps/mach/hurd/bits/posix_opt.h:
36150 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36151 (_XOPEN_REALTIME): Undefine macro.
36152 (_XOPEN_REALTIME_THREADS): Undefine macro.
36153 (_XOPEN_SHM): Undefine macro.
36154 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36156 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36158 (_POSIX_ASYNC_IO): Undefine macro.
36159 (_POSIX_PRIORITIZED_IO): Undefine macro.
36160 (_POSIX_SPIN_LOCKS): Define macro to -1.
36162 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36163 SA_NODEFER, SA_RESETHAND.
36164 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36165 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36170 * elf/Makefile (pldd-modules): Define unconditionally.
36172 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36174 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36178 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36179 Return ENOENT when name is empty.
36180 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36184 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36186 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36190 Fix mlock in all cases except non-readable pages.
36191 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36192 instead of VM_PROT_ALL as parameter to __vm_wire function.
36194 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36195 (__mkdir): When path is `/', just fail with EEXIST.
36196 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36198 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36200 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36201 <sys/uio.h> (for writev).
36202 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36203 and <sys/param.h> (for MIN).
36205 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36207 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36208 REQUESTED_TIME. Properly set the remaining time and return EINTR
36211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36213 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36214 Depend on against $(link-rpcuserlibs).
36216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36218 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36219 (__libc_stack_end): Do not use attribute_relro.
36220 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36221 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36222 to libthread-provided value.
36223 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36229 * bits/libc-lock.h (__libc_once_get): New macro.
36230 * sysdeps/mach/bits/libc-lock.h: Likewise.
36231 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36233 instead of using implementation details.
36235 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36236 * libio/freopen.c: Likewise.
36237 * libio/freopen64.c: Likewise.
36238 * misc/syslog.c: Likewise.
36239 * nscd/connections.c: Likewise.
36240 * nscd/netgroupcache.c: Likewise.
36241 * sysdeps/posix/getcwd.c: Likewise.
36243 2012-05-10 Roland McGrath <roland@hack.frob.com>
36245 * math/w_ilogbf.c: Add #include <limits.h>.
36247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36249 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36250 path instead of returning without unlocking.
36252 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36253 immediate-write ioctls.
36254 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36256 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36258 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36259 __builtin_frame_address instead of making assumptions about the
36260 location of the return address relative to DATA. Force early load of
36261 the return address.
36262 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36263 __builtin_frame_address.
36266 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36267 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36268 implement dup3 and do some further code clean-ups.
36269 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36270 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36274 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36276 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36277 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36278 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36279 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36280 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36283 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36284 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36285 when handler == SIG_ERR, not when handler != SIG_ERR.
36287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36289 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36290 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36293 accept4 for GNU Hurd.
36294 * include/sys/socket.h (__libc_accept4): New prototype.
36295 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36296 to implement __libc_accept4.
36297 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36299 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36301 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36302 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36303 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36304 signal-defines.sym.
36306 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36308 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36310 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36312 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36313 assertion on O_CLOEXEC flag.
36314 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36315 * hurd/intern-fd.c: Likewise.
36316 * hurd/port2fd.c: Likewise.
36318 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36321 * bits/in.h (IPV6_PKTINFO): Define new macro.
36322 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36324 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36329 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36331 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36334 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36335 * math/libm-test.inc (logb_test) : Additional logb tests.
36337 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36338 Andreas Jaeger <aj@suse.de>
36340 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36341 * configure: Regenerated.
36342 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36343 * config.make.in (link-obsolete-rpc): New substituted variable.
36344 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36345 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36346 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36347 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36348 so that libc.a contains the symbols.
36349 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36350 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36351 * sunrpc/auth_none.c: Likewise.
36352 * sunrpc/auth_unix.c: Likewise.
36353 * sunrpc/authdes_prot.c: Likewise.
36354 * sunrpc/authuxprot.c: Likewise.
36355 * sunrpc/clnt_gen.c: Likewise.
36356 * sunrpc/clnt_perr.c: Likewise.
36357 * sunrpc/clnt_raw.c: Likewise.
36358 * sunrpc/clnt_simp.c: Likewise.
36359 * sunrpc/clnt_tcp.c: Likewise.
36360 * sunrpc/clnt_udp.c: Likewise.
36361 * sunrpc/clnt_unix.c: Likewise.
36362 * sunrpc/des_crypt.c: Likewise.
36363 * sunrpc/des_soft.c: Likewise.
36364 * sunrpc/get_myaddr.c: Likewise.
36365 * sunrpc/key_call.c: Likewise.
36366 * sunrpc/key_prot.c: Likewise.
36367 * sunrpc/netname.c: Likewise.
36368 * sunrpc/pm_getmaps.c: Likewise.
36369 * sunrpc/pm_getport.c: Likewise.
36370 * sunrpc/pmap_clnt.c: Likewise.
36371 * sunrpc/pmap_prot.c: Likewise.
36372 * sunrpc/pmap_prot2.c: Likewise.
36373 * sunrpc/pmap_rmt.c: Likewise.
36374 * sunrpc/publickey.c: Likewise.
36375 * sunrpc/rpc_cmsg.c: Likewise.
36376 * sunrpc/rpc_common.c: Likewise.
36377 * sunrpc/rpc_dtable.c: Likewise.
36378 * sunrpc/rpc_prot.c: Likewise.
36379 * sunrpc/rpc_thread.c: Likewise.
36380 * sunrpc/rtime.c: Likewise.
36381 * sunrpc/svc.c: Likewise.
36382 * sunrpc/svc_auth.c: Likewise.
36383 * sunrpc/svc_raw.c: Likewise.
36384 * sunrpc/svc_run.c: Likewise.
36385 * sunrpc/svc_tcp.c: Likewise.
36386 * sunrpc/svc_udp.c: Likewise.
36387 * sunrpc/svc_unix.c: Likewise.
36388 * sunrpc/svcauth_des.c: Likewise.
36389 * sunrpc/xcrypt.c: Likewise.
36390 * sunrpc/xdr.c: Likewise.
36391 * sunrpc/xdr_array.c: Likewise.
36392 * sunrpc/xdr_float.c: Likewise.
36393 * sunrpc/xdr_intXX_t.c: Likewise.
36394 * sunrpc/xdr_mem.c: Likewise.
36395 * sunrpc/xdr_rec.c: Likewise.
36396 * sunrpc/xdr_ref.c: Likewise.
36397 * sunrpc/xdr_sizeof.c: Likewise.
36398 * sunrpc/xdr_stdio.c: Likewise.
36400 2012-05-10 Roland McGrath <roland@hack.frob.com>
36402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36403 change. Update copyright years.
36405 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36407 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36409 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36410 Joseph Myers <joseph@codesourcery.com>
36411 Paul Pluzhnikov <ppluzhnikov@google.com>
36414 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36416 [cross-compiling] (extra-libs): Likewise.
36417 [cross-compiling] (extra-libs-others): Likewise.
36418 [cross-compiling] (librpcsvc-routines): Likewise.
36419 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36420 [cross-compiling] (omit-deps): Likewise.
36421 (sunrpc-CPPFLAGS): New variable.
36422 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36423 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36424 (cross-rpcgen-objs): New variable.
36425 (extra-objs): Append $(cross-rpcgen-objs).
36426 ($(cross-rpcgen-objs)): New rule.
36427 ($(objpfx)cross-rpcgen): Likewise.
36428 (rpcgen-cmd): Define to use $(built-program-file). Expand
36430 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36431 ($(objpfx)x%.stmp): Likewise.
36432 * sunrpc/proto.h [IS_IN_build] (_): Define.
36433 [IS_IN_build] (_libc_intl_domainname): Likewise.
36435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36438 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36439 and R_X86_64_TPOFF64.
36441 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36443 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36444 sysdeps/unix/sysv/syscalls.list.
36447 * sysdeps/unix/sysv/syscalls.list: Remove file.
36449 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36452 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36453 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36454 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36455 (__LC_IDENTIFICATION): Make these macros useful in #if
36456 expressions, as required by C99.
36458 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36460 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36461 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36464 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36466 * stdlib/longlong.h: Updated from GCC.
36468 2012-05-09 Andreas Jaeger <aj@suse.de>
36470 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36471 default is first entry.
36472 (run_mode): Set type.
36473 (main): Remove informal message about syslog.
36474 (options): Fix typo.
36477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36480 (llrintf): Likewise.
36481 (llrint): Likewise.
36484 (nearbyint): Likewise.
36485 (nearbyintf): Likewise.
36487 2012-05-09 Andreas Jaeger <aj@suse.de>
36488 Pedro Alves <palves@redhat.com>
36490 * nscd/nscd.c (run_mode): Use enum.
36491 (main): Cleanup coding style issue.
36493 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36494 Andreas Jaeger <aj@suse.de>
36496 * nscd/nscd.c (go_background): Replaced with...
36497 (run_mode): ... this.
36498 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36499 (options): Add -F --foreground.
36500 (main): Implement it.
36501 (parse_opt): Parse it.
36503 2012-05-09 Andreas Jaeger <aj@suse.de>
36506 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36507 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36508 -Wconversion warning.
36509 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36512 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36514 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36516 (LC_ALL): Use macro-int-constant.
36517 (LC_COLLATE): Likewise.
36518 (LC_CTYPE): Likewise.
36519 (LC_MESSAGES): Likewise.
36520 (LC_MONETARY): Likewise.
36521 (LC_NUMERIC): Likewise.
36522 (LC_TIME): Likewise.
36523 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36524 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36526 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36528 [C99-based standards] (float_t): Expect type.
36529 [C99-based standards] (double_t): Expect type.
36530 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36532 [C99-based standards] (HUGE_VALL): Likewise.
36533 [C99-based standards] (INFINITY): Likewise.
36534 [C99-based standards] (NAN): Likewise.
36535 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36536 [C99-based standards] (FP_NAN): Likewise.
36537 [C99-based standards] (FP_NORMAL): Likewise.
36538 [C99-based standards] (FP_SUBNORMAL): Likewise.
36539 [C99-based standards] (FP_ZERO): Likewise.
36540 [C99-based standards] (FP_FAST_FMA): Use
36541 optional-macro-int-constant. Specify type. Require == 1.
36542 [C99-based standards] (FP_FAST_FMAF): Likewise.
36543 [C99-based standards] (FP_FAST_FMAL): Likewise.
36544 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36545 [C99-based standards] (FP_ILOGBNAN): Likewise.
36546 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36548 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36549 [C99-based standards] (math_errhandling): Specify type.
36550 [ISO99 || ISO11] (signgam): Do not allow.
36551 [non-C99-based standards] (copysignf): Do not allow.
36552 [non-C99-based standards] (exp2f): Likewise.
36553 [non-C99-based standards] (log2f): Likewise.
36554 [non-C99-based standards] (modff): Allow.
36555 [non-C99-based standards] (erff): Do not allow.
36556 [non-C99-based standards] (erfcf): Likewise.
36557 [non-C99-based standards] (gammaf): Likewise.
36558 [non-C99-based standards] (hypotf): Likewise.
36559 [non-C99-based standards] (j0f): Likewise.
36560 [non-C99-based standards] (j1f): Likewise.
36561 [non-C99-based standards] (jnf): Likewise.
36562 [non-C99-based standards] (lgammaf): Likewise.
36563 [non-C99-based standards] (tgammaf): Likewise.
36564 [non-C99-based standards] (y0f): Likewise.
36565 [non-C99-based standards] (y1f): Likewise.
36566 [non-C99-based standards] (ynf): Likewise.
36567 [non-C99-based standards] (isnanf): Likewise.
36568 [non-C99-based standards] (acoshf): Likewise.
36569 [non-C99-based standards] (asinhf): Likewise.
36570 [non-C99-based standards] (atanhf): Likewise.
36571 [non-C99-based standards] (cbrtf): Likewise.
36572 [non-C99-based standards] (expm1f): Likewise.
36573 [non-C99-based standards] (ilogbf): Likewise.
36574 [non-C99-based standards] (log1pf): Likewise.
36575 [non-C99-based standards] (logbf): Likewise.
36576 [non-C99-based standards] (nextafterf): Likewise.
36577 [non-C99-based standards] (remainderf): Likewise.
36578 [non-C99-based standards] (rintf): Likewise.
36579 [non-C99-based standards] (scalbf): Likewise.
36580 [non-C99-based standards] (copysignl): Likewise.
36581 [non-C99-based standards] (exp2l): Likewise.
36582 [non-C99-based standards] (log2l): Likewise.
36583 [non-C99-based standards] (modfl): Allow.
36584 [non-C99-based standards] (erfl): Do not allow.
36585 [non-C99-based standards] (erfcl): Likewise.
36586 [non-C99-based standards] (gammal): Likewise.
36587 [non-C99-based standards] (hypotl): Likewise.
36588 [non-C99-based standards] (j0l): Likewise.
36589 [non-C99-based standards] (j1l): Likewise.
36590 [non-C99-based standards] (jnl): Likewise.
36591 [non-C99-based standards] (lgammal): Likewise.
36592 [non-C99-based standards] (tgammal): Likewise.
36593 [non-C99-based standards] (y0l): Likewise.
36594 [non-C99-based standards] (y1l): Likewise.
36595 [non-C99-based standards] (ynl): Likewise.
36596 [non-C99-based standards] (isnanl): Likewise.
36597 [non-C99-based standards] (acoshl): Likewise.
36598 [non-C99-based standards] (asinhl): Likewise.
36599 [non-C99-based standards] (atanhl): Likewise.
36600 [non-C99-based standards] (cbrtl): Likewise.
36601 [non-C99-based standards] (expm1l): Likewise.
36602 [non-C99-based standards] (ilogbl): Likewise.
36603 [non-C99-based standards] (log1pl): Likewise.
36604 [non-C99-based standards] (logbl): Likewise.
36605 [non-C99-based standards] (nextafterl): Likewise.
36606 [non-C99-based standards] (remainderl): Likewise.
36607 [non-C99-based standards] (rintl): Likewise.
36608 [non-C99-based standards] (scalbl): Likewise.
36609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36610 [non-C99-based standards] (FP_*): Do not allow.
36611 [C99-based standards] (FP_*): Change to
36612 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36613 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36615 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36616 (SIG_ERR): Likewise.
36617 [X/Open-based standards] (SIG_HOLD): Likewise.
36618 (SIG_IGN): Likewise.
36619 (SIGABRT): Use macro-int-constant. Specify type. Require
36621 (SIGFPE): Likewise.
36622 (SIGILL): Likewise.
36623 (SIGINT): Likewise.
36624 (SIGSEGV): Likewise.
36625 (SIGTER): Likewise.
36626 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36627 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36628 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36629 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36630 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36631 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36632 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36633 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36634 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36635 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36636 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36637 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36638 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36639 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36640 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36641 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36642 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36643 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36644 [X/Open-based standards] (SIGTRAP): Likewise.
36645 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36646 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36647 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36648 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36649 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36652 2012-05-08 Ian Wienand <ianw@vmware.com>
36655 * time/tzset.c (__tzset_parse_tz): Update default rules for
36656 daylight time changes in the Energy Policy Act of 2005.
36658 2012-05-09 Andreas Jaeger <aj@suse.de>
36661 * elf/ldconfig.c (parse_conf): Change string to make clear that
36662 ldconfig only issued a warning if ld.so.conf does not exist.
36664 2012-05-08 David S. Miller <davem@davemloft.net>
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36667 movxtod instead of popping the value on the stack.
36669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36671 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36673 * config.h.in: Add HAVE_ARM_PCS_VFP.
36675 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36678 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36679 checking but the checks are disabled for any reason.
36681 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36683 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36684 and ELF64_R_TYPE with ELFW(R_TYPE).
36686 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36688 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36689 (ulimit): Likewise.
36691 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36692 (settimeofday): Likewise.
36694 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36696 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36697 a struct th_u2 inside the union, and move tu_block/tu_code into
36698 a new th_u3 union of tu_block/tu_code inside of that. Move
36699 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36700 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36701 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36702 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36703 (th_stuff): Change to th_u1.tu_stuff.
36705 (th_msg): Change to th_u1.th_u2.tu_data.
36707 2012-05-07 David S. Miller <davem@davemloft.net>
36709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36712 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36713 (SETUP_PIC_REG): Use it.
36714 (SETUP_PIC_REG_LEAF): Use it.
36716 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36722 (EXPL_FINITE): Likewise.
36723 (FLDLOG): Likewise.
36724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36725 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36727 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36729 (EXPL_FINITE): Likewise.
36730 (FLDLOG): Likewise.
36731 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36732 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36734 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36735 test of -max_value argument for long double.
36736 * sysdeps/i386/fpu/libm-test-ulps: Update.
36737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36739 2012-05-06 David S. Miller <davem@davemloft.net>
36741 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36742 quad soft-float symbols whose references which are compiler
36744 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36746 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36750 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36752 (EXPL_FINITE): Likewise.
36753 (FLDLOG): Likewise.
36756 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36757 Adjust comments for base varying.
36758 (__expl_finite): Change alias to EXPL_FINITE.
36759 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36761 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36762 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36764 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36767 (EXPL_FINITE): Likewise.
36768 (FLDLOG): Likewise.
36771 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36772 Adjust comments for base varying.
36773 (__expl_finite): Change alias to EXPL_FINITE.
36774 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36779 * math/libm-test.inc (check_float_internal): Correct ulp
36780 calculation for subnormal expected results.
36782 2012-05-06 Andreas Jaeger <aj@suse.de>
36784 * Makeconfig (+math-flags): New, set to -frounding-math.
36785 (+cflags): Add +math-flags so that all of glibc gets compiled with
36788 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36790 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36792 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36798 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36799 (__ieee754_expl): Allow for and saturate large arguments.
36800 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36801 (u_threshold): Likewise.
36802 (__exp): Call __ieee754_exp before checking for overflow and
36804 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36805 (u_threshold): Likewise.
36806 (__expf): Call __ieee754_expf before checking for overflow and
36808 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36809 (u_threshold): Likewise.
36810 (__expl): Call __ieee754_expl before checking for overflow and
36812 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36813 (__ieee754_expl): Allow for and saturate large arguments.
36814 * math/libm-test.inc (exp_test): Add another test. Do not allow
36815 missing overflow exception on overflow.
36816 (expm1_test): Do not allow missing overflow exception on overflow.
36818 * sysdeps/i386/fpu/e_expl.c: Move to ...
36819 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36820 rather than using inline asm.
36821 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36822 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36823 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36825 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36828 (signal): Likewise.
36832 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36834 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36835 sysdeps/unix/common/syscalls.list.
36836 (fchmod): Likewise.
36837 (fchown): Likewise.
36838 (ftruncate): Likewise.
36839 (getrusage): Likewise.
36840 (gettimeofday): Likewise.
36841 (setpgid): Likewise.
36842 (setregid): Likewise.
36843 (setreuid): Likewise.
36844 (sigaction): Likewise.
36845 (truncate): Likewise.
36846 (vhangup): Likewise.
36847 * sysdeps/unix/common/syscalls.list: Remove file.
36848 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36849 * sysdeps/unix/sysv/linux/Implies: Likewise.
36851 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36853 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36855 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36859 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36862 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36865 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36868 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36871 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36874 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36881 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36885 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36888 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36892 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36896 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36898 * sysdeps/unix/common/bits/dirent.h: Remove file.
36899 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36901 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36902 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36903 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36904 * sysdeps/unix/bsd/isatty.c: Likewise.
36905 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36906 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36907 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36909 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36913 long double comparison inaccuracies.
36914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36917 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36919 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36922 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36925 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36926 nonzero digits before rounding a hex value.
36927 * stdlib/tst-strtod.c (tests): Add another test.
36929 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36931 * sysdeps/s390/fpu/libm-test-ulps: Update.
36933 2012-05-03 Andreas Jaeger <aj@suse.de>
36935 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36936 does not get optimized out.
36937 (malloc_opt_barrier): New.
36939 2012-05-03 Andreas Jaeger <aj@suse.de>
36940 Roland McGrath <roland@hack.frob.com>
36942 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36943 intermediate file deletion.
36944 (generated): Add .symlist files.
36946 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36949 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36950 Redirect under this condition.
36951 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36952 [__USE_GNU] (__dprintf_chk): Not under this condition.
36953 [__USE_GNU] (__vdprintf_chk): Likewise.
36954 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36955 under this condition.
36956 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36957 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36958 [__USE_XOPEN2K8] (vdprintf): Likewise.
36959 [__USE_GNU] (__dprintf_chk): Not under this condition.
36960 [__USE_GNU] (__vdprintf_chk): Likewise.
36961 [__USE_GNU] (dprintf): Likewise.
36962 [__USE_GNU] (vdprintf): Likewise.
36964 2012-05-03 Roland McGrath <roland@hack.frob.com>
36966 * elf/Makefile (common-generated): Set this instead of generated for
36967 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36968 $(all-built-dso)-derived lists.
36970 2012-05-03 Andreas Jaeger <aj@suse.de>
36972 * sysdeps/i386/fpu/libm-test-ulps: Update.
36975 * FAQ.in: Likewise.
36976 * scripts/gen-FAQ.pl: Likewise.
36977 * manual/install.texi (Installation): Point to online location of
36979 * Makefile (files-for-dist): Remove FAQ.
36982 2012-05-02 Allan McRae <allan@archlinux.org>
36984 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36985 (LDFLAGS-reldepmod5.so): Likewise.
36986 (LDFLAGS-reldep6mod1.so): Likewise.
36987 (LDFLAGS-reldep6mod4.so): Likewise.
36988 (LDFLAGS-reldep8mod3.so): Likewise.
36989 (LDFLAGS-unload4mod1.so): Likewise.
36990 (LDFLAGS-unload4mod2.so): Likewise.
36991 (LDFLAGS-tst-initorder): Likewise.
36992 (LDFLAGS-tst-initordera2.so): Likewise.
36993 (LDFLAGS-tst-initordera3.so): Likewise.
36994 (LDFLAGS-tst-initordera4.so): Likewise.
36995 (LDFLAGS-tst-initorderb2.so): Likewise.
36996 (LDFLAGS-noload): Likewise.
36997 (LDFLAGS-next): Likewise.
36998 (LDFLAGS-order2mod1.so): Likewise.
36999 (LDFLAGS-order2mod2.so): Likewise.
37000 (LDFLAGS-tst-initorder2): Likewise.
37001 (LDFLAGS-tst-initorder2a.so): Likewise.
37002 (LDFLAGS-tst-initorder2b.so): Likewise.
37003 (LDFLAGS-tst-initorder2c.so): Likewise.
37004 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37006 2012-05-02 David S. Miller <davem@davemloft.net>
37008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37010 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37013 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37015 2012-05-02 Andreas Jaeger <aj@suse.de>
37017 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37018 since we manipulate rounding mode.
37019 (CPPFLAGS-test-idouble.c): Likewise.
37020 (CPPFLAGS-test-ifloat.c): Likewise.
37021 (CFLAGS-test-ldouble.c): Likewise.
37022 (CFLAGS-test-double.c): Likewise.
37023 (CFLAGS-test-float.c): Likewise.
37024 (CFLAGS-test-misc.c): Likewise.
37025 (CFLAGS-test-test-fenv.c): Likewise.
37027 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37032 comparisons to determine direction to adjust input.
37034 2012-05-01 Roland McGrath <roland@hack.frob.com>
37036 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37037 output to the target.
37039 * scripts/localplt.awk: New file.
37040 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37041 (check-localplt-CFLAGS): Variable removed.
37042 ($(all-built-dso:=.jmprel)): New static pattern rule.
37043 (generated): Add those targets.
37044 (localplt-built-dso): New variable.
37045 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37047 * elf/check-localplt.c: File removed.
37049 * scripts/check-execstack.awk: New file.
37050 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37051 (check-execstack-CFLAGS): Variable removed.
37052 ($(objpfx)check-execstack.h): Target removed.
37053 ($(objpfx)execstack-default): New target.
37054 (generated): Add that instead of check-execstack.h.
37055 ($(all-built-dso:=.phdr)): New static pattern rule.
37056 (generated): Add those targets.
37057 * elf/check-execstack.c: File removed.
37059 * scripts/check-textrel.awk: New file.
37060 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37061 (check-textrel-CFLAGS): Variable removed.
37062 (all-built-dso): Use := to define.o
37063 ($(all-built-dso:=.dyn)): New static pattern rule.
37064 (generated): Add those targets.
37065 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37066 * config.make.in (READELF): New substituted variable.
37067 * elf/check-textrel.c: File removed.
37069 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37071 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37073 * conform/data/ctype.h-data [C99-based standards] (isblank):
37075 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37076 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37078 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37079 Specify type. Require positive value.
37080 (EILSEQ): Likewise.
37081 (ERANGE): Likewise.
37082 [ISO || POSIX] (EILSEQ): Do not expect.
37083 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37084 Specify type. Require positive value.
37085 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37086 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37087 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37088 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37089 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37090 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37091 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37092 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37093 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37094 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37095 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37096 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37097 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37098 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37099 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37100 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37101 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37102 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37103 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37104 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37105 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37106 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37107 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37108 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37109 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37110 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37111 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37112 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37113 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37114 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37115 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37116 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37117 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37118 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37119 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37120 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37121 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37122 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37123 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37124 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37125 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37126 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37127 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37128 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37129 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37130 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37131 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37132 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37133 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37134 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37135 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37136 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37137 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37138 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37139 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37140 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37141 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37142 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37143 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37144 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37145 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37146 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37147 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37148 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37149 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37150 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37151 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37152 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37153 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37154 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37155 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37156 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37157 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37158 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37159 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37160 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37161 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37163 (FLT_ROUNDS): Expect as macro, not constant.
37164 (FLT_MANT_DIG): Use macro-int-constant.
37165 (DBL_MANT_DIG): Likewise.
37166 (LDBL_MANT_DIG): Likewise.
37167 (FLT_DIG): Likewise.
37168 (DBL_DIG): Likewise.
37169 (LDBL_DIG): Likewise.
37170 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37171 (DBL_MIN_EXP): Likewise.
37172 (LDBL_MIN_EXP): Likewise.
37173 (FLT_MAX_EXP): Use macro-int-constant.
37174 (DBL_MAX_EXP): Likewise.
37175 (LDBL_MAX_EXP): Likewise.
37176 (FLT_MAX_10_EXP): Likewise.
37177 (DBL_MAX_10_EXP): Likewise.
37178 (LDBL_MAX_10_EXP): Likewise.
37179 (FLT_MAX): Use macro-constant.
37180 (DBL_MAX): Likewise.
37181 (LDBL_MAX): Likewise.
37182 (FLT_EPSILON): Use macro-constant. Give upper bound.
37183 (DBL_EPSILON): Likewise.
37184 (LDBL_EPSILON): Likewise.
37185 (FLT_MIN): Likewise.
37186 (DBL_MIN): Likewise.
37187 (LDBL_MIN): Likewise.
37188 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37189 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37190 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37191 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37192 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37193 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37194 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37195 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37196 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37197 [ISO11] (FLT_TRUE_MIN): Likewise.
37198 [ISO11] (LDBL_TRUE_MIN): Likewise.
37199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37200 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37201 (SCHAR_MIN): Use macro-int-constant. Specify type.
37202 (SCHAR_MAX): Likewise.
37203 (UCHAR_MAX): Likewise.
37204 (CHAR_MIN): Likewise.
37205 (CHAR_MAX): Likewise.
37206 (MB_LEN_MAX): Use macro-int-constant.
37207 (SHRT_MIN): Use macro-int-constant. Specify type.
37208 (SHRT_MAX): Likewise.
37209 (USHRT_MAX): Likewise.
37210 (INT_MAX): Likewise.
37211 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37213 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37215 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37217 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37218 bound negative. Suffix upper bound with "L".
37219 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37221 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37223 [C99-based standards] (LLONG_MAX): Likewise.
37224 [C99-based standards] (ULLONG_MAX): Likewise.
37225 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37227 [ISO11] (max_align_t): Require type.
37228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37230 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37231 from $CFLAGS, without defining away __attribute__ calls.
37232 (checknamespace): Use $CFLAGS_namespace.
37234 * conform/conformtest.pl (@keywords): Only include C99 keywords
37235 for standards based on C99 or C11.
37237 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37239 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37242 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37243 usability of symbols in #if.
37245 * conform/conformtest.pl: If macro or constant types start
37246 "promoted:", expect the symbol to be of the following type
37247 promoted by the integer promotions.
37249 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37250 in one place. Also handle "macro-constant".
37252 * conform/conformtest.pl: Only accept expected macro values with
37253 "==". Parse all "macro" lines in one place.
37254 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37256 * conform/conformtest.pl: Handle braced types on "constant" lines
37257 instead of handling "typed-constant".
37258 * conform/data/signal.h-data: Use "constant" instead of
37261 * conform/conformtest.pl: Handle "optional-" at start of lines in
37262 one place rather than duplicating several cases. Handle each
37263 format of "macro" line with initial "optional-".
37265 * conform/conformtest.pl: Only accept expected constant or
37266 optional-constant values with "==". Parse all "constant" lines in
37267 one place. Parse all "optional-constant" lines in one place.
37268 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37269 * conform/data/fmtmsg.h-data: Likewise.
37270 * conform/data/netinet/in.h-data: Likewise.
37271 * conform/data/tar.h-data: Likewise.
37272 * conform/data/limits.h-data: Use "==" form on "constant" and
37273 "optional-constant" lines.
37275 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37276 Use -std=c99 for XOPEN2K.
37277 (@knownproblems): Remove.
37278 (newtoken): Don't check %isknown.
37280 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37281 Do not expect macro.
37282 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37283 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37284 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37285 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37286 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37287 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37288 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37289 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37290 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37291 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37292 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37293 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37294 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37295 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37305 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37306 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37312 [XPG3] (acosh): Likewise.
37313 [XPG3] (asinh): Likewise.
37314 [XPG3] (atanh): Likewise.
37315 [XPG3] (cbrt): Likewise.
37316 [XPG3] (expm1): Likewise.
37317 [XPG3] (ilogb): Likewise.
37318 [XPG3] (log1p): Likewise.
37319 [XPG3] (logb): Likewise.
37320 [XPG3] (nextafter): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37323 [XPG3] (remainder): Likewise.
37324 [XPG3] (rint): Likewise.
37325 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37326 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37327 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37328 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37329 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37330 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37331 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37332 [UNIX98 || XOPEN2K] (scalb): Expect.
37333 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37334 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37335 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37343 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37344 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37345 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37398 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37399 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37400 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37401 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37402 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37403 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37404 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37405 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37406 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37407 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37408 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37409 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37410 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37411 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37412 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37413 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37414 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37415 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37416 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37417 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37418 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37419 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37420 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37421 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37422 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37423 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37424 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37425 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37426 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37427 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37428 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37429 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37430 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37431 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37432 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37433 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37434 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37435 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37436 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37437 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37438 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37439 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37440 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37441 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37442 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37443 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37444 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37445 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37446 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37447 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37448 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37449 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37450 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37451 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37452 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37453 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37454 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37455 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37456 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37457 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37458 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37459 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37460 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37461 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37462 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37463 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37464 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37465 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37466 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37467 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37468 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37469 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37471 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37472 _XOPEN_SOURCE_EXTENDED for XPG4.
37474 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37476 * Makeconfig (localtime): Remove variable.
37477 (inst_localtime-file): Likewise.
37479 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37500 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37504 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37505 comparisons to determine direction to adjust input.
37506 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37507 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37514 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37515 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37517 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37519 * math/libm-test.inc (nexttoward_test): Add more tests.
37521 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37525 in version GLIBC_2.1, not GLIBC_2.0.
37526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37529 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37532 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37534 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37535 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37536 * math/libm-test.inc (acos_test): Add more tests.
37537 (asin_test): Likewise.
37538 * sysdeps/i386/fpu/libm-test-ulps: Update.
37539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37542 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37544 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37545 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37546 * math/libm-test.inc (acos_test_tonearest): New function.
37547 (acos_test_towardzero): Likewise.
37548 (acos_test_downward): Likewise.
37549 (acos_test_upward): Likewise.
37550 (asin_test_tonearest): Likewise.
37551 (asin_test_towardzero): Likewise.
37552 (asin_test_downward): Likewise.
37553 (asin_test_upward): Likewise.
37554 (main): Call the new functions.
37555 * sysdeps/i386/fpu/libm-test-ulps: Update.
37556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37560 * math/e_exp10.c: Include <float.h>.
37561 (__ieee754_exp10): Handle underflow here rather than multiplying
37562 large negative argument by M_LN10.
37563 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37565 * math/e_exp10l.c: Include <float.h>.
37566 (__ieee754_exp10l): Handle underflow here rather than multiplying
37567 large negative argument by M_LN10l.
37568 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37569 spurious overflow exception on underflow.
37571 2012-04-29 Marek Polacek <polacek@redhat.com>
37573 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37574 (__fortify_function): New macro.
37575 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37576 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37577 __extern_always_inline.
37578 * libio/bits/stdio2.h: Likewise.
37579 * libio/bits/stdio.h: Likewise.
37580 * string/string.h: Likewise.
37581 * string/bits/string3.h: Likewise.
37582 * include/stdio.h: Likewise.
37583 * stdlib/bits/stdlib.h: Likewise.
37584 * stdlib/stdlib.h: Likewise.
37585 * rt/bits/mqueue2.h: Likewise.
37586 * rt/mqueue.h: Likewise.
37587 * posix/bits/unistd.h: Likewise.
37588 * posix/unistd.h: Likewise.
37589 * io/bits/poll2.h: Likewise.
37590 * io/bits/fcntl2.h: Likewise.
37591 * io/fcntl.h: Likewise.
37592 * io/sys/poll.h: Likewise.
37593 * misc/bits/syslog.h: Likewise.
37594 * misc/bits/syslog-ldbl.h: Likewise.
37595 * misc/sys/syslog.h: Likewise.
37596 * socket/bits/socket2.h: Likewise.
37597 * socket/sys/socket.h: Likewise.
37598 * debug/tst-chk1.c: Likewise.
37599 * wcsmbs/bits/wchar2.h: Likewise.
37600 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37601 * wcsmbs/wchar.h: Likewise.
37603 2012-04-29 Andreas Jaeger <aj@suse.de>
37605 * Makerules (tests): Remove enable-check-abi protection.
37606 (check-abi-warn): Remove.
37607 (check-abi-%): Remove check-abi-warn usage.
37609 * configure.in: Remove check-abi configure option.
37610 * configure: Regenerated.
37611 * config.make.in (enable-check-abi): Remove.
37613 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37616 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37617 double functions to double *_finite functions.
37620 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37621 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37623 * stdio-common/Makefile (tests): Add tst-sprintf3.
37624 * stdio-common/tst-sprintf3.c: New file.
37626 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37627 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37629 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37631 * conform/conformtest.pl: Remove duplicate typed-constant
37634 2012-04-28 David S. Miller <davem@davemloft.net>
37636 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37637 (check-abi-%): Remove AWK script prerequisite and explicit
37639 (check-abi): Rewrite to just diff the symlist with the abilist.
37640 (config-tls, config-abi-config): Delete, no longer used.
37641 (update-abi-%): Remove AWK script and explicit abilist directory.
37642 (update-abi): Rewrite to simply compare and conditionally copy the
37643 symlist and the sysdep abilist file. Remove update-abi-config
37645 * abilist/ld.abilist: Remove.
37646 * abilist/libBrokenLocale.abilist: Remove.
37647 * abilist/libanl.abilist: Remove.
37648 * abilist/libcrypt.abilist: Remove.
37649 * abilist/libdl.abilist: Remove.
37650 * abilist/librt.abilist: Remove.
37651 * abilist/libthread_db.abilist: Remove.
37652 * abilist/libutil.abilist: Remove.
37653 * scripts/extract-abilist.awk: Remove.
37654 * scripts/merge-abilist.awk: Remove.
37655 * sysdeps/generic/libcidn.abilist: New file.
37656 * sysdeps/generic/libnss_compat.abilist: New file.
37657 * sysdeps/generic/libnss_db.abilist: New file.
37658 * sysdeps/generic/libnss_dns.abilist: New file.
37659 * sysdeps/generic/libnss_files.abilist: New file.
37660 * sysdeps/generic/libnss_hesiod.abilist: New file.
37661 * sysdeps/generic/libnss_nis.abilist: New file.
37662 * sysdeps/generic/libnss_nisplus.abilist: New file.
37663 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37664 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37665 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37668 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37669 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37670 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37671 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37672 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37673 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37674 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37675 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37677 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37678 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37679 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37680 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37682 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37683 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37684 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37685 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37686 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37687 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37689 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37690 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37691 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37693 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37796 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37797 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37798 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37801 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37802 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37803 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37804 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37805 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37806 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37807 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37808 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37809 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37861 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37863 * conform/conformtest.pl: Fix typo in handling typed-constant from
37866 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37868 * README: Cut down references to pre-2.6 Linux kernels and
37869 Linuxthreads. Update lists of configurations in libc and ports
37870 and sort alphabetically. Say "or newer" with Linux kernel version
37873 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37875 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37878 * math/libm-test.inc (logb_test_downward): New test to expose
37879 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37882 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37885 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37887 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37888 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37890 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37892 * sysdeps/unix/i386/brk.S: Remove file.
37893 * sysdeps/unix/i386/dl-brk.S: Likewise.
37894 * sysdeps/unix/i386/pipe.S: Likewise.
37895 * sysdeps/unix/i386/sigreturn.S: Likewise.
37896 * sysdeps/unix/i386/syscall.S: Likewise.
37897 * sysdeps/unix/i386/vfork.S: Likewise.
37898 * sysdeps/unix/i386/wait.S: Likewise.
37900 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37901 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37903 * configure.in (arm*-none*): Do not allow without
37904 --enable-hacker-mode.
37905 (netbsd*): Remove case setting base_os.
37906 (386bsd*): Likewise.
37907 (freebsd*): Likewise.
37910 (sunos*): Likewise.
37911 (ultrix*): Likewise.
37912 (newsos*): Likewise.
37913 (dynix*): Likewise.
37919 (minix*): Likewise.
37920 (irix4*): Likewise.
37921 (irix6*): Likewise.
37922 (solaris[2-9]*): Likewise.
37924 * configure: Regenerated.
37926 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37929 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37930 overflow or cancellation in calculating denominator.
37931 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37932 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37933 down expression to avoid unexpected rounding in newer GCCs.
37934 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37936 2012-04-26 David S. Miller <davem@davemloft.net>
37938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37939 long-double compat symbols.
37940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37954 2012-04-25 David S. Miller <davem@davemloft.net>
37956 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37957 HWCAP_* values only after the memory barriers have been defined.
37958 (atomic_full_barrier): Define.
37959 (atomic_read_barrier): Define.
37960 (atomic_write_barrier): Define.
37962 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37964 * shlib-versions: Add libgcc_s version information.
37965 * sysdeps/generic/libgcc_s.h: Remove.
37966 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37968 * sysdeps/gnu/unwind-resume.c: Likewise.
37969 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37971 2012-04-25 David S. Miller <davem@davemloft.net>
37973 * sysdeps/unix/sparc/brk.S: Delete.
37974 * sysdeps/unix/sparc/dl-brk.S: Delete.
37975 * sysdeps/unix/sparc/pipe.S: Delete.
37976 * sysdeps/unix/sparc/sysdep.S: Delete.
37977 * sysdeps/unix/sparc/sysdep.h: Delete.
37978 * sysdeps/unix/sparc/vfork.S: Delete.
37979 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37980 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37981 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37982 (ret_ERRVAL, r0, r1, MOVE): Define.
37983 (JUMPTARGET): Remove.
37984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37985 sysdeps/unix/sparc/sysdep.h
37986 (ENTRY, END): Remove.
37987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37989 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37991 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37992 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37995 * timezone/README: Update upstream location and email address for
37997 * timezone/zdump.c: Update from tzcode 2012b.
37998 * timezone/zic.c: Likewise.
38000 * configure.in (libc_cv_as_needed): Remove test.
38001 * configure: Regenerated.
38002 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38003 conditional definition.
38004 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38005 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38006 * config.make.in (have-as-needed): Remove variable.
38008 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38009 Paul Pluzhnikov <ppluzhnikov@google.com>
38011 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38014 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38016 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38017 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38018 * sysdeps/sh/strlen.S: Likewise.
38020 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38022 * sysdeps/unix/fork.S: Remove file.
38023 * sysdeps/unix/i386/fork.S: Likewise.
38024 * sysdeps/unix/sparc/fork.S: Likewise.
38026 * sysdeps/unix/system.c: Remove file.
38027 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38029 * sysdeps/unix/getegid.S: Remove file.
38030 * sysdeps/unix/geteuid.S: Likewise.
38032 2012-04-24 Roland McGrath <roland@hack.frob.com>
38034 * scripts/check-localplt.awk: New file.
38035 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38037 * scripts/data/localplt-generic.data: Add a comment.
38039 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38040 NODE when __dir_mkfile failed.
38041 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38042 Reported by Ludovic Courtès <ludo@gnu.org>.
38044 2012-04-24 Andreas Jaeger <aj@suse.de>
38046 * Makerules (common-clean): Also remove gen-as-const-headers
38049 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38051 * Makerules (native-compile): Do not change working directory for
38052 build. Use $(OUTPUT_OPTION) in command.
38053 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38055 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38058 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38059 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38060 * math/libm-test.inc (floor_test): Add more tests.
38061 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38063 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38065 * sysdeps/unix/getdents.c: Remove file.
38066 * sysdeps/unix/sysv/getdents.c: Likewise.
38067 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38069 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38070 sysdeps/unix/mman/syscalls.list.
38072 (mprotect): Likewise.
38074 (munmap): Likewise.
38075 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38076 * sysdeps/unix/mman/syscalls.list: Remove.
38077 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38079 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38080 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38081 * configure: Regenerated.
38082 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38083 $(libgcc_s_suffix).
38084 * config.make.in (libgcc_s_suffix): Remove variable.
38086 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38088 * sysdeps/unix/sysv/gethostname.c: Move to ...
38089 * sysdeps/posix/gethostname.c: ... here.
38091 * sysdeps/unix/execve.S: Remove file.
38093 * sysdeps/unix/_exit.S: Remove file.
38095 2012-04-23 Andreas Jaeger <aj@suse.de>
38098 * manual/Makefile: Remove make dist support, there's no
38099 need for a stand-alone documentation tar ball.
38100 (TEXI2DVI): Define always, it's not in Makeconfig.
38103 (edition): Removed.
38104 (glibc-doc-$(edition).tar): Removed
38108 (ETAGS): Remove, it's in Makeconfig.
38109 (move-if-change): Remove, it's in Makeconfig.
38111 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38114 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38115 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38116 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38117 (strtod_l, strtof_l, strtold_l): Remove __wur.
38118 It is not necessarily an error to ignore strtol's return value.
38119 One can reliably look at the stored endptr to decide whether
38120 the number had valid syntax.
38122 2012-04-21 Andreas Jaeger <aj@suse.de>
38125 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38127 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38130 * sysdeps/unix/sysv/Versions: Remove file.
38132 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38137 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38141 version from __vm86.
38143 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38145 * sysdeps/unix/common/lxstat.c: Remove file.
38146 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38148 * sysdeps/unix/sysv/Makefile: Remove file.
38150 * sysdeps/unix/sysv/direct.h: Remove file.
38152 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38153 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38154 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38155 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38156 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38157 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38158 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38160 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38162 * sysdeps/unix/xmknod.c: Remove file.
38163 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38165 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38167 * sysdeps/unix/sysv/i386/time.S: Remove file.
38169 * sysdeps/unix/fxstat.c: Remove file.
38170 * sysdeps/unix/xstat.c: Likewise.
38171 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38173 * sysdeps/unix/sysv/sigaction.c: Remove file.
38175 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38176 (sysdep_headers): Remove variable.
38177 [termio.h not in sysdep_headers] (generated): Likewise.
38178 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38179 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38180 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38181 * sysdeps/unix/sysv/tcflow.c: Likewise.
38182 * sysdeps/unix/sysv/tcflush.c: Likewise.
38183 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38184 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38185 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38186 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38187 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38189 * sysdeps/unix/siglist.c: Remove file.
38191 * sysdeps/unix/getppid.S: Remove file.
38193 * sysdeps/unix/mkdir.c: Remove file.
38194 * sysdeps/unix/rmdir.c: Likewise.
38196 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38198 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38200 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38201 errlist-compat value.
38203 2012-04-18 David S. Miller <davem@davemloft.net>
38205 * sysdeps/generic/memcopy.h (reg_char): Delete.
38206 * debug/strcat_chk.c: Use char, not reg_char.
38207 * debug/strcpy_chk.c: Likewise.
38208 * debug/strncat_chk.c: Likewise.
38209 * debug/strncpy_chk.c: Likewise.
38210 * string/memchr.c: Likewise.
38211 * string/memrchr.c: Likewise.
38212 * string/rawmemchr.c: Likewise.
38213 * string/strcat.c: Likewise.
38214 * string/strchr.c: Likewise.
38215 * string/strchrnul.c: Likewise.
38216 * string/strcmp.c: Likewise.
38217 * string/strcpy.c: Likewise.
38218 * string/strncat.c: Likewise.
38219 * string/strncmp.c: Likewise.
38220 * string/strncpy.c: Likewise.
38222 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38224 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38225 __builtin_memcopy is called when src and dest ranges are known to not
38228 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38230 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38231 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38232 fwd_align_merge macro call.
38233 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38234 bwd_align_merge macro call.
38235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38237 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38239 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38240 bwd_align_merge macros.
38241 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38242 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38245 2012-04-18 David S. Miller <davem@davemloft.net>
38247 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38249 2012-04-18 Andreas Jaeger <aj@suse.de>
38252 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38253 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38257 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38258 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38260 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38261 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38262 Adjust for changed ldbl-128 files.
38264 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38265 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38266 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38268 2012-04-17 David S. Miller <davem@davemloft.net>
38270 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38272 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38274 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38275 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38276 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38277 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38278 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38279 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38281 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38284 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38285 * math/libm-test.inc: Add ilogb errno and exception tests.
38286 * math/w_ilogb.c: New file: ilogb wrapper.
38287 * math/w_ilogbf.c: New file: ilogbf wrapper.
38288 * math/w_ilogbl.c: New file: ilogbl wrapper.
38289 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38290 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38291 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38292 exception being thrown with 0.0 as argument.
38293 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38294 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38295 exception being thrown with 0.0 as argument.
38296 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38297 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38298 exception being thrown with 0.0 as argument.
38299 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38300 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38301 exception being thrown with 0.0 as argument.
38302 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38303 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38304 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38305 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38307 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38308 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38309 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38310 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38312 2012-04-17 Petr Baudis <pasky@ucw.cz>
38314 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38317 2012-04-16 Marek Polacek <polacek@redhat.com>
38319 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38321 2012-04-16 Marek Polacek <polacek@redhat.com>
38323 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38324 operands of fdivp instruction.
38326 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38328 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38329 * elf/tst-auditmod3b.c: Likewise.
38330 * elf/tst-auditmod4b.c: Likewise.
38331 * elf/tst-auditmod5b.c: Likewise.
38332 * elf/tst-auditmod6b.c: Likewise.
38333 * elf/tst-auditmod6c.c: Likewise.
38334 * elf/tst-auditmod7b.c: Likewise.
38335 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38336 * sysdeps/x86_64/preconfigure.in: Likewise.
38337 * sysdeps/x86_64/preconfigure: Regenerated.
38339 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38341 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38344 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38347 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38349 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38352 * locale/iso-639.def: Fix gl language name. Spotted by
38355 2012-04-12 Roland McGrath <roland@hack.frob.com>
38358 * libio/libio.h (__io_write_fn): Update comment.
38360 2012-04-12 Petr Baudis <pasky@ucw.cz>
38363 * stdio.texi (Hook Functions): The user provided writer function
38364 is not allowed to return -1.
38366 2012-04-11 David S. Miller <davem@davemloft.net>
38368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38370 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38372 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38373 Add a leading slash to rtkaio.
38375 2012-04-11 Jim Meyering <meyering@redhat.com>
38378 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38379 It is not necessarily an error to ignore fwrite's return
38380 value. One can reliably use ferror to test for errors after
38383 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38385 * bits/types.h (__snseconds_t): New type.
38386 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38388 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38390 (__SNSECONDS_T_TYPE): Likewise.
38391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38392 (__SNSECONDS_T_TYPE): Likewise.
38393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38394 (__SNSECONDS_T_TYPE): Likewise.
38396 2012-04-10 Andreas Jaeger <aj@suse.de>
38399 * manual/time.texi (Processor Time): Return type of times is
38400 elapsed real time since an arbitrary point in the past.
38401 (CPU Time): Move CLK_TCK from here...
38402 (Processor Time): ...to here. Correct description.
38403 * manual/conf.texi (Constants for Sysconf): Correct description of
38406 2012-04-10 David S. Miller <davem@davemloft.net>
38409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38410 where the is a gap between DT_REL(A) and DT_JMPREL.
38412 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38414 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38415 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38416 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38418 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38420 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38421 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38422 (dl_main): Handle --inhibit-cache.
38423 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38425 * elf/dl-load.c (_dl_map_object): Use it.
38426 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38428 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38431 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38432 (__ieee754_powl): Saturate large exponents rather than testing for
38433 overflow of y*log2(x).
38434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38435 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38439 * math/s_ctan.c: Include <float.h>.
38440 (__ctan): Avoid internal overflow or cancellation in calculating
38442 * math/s_ctanf.c: Likewise.
38443 * math/s_ctanl.c: Likewise.
38444 * math/s_ctanh.c: Likewise.
38445 * math/s_ctanhf.c: Likewise.
38446 * math/s_ctanhl.c: Likewise.
38447 * math/libm-test.inc (ctan_test): Add more tests.
38448 (ctanh_test): Likewise.
38449 * sysdeps/i386/fpu/libm-test-ulps: Update.
38450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38452 2012-04-09 Andreas Jaeger <aj@suse.de>
38455 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38456 is an optional BSD extension.
38459 * manual/stdio.texi (Opening Streams): Document additional fopen
38462 2012-04-09 Roland McGrath <roland@hack.frob.com>
38464 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38465 %eax without telling the compiler.
38467 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38470 * manual/install.texi: Use sourceware.org.
38472 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38475 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38476 (__ieee754_pow): Generate overflow and underflow using huge*huge
38477 and tiny*tiny rather than just returning constant infinity or zero
38478 for large exponents.
38479 * math/libm-test.inc (pow_test): Require overflow exceptions for
38480 applicable cases of large exponents.
38483 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38484 (__ieee754_pow): Use iterative multiplication algorithm only for
38485 integer exponents with absolute value below 1024. Check for odd
38486 integer exponents when using algorithm for real exponents.
38487 * math/libm-test.inc (pow_test): Add more tests.
38488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38490 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38493 * math/libm-test.inc (exp_test): Do not allow overflow exception
38496 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38499 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38500 instead of __kernel_standard_f.
38502 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38504 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38505 * sysdeps/x86_64/memset_chk.S: Likewise.
38507 2012-04-08 Andreas Jaeger <aj@suse.de>
38510 * manual/startup.texi (Environment Access): Describe return value
38511 for putenv and setenv.
38514 * manual/filesys.texi (Directory Entries): Add description for
38518 * manual/filesys.texi (Directory Entries): Clarify that it's file
38519 system not operating system in the description of DT_UNKNOWN.
38522 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38524 2012-04-08 Stephen Compall <s11@member.fsf.org>
38527 * manual/llio.texi (Opening and Closing Files): Add cross
38528 reference to explain mode argument.
38530 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38532 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38533 * sysdeps/x86_64/memset_chk.S: Likewise.
38535 2012-04-07 David S. Miller <davem@davemloft.net>
38537 * elf/elf.h (R_SPARC_WDISP10): Define.
38538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38541 R_SPARC_SIZE64 and R_SPARC_H34.
38543 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38546 conditions and remove no longer applicable assertion.
38548 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38550 * bits/byteswap.h: Include <features.h>.
38551 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38552 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38554 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38556 * bits/byteswap.h (__bswap_16): Removed.
38557 Include <bits/byteswap-16.h> to get __bswap_16.
38558 * sysdeps/i386/bits/byteswap.h: Likewise.
38559 * sysdeps/s390/bits/byteswap.h: Likewise.
38560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38561 * bits/byteswap-16.h: New file.
38562 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38563 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38564 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38565 * string/Makefile (headers): Add bits/byteswap-16.h.
38567 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38570 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38572 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38573 * nss/tst-nss-static.c: New.
38575 2012-04-06 Robert Millan <rmh@gnu.org>
38578 * manual/llio.texi (File Position Primitive): lseek
38579 refers to WHENCE when it really means OFFSET.
38581 2012-04-06 Andreas Jaeger <aj@suse.de>
38583 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38584 strncmp declarations.
38586 * abilist/libc.abilist: Add __poll and __ppoll.
38588 2012-04-05 David S. Miller <davem@davemloft.net>
38590 * scripts/check-local-headers.sh: Accept a host triplet in the
38591 path matched by the exclude regexp.
38593 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38595 * sysdeps/powerpc/powerpc32/dl-machine.h
38596 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38597 * sysdeps/s390/s390-32/dl-machine.h
38598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38599 * sysdeps/sparc/sparc32/dl-machine.h
38600 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38601 * sysdeps/sparc/sparc64/dl-machine.h
38602 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38604 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38606 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38607 undefined symbol errors.
38609 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38612 2012-04-05 Michael Matz <matz@suse.de>
38615 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38617 2012-04-05 Andreas Jaeger <aj@suse.de>
38620 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38623 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38625 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38626 which ROUND is no valid rounding mode.
38628 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38632 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38634 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38636 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38637 an exception using FPU order intentionally.
38639 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38641 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38642 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38643 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38644 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38646 2012-04-05 Simon Josefsson <simon@josefsson.org>
38649 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38650 EINVAL when BUFLEN is too smal.
38652 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38655 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38656 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38658 2012-04-03 Andreas Jaeger <aj@suse.de>
38661 * manual/setjmp.texi (System V contexts): Fix sentence.
38664 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38665 New macro for this case.
38666 [!__GNUC__] (__bswap_64): New inline function for this case.
38667 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38668 * bits/byteswap.h: Likewise.
38669 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38670 ull, guard with __GLIBC_HAVE_LONG_LONG.
38672 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38673 __GLIBC_HAVE_LONG_LONG.
38675 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38676 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38678 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38682 inptr and inend, rather than using last_ch.
38684 2012-04-02 David S. Miller <davem@davemloft.net>
38686 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38687 * stdio-common/printf-parse.h (read_int): Change return type to
38688 'int', return -1 on INT_MAX overflow.
38689 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38690 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38691 overflows INT_MAX. Check for overflow of in-format-string precision
38692 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38693 SIZE_MAX not INT_MAX for integer overflow test.
38694 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38695 skip the construct in the format string but do not record anything.
38696 * stdio-common/bug22.c: Adjust to test both width/prevision
38697 INT_MAX overflow as well as total length INT_MAX overflow. Check
38698 explicitly for proper errno values.
38700 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38702 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38704 * string/test-strcmp.c [! WIDE]: Likewise.
38705 * time/tst-mktime2.c: Likewise for INT_MAX.
38706 * string/test-string.h: #include <sys/param.h> for MIN.
38708 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38709 * sysdeps/i386/init-first.c (init): Likewise.
38710 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38711 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38712 * sysdeps/sh/init-first.c (init): Likewise.
38714 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38716 * po/ru.po: Update from translation team.
38717 * po/vi.po: Likewise.
38719 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38721 * resolv/nss_dns/dns-host.c: Merge copyright years.
38723 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38725 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38726 Optimize memcpy with prefetch if
38727 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38728 src, dst pointers have unequal 16 byte alignments.
38730 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38733 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38734 from a CNAME entry and return the minimum ttl for the query.
38735 (gaih_getanswer_slice): Likewise.
38737 2012-03-30 Jeff Law <law@redhat.com>
38739 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38741 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38742 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38744 * resolv/nss_dns/dns-host.c: Update copyright year.
38746 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38748 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38749 requests to save a system call. Fix check that all bytes are sent.
38751 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38752 comments for sendmmsg.
38754 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38757 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38758 with only 1 character between 0x0041 and 0x01b0.
38759 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38760 * wcsmbs/tst-mbsnrtowcs.c: New file.
38762 2012-03-29 David S. Miller <davem@davemloft.net>
38764 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38765 small copies by hand.
38767 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38770 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38771 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38774 2012-03-28 David S. Miller <davem@davemloft.net>
38776 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38777 that branches into memcpy.
38778 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38781 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38784 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38785 implementation too.
38786 * sysdeps/sparc/mempcpy.S: New file.
38788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38789 the IFUNC routine in the libc case.
38790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38792 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38793 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38794 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38795 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38796 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38797 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38798 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38799 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38801 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38802 loop to 256 bytes instead of 64 bytes and fix test signedness.
38804 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38805 * sysdeps/sparc/sparc32/Makefile: rather than here...
38806 * sysdeps/sparc/sparc64/Makefile: and here.
38808 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38810 * malloc/mallocbug.c: Avoid warnings about unused variables.
38812 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38815 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38816 in the right place. Discard and retry query if response is
38817 larger than input buffer size.
38819 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38824 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38825 x for large integer exponent.
38826 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38827 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38828 sign of result as needed afterwards.
38829 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38830 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38831 result for underflowing pow the same as for overflow.
38832 (__kernel_standard_l): Handle powl overflow and underflow here
38833 rather than calling __kernel_standard.
38834 * math/libm-test.inc (pow_test): Add more tests.
38849 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38850 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38851 (__kernel_standard_l): New function.
38852 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38854 * math/w_acosl.c (__acosl): Likewise.
38855 * math/w_asinl.c (__asinl): Likewise.
38856 * math/w_atan2l.c (__atan2l): Likewise.
38857 * math/w_atanhl.c (__atanhl): Likewise.
38858 * math/w_coshl.c (__coshl): Likewise.
38859 * math/w_exp10l.c (__exp10l): Likewise.
38860 * math/w_exp2l.c (__exp2l): Likewise.
38861 * math/w_fmodl.c (__fmodl): Likewise.
38862 * math/w_hypotl.c (__hypotl): Likewise.
38863 * math/w_j0l.c (__j0l, __y0l): Likewise.
38864 * math/w_j1l.c (__j1l, __y1l): Likewise.
38865 * math/w_jnl.c (__jnl, __ynl): Likewise.
38866 * math/w_lgammal.c (__lgammal): Likewise.
38867 * math/w_log10l.c (__log10l): Likewise.
38868 * math/w_log2l.c (__log2l): Likewise.
38869 * math/w_logl.c (__logl): Likewise.
38870 * math/w_powl.c (__powl): Likewise.
38871 * math/w_remainderl.c (__remainderl): Likewise.
38872 * math/w_scalbl.c (sysv_scalbl): Likewise.
38873 * math/w_sinhl.c (__sinhl): Likewise.
38874 * math/w_sqrtl.c (__sqrtl): Likewise.
38875 * math/w_tgammal.c (__tgammal): Likewise.
38876 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38877 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38878 * math/libm-test.inc (acos_test): Add more tests.
38879 (acosh_test): Likewise.
38880 (asin_test): Likewise.
38881 (atanh_test): Likewise.
38882 (exp_test): Likewise.
38883 (exp10_test): Likewise.
38884 (exp2_test): Likewise.
38885 (expm1_test): Likewise.
38886 (lgamma_test): Likewise.
38887 (log_test): Likewise.
38888 (log10_test): Likewise.
38889 (log1p_test): Likewise.
38890 (log2_test): Likewise.
38891 (pow_test): Do not allow some spurious overflow exceptions.
38892 (sqrt_test): Add more tests.
38893 (tgamma_test): Likewise.
38894 (y0_test): Likewise.
38895 (y1_test): Likewise.
38896 (yn_test): Likewise.
38898 2012-03-27 Anton Blanchard <anton@samba.org>
38900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38903 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38904 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38906 2012-03-27 David S. Miller <davem@davemloft.net>
38908 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38910 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38911 have-as-vis3 check.
38913 2012-03-27 Andreas Jaeger <aj@suse.de>
38915 * sysdeps/x86_64/elf/configure.in: Moved to ...
38916 * sysdeps/x86_64/configure.in: ... here.
38917 * sysdeps/x86_64/elf/start.S: Moved to ...
38918 * sysdeps/x86_64/start.S: ... here.
38919 * sysdeps/x86_64/elf/configure: Delete.
38921 * sysdeps/x86_64/configure.in: Merge contents from
38922 sysdeps/i386/configure.in (without i686 check).
38924 * sysdeps/i386/elf/Versions: Merge into ...
38925 * sysdeps/i386/Versions: ... this.
38926 * sysdeps/i386/elf/Versions: Delete file.
38927 * sysdeps/i386/elf/start.S: Moved to ...
38928 * sysdeps/i386/start.S: ...here.
38929 * sysdeps/i386/elf/configure.in: Merge into...
38930 * sysdeps/i386/configure.in: ...here.
38931 * sysdeps/i386/elf/configure.in: Delete file.
38932 * sysdeps/i386/elf/configure: Delete file.
38934 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38935 * debug/backtracesyms.c: ... here.
38936 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38937 * debug/backtracesymsfd.c: ... here.
38938 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38939 * sysdeps/generic/ifunc-sel.h: ... here.
38941 * sysdeps/unix/i386/start.c: Delete file.
38942 * sysdeps/unix/sparc/start.c: Delete file.
38943 * sysdeps/unix/start.c: Delete file.
38945 * sysdeps/sh/elf/configure.in: Moved to ...
38946 * sysdeps/sh/configure.in: ... here.
38947 * sysdeps/sh/elf/start.S: Moved to ...
38948 * sysdeps/sh/start.S: ... here.
38949 * sysdeps/sh/elf/configure: Delete file.
38951 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38952 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38953 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38954 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38955 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38956 * sysdeps/powerpc/powerpc64/start.S: here.
38957 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38958 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38959 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38960 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38961 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38963 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38964 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38965 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38966 * sysdeps/powerpc/powerpc32/start.S: ... here.
38967 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38968 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38969 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38971 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38972 * sysdeps/powerpc/ifunc-sel.h: ... here.
38973 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38974 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38976 * sysdeps/sparc/elf/configure.in: Moved to ...
38977 * sysdeps/sparc/configure.in: ... here.
38978 * sysdeps/sparc/elf/configure: Delete file.
38979 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38980 * sysdeps/sparc/sparc32/start.S: ... here.
38981 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38982 * sysdeps/sparc/sparc64/start.S: ... here.
38983 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38984 * sysdeps/sparc/sparc32/Makefile: ... this.
38985 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38986 * sysdeps/sparc/sparc64/Makefile: ... this.
38988 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38989 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38990 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38991 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38992 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38993 * sysdeps/s390/s390-32/setjmp.S: ... here.
38994 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38995 * sysdeps/s390/s390-32/configure.in: ... here.
38996 * sysdeps/s390/s390-32/elf/configure: Delete file.
38997 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38998 * sysdeps/s390/s390-32/start.S: ... here.
39000 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39001 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39002 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39003 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39004 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39005 * sysdeps/s390/s390-64/setjmp.S: ... here.
39006 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39007 * sysdeps/s390/s390-64/configure.in: ... here
39008 * sysdeps/s390/s390-64/elf/configure: Delete file.
39009 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39010 * sysdeps/s390/s390-64/start.S: ... here.
39011 * sysdeps/s390/s390-64/elf/configure: Delete.
39013 * configure.in: Remove support for elf directories in sysdeps.
39015 * configure: Regenerated.
39016 * sysdeps/i386/configure: Regenerated.
39017 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39018 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39019 * sysdeps/s390/s390-32/configure: Regenerated.
39020 * sysdeps/s390/s390-64/configure: Regenerated.
39021 * sysdeps/sh/configure: Regenerated.
39022 * sysdeps/sparc/configure: Regenerated.
39023 * sysdeps/x86_64/configure: Regenerated.
39025 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39030 denormal result into account.
39032 2012-03-25 Roland McGrath <roland@hack.frob.com>
39034 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39035 Reported by Allan McRae <allan@archlinux.org>.
39037 2012-03-23 Jeff Law <law@redhat.com>
39039 * nss/getnssent.c (__nss_getent): Fix typo.
39041 2012-03-23 David S. Miller <davem@davemloft.net>
39043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39045 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39047 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39048 to pad to uint64_t for each field.
39049 (dl_tls_index): Replace unsigned long with uint64_t.
39051 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39052 Paul Pluzhnikov <ppluzhnikov@google.com>
39055 * grp/Makefile (otherlibs): Don't set it.
39056 * inet/Makefile (otherlibs): Likewise.
39057 * login/Makefile (otherlibs): Likewise.
39058 * nscd/Makefile (otherlibs): Likewise.
39059 * posix/Makefile (otherlibs): Likewise.
39060 * pwd/Makefile (otherlibs): Likewise.
39061 * rt/Makefile (otherlibs): Likewise.
39062 * sunrpc/Makefile (otherlibs): Likewise.
39063 * nss/Makefile (otherlibs): Likewise.
39064 Add libnss_files to routines and static-only-routines.
39065 ($(objpfx)getent): Remove rule.
39066 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39067 static-only-routines.
39069 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39072 * math/s_cexp.c: Include <float.h>.
39073 (__cexp): Handle exp result overflowing not necessarily
39074 overflowing both real and imaginary parts of result.
39075 * math/s_cexpf.c: Likewise.
39076 * math/s_cexpl.c: Likewise.
39077 * math/libm-test.inc (cexp_test): Add more tests.
39078 * sysdeps/i386/fpu/libm-test-ulps: Update.
39079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39081 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39083 * include/link.h (ELFW): New macro.
39084 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39085 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39087 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39089 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39092 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39094 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39096 (struct La_x32_retval): Likewise.
39098 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39100 * sysdeps/x86_64/preconfigure.in: New file.
39101 * sysdeps/x86_64/preconfigure: New generated file.
39103 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39106 * math/e_exp2l.c: Include <float.h>.
39107 (__ieee754_exp2l): Handle overflow and underflow cases
39108 separately. Only pass fractional part of argument to
39110 * math/libm-test.inc (exp2_test): Add more tests.
39112 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39113 negating x to take absolute value.
39114 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39119 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39120 computing low part if x was negated.
39121 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39123 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39125 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39126 la_x32_gnu_pltexit.
39127 (pltexit): Cast int_retval to ptrdiff_t.
39128 * elf/tst-auditmod3b.c: Likewise.
39129 * elf/tst-auditmod4b.c: Likewise.
39130 * elf/tst-auditmod5b.c: Likewise.
39131 * elf/tst-auditmod6b.c: Likewise.
39132 * elf/tst-auditmod6c.c: Likewise.
39133 * elf/tst-auditmod7b.c: Likewise.
39135 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39136 and x32_gnu_pltexit.
39138 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39139 __ELF_NATIVE_CLASS.
39140 (La_x32_regs): New macro.
39141 (La_x32_retval): Likewise.
39142 (la_x32_gnu_pltenter): New function prototype.
39143 (la_x32_gnu_pltexit): Likewise.
39145 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39152 * configure.in (libc_cv_cc_nofma): Check for option to disable
39153 generation of FMA instructions.
39154 * configure: Regenerate.
39155 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39156 * sysdeps/ieee754/dbl-64/Makefile: New file.
39157 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39158 Remove brandred-fma4.
39159 (CFLAGS-brandred-fma4.c): Remove.
39160 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39161 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39163 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39166 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39168 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39169 LLONG_MAX != LONG_MAX.
39170 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39171 (_fitoa_word): Likewise.
39172 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39173 LLONG_MAX != LONG_MAX.
39174 * stdio-common/_itowa.h: Include <_itoa.h>.
39175 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39176 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39177 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39178 only if not defined.
39179 (_ITOA_WORD_TYPE): Likewise.
39180 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39181 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39183 2012-03-21 David S. Miller <davem@davemloft.net>
39185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39187 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39189 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39190 of x86_64 when setting libc_cv_slibdir, libdir and
39192 * sysdeps/unix/sysv/linux/configure: Regenerated.
39194 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39196 * manual/lang.texi (Old Varargs): Remove section.
39197 (How Variadic): Update menu.
39198 (va_start): Do not mention varargs.h.
39200 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39201 Joseph Myers <joseph@codesourcery.com>
39203 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39205 * configure: Regenerated.
39207 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39209 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39210 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39213 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39216 * Makefile (files-for-dist): Remove NOTES.
39217 (NOTES): Remove rule.
39218 * README: Don't refer to NOTES.
39219 * manual/creature.texi: Don't include macros.texi.
39220 * manual/intro.texi (creature.texi): Remove comment referring to
39223 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39224 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39225 * configure: Regenerated.
39226 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39227 LIBC_TRY_CC_OPTION.
39228 (libc_cv_as_i686): Likewise.
39229 (libc_cv_cc_avx): Likewise.
39230 (libc_cv_cc_sse2avx): Likewise.
39231 (libc_cv_cc_fma4): Likewise.
39232 (libc_cv_cc_novzeroupper): Likewise.
39233 * sysdeps/i386/configure: Regenerated.
39236 * sysdeps/i386/fpu/s_cexp.S: Remove.
39237 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39238 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39239 * math/libm-test.inc (cexp_test): Add more tests.
39240 * sysdeps/i386/fpu/libm-test-ulps: Update.
39241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39243 2012-03-21 Allan McRae <allan@archlinux.org>
39245 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39247 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39250 * math/w_exp2.c: Do not include <float.h>.
39251 (o_threshold, u_threshold): Remove.
39252 (__exp2): Calculate result before checking finiteness and calling
39254 * math/w_exp2f.c: Likewise.
39255 * math/w_exp2l.c: Likewise.
39256 * math/libm-test.inc (exp2_test): Require overflow exception for
39260 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39261 range of signed 64-bit integers before using fistpll. Remove
39262 checks for whether integers fit in mantissa bits.
39263 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39264 the range of signed 32-bit integers before using fistpl. Remove
39265 checks for whether integers fit in mantissa bits.
39266 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39267 (__ieee754_powl): Test for y outside the range of signed 64-bit
39268 integers before using fistpll. Reduce 64-bit values to 63-bit
39270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39271 divide-by-zero is raised for zero to large negative powers.
39272 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39273 (__ieee754_powl): Test for y outside the range of signed 64-bit
39274 integers before using fistpll. Reduce 64-bit values to 63-bit
39276 * math/libm-test.inc (pow_test): Add more tests.
39278 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39280 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39281 <stdio-common/_itoa.h>.
39282 * debug/segfault.c: Likewise.
39283 * elf/dl-cache.c: Likewise.
39284 * elf/dl-minimal.c: Likewise.
39285 * elf/dl-misc.c: Likewise.
39286 * elf/dl-sysdep.c: Likewise.
39287 * elf/dl-version.c: Likewise.
39288 * elf/rtld.c: Likewise.
39289 * hurd/hurdsock.c: Likewise.
39290 * hurd/lookup-retry.c: Likewise.
39291 * malloc/malloc.c: Likewise.
39292 * malloc/mtrace.c: Likewise.
39293 * nscd/nscd_getgr_r.c: Likewise.
39294 * nscd/nscd_getpw_r.c: Likewise.
39295 * nscd/nscd_getserv_r.c: Likewise.
39296 * posix/getopt_init.c: Likewise.
39297 * posix/wordexp.c: Likewise.
39298 * stdio-common/_itoa.c: Likewise.
39299 * stdio-common/printf_fphex.c: Likewise.
39300 * stdio-common/vfprintf.c: Likewise.
39301 * string/_strerror.c: Likewise.
39302 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39303 * sysdeps/i386/i686/hp-timing.h: Likewise.
39304 * sysdeps/mach/_strerror.c: Likewise.
39305 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39306 * sysdeps/mach/hurd/sethostid.c: Likewise.
39307 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39308 * sysdeps/mach/xpg-strerror.c: Likewise.
39309 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39311 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39312 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39313 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39314 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39316 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39317 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39318 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39319 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39320 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39321 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39322 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39323 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39324 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39325 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39326 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39327 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39328 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39329 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39331 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39333 * stdio-common/_itoa.h: Moved to ...
39334 * sysdeps/generic/_itoa.h: Here.
39336 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39338 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39339 instead of "_itoa.h" and "_itowa.h".
39340 * stdio-common/vfprintf.: Likewise.
39342 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39344 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39346 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39347 (__signbit): Likwise.
39348 (llrintf): Likwise.
39351 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39353 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39356 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39358 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39359 OVERFLOW_EXCEPTION_OK.
39360 * math/libm-test.inc ("Philosophy"): Update comment about
39362 (OVERFLOW_EXCEPTION): Define.
39363 (OVERFLOW_EXCEPTION_OK): Likewise.
39364 (INVALID_EXCEPTION_OK): Renumber.
39365 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39366 (IGNORE_ZERO_INF_SIGN): Likewise.
39367 (test_exceptions): Handle FE_OVERFLOW.
39368 (exp10_test): Expect overflow exceptions.
39369 (exp2_test): Likewise.
39370 (expm1_test): Likewise.
39371 (nextafter_test): Likewise.
39372 (pow_test): Likewise.
39373 (scalbn_test): Likewise.
39374 (scalbln_test): Likewise.
39376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39378 * sysdeps/x86_64/bits/atomic.h
39379 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39381 (atomic_exchange_acq): Likewise.
39382 (__arch_exchange_and_add_body): Likewise.
39383 (__arch_add_body): Likewise.
39384 (atomic_add_negative): Likewise.
39385 (atomic_add_zero): Likewise.
39387 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39389 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39390 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39392 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39394 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39395 Check __x86_64__ instead of __WORDSIZE.
39397 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39399 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39401 2012-03-19 David S. Miller <davem@davemloft.net>
39403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39405 * sysdeps/sparc/fpu/fenv_private.h: New file.
39406 * sysdeps/sparc/fpu/math_private.h: Use it.
39407 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39409 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39410 (libc_feholdexcept_setroundl): Remove.
39411 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39413 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39414 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39418 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39419 int64_t instead of long int.
39420 (INSERT_WORDS64): Likwise.
39422 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39424 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39425 _Unwind_GetCFA return to _Unwind_Ptr first.
39427 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39430 * math/s_clog.c: Include <float.h>.
39431 (__clog): Scale large or subnormal inputs.
39432 * math/s_clogf.c: Likewise.
39433 * math/s_clogl.c: Likewise.
39434 * math/s_clog10.c: Include <float.h>.
39435 (M_LOG10_2): Define.
39436 (__clog10): Scale large or subnormal inputs.
39437 * math/s_clog10f.c: Likewise.
39438 * math/s_clog10l.c: Likewise.
39439 * math/libm-test.inc (clog_test): Add more tests.
39440 (clog10_test): Likewise.
39441 * sysdeps/i386/fpu/libm-test-ulps: Update.
39442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39445 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39447 * math/libm-test.inc (atan2_test): Add another test.
39449 * Makerules (common-objdir-compile): Remove.
39450 * sysdeps/unix/Makefile (config-generated): Do not add
39451 $(unix-generated) to variable.
39452 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39453 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39455 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39457 [generic bits/local_lim.h] (before-compile): Do not append to
39459 [generic bits/local_lim.h] (common-generated): Likewise.
39460 [generic sys/param.h] (before-compile): Do not append to variable.
39461 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39462 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39463 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39464 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39466 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39467 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39468 [generic sys/param.h] ($(addprefix
39469 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39470 [generic sys/param.h] (common-generated): Do not append to
39472 [generic sys/param.h] (sysdep_headers): Likewise.
39473 [generic bits/errno.h] (before-compile): Do not append to
39475 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39477 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39478 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39479 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39480 [generic bits/errno.h] (common-generated): Do not append to
39482 [generic bits/ioctls.h] (before-compile): Do not append to
39484 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39486 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39487 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39488 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39490 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39491 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39492 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39493 [generic bits/ioctls.h] (common-generated): Do not append to
39495 [generic sys/syscall.h] (syscall.h): Remove variable.
39496 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39498 [generic sys/syscall.h] (before-compile): Do not append to
39500 [generic sys/syscall.h] (common-generated): Likewise.
39501 * sysdeps/unix/errnos-tmpl.c: Remove file.
39502 * sysdeps/unix/errnos.awk: Likewise.
39503 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39504 * sysdeps/unix/ioctls.awk: Likewise.
39505 * sysdeps/unix/mk-local_lim.c: Likewise.
39506 * sysdeps/unix/snarf-ioctls: Likewise.
39508 2012-03-19 Richard Henderson <rth@twiddle.net>
39510 * sysdeps/i386/fpu/fenv_private.h: New file.
39511 * sysdeps/i386/fpu/math_private.h: Use it.
39512 (math_opt_barrier, math_force_eval): Remove.
39513 (libc_feholdexcept_setround_53bit): Remove.
39514 (libc_feupdateenv_53bit): Remove.
39515 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39516 (math_opt_barrier, math_force_eval): Remove.
39517 (libc_feholdexcept): Remove.
39518 (libc_feholdexcept_setround): Remove.
39519 (libc_fetestexcept, libc_fesetenv): Remove.
39520 (libc_feupdateenv_test): Remove.
39521 (libc_feupdateenv, libc_feholdsetround): Remove.
39522 (libc_feresetround): Remove.
39524 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39525 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39527 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39528 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39529 (libc_feupdateenv_testl): New.
39530 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39531 (libc_feupdateenv_testf): New.
39532 (libc_feupdateenv): Use libc_feupdateenv_test.
39533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39534 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39536 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39537 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39538 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39539 (libc_feresetround_noex): New.
39540 (libc_feresetround_noexf): New.
39541 (libc_feresetround_noexl): New.
39542 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39543 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39544 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39545 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39550 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39551 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39552 SET_RESTORE_ROUND_NOEX.
39553 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39554 SET_RESTORE_ROUND_NOEXF.
39555 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39556 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39557 (libc_feholdsetroundf): New.
39558 (libc_feresetround, libc_feresetroundf): New.
39560 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39561 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39562 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39564 * sysdeps/generic/math_private.h: Include <fenv.h>.
39565 (default_libc_feholdexcept): New.
39566 (default_libc_feholdexcept_setround): New.
39567 (default_libc_fesetenv, default_libc_feupdateenv): New.
39568 (libc_feholdexcept): Only define if undefined.
39569 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39570 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39571 (libc_feholdexcept_setroundl): Likewise.
39572 (libc_feholdexcept_setround_53bit): Likewise.
39573 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39574 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39575 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39576 (libc_feupdateenv_53bit): Likewise.
39577 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39578 (libc_feholdexcept): Convert from macro to inline function.
39579 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39580 (libc_fesetenv, libc_feupdateenv): Likewise.
39582 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39583 not previously defined.
39584 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39585 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39586 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39587 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39588 * sysdeps/ieee754/flt-32/math_private.h: New file.
39589 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39590 math_private.h below SET_FLOAT_WORD.
39591 (__isnan, __isinf_ns, __finite): Remove.
39592 (__isnanf, __isinf_nsf, __finitef): Remove.
39594 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39598 2012-03-17 David S. Miller <davem@davemloft.net>
39601 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39604 2012-03-16 David S. Miller <davem@davemloft.net>
39606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39610 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39612 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39613 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39614 sysdep_routines when subdir is sysvipc.
39615 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39616 __getshmlba helper.
39618 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39620 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39622 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39625 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39628 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39629 (__lround): Renamed to ...
39630 (__llround): This. Replace long int with long long int.
39631 Define lround functions as aliases of llround functions.
39632 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39634 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39636 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39637 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39638 adresses to uintptr_t. Replace "long int" and "unsigned long
39639 int" with "greg_t" on va_arg.
39641 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39643 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39644 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39646 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39647 Move e_machine check before EI_CLASS check. Handle x32
39648 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39649 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39650 SKIP_EM_IA_64 and include
39651 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39653 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39654 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39655 (add_system_dir): New macro.
39657 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39658 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39660 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39671 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39673 * math/w_j0f.c (j0f): Likewise.
39675 * math/w_j0l.c (__j0l): Likewise.
39677 * math/w_j1.c (j1): Likewise.
39679 * math/w_j1f.c (j1f): Likewise.
39681 * math/w_j1l.c (__j1l): Likewise.
39683 * math/w_jn.c (jn): Likewise.
39685 * math/w_jnf.c (jnf): Likewise.
39687 * math/w_jnl.c (__jnl): Likewise.
39689 * math/libm-test.inc (j0_test): Add more tests.
39690 (j1_test): Likewise.
39691 (jn_test): Likewise. Add trailing semicolon to existing test.
39692 (y0_test): Likewise.
39693 (y1_test): Likewise.
39694 * sysdeps/i386/fpu/libm-test-ulps: Update.
39695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39699 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39700 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39701 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39703 (__tanl): Set errno for infinite argument.
39704 * sysdeps/i386/fpu/mptan.c: Remove.
39705 * sysdeps/i386/fpu/s_tan.S: Likewise.
39706 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39707 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39708 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39709 * math/libm-test.inc (tan_test): Add more tests and enable more
39710 tests for double and long double.
39711 * sysdeps/i386/fpu/libm-test-ulps: Update.
39712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39714 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39716 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39717 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39719 2012-03-16 Roland McGrath <roland@hack.frob.com>
39721 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39722 * configure.in: Use it for both main tree and add-ons.
39723 * configure: Regenerated.
39725 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39727 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39729 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39731 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39735 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39736 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39741 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39743 != 0 for prec == 2.
39744 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39745 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39746 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39747 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39748 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39749 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39750 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39751 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39752 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39753 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39754 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39755 * math/libm-test.inc (cos_test): Add more tests and enable more
39756 tests for long double.
39757 (sin_test): Likewise.
39758 (sincos_test): Likewise.
39759 * sysdeps/i386/fpu/libm-test-ulps: Update.
39760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39762 2012-03-16 David S. Miller <davem@davemloft.net>
39764 * sysdeps/sparc/fpu/math_private.h: New file.
39766 2012-03-15 David S. Miller <davem@davemloft.net>
39768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39782 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39783 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39785 * sysdeps/sparc/sparc-ifunc.h: New file.
39786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39831 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39833 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39837 2012-03-15 Andreas Jaeger <aj@suse.de>
39840 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39841 ieee754/flt-32 implementation for sin, cos and sincos.
39842 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39843 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39844 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39845 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39846 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39847 ieee754/flt-32 implementation for tan.
39849 * math/libm-test.inc (cos_test): Enable some large input tests for
39851 (sin_test): Likewise.
39852 (sincos_test): Likewise.
39853 (tan_test): Add tests for large input.
39855 * sysdeps/i386/fpu/libm-test-ulps: Update.
39857 2012-03-15 Andreas Jaeger <aj@suse.de>
39860 * math/libm-test.inc (cos_test): Add more test cases.
39861 (sin_test): Likewise.
39862 (sincos_test): Likewise.
39864 2012-03-15 Andreas Jaeger <aj@suse.de>
39867 * math/libm-test.inc (cos_test): Add a test case for large input
39869 (sin_test): Likewise.
39870 (sincos_test): Likewise.
39872 2012-03-15 Andreas Jaeger <aj@suse.de>
39873 Joseph Myers <joseph@codesourcery.com>
39876 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39877 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39878 * sysdeps/i386/fpu/branred.c: Likewise.
39879 * sysdeps/i386/fpu/dosincos.c: Likewise.
39880 * sysdeps/i386/fpu/mpa.c: Likewise.
39881 * sysdeps/i386/fpu/s_cos.S: Likewise.
39882 * sysdeps/i386/fpu/s_sin.S: Likewise.
39883 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39884 * sysdeps/i386/fpu/sincos32.c: Likewise.
39886 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39888 (libc_feupdateenv_53bit): Define.
39889 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39891 (libc_feupdateenv_53bit): Define.
39893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39894 53 bit (without extend i386 double precision).
39896 * math/libm-test.inc (sincos_test): Add tests for large input.
39900 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39902 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39906 2012-03-15 David S. Miller <davem@davemloft.net>
39908 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39909 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39910 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39911 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39936 fmin/fmax sysdep routines.
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39939 2012-03-14 David S. Miller <davem@davemloft.net>
39941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40013 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40018 * sysdeps/sparc/configure.in: New file.
40019 * sysdeps/sparc/configure: Generate.
40020 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40021 * configure: Regenerate.
40022 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40023 * config.make.in (have-as-vis3): New.
40024 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40025 available use -Av9d instead of -Av9a.
40026 * sysdeps/sparc/sparc64/Makefile: Likewise.
40027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40042 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40043 fzeros/fnegs to load 0x80000000 into a float register instead of
40045 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40047 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40051 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40052 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40053 ($(inst_includedir)/bits/syscall.h): Remove rule.
40054 ($(objpfx)bits/syscall.d): Include instead of
40055 $(objpfx)syscall-list.d.
40056 (generated): Change syscall-list.h and syscall-list.d to
40057 bits/syscall.h and bits/syscall.d.
40059 2012-03-14 Roland McGrath <roland@hack.frob.com>
40062 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40064 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40067 * math/s_csqrt.c: Include <float.h>.
40068 (__csqrt): Scale large or subnormal inputs.
40069 * math/s_csqrtf.c: Likewise.
40070 * math/s_csqrtl.c: Likewise.
40071 * math/libm-test.inc (csqrt_test): Add more tests.
40072 * sysdeps/i386/fpu/libm-test-ulps: Update.
40073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40076 * math/libm-test.inc (hypot_test): Add more tests.
40078 2012-03-13 David S. Miller <davem@davemloft.net>
40081 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40082 double-precision for the calculation instead of scaling.
40084 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40086 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40087 manipulate bits before adding and subtracting TWO52[sx].
40088 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40093 2012-03-13 David S. Miller <davem@davemloft.net>
40095 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40096 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40098 rtld-global-offsets.h
40099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40101 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40104 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40106 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40107 'err' in the ifdef scope in which it is actually used.
40109 * nss/nss_db/db-init.c: Include string.h
40111 2012-03-12 David S. Miller <davem@davemloft.net>
40113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40114 masking out of the most significant byte of random value used.
40115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40116 Fix coding style in previous change.
40118 * sysdeps/unix/sysv/linux/kernel-features.h
40119 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40120 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40122 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40125 2012-03-11 David S. Miller <davem@davemloft.net>
40127 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40128 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40130 for 'resultvar' otherwise things get truncated on 64-bit.
40132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40133 Fix masking out of the most significant byte of random value used.
40135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40137 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40141 2012-03-09 David S. Miller <davem@davemloft.net>
40143 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40144 variables with appropriate CPP guards.
40145 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40146 from the frame pointer, not the stack pointer. Correct layout
40147 comments. Fix test on resulting framesize and the management of
40148 the outregs buffer for pltexit. Preserve floating point return
40149 values across _dl_call_pltexit call.
40150 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40151 framesize and the management of the outregs buffer for pltexit.
40152 Preserve floating point return values across _dl_call_pltexit
40154 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40155 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40156 (la_sparc64_gnu_pltexit): New functions.
40157 (print_exit): Fix format string for return register value.
40159 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40161 * sunrpc/Makefile (others): Add rpcgen.
40162 ($(objpfx)rpcgen): Remove special build rule and dependency on
40164 * sunrpc/rpcgen.c: New file.
40166 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40169 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40170 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40171 * sysdeps/i386/crti.S: Likewise.
40172 * sysdeps/i386/crtn.S: Likewise.
40173 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40174 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40175 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40176 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40177 * sysdeps/sh/crti.S: Likewise.
40178 * sysdeps/sh/crtn.S: Likewise.
40179 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40182 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40184 * locale/programs/locfile-kw.gperf: Likewise.
40185 * locale/programs/charmap-kw.h: Regenerated.
40186 * locale/programs/locfile-kw.h: Likewise.
40189 * intl/plural.y: Replace FSF snail mail address with URL.
40190 * intl/plural.c: Regenerated.
40192 2012-03-09 Richard Henderson <rth@twiddle.net>
40194 * include/math_private.h: Remove file.
40195 * math/math_private.h: Move file ...
40196 * sysdeps/generic/math_private.h: ... here.
40198 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40199 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40200 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40202 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40203 and <math_private.h>.
40204 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40205 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40206 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40207 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40208 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40212 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40213 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40216 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40218 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40219 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40220 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40221 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40222 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40223 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40226 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40238 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40240 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40245 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40251 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40252 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40253 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40254 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40255 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40256 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40257 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40258 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40259 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40263 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40264 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40265 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40267 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40268 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40269 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40270 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40271 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40272 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40275 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40276 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40284 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40288 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40292 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40293 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40294 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40295 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40298 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40301 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40303 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40304 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40305 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40306 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40307 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40308 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40309 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40312 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40314 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40315 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40316 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40317 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40318 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40320 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40321 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40323 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40325 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40326 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40327 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40328 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40329 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40331 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40332 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40333 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40334 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40335 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40336 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40337 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40338 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40341 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40342 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40343 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40345 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40347 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40348 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40349 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40350 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40351 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40352 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40353 * sysdeps/ieee754/k_standard.c: Likewise.
40354 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40355 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40356 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40357 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40358 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40359 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40360 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40361 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40363 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40364 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40396 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40398 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40405 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40415 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40416 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40417 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40421 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40431 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40438 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40439 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40442 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40444 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40445 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40447 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40450 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40457 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40464 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40465 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40468 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40470 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40473 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40475 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40476 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40477 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40480 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40481 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40482 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40483 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40484 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40485 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40486 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40487 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40488 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40490 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40496 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40497 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40499 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40500 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40501 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40502 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40503 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40504 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40514 * sysdeps/ieee754/s_lib_version.c: Likewise.
40515 * sysdeps/ieee754/s_matherr.c: Likewise.
40516 * sysdeps/ieee754/s_signgam.c: Likewise.
40517 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40518 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40519 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40520 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40522 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40523 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40524 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40525 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40526 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40527 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40528 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40531 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40532 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40534 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40535 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40539 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40541 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40542 * sunrpc/rpc_main.c: Likewise.
40543 * sunrpc/rpc_svcout.c: Likewise.
40545 2012-03-09 David S. Miller <davem@davemloft.net>
40547 * include/math_private.h: New file.
40549 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40551 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40552 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40553 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40554 from <bits/socket_type.h>.
40555 (enum __socket_type): Don't define here.
40556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40558 bits/socket_type.h.
40561 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40562 checking __USE_GNU.
40564 * Makerules ($(inst_includedir)/%.h): New rule.
40565 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40566 (install-others): Remove variable setting.
40567 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40569 2012-03-08 Richard Henderson <rth@twiddle.net>
40571 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40572 from macro to inline function; merge with the
40573 !__LIBC_INTERNAL_MATH_INLINES version.
40574 (__ieee754_sqrtf): Likewise.
40576 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40577 to inline function.
40578 (__rintf, __floor, __floorf): Likewise.
40580 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40581 macro to inline function.
40582 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40584 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40585 not <math/math_private.h>.
40587 2012-03-08 David S. Miller <davem@davemloft.net>
40589 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40591 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40593 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40595 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40597 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40598 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40600 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40602 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40603 be defined individually, they must be defined as a block. Define
40604 S for printing a string instead of hidint the different by using a
40605 macro for adding the 'l'.
40606 * stdio-common/tst-fphex-wide.c: Adjust.
40608 2012-03-07 Marek Polacek <polacek@redhat.com>
40610 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40612 2012-03-08 Marek Polacek <polacek@redhat.com>
40615 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40616 * stdio-common/tst-fphex.c: Define a few macros to make the
40617 test reusable. Use them.
40618 * stdio-common/tst-fphex-wide.c: New file.
40620 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40623 * manual/macros.texi (gnusystems): New macro.
40624 (nongnusystems): Likewise.
40625 (gnulinuxhurdsystems): Likewise.
40626 (gnuhurdsystems): Likewise..
40627 (gnulinuxsystems): Likewise.
40628 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40629 variants of the GNU system, not "GNU system".
40630 * manual/conf.texi: Likewise.
40631 * manual/errno.texi: Likewise. Update example of errno macro
40633 * manual/filesys.texi: Likewise.
40634 (getumask): Document as specific to GNU/Hurd.
40635 * manual/install.texi: Likewise. Reword some references to
40637 * manual/intro.texi: Likewise.
40638 * manual/io.texi: Likewise.
40639 (File Name Portability): Detail which constraints are inapplicable
40640 to all GNU systems and which are only inapplicable to GNU/Hurd.
40641 * manual/job.texi: Likewise.
40642 * manual/llio.texi: Likewise.
40643 (O_NOCTTY): Document as present on GNU/Linux.
40644 * manual/maint.texi: Likewise.
40645 * manual/memory.texi: Likewise.
40646 * manual/pattern.texi: Likewise.
40647 * manual/pipe.texi: Likewise.
40648 * manual/process.texi: Likewise.
40649 * manual/resource.texi: Likewise.
40650 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40652 * manual/setjmp.texi: Likewise.
40653 * manual/signal.texi: Likewise.
40654 * manual/startup.texi: Likewise.
40655 * manual/stdio.texi: Likewise.
40656 * manual/terminal.texi: Likewise.
40657 (ONLCR): Document as POSIX.
40658 (OXTABS): Document availability on GNU/Linux as XTABS.
40659 (ONOEOT): Document availability separately from other bits.
40660 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40661 * manual/time.texi: Likewise.
40662 * manual/users.texi: Likewise.
40663 * INSTALL: Regenerated.
40664 * sysdeps/gnu/errlist.c: Regenerated.
40666 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40667 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40668 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40670 * configure: Regenerated.
40672 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40674 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40675 default includes instead of AC_HEADER_CHECK.
40676 * sysdeps/i386/configure: Regenerated.
40679 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40680 * math/s_cacoshf.c (__cacoshf): Likewise.
40681 * math/s_cacoshl.c (__cacoshl): Likewise.
40682 * math/s_casinh.c (__casinh): Set signs of result from argument.
40683 * math/s_casinhf.c (__casinhf): Likewise.
40684 * math/s_casinhl.c (__casinhl): Likewise.
40685 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40686 (casinh_test): Add more tests.
40687 * sysdeps/i386/fpu/libm-test-ulps: Update.
40688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40690 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40692 * po/zh_TW.po: Update from translation team.
40694 * login/Makefile (distribute): Remove variable.
40695 * catgets/Makefile: Likewise.
40696 * mach/Makefile: Likewise.
40697 * malloc/Makefile: Likewise.
40698 * misc/Makefile: Likewise.
40699 * iconv/Makefile: Likewise.
40700 * nscd/Makefile: Likewise.
40701 * hurd/Makefile: Likewise.
40702 * manual/Makefile: Likewise.
40703 * locale/Makefile: Likewise.
40704 * intl/Makefile: Likewise.
40705 * conform/Makefile: Likewise.
40706 * nss/Makefile: Likewise.
40707 * time/Makefile: Likewise.
40708 * soft-fp/Makefile: Likewise.
40709 * dirent/Makefile: Likewise.
40710 * gmon/Makefile: Likewise.
40711 * po/Makefile: Likewise.
40712 * rt/Makefile: Likewise.
40713 * socket/Makefile: Likewise.
40714 * math/Makefile: Likewise.
40715 * signal/Makefile: Likewise.
40716 * debug/Makefile: Likewise.
40717 * elf/Makefile: Likewise.
40718 * timezone/Makefile: Likewise.
40719 * stdlib/Makefile: Likewise.
40720 * iconvdata/Makefile: Likewise.
40721 * sunrpc/Makefile: Likewise.
40722 * io/Makefile: Likewise.
40723 * argp/Makefile: Likewise.
40724 * inet/Makefile: Likewise.
40725 * hesiod/Makefile: Likewise.
40726 * grp/Makefile: Likewise.
40727 * csu/Makefile: Likewise.
40728 * wctype/Makefile: Likewise.
40729 * crypt/Makefile: Likewise.
40730 * libio/Makefile: Likewise.
40731 * string/Makefile: Likewise.
40732 * nis/Makefile: Likewise.
40733 * resolv/Makefile: Likewise.
40734 * stdio-common/Makefile: Likewise.
40735 * wcsmbs/Makefile: Likewise.
40736 * dlfcn/Makefile: Likewise.
40737 * posix/Makefile: Likewise.
40740 * timezone/Makefile: Don't install timezone files, just the programs
40743 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40745 * nss/databases.def: Add missing gshadow entry.
40747 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40749 2012-03-06 Marek Polacek <polacek@redhat.com>
40752 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40753 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40754 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40755 * stdio-common/tst-long-dbl-fphex.c: New file.
40757 2012-03-06 David S. Miller <davem@davemloft.net>
40759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40760 (set_obp_int): New function.
40761 (get_obp_int): New function.
40762 (__get_clockfreq_via_dev_openprom): Likewise.
40763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40764 Avoid unused variable warnings on 'val' and use builtin_expect.
40765 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40767 (INLINE_CLONE_SYSCALL): Likewise.
40769 2012-03-05 David S. Miller <davem@davemloft.net>
40771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40773 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40778 only for |x| >= 40.
40779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40781 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40784 Replace gettimeofday with __vdso_gettimeofday.
40786 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40787 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40788 __vdso_clock_gettime and __vdso_getcpu.
40790 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40791 time with __vdso_time.
40793 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40795 * manual/lang.texi (size_t): Note types to which size_t may be
40796 equivalent with the GNU C Library, but do not describe when
40797 differences between them are significant.
40799 2012-03-05 Andreas Jaeger <aj@suse.de>
40801 * sysdeps/i386/fpu/libm-test-ulps: Update.
40803 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40806 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40807 (__ieee754_pow): Save and restore rounding mode and use
40808 round-to-nearest for main computations.
40809 * math/libm-test.inc (pow_test_tonearest): New function.
40810 (pow_test_towardzero): Likewise.
40811 (pow_test_downward): Likewise.
40812 (pow_test_upward): Likewise.
40813 (main): Call the new functions.
40814 * sysdeps/i386/fpu/libm-test-ulps: Update.
40815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40818 * math/libm-test.inc (cosh_test_tonearest): New function.
40819 (cosh_test_towardzero): Likewise.
40820 (cosh_test_downward): Likewise.
40821 (cosh_test_upward): Likewise.
40822 (sinh_test_tonearest): Likewise.
40823 (sinh_test_towardzero): Likewise.
40824 (sinh_test_downward): Likewise.
40825 (sinh_test_upward): Likewise.
40826 (main): Call the new functions.
40827 * sysdeps/i386/fpu/libm-test-ulps: Update.
40828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40830 2012-03-05 Tom de Vries <tom@codesourcery.com>
40832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40833 default stack guard is set in last bytes.
40834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40836 2012-03-05 Kees Cook <keescook@chromium.org>
40838 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40841 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40842 possibly allocate from heap instead of stack.
40843 * stdio-common/bug-vfprintf-nargs.c: New file.
40844 * stdio-common/Makefile (tests): Add nargs overflow test.
40846 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40850 2012-03-03 Marek Polacek <polacek@redhat.com>
40852 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40853 * math/math_private.h: Likewise.
40854 * stdlib/tst-strtod.c: Likewise.
40855 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40856 * sysdeps/x86_64/bits/atomic.h: Likewise.
40858 2012-03-02 David S. Miller <davem@davemloft.net>
40860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40864 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40865 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40866 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40867 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40869 2012-03-02 Roland McGrath <roland@hack.frob.com>
40872 * manual/examples/README: New file, says the example source files
40873 can be used under GPL>=2.
40874 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40875 line containing just "*/".
40876 * manual/examples/add.c: Add copyright header (GPL>=2).
40877 * manual/examples/argp-ex1.c: Likewise.
40878 * manual/examples/argp-ex2.c: Likewise.
40879 * manual/examples/argp-ex3.c: Likewise.
40880 * manual/examples/argp-ex4.c: Likewise.
40881 * manual/examples/atexit.c: Likewise.
40882 * manual/examples/db.c: Likewise.
40883 * manual/examples/dir.c: Likewise.
40884 * manual/examples/dir2.c: Likewise.
40885 * manual/examples/execinfo.c: Likewise.
40886 * manual/examples/filecli.c: Likewise.
40887 * manual/examples/filesrv.c: Likewise.
40888 * manual/examples/fmtmsgexpl.c: Likewise.
40889 * manual/examples/genpass.c: Likewise.
40890 * manual/examples/inetcli.c: Likewise.
40891 * manual/examples/inetsrv.c: Likewise.
40892 * manual/examples/isockad.c: Likewise.
40893 * manual/examples/longopt.c: Likewise.
40894 * manual/examples/memopen.c: Likewise.
40895 * manual/examples/memstrm.c: Likewise.
40896 * manual/examples/mkfsock.c: Likewise.
40897 * manual/examples/mkisock.c: Likewise.
40898 * manual/examples/mygetpass.c: Likewise.
40899 * manual/examples/pipe.c: Likewise.
40900 * manual/examples/popen.c: Likewise.
40901 * manual/examples/rprintf.c: Likewise.
40902 * manual/examples/search.c: Likewise.
40903 * manual/examples/select.c: Likewise.
40904 * manual/examples/setjmp.c: Likewise.
40905 * manual/examples/sigh1.c: Likewise.
40906 * manual/examples/sigusr.c: Likewise.
40907 * manual/examples/stpcpy.c: Likewise.
40908 * manual/examples/strdupa.c: Likewise.
40909 * manual/examples/strftim.c: Likewise.
40910 * manual/examples/strncat.c: Likewise.
40911 * manual/examples/subopt.c: Likewise.
40912 * manual/examples/swapcontext.c: Likewise.
40913 * manual/examples/termios.c: Likewise.
40914 * manual/examples/testopt.c: Likewise.
40915 * manual/examples/testpass.c: Likewise.
40916 * manual/examples/timeval_subtract.c: Likewise.
40919 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40921 * manual/timeval_subtract.c.texi: ... here, new file.
40923 2012-03-02 David S. Miller <davem@davemloft.net>
40925 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40927 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40930 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40931 (__sin): Save and restore rounding mode and use round-to-nearest
40932 for all computations.
40933 (__cos): Save and restore rounding mode and use round-to-nearest
40934 for all computations.
40935 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40937 (tan): Save and restore rounding mode and use round-to-nearest for
40939 * math/libm-test.inc (cos_test_tonearest): New function.
40940 (cos_test_towardzero): Likewise.
40941 (cos_test_downward): Likewise.
40942 (cos_test_upward): Likewise.
40943 (sin_test_tonearest): Likewise.
40944 (sin_test_towardzero): Likewise.
40945 (sin_test_downward): Likewise.
40946 (sin_test_upward): Likewise.
40947 (tan_test_tonearest): Likewise.
40948 (tan_test_towardzero): Likewise.
40949 (tan_test_downward): Likewise.
40950 (tan_test_upward): Likewise.
40951 (main): Call the new functions.
40952 * sysdeps/i386/fpu/libm-test-ulps: Update.
40953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40956 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40957 small n, then large n, before computing and testing k+n.
40958 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40963 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40964 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40965 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40966 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40970 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40971 * math/libm-test.inc (scalbn_test): Add more tests.
40972 (scalbln_test): Likewise.
40974 * manual/filesys.texi (mode_t): Describe constraints on size and
40975 signedness, not exact equivalence to a particular type.
40977 (ino64_t): Likewise.
40979 (nlink_t): Likewise.
40980 (blkcnt_t): Likewise.
40981 (blkcnt64_t): Likewise.
40982 * manual/llio.texi (off_t): Likewise.
40985 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40986 (__ieee754_exp): Save and restore rounding mode and use
40987 round-to-nearest for all computations.
40988 * math/libm-test.inc (exp_test_tonearest): New function.
40989 (exp_test_towardzero): Likewise.
40990 (exp_test_downward): Likewise.
40991 (exp_test_upward): Likewise.
40992 (main): Call the new functions.
40993 * sysdeps/i386/fpu/libm-test-ulps: Update.
40994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40996 2012-03-01 Chris Demetriou <cgd@google.com>
40998 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40999 have predictable order.
41001 2012-03-01 David S. Miller <davem@davemloft.net>
41003 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41005 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41006 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41007 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41008 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41010 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41011 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41012 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41014 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41015 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41016 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41017 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41018 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41023 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41026 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41027 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41028 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41029 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41030 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41033 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41034 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41035 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41036 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41039 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41040 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41042 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41043 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41044 * sysdeps/sparc/elf/configure: Regenerated.
41046 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41048 * configure.in (AS, LD): Require binutils 2.20 or later.
41049 * configure: Regenerated.
41050 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41051 as required minimum version.
41052 * INSTALL: Regenerated.
41056 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41057 before squaring exponent.
41058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41059 bottom long double and 27 bits of top long double before squaring
41061 * math/libm-test.inc (erfc_test): Add more tests.
41062 * sysdeps/i386/fpu/libm-test-ulps: Update.
41063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41066 2012-03-01 Kai Tietz <ktietz@redhat.com>
41068 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41069 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41070 containing bit-fields.
41071 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41072 * soft-fp/single.h (_FP_UNION_S): Likewise.
41073 * soft-fp/double.h (_FP_UNION_D): Likewise.
41075 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41078 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41079 not include ../strcmp.S.
41080 [USE_AS_STRNCASECMP_L]: Likewise.
41081 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41082 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41083 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41084 (__strncasecmp_l_ia32): Define as alias to
41085 __strncasecmp_l_nonascii.
41088 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41089 * sysdeps/i386/fpu/libm-test-ulps: Update.
41090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41092 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41095 2012-02-29 Jeff Law <law@redhat.com>
41097 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41098 out of bounds read.
41100 2012-02-29 Marek Polacek <polacek@redhat.com>
41103 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41104 * elf/Makefile: Add rules to run tst-unused-dep.out.
41106 2012-02-28 David S. Miller <davem@davemloft.net>
41108 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41109 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41112 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41113 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41115 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41117 * math/libm-test.inc (llround_test): Move one test from
41118 lround_test. Use TEST_f_L in moved test.
41119 (lround_test): Move misplaced test to llround_test. Add testcase
41122 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41124 * sysdeps/x86_64/fpu/e_expf.S: New file.
41125 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41127 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41130 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41131 of remain_len that may cause incomplete multi-byte character and
41133 * posix/bug-regex33.c: New file.
41134 * posix/Makefile (tests): Add bug-regex33.
41136 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41138 * manual/macros.texi: New file.
41139 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41140 * manual/libc.texinfo: Include macros.texi.
41141 * manual/creatute.texi: Likewise.
41142 * manual/install.texi: Likewise.
41143 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41144 @glibcadj{} in references to the GNU C Library.
41145 * manual/charset.texi: Likewise.
41146 * manual/conf.texi: Likewise.
41147 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41148 when not using those macros.
41149 * manual/creature.texi: Likewise.
41150 * manual/crypt.texi: Likewise.
41151 * manual/errno.texi: Likewise.
41152 * manual/filesys.texi: Likewise.
41153 * manual/header.texi: Likewise.
41154 * manual/install.texi: Likewise.
41155 * manual/intro.texi: Likewise.
41156 * manual/io.texi: Likewise.
41157 * manual/job.texi: Likewise.
41158 * manual/lang.texi: Likewise.
41159 * manual/libc.texiinfo: Likewise.
41160 * manual/llio.texi: Likewise.
41161 * manual/locale.texi: Likewise.
41162 * manual/maint.texi: Likewise.
41163 * manual/math.texi: Likewise.
41164 * manual/memory.texi: Likewise.
41165 * manual/message.texi: Likewise.
41166 * manual/nss.texi: Likewise.
41167 * manual/pattern.texi: Likewise.
41168 * manual/process.texi: Likewise.
41169 * manual/resource.texi: Likewise.
41170 * manual/search.texi: Likewise.
41171 * manual/setjmp.texi: Likewise.
41172 * manual/signal.texi: Likewise.
41173 * manual/socket.texi: Likewise.
41174 * manual/startup.texi: Likewise.
41175 * manual/stdio.texi: Likewise.
41176 * manual/string.texi: Likewise.
41177 * manual/sysinfo.texi: Likewise.
41178 * manual/syslog.texi: Likewise.
41179 * manual/terminal.texi: Likewise.
41180 * manual/time.texi: Likewise.
41181 * manual/users.texi: Likewise.
41182 * INSTALL: Regenerated.
41183 * NOTES: Regenerated.
41184 * sysdeps/gnu/errlist.c: Regenerated.
41186 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41188 * include/dirent.h: Include <dirstream.h> before
41191 2012-02-28 David S. Miller <davem@davemloft.net>
41193 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41194 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41195 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41196 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41198 2012-02-27 David S. Miller <davem@davemloft.net>
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41202 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41203 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41206 frame pointer instead of stack pointer relative arg slot.
41207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41208 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41209 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41211 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41214 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41216 2012-02-27 David S. Miller <davem@davemloft.net>
41218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41222 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41223 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41224 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41225 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41227 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41229 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41230 later. Allow versions 5-9.
41231 * configure: Regenerated.
41232 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41233 required minimum version and 4.6 as recommended version. Do not
41234 mention bugs in GCC 2.7 and 2.8.
41235 * INSTALL: Regenerated.
41237 2012-02-27 David S. Miller <davem@davemloft.net>
41239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41245 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41246 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41249 manipulate bits before adding and subtracting TWO112[sx].
41250 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41252 2012-02-27 Roland McGrath <roland@hack.frob.com>
41255 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41256 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41257 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41258 being in POSIX, because they are in 1003.1-2008.
41260 * rt/tst-aio.c: Include <fcntl.h>.
41261 * rt/tst-aio7.c: Likewise.
41262 * rt/tst-aio64.c: Likewise.
41264 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41266 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41268 * manual/install.texi (--with-headers): Describe headers as
41269 interface headers, not private headers.
41270 (Specific advice for GNU/Linux systems): Describe use of headers
41271 from "make headers_install", not private headers from older
41273 * INSTALL: Regenerated.
41274 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41276 * sysdeps/unix/sysv/linux/configure: Regenerated.
41278 * manual/llio.texi (fclean): Remove documentation.
41280 * manual/Makefile (libc-texi-generated): New variable. Include
41282 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41283 $(libc-texi-generated), not duplicated list of files.
41284 (version.texi, stamp-version): New rules.
41285 (realclean): Remove $(libc-texi-generated), not individual files
41286 from that list. Do not remove dir-add.texinfo.
41287 * manual/libc.texinfo: Comment out uses of edition numbers and
41288 references to printed manual. Remove last-updated dates.
41289 (EDITION): Comment out.
41291 (VERSION, UPDATED): Remove.
41292 (version.texi): Include.
41294 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41296 * sysdeps/posix/spawni.c: Include <signal.h>.
41297 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41298 * sysdeps/pthread/aio_fsync.c: Likewise.
41300 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41302 * conform/Makefile (tests): Run only when not cross-compiling and
41303 when fast-check is not defined.
41305 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41306 * conform/data/limits.h-data: Fixes for POSIX2008.
41307 * conform/run-conformtest.sh: Run all tests.
41308 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41310 * include/bits/dlfcn.h: Likewise.
41311 * include/langinfo.h: Likewise.
41312 * include/monetary.h: Likewise.
41313 * include/sys/poll.h: Likewise.
41315 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41317 * posix/spawn.h: Define __need_sigset_t.
41318 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41319 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41320 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41321 to get sigevent_t only.
41322 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41323 only for __USE_GNU.
41324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41325 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41326 process_vm_writev only for __USE_GNU.
41327 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41329 * conform/Makefile: For now ignore errors from run-conformtest.
41330 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41331 POSIX to avoid namespace pollution. Don't prepend headers.
41332 * conform/data/aio.h-data: Fixes for POSIX testing.
41333 * conform/data/fcntl.h-data: Likewise.
41334 * conform/data/glob.h-data: Likewise.
41335 * conform/data/grp.h-data: Likewise.
41336 * conform/data/pthread.h-data: Likewise.
41337 * conform/data/pwd.h-data: Likewise.
41338 * conform/data/signal.h-data: Likewise.
41339 * conform/data/spawn.h-data: Likewise.
41340 * conform/data/stdio.h-data: Likewise.
41341 * conform/data/stdlib.h-data: Likewise.
41342 * conform/data/stropts.h-data: Likewise.
41343 * conform/data/sys/mman.h-data: Likewise.
41344 * conform/data/sys/stat.h-data: Likewise.
41345 * conform/data/sys/types.h-data: Likewise.
41346 * conform/data/sys/wait.h-data: Likewise.
41347 * conform/data/time.h-data: Likewise.
41348 * conform/data/unistd.h-data: Likewise.
41349 * conform/data/utime.h-data: Likewise.
41351 * io/sys/stat.h: fchmod was always in POSIX.
41352 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41353 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41354 * rt/aio.h: Define __need_timespec before including <time.h>.
41355 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41356 struct. Add forward declaration of pthread_attr_t and use it in
41358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41360 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41361 always remove CLK_TCK definition.
41363 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41365 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41367 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41369 * conform/run-conformtest.sh: New file.
41370 * conform/Makefile: Run run-conformtest for tests.
41371 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41374 * conform/data/uchar.h-data: New file.
41375 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41376 * conform/data/arpa/inet.h-data: Likewise.
41377 * conform/data/assert.h-data: Likewise.
41378 * conform/data/complex.h-data: Likewise.
41379 * conform/data/cpio.h-data: Likewise.
41380 * conform/data/ctype.h-data: Likewise.
41381 * conform/data/dirent.h-data: Likewise.
41382 * conform/data/dlfcn.h-data: Likewise.
41383 * conform/data/errno.h-data: Likewise.
41384 * conform/data/fcntl.h-data: Likewise.
41385 * conform/data/float.h-data: Likewise.
41386 * conform/data/fmtmsg.h-data: Likewise.
41387 * conform/data/fnmatch.h-data: Likewise.
41388 * conform/data/ftw.h-data: Likewise.
41389 * conform/data/glob.h-data: Likewise.
41390 * conform/data/grp.h-data: Likewise.
41391 * conform/data/iconv.h-data: Likewise.
41392 * conform/data/inttypes.h-data: Likewise.
41393 * conform/data/langinfo.h-data: Likewise.
41394 * conform/data/libgen.h-data: Likewise.
41395 * conform/data/limits.h-data: Likewise.
41396 * conform/data/locale.h-data: Likewise.
41397 * conform/data/math.h-data: Likewise.
41398 * conform/data/monetary.h-data: Likewise.
41399 * conform/data/mqueue.h-data: Likewise.
41400 * conform/data/ndbm.h-data: Likewise.
41401 * conform/data/net/if.h-data: Likewise.
41402 * conform/data/netdb.h-data: Likewise.
41403 * conform/data/netinet/in.h-data: Likewise.
41404 * conform/data/nl_types.h-data: Likewise.
41405 * conform/data/poll.h-data: Likewise.
41406 * conform/data/pthread.h-data: Likewise.
41407 * conform/data/pwd.h-data: Likewise.
41408 * conform/data/regex.h-data: Likewise.
41409 * conform/data/sched.h-data: Likewise.
41410 * conform/data/search.h-data: Likewise.
41411 * conform/data/semaphore.h-data: Likewise.
41412 * conform/data/setjmp.h-data: Likewise.
41413 * conform/data/signal.h-data: Likewise.
41414 * conform/data/spawn.h-data: Likewise.
41415 * conform/data/stdarg.h-data: Likewise.
41416 * conform/data/stdio.h-data: Likewise.
41417 * conform/data/stdlib.h-data: Likewise.
41418 * conform/data/string.h-data: Likewise.
41419 * conform/data/strings.h-data: Likewise.
41420 * conform/data/stropts.h-data: Likewise.
41421 * conform/data/sys/ipc.h-data: Likewise.
41422 * conform/data/sys/mman.h-data: Likewise.
41423 * conform/data/sys/msg.h-data: Likewise.
41424 * conform/data/sys/resource.h-data: Likewise.
41425 * conform/data/sys/select.h-data: Likewise.
41426 * conform/data/sys/sem.h-data: Likewise.
41427 * conform/data/sys/shm.h-data: Likewise.
41428 * conform/data/sys/socket.h-data: Likewise.
41429 * conform/data/sys/stat.h-data: Likewise.
41430 * conform/data/sys/statvfs.h-data: Likewise.
41431 * conform/data/sys/time.h-data: Likewise.
41432 * conform/data/sys/timeb.h-data: Likewise.
41433 * conform/data/sys/times.h-data: Likewise.
41434 * conform/data/sys/types.h-data: Likewise.
41435 * conform/data/sys/uio.h-data: Likewise.
41436 * conform/data/sys/un.h-data: Likewise.
41437 * conform/data/sys/utsname.h-data: Likewise.
41438 * conform/data/sys/wait.h-data: Likewise.
41439 * conform/data/syslog.h-data: Likewise.
41440 * conform/data/tar.h-data: Likewise.
41441 * conform/data/termios.h-data: Likewise.
41442 * conform/data/utime.h-data: Likewise.
41443 * conform/data/utmpx.h-data: Likewise.
41444 * conform/data/varargs.h-data: Likewise.
41445 * conform/data/wchar.h-data: Likewise.
41446 * conform/data/wctype.h-data: Likewise.
41447 * conform/data/wordexp.h-data: Likewise.
41449 * include/stropts.h: New file.
41450 * include/uchar.h: New file.
41451 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41452 * include/assert.h: Likewise.
41453 * include/ctype.h: Likewise.
41454 * include/dirent.h: Likewise.
41455 * include/dlfcn.h: Likewise.
41456 * include/fcntl.h: Likewise.
41457 * include/fnmatch.h: Likewise.
41458 * include/glob.h: Likewise.
41459 * include/grp.h: Likewise.
41460 * include/libio.h: Likewise.
41461 * include/locale.h: Likewise.
41462 * include/math.h: Likewise.
41463 * include/net/if.h: Likewise.
41464 * include/netdb.h: Likewise.
41465 * include/netinet/in.h: Likewise.
41466 * include/pthread.h: Likewise.
41467 * include/pwd.h: Likewise.
41468 * include/regex.h: Likewise.
41469 * include/sched.h: Likewise.
41470 * include/search.h: Likewise.
41471 * include/setjmp.h: Likewise.
41472 * include/signal.h: Likewise.
41473 * include/stdio.h: Likewise.
41474 * include/stdlib.h: Likewise.
41475 * include/string.h: Likewise.
41476 * include/sys/cdefs.h: Likewise.
41477 * include/sys/mman.h: Likewise.
41478 * include/sys/msg.h: Likewise.
41479 * include/sys/resource.h: Likewise.
41480 * include/sys/select.h: Likewise.
41481 * include/sys/socket.h: Likewise.
41482 * include/sys/stat.h: Likewise.
41483 * include/sys/statvfs.h: Likewise.
41484 * include/sys/time.h: Likewise.
41485 * include/sys/times.h: Likewise.
41486 * include/sys/uio.h: Likewise.
41487 * include/sys/utsname.h: Likewise.
41488 * include/sys/wait.h: Likewise.
41489 * include/termios.h: Likewise.
41490 * include/time.h: Likewise.
41491 * include/ulimit.h: Likewise.
41492 * include/unistd.h: Likewise.
41493 * include/utime.h: Likewise.
41494 * include/wchar.h: Likewise.
41495 * include/wctype.h: Likewise.
41496 * include/wordexp.h: Likewise.
41498 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41500 * time/time.h: TIME_UTC must be a macro.
41501 Make timespec_get available for ISO C11 only as well.
41503 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41505 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41506 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41508 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41510 * configure.in: Use -o not -a in test for unsupported multi-arch.
41512 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41514 * manual/texinfo.tex: Update to version 2012-01-19.16.
41516 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41518 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41520 2012-02-24 Roland McGrath <roland@hack.frob.com>
41523 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41524 * manual/fdl-1.3.texi: New file.
41525 * manual/fdl-1.1.texi: File removed.
41528 * manual/libc.texinfo (FDL_VERSION): New @set.
41529 Use it for mention of FDL in cover text.
41530 (Documentation License): Use it in @include file name.
41532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41533 Roland McGrath <roland@hack.frob.com>
41536 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41537 (not LONG_LONG_MAX and LONG_LONG_MIN.
41538 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41539 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41541 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41543 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41547 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41548 manipulate bits before adding and subtracting TWO23[sx].
41549 * math/libm-test.inc (nearbyint_test): Add more tests.
41551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41554 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41555 bits before adding and subtracting TWO23[sx].
41556 * math/libm-test.inc (rint_test): Add more tests.
41557 (rint_test_tonearest): Likewise.
41558 (rint_test_towardzero): Likewise.
41559 (rint_test_downward): Likewise.
41560 (rint_test_upward: Likewise.
41562 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41565 * include/stdc-predef.h: New file. Extracted from features.h.
41566 * include/features.h: Include stdc-predef.h.
41567 * Makefile (headers): Add stdc-predef.h.
41568 * CONFORMANCE (Compiler limitations): Update.
41570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41572 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41574 2012-02-21 David S. Miller <davem@davemloft.net>
41576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41579 2012-02-20 David S. Miller <davem@davemloft.net>
41581 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41582 using a normal save/restore sequence, rather than allocating a
41583 dummy stack frame just to store a frame pointer and restore.
41584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41586 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41588 * manual/install.texi: Fix stray word in line-wrapped comment.
41590 2012-02-20 David S. Miller <davem@davemloft.net>
41592 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41593 both binutils and gcc support GOTDATA.
41595 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41596 "rd %pc" in the PIC register setup sequences.
41598 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41599 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41601 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41602 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41607 (SYSCALL_ERROR_HANDLER): Likewise.
41608 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41611 (SYSCALL_ERROR_HANDLER): Likewise.
41613 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41614 (HAVE_GCC_GOTDATA): New.
41615 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41616 relocation support in both binutils and gcc.
41617 * sysdeps/sparc/elf/configure: Regenerate.
41619 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41620 * sysdeps/sparc/sparc32/elf/configure: Delete.
41621 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41622 * sysdeps/sparc/sparc64/elf/configure: Delete.
41623 * sysdeps/sparc/elf/configure.in: New file.
41624 * sysdeps/sparc/elf/configure: Generate.
41626 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41627 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41628 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41629 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41630 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41632 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41634 * manual/install.texi: Do not mention specific glibc version
41636 * manual/libc.texinfo (VERSION, UPDATED): Update.
41637 (@copying): Use @copyright{} and range of years.
41639 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41642 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41643 [crti.S not in sysdirs] (generated): Do not append.
41644 [crti.S not in sysdirs] (omit-deps): Likewise.
41645 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41646 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41647 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41648 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41649 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41651 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41652 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41653 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41654 * csu/defs.awk: Remove file.
41655 * sysdeps/generic/initfini.c: Likewise.
41656 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41658 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41661 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41663 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41664 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41665 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41667 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41668 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41670 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41671 (__EPOLL_PACKED): Define to empty if not defined by
41673 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41679 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41680 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41684 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41688 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41690 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41693 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41697 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41702 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41704 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41705 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41707 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41709 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41712 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41714 * math/w_acos.c: Use non-signaling floating-point comparisons.
41715 * math/w_acosf.c: Likewise.
41716 * math/w_acosh.c: Likewise.
41717 * math/w_acoshf.c: Likewise.
41718 * math/w_acoshl.c: Likewise.
41719 * math/w_acosl.c: Likewise.
41720 * math/w_asin.c: Likewise.
41721 * math/w_asinf.c: Likewise.
41722 * math/w_asinl.c: Likewise.
41723 * math/w_atanh.c: Likewise.
41724 * math/w_atanhf.c: Likewise.
41725 * math/w_atanhl.c: Likewise.
41726 * math/w_exp2.c: Likewise.
41727 * math/w_exp2f.c: Likewise.
41728 * math/w_exp2l.c: Likewise.
41729 * math/w_j0.c: Likewise.
41730 * math/w_j0f.c: Likewise.
41731 * math/w_j0l.c: Likewise.
41732 * math/w_j1.c: Likewise.
41733 * math/w_j1f.c: Likewise.
41734 * math/w_j1l.c: Likewise.
41735 * math/w_jn.c: Likewise.
41736 * math/w_jnf.c: Likewise.
41737 * math/w_log.c: Likewise.
41738 * math/w_log10.c: Likewise.
41739 * math/w_log10f.c: Likewise.
41740 * math/w_log10l.c: Likewise.
41741 * math/w_log2.c: Likewise.
41742 * math/w_log2f.c: Likewise.
41743 * math/w_log2l.c: Likewise.
41744 * math/w_logf.c: Likewise.
41745 * math/w_logl.c: Likewise.
41746 * math/w_sqrt.c: Likewise.
41747 * math/w_sqrtf.c: Likewise.
41748 * math/w_sqrtl.c: Likewise.
41749 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41750 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41752 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41753 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41755 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41758 * manual/string.texi (strnlen): Use correct parameter name in
41759 equivalent expression.
41761 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41764 * manual/users.texi (seteuid): Consistently use neweuid for
41767 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41770 * manual/nss.texi (Services in the NSS configuration): Correct
41771 list of services in example configuration file.
41773 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41776 * manual/arith.texi: Remove statements about negative zero
41777 behaving identically to zero.
41779 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41782 * manual/install.texi: Do not document upgrading from libc5.
41784 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41787 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41789 2012-02-18 David S. Miller <davem@davemloft.net>
41791 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41792 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41793 %o7 across the call.
41794 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41797 SETUP_PIC_REG_LEAF.
41798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41799 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41800 * sysdeps/sparc/crtn.S: Likewise.
41802 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41804 * aout/Makefile: Remove.
41806 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41809 * manual/examples/argp-ex1.c (main): Format definition in GNU
41811 * manual/examples/argp-ex2.c (main): Likewise.
41812 * manual/examples/argp-ex3.c (main): Likewise.
41813 * manual/examples/argp-ex4.c (main): Likewise.
41814 * manual/examples/longopt.c (main): Use new-style prototype
41816 * manual/examples/strncat.c (main): Specify return type and use
41817 (void) for arguments.
41818 * manual/examples/subopt.c (main): Use char **argv argument.
41820 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41823 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41826 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41829 * manual/string.texi (strchr): Change when strchrnul is
41832 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41835 * manual/locale.texi (setlocale): Document LOCPATH.
41837 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41840 * manual/process.texi (execle): Move @dots{} before last argument.
41842 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41845 * manual/charset.texi (Generic Charset Conversion): Fix typo
41846 (LC_TYPE -> LC_CTYPE).
41848 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41851 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41852 (scalbnf): Likewise.
41853 (scalbnl): Likewise.
41854 (scalbln): Likewise.
41855 (scalblnf): Likewise.
41856 (scalblnl): Likewise.
41857 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41858 (vwarnx): Likewise.
41861 * manual/filesys.texi (telldir): Use braces around return type.
41862 * manual/llio.texi (mmap): Add space after comma.
41863 (mmap64): Likewise.
41864 * manual/math.texi (jn): Use @var{} on parameter names.
41870 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41872 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41874 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41875 (sched_get_priority_max): Likewise.
41876 * manual/signal.texi (sigvec): Add space after comma.
41877 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41879 (if_indextoname): Likewise.
41880 (if_freenameindex): Likewise.
41881 (sendto): Use ',' instead of '.' in prototype.
41882 * manual/startup.texi (syscall): Use @dots{} instead of literal
41884 * manual/stdio.texi (__fpending): Separate initial words of
41885 paragraph from @deftypefun line.
41886 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41888 (vsyslog): Use @var{} on parameter names.
41889 * manual/terminal.texi (stty): Use @var{} on parameter names.
41890 * manual/users.texi (getutmp): Use @var{} on parameter names.
41891 (getutmpx): Likewise.
41893 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41896 * manual/stdio.texi (fopen): Fix typos in description of
41899 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41902 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41903 get clock_id definition.
41905 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41908 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41909 (madvise): Cast every argument to void on its own.
41911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41914 * manual/startup.texi (Exit Status): Fix typo.
41916 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41919 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41920 * manual/examples/argp-ex2.c: Likewise.
41921 * manual/examples/argp-ex3.c: Likewise.
41923 2012-02-16 Richard Henderson <rth@redhat.com>
41925 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41926 * sysdeps/s390/s390-32/initfini.c: Remove.
41927 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41928 * sysdeps/s390/s390-64/initfini.c: Remove.
41930 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41932 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41933 compiler output for sysdeps/generic/initfini.c.
41934 * sysdeps/sh/elf/initfini.c: Remove file.
41936 2012-02-16 David S. Miller <davem@davemloft.net>
41939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41941 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41942 * sysdeps/sparc/crti.S: New file.
41943 * sysdeps/sparc/crtn.S: New file.
41944 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41945 * sysdeps/sparc/sparc64/Makefile: Likewise.
41947 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41950 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41952 2012-02-15 Roland McGrath <roland@hack.frob.com>
41955 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41957 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41958 (write, read, close): Likewise.
41959 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41961 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41963 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41964 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41965 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41966 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41968 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41972 2012-02-14 Marek Polacek <polacek@redhat.com>
41974 * sysdeps/x86_64/crti.S: New file.
41975 * sysdeps/x86_64/crtn.S: New file.
41976 * sysdeps/x86_64/elf/initfini.c: Remove file.
41978 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41980 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41981 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41982 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41983 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41985 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41989 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41991 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41992 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41993 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41994 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41996 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42000 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42002 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42003 __feraiseexcept instead of feraiseexcept.
42005 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42006 nanosleep invocations.
42007 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42008 strings, and add error checking for a nanosleep invocations.
42010 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42012 Replace FSF snail mail address with URLs, as per GNU coding standards.
42013 Most of the snail mail addresses were wrong anyway, and omitting
42014 them makes the source code easier to maintain. Almost all of the
42015 changes are to license notices and to locale LC_IDENTIFICATION
42016 addresses, except for this one:
42017 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42018 not its snail mail address.
42020 2012-02-09 Richard Henderson <rth@twiddle.net>
42022 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42023 of kernel-features.h.
42025 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42027 2012-02-08 Marek Polacek <polacek@redhat.com>
42029 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42030 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42031 * sysdeps/gnu/_G_config.h: Likewise.
42032 * sysdeps/generic/_G_config.h: Likewise.
42034 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42036 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42040 * sysdeps/powerpc/powerpc32/crti.S: New file.
42041 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42042 * sysdeps/powerpc/powerpc64/crti.S: New file.
42043 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42045 * Makeconfig (have-initfini): Don't set.
42046 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42047 * configure.in (nopic_initfini): Don't substitute.
42048 * config.h.in (HAVE_INITFINI): Don't #undef.
42049 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42050 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42052 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42054 Support crti.S and crtn.S provided directly by architectures.
42055 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42056 [crti.S in sysdirs] (omit-deps): Likewise.
42057 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42058 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42059 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42060 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42061 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42062 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42063 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42064 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42065 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42066 compiler output for sysdeps/generic/initfini.c.
42067 * sysdeps/i386/elf/Makefile: Remove file.
42068 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42070 2012-02-07 Marek Polacek <polacek@redhat.com>
42072 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42073 * sysdeps/gnu/_G_config.h: Likewise.
42074 * sysdeps/mach/hurd/_G_config.h: Likewise.
42076 2012-02-07 Marek Polacek <polacek@redhat.com>
42078 * math/Makefile (tests): Add tst-CMPLX2.
42079 * math/tst-CMPLX2.c: New file.
42081 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42085 * math/libm-test.inc (jn_test): Add missing L suffix.
42087 2012-02-06 Marek Polacek <polacek@redhat.com>
42089 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42090 * sysdeps/i386/fpu/e_powf.S: Likewise.
42091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42092 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42093 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42094 * sysdeps/i386/fpu/e_pow.S: Likewise.
42095 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42097 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42098 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42099 * sysdeps/i386/fpu/e_log2.S: Likewise.
42100 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42101 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42102 * sysdeps/i386/fpu/e_powl.S: Likewise.
42103 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42104 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42105 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42106 * sysdeps/i386/fpu/e_logl.S: Likewise.
42107 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42108 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42109 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42110 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42113 * sysdeps/i386/fpu/e_log.S: Likewise.
42114 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42116 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42117 * sysdeps/i386/fpu/e_logf.S: Likewise.
42118 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42120 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42123 * sysdeps/i386/fpu/e_log10.S: Likewise.
42124 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42125 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42126 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42127 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42128 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42130 * sysdeps/i386/asm-syntax.h: Likewise.
42131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42134 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42135 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42137 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42138 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42140 * sysdeps/powerpc/sysdep.h: Likewise.
42141 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42144 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42147 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42149 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42151 * sysdeps/i386/sysdep.h: Include <features.h>.
42152 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42155 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42157 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42159 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42162 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42164 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42165 (SETUP_PIC_REG): Use GET_PC_THUNK.
42166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42169 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42171 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42172 for non-PIC compilation.
42173 (SETUP_PIC_REG): Add .p2align directive.
42174 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42175 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42176 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42177 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42179 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42180 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42182 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42183 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42184 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42185 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42186 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42188 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42189 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42190 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42191 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42192 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42193 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42196 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42197 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42202 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42203 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42204 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42205 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42206 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42209 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42210 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42211 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42212 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42213 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42214 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42216 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42218 * math/tst-CMPLX.c: Include <stdio.h>.
42220 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42222 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42224 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42225 * sysdeps/sparc/bits/mathdef.h: Likewise.
42227 2012-01-31 Marek Polacek <polacek@redhat.com>
42229 * libio/libio.h: Don't define _PARAMS.
42230 * locale/programs/config.h: Don't define PARAMS.
42231 * stdlib/strtol_l.c: Likewise.
42232 (__strtol_l): Remove PARAMS from the prototype.
42234 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42236 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42237 names. Just use the correct names. Remove unnecessary wrapper
42239 * malloc/arena.c: Likewise.
42240 * malloc/hooks.c: Likewise.
42242 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42243 ARENA_TEST says not to. Simplify test for creation of a new arena.
42244 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42246 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42248 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42250 (update_get_addr): New function.
42251 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42252 GET_ADDR_MODULE parameter.
42254 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42256 * crypt/cert.c: Remove __STDC__ conditionals.
42257 * crypt/crypt-entry.c: Likewise.
42258 * crypt/crypt_util.c: Likewise.
42259 * libio/filedoalloc.c: Likewise.
42260 * libio/fileops.c: Likewise.
42261 * libio/genops.c: Likewise.
42262 * libio/iofclose.c: Likewise.
42263 * libio/iofdopen.c: Likewise.
42264 * libio/iofopen.c: Likewise.
42265 * libio/iofopen64.c: Likewise.
42266 * libio/iogetdelim.c: Likewise.
42267 * libio/iopopen.c: Likewise.
42268 * libio/obprintf.c: Likewise.
42269 * libio/oldfileops.c: Likewise.
42270 * libio/oldiofclose.c: Likewise.
42271 * libio/oldiofdopen.c: Likewise.
42272 * libio/oldiofopen.c: Likewise.
42273 * libio/oldiopopen.c: Likewise.
42274 * libio/wfiledoalloc.c: Likewise.
42275 * libio/wgenops.c: Likewise.
42276 * locale/programs/xmalloc.c: Likewise.
42277 * misc/syslog.c: Likewise.
42278 * stdio-common/xbug.c: Likewise.
42279 * string/memchr.c: Likewise.
42280 * string/memcmp.c: Likewise.
42281 * string/memrchr.c: Likewise.
42282 * string/rawmemchr.c: Likewise.
42283 * sysdeps/posix/getcwd.c: Likewise.
42284 * time/strftime_l.c: Likewise.
42286 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42288 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42289 * config.make.in (config-cflags-sse2avx): Define.
42290 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42293 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42295 * scripts/config.guess: Update from upstream config git repository.
42296 * scripts/config.sub: Likewise.
42298 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42300 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42302 (R_TILEPRO_*, R_TILEGX_*): New macros.
42304 * scripts/firstversions.awk: Fix bug in version range handling.
42306 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42308 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42310 * include/sys/epoll.h: New file.
42311 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42314 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42316 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42317 Avoid unnecessary __WORDSIZE == 64 test.
42318 (fmaxf): Use VEX format if possible.
42323 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42324 * math/math_private.h: Remove libc_fegetround* and
42326 * sysdeps/i386/configure.in: Check for -msse2avx.
42327 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42328 also if SSE2AVX is defined.
42329 Remove libc_fegetround* and libc_fesetround*.
42330 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42331 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42340 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42342 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42346 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42348 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42351 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42353 * Makeconfig (libm): Define.
42354 * elf/Makefile: Add rules to build and run tst-relsort1.
42355 * elf/tst-relsort1.c: New file.
42356 * elf/tst-relsort1mod1.c: New file.
42357 * elf/tst-relsort1mod2.c: New file.
42359 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42361 * math/s_ldexp.c: Remove __STDC__ conditionals.
42362 * math/s_ldexpf.c: Likewise.
42363 * math/s_ldexpl.c: Likewise.
42364 * math/s_nextafter.c: Likewise.
42365 * math/s_nexttowardf.c: Likewise.
42366 * math/s_significand.c: Likewise.
42367 * math/s_significandf.c: Likewise.
42368 * math/s_significandl.c: Likewise.
42369 * math/w_jnl.c: Likewise.
42370 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42371 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42372 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42373 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42374 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42380 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42382 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42384 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42387 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42391 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42397 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42398 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42399 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42400 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42401 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42404 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42405 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42406 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42407 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42408 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42410 * sysdeps/ieee754/k_standard.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42486 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42490 * sysdeps/ieee754/s_matherr.c: Likewise.
42491 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42492 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42496 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42498 * crypt/md5.h: Remove __STDC__ conditionals.
42499 * libio/libioP.h: Likewise.
42500 * locale/programs/config.h: Likewise.
42501 * sysdeps/generic/sysdep.h: Likewise.
42502 * sysdeps/i386/asm-syntax.h: Likewise.
42503 * sysdeps/s390/asm-syntax.h: Likewise.
42504 * sysdeps/unix/sysdep.h: Likewise.
42505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42508 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42510 * libio/libio.h: Remove __STDC__ conditionals.
42511 * malloc/obstack.h: Likewise.
42512 * math/complex.h: Likewise.
42513 * math/math.h: Likewise.
42514 * sysdeps/generic/_G_config.h: Likewise.
42515 * sysdeps/gnu/_G_config.h: Likewise.
42516 * sysdeps/mach/hurd/_G_config.h: Likewise.
42517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42518 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42519 * sysdeps/sparc/bits/mathdef.h: Likewise.
42521 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42524 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42525 Clean up HAS_* macros.
42526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42527 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42532 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42537 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42539 * elf/tst-unique3.cc (gets): Remove declaration.
42540 * elf/tst-unique3lib.cc (gets): Likewise.
42541 * elf/tst-unique3lib2.cc (gets): Likewise.
42542 * elf/tst-unique4.cc (gets): Likewise.
42544 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42546 * include/stdio.h: Add C++ protection. Add gets declarations and
42548 * debug/tst-chk1.c: Don't declare gets here.
42549 * stdio-common/tst-gets.c: Likewise.
42551 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42553 * posix/glob: Remove directory.
42555 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42557 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42559 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42561 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42562 of the non-standard EPFNOSUPPORT.
42564 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42566 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42567 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42568 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42570 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42572 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42574 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42576 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42578 * nscd/grpcache.c (cache_addgr): Likewise.
42579 * nscd/hstcache.c (cache_addhst): Likewise.
42580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42581 * nscd/pwdcache.c (cache_addpw): Likewise.
42582 * nscd/servicescache.c (cache_addserv): Likewise.
42584 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42586 * malloc/malloc.c: Various cleanups.
42587 * malloc/hooks.c: Likewise.
42589 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42590 * stdlib/bug-fmtmsg1.c: New file.
42592 * stdlib/fmtmsg.c (init): Add missing unlock.
42593 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42595 2012-01-12 Marek Polacek <polacek@redhat.com>
42597 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42600 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42602 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42604 macro to ensure uniqueness of label name.
42605 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42606 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42608 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42612 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42613 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42617 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42621 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42622 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42623 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42625 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42627 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42629 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42632 * math/bits/math-finite.h: Add ldexp support.
42634 2012-01-10 Marek Polacek <polacek@redhat.com>
42636 * locale/programs/localedef.h (show_archive_content): Add noreturn
42639 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42641 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42645 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42647 * io/Makefile (headers): Add bits/poll2.h.
42649 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42652 typo #include statement.
42654 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42656 * include/sys/cdefs.h: Define __attribute_alloc_size.
42657 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42658 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42659 * elf/pldd.c: Likewise.
42660 * iconv/iconv_charmap.c: Likewise.
42661 * iconv/iconvconfig.c: Likewise.
42662 * iconv/strtab.c: Likewise.
42663 * locale/programs/locale.c: Likewise.
42664 * locale/programs/localedef.h: Likewise.
42665 * locale/programs/simple-hash.c: Likewise.
42666 * nscd/nscd.h: Likewise.
42667 * nss/makedb.c: Likewise.
42668 * sysdeps/generic/ldconfig.h: Likewise.
42669 * locale/programs/localedef.c: Remove xmalloc prototype.
42670 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42672 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42677 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42679 * math/Makefile (tests): Add tst-CMPLX.
42680 * math/tst-CMPLX.c: New file.
42682 * math/complex.h (CMPLXL): Fix typo.
42684 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42685 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42687 * debug/tst-chk1.c: Add poll and ppoll tests.
42688 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42689 * include/sys/poll.h: Add hidden proto for ppoll.
42690 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42691 * sysdeps/mach/hurd/ppoll.c: Likewise.
42692 * io/ppoll.c: Likewise.
42693 * debug/poll_chk.c: New file.
42694 * debug/ppoll_chk.c: New file.
42695 * include/bits/poll2.h: New file.
42696 * io/bits/poll2.h: New file.
42699 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42701 * configure.in: static is always set to yes. Remove.
42702 * config.make.in: Don't set build-static.
42703 * Makeconfig: Remove use of build-static.
42704 * dlfcn/Makefile: Likewise.
42705 * elf/Makefile: Likewise.
42706 * math/Makefile: Likewise.
42707 * misc/Makefile: Likewise.
42708 * nptl/Makefile: Likewise.
42709 * sysdeps/mach/hurd/Makefile: Likewise.
42711 * configure.in: PWD_P is not used anymore.
42712 * config.make.in: Remove PWD_P entry.
42714 * configure.in: Remove last remnants of RANLIB.
42715 No need to check for signed size_t anymore.
42716 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42718 Remove __builtin_expect test because we require at least gcc 3.4.
42719 * aclocal.m4: Likewise.
42721 * wcsmbs/mbrtoc16.c: Implement using towc function.
42722 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42723 * wcsmbs/wcsmbsload.c: Likewise.
42724 * iconv/gconv_simple.c: Likewise.
42725 * iconv/gconv_int.h: Likewise.
42726 * iconv/gconv_builtin.h: Likewise.
42727 * iconv/iconv_prog.c: Remove CHAR16 handling.
42729 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42731 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42733 * configure.in: Remove --with-elf and --enable-bounded options.
42734 Dont set base_machine for ia64. More non-ELF conditions removed.
42735 Remove testing and setting of leading underscore information.
42736 * config.make.in (build-bounded): Set to no.
42737 * config.h.in: Remove NO_UNDERSCORES entry.
42738 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42740 * csu/start.c: Remove !NO_UNDERSCORE code.
42741 * locale/localeinfo.h: Likewise.
42742 * sysdeps/generic/machine-gmon.h: Likewise.
42743 * sysdeps/generic/sysdep.h: Likewise.
42744 * sysdeps/i386/sysdep.h: Likewise.
42745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42746 * sysdeps/mach/sysdep.h: Likewise.
42747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42749 * sysdeps/sh/sysdep.h: Likewise.
42750 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42751 * sysdeps/unix/i386/sysdep.S: Likewise.
42752 * sysdeps/unix/sparc/start.c: Likewise.
42753 * sysdeps/unix/sparc/sysdep.S: Likewise.
42754 * sysdeps/unix/sparc/sysdep.h: Likewise.
42755 * sysdeps/unix/start.c: Likewise.
42756 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42757 * sysdeps/x86_64/sysdep.h: Likewise.
42759 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42762 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42764 * argp/argp-fmtstream.h: Use const instead __const.
42765 * argp/argp.h: Likewise.
42766 * assert/assert.h: Likewise.
42767 * bits/fenv.h: Likewise.
42768 * bits/sched.h: Likewise.
42769 * bits/sigset.h: Likewise.
42770 * bits/sigthread.h: Likewise.
42771 * catgets/nl_types.h: Likewise.
42772 * conform/data/pthread.h-data: Likewise.
42773 * crypt/crypt-private.h: Likewise.
42774 * crypt/crypt.h: Likewise.
42775 * crypt/crypt_util.c: Likewise.
42776 * ctype/ctype.h: Likewise.
42777 * debug/execinfo.h: Likewise.
42778 * debug/mbsnrtowcs_chk.c: Likewise.
42779 * debug/mbsrtowcs_chk.c: Likewise.
42780 * debug/wcsnrtombs_chk.c: Likewise.
42781 * debug/wcsrtombs_chk.c: Likewise.
42782 * debug/wcstombs_chk.c: Likewise.
42783 * dirent/dirent.h: Likewise.
42784 * dlfcn/dlfcn.h: Likewise.
42785 * elf/neededtest4.c: Likewise.
42786 * grp/grp.h: Likewise.
42787 * gshadow/gshadow.h: Likewise.
42788 * iconv/gconv.h: Likewise.
42789 * iconv/gconv_int.h: Likewise.
42790 * iconv/gconv_simple.c: Likewise.
42791 * iconv/iconv.h: Likewise.
42792 * iconv/loop.c: Likewise.
42793 * iconv/skeleton.c: Likewise.
42794 * include/aio.h: Likewise.
42795 * include/aliases.h: Likewise.
42796 * include/argz.h: Likewise.
42797 * include/arpa/inet.h: Likewise.
42798 * include/assert.h: Likewise.
42799 * include/dirent.h: Likewise.
42800 * include/dlfcn.h: Likewise.
42801 * include/execinfo.h: Likewise.
42802 * include/fcntl.h: Likewise.
42803 * include/fenv.h: Likewise.
42804 * include/glob.h: Likewise.
42805 * include/grp.h: Likewise.
42806 * include/libintl.h: Likewise.
42807 * include/mntent.h: Likewise.
42808 * include/netdb.h: Likewise.
42809 * include/pwd.h: Likewise.
42810 * include/rpc/netdb.h: Likewise.
42811 * include/sched.h: Likewise.
42812 * include/search.h: Likewise.
42813 * include/shadow.h: Likewise.
42814 * include/signal.h: Likewise.
42815 * include/stdio.h: Likewise.
42816 * include/stdlib.h: Likewise.
42817 * include/string.h: Likewise.
42818 * include/sys/socket.h: Likewise.
42819 * include/sys/stat.h: Likewise.
42820 * include/sys/statfs.h: Likewise.
42821 * include/sys/statvfs.h: Likewise.
42822 * include/sys/syslog.h: Likewise.
42823 * include/sys/time.h: Likewise.
42824 * include/sys/uio.h: Likewise.
42825 * include/time.h: Likewise.
42826 * include/unistd.h: Likewise.
42827 * include/utmp.h: Likewise.
42828 * include/wchar.h: Likewise.
42829 * include/wctype.h: Likewise.
42830 * inet/aliases.h: Likewise.
42831 * inet/arpa/inet.h: Likewise.
42832 * inet/netinet/ether.h: Likewise.
42833 * inet/netinet/in.h: Likewise.
42834 * intl/libintl.h: Likewise.
42835 * io/bits/fcntl2.h: Likewise.
42836 * io/fcntl.h: Likewise.
42837 * io/ftw.h: Likewise.
42838 * io/sys/poll.h: Likewise.
42839 * io/sys/stat.h: Likewise.
42840 * io/sys/statfs.h: Likewise.
42841 * io/sys/statvfs.h: Likewise.
42842 * io/utime.h: Likewise.
42843 * libio/bits/stdio.h: Likewise.
42844 * libio/bits/stdio2.h: Likewise.
42845 * libio/libio.h: Likewise.
42846 * libio/libioP.h: Likewise.
42847 * libio/stdio.h: Likewise.
42848 * locale/lc-ctype.c: Likewise.
42849 * locale/locale.h: Likewise.
42850 * login/utmp.h: Likewise.
42851 * malloc/arena.c: Likewise.
42852 * malloc/malloc.c: Likewise.
42853 * malloc/malloc.h: Likewise.
42854 * malloc/mcheck.c: Likewise.
42855 * malloc/mtrace.c: Likewise.
42856 * math/bits/mathcalls.h: Likewise.
42857 * math/fenv.h: Likewise.
42858 * math/math_private.h: Likewise.
42859 * misc/bits/error.h: Likewise.
42860 * misc/bits/syslog.h: Likewise.
42861 * misc/err.h: Likewise.
42862 * misc/error.h: Likewise.
42863 * misc/fstab.h: Likewise.
42864 * misc/mntent.h: Likewise.
42865 * misc/regexp.h: Likewise.
42866 * misc/search.h: Likewise.
42867 * misc/sgtty.h: Likewise.
42868 * misc/sys/mman.h: Likewise.
42869 * misc/sys/syslog.h: Likewise.
42870 * misc/sys/uio.h: Likewise.
42871 * misc/sys/xattr.h: Likewise.
42872 * misc/ttyent.h: Likewise.
42873 * nis/rpcsvc/ypclnt.h: Likewise.
42874 * nss/nss.h: Likewise.
42875 * posix/bits/unistd.h: Likewise.
42876 * posix/fnmatch.h: Likewise.
42877 * posix/glob.h: Likewise.
42878 * posix/sched.h: Likewise.
42879 * posix/spawn.h: Likewise.
42880 * posix/sys/wait.h: Likewise.
42881 * posix/unistd.h: Likewise.
42882 * posix/wordexp.h: Likewise.
42883 * pwd/pwd.h: Likewise.
42884 * resolv/netdb.h: Likewise.
42885 * resource/sys/resource.h: Likewise.
42886 * rt/aio.h: Likewise.
42887 * rt/bits/mqueue2.h: Likewise.
42888 * rt/mqueue.h: Likewise.
42889 * shadow/shadow.h: Likewise.
42890 * signal/signal.h: Likewise.
42891 * socket/send.c: Likewise.
42892 * socket/sendto.c: Likewise.
42893 * socket/sys/socket.h: Likewise.
42894 * stdio-common/printf.h: Likewise.
42895 * stdlib/bits/stdlib.h: Likewise.
42896 * stdlib/fmtmsg.h: Likewise.
42897 * stdlib/monetary.h: Likewise.
42898 * stdlib/stdlib.h: Likewise.
42899 * stdlib/ucontext.h: Likewise.
42900 * streams/stropts.h: Likewise.
42901 * string/argz.h: Likewise.
42902 * string/bits/string2.h: Likewise.
42903 * string/string.h: Likewise.
42904 * string/strings.h: Likewise.
42905 * sunrpc/rpc/auth.h: Likewise.
42906 * sunrpc/rpc/auth_des.h: Likewise.
42907 * sunrpc/rpc/clnt.h: Likewise.
42908 * sunrpc/rpc/netdb.h: Likewise.
42909 * sunrpc/rpc/pmap_clnt.h: Likewise.
42910 * sunrpc/rpc/xdr.h: Likewise.
42911 * sysdeps/generic/inttypes.h: Likewise.
42912 * sysdeps/generic/net/if.h: Likewise.
42913 * sysdeps/generic/sys/swap.h: Likewise.
42914 * sysdeps/gnu/net/if.h: Likewise.
42915 * sysdeps/gnu/utmpx.h: Likewise.
42916 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42917 * sysdeps/i386/i486/bits/string.h: Likewise.
42918 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42919 * sysdeps/s390/bits/string.h: Likewise.
42920 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42921 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42922 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42923 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42924 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42925 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42926 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42927 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42928 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42929 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42930 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42932 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42934 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42935 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42936 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42941 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42942 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42943 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42944 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42945 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42948 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42950 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42951 * sysvipc/sys/ipc.h: Likewise.
42952 * sysvipc/sys/msg.h: Likewise.
42953 * sysvipc/sys/sem.h: Likewise.
42954 * sysvipc/sys/shm.h: Likewise.
42955 * termios/termios.h: Likewise.
42956 * time/sys/time.h: Likewise.
42957 * time/time.h: Likewise.
42958 * wcsmbs/bits/wchar2.h: Likewise.
42959 * wcsmbs/uchar.h: Likewise.
42960 * wcsmbs/wchar.h: Likewise.
42961 * wctype/wctype.h: Likewise.
42964 * Makeconfig: Remove all but ELF support including AIX support.
42965 * Makerules: Likewise.
42966 * config.h.in: Likewise.
42967 * config.make.in: Likewise.
42968 * configure: Likewise.
42969 * configure.in: Likewise.
42970 * csu/Makefile: Likewise.
42971 * csu/version.c: Likewise.
42972 * debug/Makefile: Likewise.
42973 * dlfcn/Makefile: Likewise.
42974 * elf/Makefile: Likewise.
42975 * extra-lib.mk: Likewise.
42976 * iconv/Makefile: Likewise.
42977 * include/libc-symbols.h: Likewise.
42978 * include/shlib-compat.h: Likewise.
42979 * resolv/Makefile: Likewise.
42980 * resolv/res_libc.c: Likewise.
42981 * rt/Makefile: Likewise.
42982 * sysdeps/i386/asm-syntax.h: Likewise.
42983 * sysdeps/i386/sysdep.h: Likewise.
42984 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42985 * sysdeps/mach/sysdep.h: Likewise.
42986 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42987 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42988 * sysdeps/s390/asm-syntax.h: Likewise.
42989 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42991 * sysdeps/sh/sysdep.h: Likewise.
42992 * sysdeps/unix/sparc/sysdep.h: Likewise.
42993 * sysdeps/wordsize-32/divdi3.c: Likewise.
42994 * sysdeps/x86_64/sysdep.h: Likewise.
42996 * argp/Versions: Remove _argp_unlock_xxx.
42999 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43000 * abilist/libBrokenLocale.abilist: Likewise.
43001 * abilist/libanl.abilist: Likewise.
43002 * abilist/libc.abilist: Likewise.
43003 * abilist/libcrypt.abilist: Likewise.
43004 * abilist/libdl.abilist: Likewise.
43005 * abilist/libm.abilist: Likewise.
43006 * abilist/libnsl.abilist: Likewise.
43007 * abilist/libpthread.abilist: Likewise.
43008 * abilist/libresolv.abilist: Likewise.
43009 * abilist/librt.abilist: Likewise.
43010 * abilist/libthread_db.abilist: Likewise.
43011 * abilist/libutil.abilist: Likewise.
43012 * abilist/libnss_db.abilist: New file.
43014 * scripts/abilist.awk: Add support for indirect functions.
43016 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43018 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43020 * shlib-versions: Remove entries for ports architectures.
43022 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43024 * elf/stackguard-macros.h: Remove support for IA-64.
43025 * elf/tst-auditmod1.c: Likewise.
43026 * sysdeps/generic/ldsodefs.h: Likewise.
43028 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43029 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43033 * configure.in: Remove --enable-omitfp support.
43035 * config.make.in: Likewise.
43036 * Makeconfig: Likewise.
43037 * manual/install.texi: Likewise.
43039 In case anyone cares, the IA-64 architecture could move to ports.
43040 * sysdeps/ia64/*: Removed.
43041 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43042 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43045 * configure.in: Remove entries for unsupported architectures.
43048 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43049 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43051 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43052 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43053 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43054 fall back to using wcrtomb.
43055 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43056 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43058 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43059 * wcsmbs/tst-c16c32-1.c: New file.
43061 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43064 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43066 * elf/tst-unique3.cc: Add explicit declaration of gets.
43067 * elf/tst-unique3lib.cc: Likewise.
43068 * elf/tst-unique3lib2.cc: Likewise.
43069 * elf/tst-unique4.cc: Likewise.
43071 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43073 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43076 * assert/assert.h (static_assert): Don't define for C++.
43077 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43078 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43080 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43082 * iconv/loop.c (single loop): Fix assertion in storing of
43085 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43087 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43089 * posix/getconf.c: Update copyright year.
43090 * nss/getent.c: Likewise.
43091 * nss/makedb.c: Likewise.
43092 * iconv/iconvconfig.c: Likewise.
43093 * iconv/iconv_prog.c: Likewise.
43094 * elf/ldconfig.c: Likewise.
43095 * elf/pldd.c: Likewise.
43096 * elf/sotruss.ksh: Likewise.
43097 * catgets/gencat.c: Likewise.
43098 * csu/version.c: Likewise.
43099 * elf/ldd.bash.in: Likewise.
43100 * elf/sprof.c (print_version): Likewise.
43101 * locale/programs/locale.c: Likewise.
43102 * locale/programs/localedef.c: Likewise.
43103 * login/programs/pt_chown.c: Likewise.
43104 * nscd/nscd.c (print_version): Likewise.
43105 * debug/xtrace.sh: Likewise.
43106 * malloc/memusage.sh: Likewise.
43107 * malloc/mtrace.pl: Likewise.
43108 * debug/catchsegv.sh: Likewise.
43110 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43112 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43115 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43118 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43119 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43121 * iconv/gconv_int.h: Likewise.
43122 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43123 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43124 from libc for GLIBC_2.16.
43125 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43126 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43127 * wcsmbs/uchar.h: Really define mbstate_t.
43128 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43129 * wcsmbs/c16rtomb.c: New file.
43130 * wcsmbs/mbrtoc16.c: New file.
43131 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43132 for C/POSIX locale.
43133 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43134 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43136 * wcsmbs/wchar.h: Add missing __restrict.
43138 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43141 * time/Makefile (routines): Add timespec_get.
43142 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43143 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43144 timespec for ISO C11.
43145 * time/timespec_get.c: New file.
43146 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43147 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43150 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43151 * stdlib/stdlib.h: Declare aligned_alloc.
43152 * Versions.def: Add GLIBC_2.16 for libc.
43153 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43156 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43159 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43163 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43166 * assert/assert.h (static_assert): Define.
43168 * version.h: Update for 2.16 development version.
43171 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43174 * version.h (RELEASE): Bump for 2.15 release.
43175 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43177 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43178 Patch by Marek Polacek <mpolacek@redhat.com>.
43180 * bits/byteswap.h: Protect long long constants with __extension__.
43181 * sysdeps/i386/bits/byteswap.h: Likewise.
43182 * sysdeps/ia64/bits/byteswap.h: Likewise.
43183 * sysdeps/s390/bits/byteswap.h: Likewise.
43184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43186 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43190 destination buffer.
43191 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43193 2011-12-23 Marek Polacek <polacek@redhat.com>
43195 * elf/dl-addr.c (determine_info): Add inline keyword.
43196 * elf/tst-auditmod4b.c (check_avx): Likewise.
43197 * elf/tst-auditmod6b.c (check_avx): Likewise.
43198 * elf/tst-auditmod6c.c (check_avx): Likewise.
43199 * elf/tst-auditmod7b.c (check_avx): Likewise.
43201 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43206 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43209 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43210 processing for last bytes.
43212 2011-08-06 Bruno Haible <bruno@clisp.org>
43215 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43216 U+0385, not to U+1FEE.
43219 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43220 entry for U+00A5 U+0301.
43222 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43225 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43226 buffer for the output is too small.
43228 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43232 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43233 SSE flags if possible.
43235 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43239 processing for last bytes.
43241 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43244 (syscall-list-default-options, syscall-list-default-condition)
43245 (syscall-list-includes): Define.
43246 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43247 list of ABIs and options and #if conditions for each ABI. Do not
43248 handle common syscalls between ABIs specially.
43249 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43251 (syscall-list-variants, syscall-list-32bit-options)
43252 (syscall-list-32bit-condition, syscall-list-64bit-options)
43253 (syscall-list-64bit-condition): Define.
43254 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43255 (syscall-list-variants, syscall-list-32bit-options)
43256 (syscall-list-32bit-condition, syscall-list-64bit-options)
43257 (syscall-list-64bit-condition): Define.
43258 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43260 (syscall-list-variants, syscall-list-32bit-options)
43261 (syscall-list-32bit-condition, syscall-list-64bit-options)
43262 (syscall-list-64bit-condition): Define.
43263 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43265 (syscall-list-variants, syscall-list-32bit-options)
43266 (syscall-list-32bit-condition, syscall-list-64bit-options)
43267 (syscall-list-64bit-condition): Define.
43269 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43271 * locale/iso-639.def: Add brx entry.
43274 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43275 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43277 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43278 __feraiseexcept_renamed.
43280 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43283 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43284 EPOLLET with unsigned values.
43285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43288 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43289 to large cancellation.
43290 * math/s_cacoshf.c: Likewise.
43291 * math/s_cacoshl.c: Likewise.
43293 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43297 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43298 * math/s_cacoshf.c: Likewise.
43299 * math/s_cacoshl.c: Likewise.
43301 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43304 * iconv/gconv.h: Define __GCONV_SWAP.
43305 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43306 * iconvdata/utf-16.c: Likewise.
43307 * iconvdata/utf-32.c: Likewise.
43309 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43313 numerator after shifting it by one limb.
43315 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43318 under [__USE_EXTERN_INLINES].
43320 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43323 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43325 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43327 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43328 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43330 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43331 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43332 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43333 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43334 for strncasecmp/strncasecmp_l compilation.
43335 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43336 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43338 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43341 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43344 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43347 * time/tzfile.c (__tzfile_read): Check values from file header.
43349 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43351 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43352 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43353 * powerpc/powerpc32/dl-start.S: Likewise.
43354 * powerpc/powerpc32/elf/start.S: Likewise.
43355 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43356 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43357 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43358 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43359 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43360 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43361 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43362 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43363 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43364 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43365 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43366 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43367 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43368 * powerpc/powerpc32/memset.S: Likewise.
43369 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43370 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43371 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43372 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43373 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43374 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43375 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43376 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43377 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43378 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43379 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43380 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43381 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43383 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43385 * math/libm-test.inc: Added more nearbyint tests.
43386 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43391 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43393 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43396 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43398 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43399 Add wcscpy-ssse3 wcscpy-c.
43400 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43401 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43402 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43403 * sysdeps/x86_64/wcschr.S: New file.
43404 * sysdeps/x86_64/wcsrchr.S: New file.
43405 * string/test-strcmp.c: Remove checking of wcscmp function for
43407 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43408 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43409 wcsrchr-sse2 wcsrchr-c.
43410 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43411 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43412 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43413 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43414 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43415 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43416 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43417 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43418 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43419 * wcsmbc/wcschr.c (WCSCHR): New macro.
43421 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43423 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43424 * wcsmbs/test-wcsrchr.c: New file.
43425 * string/test-strrchr.c: Add wcsrchr support.
43427 * wcsmbs/test-wcscpy.c: New file.
43428 * string/test-strcpy.c: Add wcscpy support.
43431 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43436 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43439 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43441 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43443 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43444 Minor optimizations.
43446 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43447 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43448 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43450 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43452 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43453 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43454 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43455 for gcc to avoid warnings.
43456 * inet/Makefile (tests): Add tst-checks.
43457 * inet/tst-checks.c: New file.
43459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43462 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43465 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43466 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43468 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43470 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43472 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43475 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43477 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43479 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43480 conditional on GCC version.
43481 (__arch_compare_and_exchange_val_8_acq)
43482 (__arch_compare_and_exchange_val_16_acq)
43483 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43484 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43485 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43487 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43489 * sysdeps/sh/backtrace.c: New file.
43491 2011-12-02 Andreas Schwab <schwab@redhat.com>
43493 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43496 2011-12-01 Andreas Schwab <schwab@redhat.com>
43498 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43499 falling back to utime.
43501 2011-11-30 Andreas Schwab <schwab@redhat.com>
43503 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43504 expectations for float.
43506 2011-11-29 Andreas Schwab <schwab@redhat.com>
43508 * locale/weight.h (findidx): Add parameter len.
43509 * locale/weightwc.h (findidx): Likewise.
43510 * posix/fnmatch_loop.c (FCT): Adjust caller.
43511 * posix/regcomp.c (build_equiv_class): Likewise.
43512 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43513 * posix/regexec.c (check_node_accept_bytes): Likewise.
43514 * string/strcoll_l.c (STRCOLL): Likewise.
43515 * string/strxfrm_l.c (STRXFRM): Likewise.
43517 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43519 * Makefile.in: Remove CVSOPT handling.
43520 * configure.in: Remove use of AC_REVISION.
43521 * iconvdata/Makefile (distribute): No need to filter out CVS.
43522 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43525 2011-11-16 Andreas Schwab <schwab@redhat.com>
43527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43528 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43529 [USE_AS_STRNCASECMP_L]: Likewise.
43530 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43531 NO_TLS_DIRECT_SEG_REFS.
43532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43533 Fix argument offsets for non-PIC.
43534 [USE_AS_STRNCASECMP_L]: Likewise.
43535 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43536 NO_TLS_DIRECT_SEG_REFS.
43538 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43540 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43542 * locale/loadlocale.c (_nl_load_locale): Likewise.
43544 2011-11-15 Andreas Schwab <schwab@redhat.com>
43546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43547 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43548 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43549 (SYSCALL_GETTIME): Set errno on error.
43551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43552 count references to noai6ai_cached.
43554 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43556 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43558 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43559 FD_CLOEXEC for /proc/self/maps.
43561 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43562 FD_CLOEXEC for /proc/meminfo.
43564 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43567 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43568 FD_CLOEXEC for given file.
43570 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43572 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43573 FD_CLOEXEC for /etc/hosts.
43574 (_gethtent): Likewise.
43576 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43578 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43579 cancellation and set FD_CLOEXEC for /etc/netgroup.
43581 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43582 reading /etc/publickey.
43584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43585 allow cancellation when reading /etc/group.
43587 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43589 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43591 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43592 when using data file.
43594 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43596 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43597 (write_nis_obj): Use "c" and "e" in fopen.
43599 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43601 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43603 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43605 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43607 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43610 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43612 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43614 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43616 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43617 file parsing and set FD_CLOEXEC.
43619 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43621 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43623 2011-11-14 Andreas Schwab <schwab@redhat.com>
43625 * malloc/arena.c (arena_get2): Don't call reused_arena when
43626 _int_new_arena failed.
43628 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43630 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43631 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43634 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43635 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43636 to compile strcasecmp and strncasecmp.
43637 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43638 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43642 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43644 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43645 locale-defines.sym to gen-as-const-headers.
43646 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43647 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43649 to compile strcasecmp and strncasecmp.
43650 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43651 strcasecmp_l and strncasecmp_l.
43652 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43653 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43654 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43655 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43656 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43657 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43658 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43659 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43660 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43661 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43662 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43664 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43666 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43667 result of SYSDEP_GETTIME_CPU to retval.
43668 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43669 parameter list to macro. Remove trailing semicolon. Adjust users.
43671 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43674 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43676 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43678 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43679 from unused variable.
43681 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43683 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43686 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43689 * sunrpc/rpc_prot.c (rejected): Fix case value.
43691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43692 unsigned long long int to avoid warnings in shift.
43694 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43696 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43699 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43700 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43701 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43703 * nis/nis_table.c (nis_list): Use variable of correct type for
43704 result of __follow_path call.
43706 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43708 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43709 of math functions ceil, trunc, floor, round, and sqrt, when
43710 avaliable on the platform.
43711 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43717 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43719 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43720 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43722 2011-11-11 Roland McGrath <roland@hack.frob.com>
43724 * include/unistd.h: Fix __readlink return type.
43725 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43727 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43729 * stdlib/ucontext.h: Undo last change for makecontext.
43731 2011-11-11 Andreas Schwab <schwab@redhat.com>
43733 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43735 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43736 * setjmp/setjmp.h: Mark functions as non-leaf.
43737 * setjmp/bits/setjmp2.h: Likewise.
43738 * stdlib/ucontext.h: Likewise.
43740 2011-11-10 Andreas Schwab <schwab@redhat.com>
43742 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43743 (reused_arena): Don't check arena limit.
43744 (arena_get2): Atomically check arena limit.
43746 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43748 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43749 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43754 2011-11-07 Andreas Schwab <schwab@redhat.com>
43756 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43757 handler when locking.
43759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43760 Fix size of allocated buffer.
43762 2011-11-04 Andreas Schwab <schwab@redhat.com>
43765 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43766 declarations for long double functions.
43767 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43769 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43771 2011-11-03 Andreas Schwab <schwab@redhat.com>
43773 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43776 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43779 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43781 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43783 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43785 * include/alloca.h (stackinfo_alloca_round): Define.
43786 (extend_alloca): Use it.
43787 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43788 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43791 * scripts/check-local-headers.sh: Ignore libaudit.h.
43793 * nscd/Makefile (extra-objs): Make recursively expanded.
43795 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43797 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43800 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43801 * posix/tst-rfc3484-2.c: Likewise.
43802 * posix/tst-rfc3484-3.c: Likewise.
43804 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43806 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43808 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43809 process_vm_writev from libc using GLIBC_2.15 version.
43811 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43813 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43815 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43818 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43821 * nss/getent.c (initgroups_keys): Show error message in case no group
43824 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43825 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43826 __bump_nl_timestamp.
43827 * nscd/connections (nscd_init): When host database is served open
43828 netlink socket and request notification about configuration changes.
43829 (main_loop_poll): Track netlink file descriptor and bump timestamp
43830 in case data becomes available.
43831 (main_loop_epoll): Likewise.
43832 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43833 (database_pers_head): Add extra_data fileds.
43834 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43835 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43836 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43839 in6ai data, call __free_in6ai.
43840 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43841 Add -DHAVE_NETLINK.
43842 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43843 interface information. Reuse previous data if netlink timestamp
43845 (__bump_nl_timestamp): New function.
43846 (__free_in6ai): New function.
43848 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43851 close_not_cancel_no_status here.
43852 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43854 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43857 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43860 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43861 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43862 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43864 2011-07-03 Andreas Jaeger <aj@suse.de>
43867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43868 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43869 * math/libm-test.inc (sin_test): Add test case.
43871 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43874 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43875 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43877 * elf/chroot_canon.c (chroot_canon): Cleanups.
43879 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43882 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43883 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43885 * string/test-strchr.c: Make usable for strchrnul testing.
43886 * string/test-strchrnul.c: New file.
43887 * string/Makefile (strop-tests): Add strchrnul.
43889 * po/it.po: Update from translation team.
43890 * po/es.po: Likewise.
43892 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43894 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43895 the three constants needed as parameters. Drop the others.
43896 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43897 __m128i_strloadu_tolower.
43898 Create and initialize variable zero and use it in all the places
43899 where _mm_setzero_si128 was used.
43901 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43902 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43903 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43904 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43906 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43909 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43910 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43911 __mpranred, __mptan.
43912 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43913 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43914 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43915 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43916 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43917 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43920 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43922 2011-10-28 Andreas Schwab <schwab@redhat.com>
43924 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43925 redefine if SHARED.
43926 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43929 wide char related routines to wcsmbs subdir.
43931 2011-10-27 Andreas Schwab <schwab@redhat.com>
43934 * misc/sys/cdefs.h (__THROWNL): Define.
43935 * posix/unistd.h: Use __THREADNL instead of __THREAD
43936 for memory synchronization functions.
43938 2011-10-26 Roland McGrath <roland@hack.frob.com>
43941 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43943 * manual/stdio.texi (Obstack Streams): Node removed.
43945 2011-10-26 Andreas Schwab <schwab@redhat.com>
43947 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43951 * math/math_private.h (math_force_eval): Allow non-addressable
43953 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43955 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43958 file is not needed.
43960 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43961 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43963 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43964 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43967 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43969 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43970 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43971 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43972 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43973 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43974 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43975 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43977 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43978 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43979 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43980 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43982 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43983 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43984 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43985 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43986 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43987 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43989 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43990 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43993 place. Use VEX encoding when compiling for AVX.
43995 2011-10-25 Andreas Schwab <schwab@redhat.com>
43997 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43998 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44000 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44002 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44004 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44005 useless if() expression.
44006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44017 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44018 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44020 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44024 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44026 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44028 2011-10-25 Andreas Schwab <schwab@redhat.com>
44030 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44032 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44034 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44036 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44037 .text section. Avoid duplicate constants.
44038 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44046 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44048 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44050 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44053 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44062 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44063 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44064 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44067 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44068 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44069 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44071 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44072 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44073 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44074 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44076 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44077 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44078 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44080 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44081 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44082 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44084 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44086 * sysdeps/x86_64/dla.h: Move to ...
44087 * sysdeps/x86_64/fpu/dla.h: ...here.
44088 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44089 situations. Use __builtin_fma only for gcc 4.6 and up.
44091 * config.make.in: Add have-mfma4 entry.
44092 * configure.in: Substitute libc_cv_cc_fma4.
44093 * math/Makefile (dbl-only-routines): Add sincostab.
44094 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44095 Use __sincostab not sincos.
44096 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44103 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44104 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44105 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44106 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44108 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44109 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44111 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44112 define aliases when function name is a macro.
44113 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44114 sysdeps/ieee754/dbl-64/sincos.tbl.
44115 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44116 fma4-enabled routines.
44117 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44118 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44119 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44120 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44122 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44126 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44127 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44128 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44129 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44130 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44132 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44133 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44134 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44135 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44136 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44137 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44138 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44142 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44144 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44145 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44146 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44148 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44159 2011-10-24 Andreas Schwab <schwab@redhat.com>
44161 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44163 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44165 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44167 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44171 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44172 Remove unused variable magic_bits.
44173 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44175 * string/strnlen.c: Define and use STRNLEN macro.
44176 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44177 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44179 * wcsmbs/wcslen.c: Define and use WCSLEN.
44180 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44181 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44182 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44183 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44184 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44185 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44186 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44188 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44191 strnlen-sse2-no-bsf.
44192 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44194 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44195 Add strnlen support.
44196 (USE_AS_STRNLEN): New macro.
44197 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44198 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44199 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44200 * sysdeps/x86_64/wcslen.S: New file.
44202 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44205 XMM-moves are used for copying on small sizes.
44207 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44209 * wcsmbs/Makefile (strop-tests): Add wcschr.
44210 * wcsmbs/test-wcschr.c: New file.
44211 * string/test-strchr.c: Update.
44212 Add wcschr support.
44215 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44217 * wcsmbs/Makefile (strop-tests): Add wcslen.
44218 * wcsmbs/test-wcslen.c: New file.
44219 * string/test-strlen.c: Update.
44220 Add wcslen support.
44223 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44225 * po/it.po: Update from translation team.
44227 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44229 * sysdeps/x86_64/wcscmp.S: Update.
44230 Fix wrong comparison semantics.
44231 wcscmp shall use signed comparison not unsigned.
44232 Don't use substraction to avoid overflow bug.
44233 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44234 * wcsmbc/wcscmp.c: Likewise.
44235 * string/test-strcmp.c: Likewise.
44236 Add new tests to check cases with negative values.
44238 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44240 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44241 * sysdeps/x86_64/dla.h: ...here. New file.
44242 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44252 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44255 __ynl_finite aliases.
44257 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44261 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44263 [DLA_FMA] (EMULV): Use DLA_FMA.
44264 [DLA_FMA] (MUL12): Use EMULV.
44265 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44266 that are not needed.
44267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44275 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44277 * math/s_nan.c: Undef __nan.
44278 * math/s_nanf.c: Undef __nanf.
44279 * math/s_nanl.c: Undef __nanl.
44280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44283 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44285 * math/s_catan.c: Add branch predictions.
44286 * math/s_catanf.c: Likewise.
44287 * math/s_catanh.c: Likewise.
44288 * math/s_catanhf.c: Likewise.
44289 * math/s_catanhl.c: Likewise.
44290 * math/s_catanl.c: Likewise.
44291 * math/s_cexp.c: Likewise.
44292 * math/s_cexpf.c: Likewise.
44293 * math/s_cexpl.c: Likewise.
44294 * math/s_clog.c: Likewise.
44295 * math/s_clog10.c: Likewise.
44296 * math/s_clog10f.c: Likewise.
44297 * math/s_clog10l.c: Likewise.
44298 * math/s_clogf.c: Likewise.
44299 * math/s_clogl.c: Likewise.
44300 * math/s_csqrt.c: Likewise.
44301 * math/s_csqrtf.c: Likewise.
44302 * math/s_csqrtl.c: Likewise.
44303 * math/s_ctanf.c: Likewise.
44304 * math/s_ctanh.c: Likewise.
44305 * math/s_ctanhf.c: Likewise.
44306 * math/s_ctanhl.c: Likewise.
44307 * math/s_ctanl.c: Likewise.
44309 * math/math_private.h: Define __nan, __nanf, __nanl.
44310 * math/s_cacosh.c: Include <math_private.h>.
44311 * math/s_cacoshl.c: Likewise.
44312 * math/s_casinh.c: Likewise.
44313 * math/s_casinhf.c: Likewise.
44314 * math/s_casinhl.c: Likewise.
44315 * math/s_ccos.c: Rely entire on ccosh.
44316 * math/s_ccosf.c: Rely entire on ccoshf.
44317 * math/s_ccosl.c: Rely entirely on ccoshl.
44318 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44319 Remove tests for FE_INVALID.
44320 * math/s_ccoshf.c: Likewise.
44321 * math/s_ccoshl.c: Likewise.
44322 * math/s_csin.c: Likewise.
44323 * math/s_csinf.c: Likewise.
44324 * math/s_csinh.c Likewise.
44325 * math/s_csinhf.c: Likewise.
44326 * math/s_csinhl.c: Likewise.
44327 * math/s_csinl.c: Likewise.
44328 * math/s_ctan.c: Likewise.
44329 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44330 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44333 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44336 compilation problems.
44338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44341 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44343 * sysdeps/i386/configure.in: Test for -mfma4 option.
44344 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44345 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44346 COMMON_CPUID_INDEX_80000001.
44347 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44348 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44349 use it if FMA3 is not supported.
44350 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44352 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44353 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44355 2011-10-20 Andreas Schwab <schwab@redhat.com>
44358 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44359 it would create a cycle with a link time dependency.
44361 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44363 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44365 * string/Makefile (strop-tests): Add rawmemchr.
44366 * string/test-rawmemchr.c: New file.
44368 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44370 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44371 when compiling str{,n}casecmp and when AVX is available. Hook up
44372 new optimized code in initializers.
44374 2011-10-19 Andreas Schwab <schwab@redhat.com>
44376 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44377 __feraiseexcept instead of feraiseexcept.
44379 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44381 * math/math_private.h: Define defaults for libc_fetestexcept and
44383 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44384 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44385 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44387 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44388 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44389 libc_fetestexcept and libc_feupdateenv.
44391 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44392 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44393 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44394 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44395 libc_feholdexcept_setround.
44397 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44398 Add s_nearbyint-c and s_nearbyintf-c.
44399 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44400 nearbyintf inlines.
44401 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44402 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44403 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44404 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44406 * math/math_private.h: Define defaults for libc_fegetround,
44407 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44408 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44409 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44410 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44411 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44412 standard functions.
44413 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44414 Remove comments and hacks for old compiler versions.
44415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44416 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44417 libc_feholdexceptl.
44419 2011-10-18 Andreas Schwab <schwab@redhat.com>
44421 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44422 (__feraiseexcept_renamed): Add __NTH.
44423 (feraiseexcept): Add __NTH. Rename local variables to fix
44424 namespace violations.
44426 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44428 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44432 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44433 recently added interfaces.
44434 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44436 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44437 about macro parameter expansion.
44439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44440 __NO_MATH_INLINES is defined. Cleanups.
44442 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44443 and __floorf is target has SSE4.1.
44444 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44445 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44446 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44449 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44451 (floorf): Likewise.
44453 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44455 2011-10-17 Andreas Schwab <schwab@redhat.com>
44457 * misc/sys/cdefs.h: Fix last change.
44459 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44462 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44464 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44466 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44472 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44474 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44475 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44476 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44477 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44478 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44479 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44480 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44481 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44482 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44483 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44485 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44487 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44489 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44490 ceil, ceilf, floor, floorf.
44492 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44493 Perform IRELATIVE relocations last.
44495 * elf/do-rel.h: Add another parameter nrelative, replacing the
44496 local variable with the same name. Change name of the function
44497 to end in Rel or Rela (uppercase).
44498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44499 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44500 elf_dynamic_do_##reloc function.
44502 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44504 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44505 is sufficient, at least on modern CPUs.
44507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44509 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44510 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44512 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44514 * math/bits/math-finite.h: Add entries for exp.
44515 * math/e_expl.c: Add __*_finite alias.
44516 * sysdeps/i386/fpu/e_exp.S: Likewise.
44517 * sysdeps/i386/fpu/e_expf.S: Likewise.
44518 * sysdeps/i386/fpu/e_expl.c: Likewise.
44519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44520 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44523 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44527 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44528 is sufficient, at least on modern CPUs.
44530 * ctype/ctype-info.c (__ctype_init): Define.
44531 * include/ctype.h (__ctype_init): Declare.
44532 (__ctype_b_loc): The variable is always initialized.
44533 (__ctype_toupper_loc): Likewise.
44534 (__ctype_tolower_loc): Likewise.
44535 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44536 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44538 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44540 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44542 * configure.in: Also look in $cxxmachine/include for C++ system
44545 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44547 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44548 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44549 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44550 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44552 (USE_AS_WMEMCMP): New macro.
44554 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44555 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44556 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44557 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44559 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44560 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44561 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44562 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44563 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44564 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44565 (USE_AS_WMEMCMP): New macro.
44566 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44567 * sysdeps/string/test-memcmp.c: Update.
44568 Fix simple_wmemcmp.
44570 * wcsmbs/wmemcmp.c: Update.
44571 (WMEMCMP): New macro.
44574 2011-10-12 Andreas Jaeger <aj@suse.de>
44577 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44579 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44581 * libio/iofwide.c (do_length): Avoid warning.
44583 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44585 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44587 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44589 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44590 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44591 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44592 * sysdeps/i386/i686/fpu/e_log.S: New file.
44593 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44594 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44596 * ctype/ctype.h: Add support for inlined isXXX functions when
44597 compiling C++ code.
44599 2011-10-14 Andreas Schwab <schwab@redhat.com>
44601 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44605 2011-10-13 Roland McGrath <roland@hack.frob.com>
44608 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44610 2011-10-13 Andreas Schwab <schwab@redhat.com>
44612 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44613 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44616 * sysdeps/x86_64/memrchr.S: Check for zero size.
44618 * string/stratcliff.c: Add memrchr tests.
44620 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44623 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44624 rawmemchr-sse2 rawmemchr-sse2-bsf.
44625 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44626 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44627 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44628 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44629 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44630 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44631 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44632 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44633 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44634 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44635 * string/memrchr.c (MEMRCHR): New macro.
44637 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44639 Add integration with gcc's -ffinite-math-only and optimize wrapper
44641 * Versions.def: Define GLIBC_2.15 version for libm.
44642 * math/Makefile (headers): Add bits/math-finite.h.
44643 * math/bits/math-finite.h: New file.
44644 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44645 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44646 * math/e_acoshl.c: Add __*_finite alias.
44647 * math/e_acosl.c: Likewise.
44648 * math/e_asinl.c: Likewise.
44649 * math/e_atan2l.c: Likewise.
44650 * math/e_atanhl.c: Likewise.
44651 * math/e_coshl.c: Likewise.
44652 * math/e_exp10.c: Likewise.
44653 * math/e_exp10f.c: Likewise.
44654 * math/e_exp10l.c: Likewise.
44655 * math/e_exp2l.c: Likewise.
44656 * math/e_fmodl.c: Likewise.
44657 * math/e_gammal_r.c: Likewise.
44658 * math/e_hypotl.c: Likewise.
44659 * math/e_j0l.c: Likewise.
44660 * math/e_j1l.c: Likewise.
44661 * math/e_jnl.c: Likewise.
44662 * math/e_lgammal_r.c: Likewise.
44663 * math/e_log10l.c: Likewise.
44664 * math/e_log2l.c: Likewise.
44665 * math/e_logl.c: Likewise.
44666 * math/e_powl.c: Likewise.
44667 * math/e_sinhl.c: Likewise.
44668 * math/e_sqrtl.c: Likewise.
44669 * math/e_scalb.c: Completely rewritten and optimized.
44670 * math/e_scalbf.c: Likewise.
44671 * math/e_scalbl.c: Likewise.
44672 * math/w_acos.c: Likewise.
44673 * math/w_acosf.c: Likewise.
44674 * math/w_acosl.c: Likewise.
44675 * math/w_acosh.c: Likewise.
44676 * math/w_acoshf.c: Likewise.
44677 * math/w_acoshl.c: Likewise.
44678 * math/w_asin.c: Likewise.
44679 * math/w_asinf.c: Likewise.
44680 * math/w_asinl.c: Likewise.
44681 * math/w_atan2.c: Likewise.
44682 * math/w_atan2f.c: Likewise.
44683 * math/w_atan2l.c: Likewise.
44684 * math/w_atanh.c: Likewise.
44685 * math/w_atanhf.c: Likewise.
44686 * math/w_atanhl.c: Likewise.
44687 * math/w_exp10.c: Likewise.
44688 * math/w_exp10f.c: Likewise.
44689 * math/w_exp10l.c: Likewise.
44690 * math/w_fmod.c: Likewise.
44691 * math/w_fmodf.c: Likewise.
44692 * math/w_fmodl.c: Likewise.
44693 * math/w_j0.c: Likewise.
44694 * math/w_j0f.c: Likewise.
44695 * math/w_j0l.c: Likewise.
44696 * math/w_j1.c: Likewise.
44697 * math/w_j1f.c: Likewise.
44698 * math/w_j1l.c: Likewise.
44699 * math/w_jn.c: Likewise.
44700 * math/w_jnf.c: Likewise.
44701 * math/w_log.c: Likewise.
44702 * math/w_logf.c: Likewise.
44703 * math/w_logl.c: Likewise.
44704 * math/w_log10.c: Likewise.
44705 * math/w_log10f.c: Likewise.
44706 * math/w_log10l.c: Likewise.
44707 * math/w_log2.c: Likewise.
44708 * math/w_log2f.c: Likewise.
44709 * math/w_log2l.c: Likewise.
44710 * math/w_pow.c: Likewise.
44711 * math/w_powf.c: Likewise.
44712 * math/w_powl.c: Likewise.
44713 * math/w_remainder.c: Likewise.
44714 * math/w_remainderf.c: Likewise.
44715 * math/w_remainderl.c: Likewise.
44716 * math/w_scalb.c: Likewise.
44717 * math/w_scalbf.c: Likewise.
44718 * math/w_scalbl.c: Likewise.
44719 * math/w_sqrt.c: Likewise.
44720 * math/w_sqrtf.c: Likewise.
44721 * math/w_sqrtl.c: Likewise.
44722 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44723 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44725 * math/math_private.h: Declare __kernel_standard_f.
44726 * math/w_cosh.c: Remove cruft and optimize a bit.
44727 * math/w_coshf.c: Likewise.
44728 * math/w_coshl.c: Likewise.
44729 * math/w_exp2.c: Likewise.
44730 * math/w_exp2f.c: Likewise.
44731 * math/w_exp2l.c: Likewise.
44732 * math/w_hypot.c: Likewise.
44733 * math/w_hypotf.c: Likewise.
44734 * math/w_hypotl.c: Likewise.
44735 * math/w_lgamma.c: Likewise.
44736 * math/w_lgamma_r.c: Likewise.
44737 * math/w_lgammaf.c: Likewise.
44738 * math/w_lgammaf_r.c: Likewise.
44739 * math/w_lgammal.c: Likewise.
44740 * math/w_lgammal_r.c: Likewise.
44741 * math/w_sinh.c: Likewise.
44742 * math/w_sinhf.c: Likewise.
44743 * math/w_sinhl.c: Likewise.
44744 * math/w_tgamma.c: Likewise.
44745 * math/w_tgammaf.c: Likewise.
44746 * math/w_tgammal.c: Likewise.
44747 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44749 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44750 Minor optimizations. Pretty printing. Remove cruft.
44751 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44752 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44753 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44754 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44755 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44756 * sysdeps/i386/fpu/e_asin.S: Likewise.
44757 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44758 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44759 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44760 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44761 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44763 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44764 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44765 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44766 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44767 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44768 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44769 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44770 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44771 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44772 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44773 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44774 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44775 * sysdeps/i386/fpu/e_log.S: Likewise.
44776 * sysdeps/i386/fpu/e_log10.S: Likewise.
44777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44779 * sysdeps/i386/fpu/e_log2.S: Likewise.
44780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44782 * sysdeps/i386/fpu/e_logf.S: Likewise.
44783 * sysdeps/i386/fpu/e_logl.S: Likewise.
44784 * sysdeps/i386/fpu/e_pow.S: Likewise.
44785 * sysdeps/i386/fpu/e_powf.S: Likewise.
44786 * sysdeps/i386/fpu/e_powl.S: Likewise.
44787 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44788 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44789 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44791 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44793 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44794 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44795 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44817 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44818 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44819 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44820 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44821 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44822 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44823 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44824 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44825 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44827 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44828 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44829 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44830 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44831 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44832 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44833 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44834 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44835 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44836 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44837 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44874 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44876 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44878 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44879 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44881 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44882 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44884 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44886 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44887 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44888 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44889 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44890 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44891 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44892 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44893 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44894 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44895 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44896 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44897 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44898 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44899 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44904 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44906 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44907 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44908 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44909 (__isnanf): Likewise.
44910 (__isinf_ns): Likewise.
44911 (__isinf_nsf): Likewise.
44912 (__finite): Likewise.
44913 (__finitef): Likewise.
44914 (__ieee754_sqrt): Define as macro.
44915 (__ieee754_sqrtf): Define as macro.
44916 (__ieee754_sqrtl): Define as macro.
44917 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44919 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44920 __FINITE_MATH_ONLY__ consistent.
44921 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44923 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44925 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44928 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44930 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44932 * po/ja.po: Update from translation team.
44934 2011-10-08 Roland McGrath <roland@hack.frob.com>
44936 * locale/programs/locarchive.c (prepare_address_space): New function.
44937 (create_archive, enlarge_archive, open_archive): Use it.
44939 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44940 inside [SHARED], where it is used.
44942 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44944 * nss/getent.c (netgroup_keys): Remove unused variable.
44945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44947 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44949 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44950 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44954 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44955 * math/Makefile (libm-calls): Add s_isinf_ns.
44956 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44957 * math/multc3.c: Likewise.
44958 * math/s_casin.c: Likewise.
44959 * math/s_casinf.c: Likewise.
44960 * math/s_casinl.c: Likewise.
44961 * math/s_ccos.c: Likewise.
44962 * math/s_ccosf.c: Likewise.
44963 * math/s_ccosl.c: Likewise.
44964 * math/s_ctan.c: Likewise.
44965 * math/s_ctanf.c: Likewise.
44966 * math/s_ctanh.c: Likewise.
44967 * math/s_ctanhf.c: Likewise.
44968 * math/s_ctanhl.c: Likewise.
44969 * math/s_ctanl.c: Likewise.
44970 * math/w_fmod.c: Likewise.
44971 * math/w_fmodf.c: Likewise.
44972 * math/w_fmodl.c: Likewise.
44973 * math/w_remainder.c: Likewise.
44974 * math/w_remainderf.c: Likewise.
44975 * math/w_remainderl.c: Likewise.
44976 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44977 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44980 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44981 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44982 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44983 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44985 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44987 * stdio-common/printf_fphex.c: Likewise.
44988 * stdio-common/printf_size.c: Likewise.
44990 * math/e_exp10.c: Include math_private.h using <...> not "...".
44991 * math/e_exp10f.c: Likewise.
44992 * math/e_exp10l.c: Likewise.
44993 * math/e_exp2l.c: Likewise.
44994 * math/e_j0l.c: Likewise.
44995 * math/e_j1l.c: Likewise.
44996 * math/e_jnl.c: Likewise.
44997 * math/e_lgammal_r.c: Likewise.
44998 * math/e_rem_pio2l.c: Likewise.
44999 * math/e_scalb.c: Likewise.
45000 * math/e_scalbf.c: Likewise.
45001 * math/e_scalbl.c: Likewise.
45002 * math/k_cosl.c: Likewise.
45003 * math/k_sinl.c: Likewise.
45004 * math/k_tanl.c: Likewise.
45005 * math/s_cacoshf.c: Likewise.
45006 * math/s_catan.c: Likewise.
45007 * math/s_catanf.c: Likewise.
45008 * math/s_catanh.c: Likewise.
45009 * math/s_catanhf.c: Likewise.
45010 * math/s_catanhl.c: Likewise.
45011 * math/s_catanl.c: Likewise.
45012 * math/s_ccosh.c: Likewise.
45013 * math/s_ccoshf.c: Likewise.
45014 * math/s_ccoshl.c: Likewise.
45015 * math/s_cexp.c: Likewise.
45016 * math/s_cexpf.c: Likewise.
45017 * math/s_cexpl.c: Likewise.
45018 * math/s_clog.c: Likewise.
45019 * math/s_clog10.c: Likewise.
45020 * math/s_clog10f.c: Likewise.
45021 * math/s_clog10l.c: Likewise.
45022 * math/s_clogf.c: Likewise.
45023 * math/s_clogl.c: Likewise.
45024 * math/s_csin.c: Likewise.
45025 * math/s_csinf.c: Likewise.
45026 * math/s_csinh.c: Likewise.
45027 * math/s_csinhf.c: Likewise.
45028 * math/s_csinhl.c: Likewise.
45029 * math/s_csinl.c: Likewise.
45030 * math/s_csqrt.c: Likewise.
45031 * math/s_csqrtf.c: Likewise.
45032 * math/s_csqrtl.c: Likewise.
45033 * math/s_ctan.c: Likewise.
45034 * math/s_ctanf.c: Likewise.
45035 * math/s_ctanh.c: Likewise.
45036 * math/s_ctanhf.c: Likewise.
45037 * math/s_ctanhl.c: Likewise.
45038 * math/s_ctanl.c: Likewise.
45039 * math/s_ldexp.c: Likewise.
45040 * math/s_ldexpf.c: Likewise.
45041 * math/s_ldexpl.c: Likewise.
45042 * math/s_significand.c: Likewise.
45043 * math/s_significandf.c: Likewise.
45044 * math/s_significandl.c: Likewise.
45045 * math/w_acos.c: Likewise.
45046 * math/w_acosf.c: Likewise.
45047 * math/w_acosh.c: Likewise.
45048 * math/w_acoshf.c: Likewise.
45049 * math/w_acoshl.c: Likewise.
45050 * math/w_acosl.c: Likewise.
45051 * math/w_asin.c: Likewise.
45052 * math/w_asinf.c: Likewise.
45053 * math/w_asinl.c: Likewise.
45054 * math/w_atan2.c: Likewise.
45055 * math/w_atan2f.c: Likewise.
45056 * math/w_atan2l.c: Likewise.
45057 * math/w_atanh.c: Likewise.
45058 * math/w_atanhf.c: Likewise.
45059 * math/w_atanhl.c: Likewise.
45060 * math/w_cosh.c: Likewise.
45061 * math/w_coshf.c: Likewise.
45062 * math/w_coshl.c: Likewise.
45063 * math/w_dremf.c: Likewise.
45064 * math/w_exp10.c: Likewise.
45065 * math/w_exp10f.c: Likewise.
45066 * math/w_exp10l.c: Likewise.
45067 * math/w_exp2.c: Likewise.
45068 * math/w_exp2f.c: Likewise.
45069 * math/w_fmod.c: Likewise.
45070 * math/w_fmodf.c: Likewise.
45071 * math/w_fmodl.c: Likewise.
45072 * math/w_hypot.c: Likewise.
45073 * math/w_hypotf.c: Likewise.
45074 * math/w_hypotl.c: Likewise.
45075 * math/w_j0.c: Likewise.
45076 * math/w_j0f.c: Likewise.
45077 * math/w_j0l.c: Likewise.
45078 * math/w_j1.c: Likewise.
45079 * math/w_j1f.c: Likewise.
45080 * math/w_j1l.c: Likewise.
45081 * math/w_jn.c: Likewise.
45082 * math/w_jnf.c: Likewise.
45083 * math/w_jnl.c: Likewise.
45084 * math/w_lgamma.c: Likewise.
45085 * math/w_lgamma_r.c: Likewise.
45086 * math/w_lgammaf.c: Likewise.
45087 * math/w_lgammaf_r.c: Likewise.
45088 * math/w_lgammal.c: Likewise.
45089 * math/w_lgammal_r.c: Likewise.
45090 * math/w_log.c: Likewise.
45091 * math/w_log10.c: Likewise.
45092 * math/w_log10f.c: Likewise.
45093 * math/w_log10l.c: Likewise.
45094 * math/w_log2.c: Likewise.
45095 * math/w_log2f.c: Likewise.
45096 * math/w_log2l.c: Likewise.
45097 * math/w_logf.c: Likewise.
45098 * math/w_logl.c: Likewise.
45099 * math/w_pow.c: Likewise.
45100 * math/w_powf.c: Likewise.
45101 * math/w_powl.c: Likewise.
45102 * math/w_remainder.c: Likewise.
45103 * math/w_remainderf.c: Likewise.
45104 * math/w_remainderl.c: Likewise.
45105 * math/w_scalb.c: Likewise.
45106 * math/w_scalbf.c: Likewise.
45107 * math/w_scalbl.c: Likewise.
45108 * math/w_sinh.c: Likewise.
45109 * math/w_sinhf.c: Likewise.
45110 * math/w_sinhl.c: Likewise.
45111 * math/w_sqrt.c: Likewise.
45112 * math/w_sqrtf.c: Likewise.
45113 * math/w_sqrtl.c: Likewise.
45114 * math/w_tgamma.c: Likewise.
45115 * math/w_tgammaf.c: Likewise.
45116 * math/w_tgammal.c: Likewise.
45118 * po/ja.po: Update from translation team.
45120 2011-09-29 Andreas Jaeger <aj@suse.de>
45123 * sunrpc/netname.c (netname2host): Fix logic.
45127 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45129 * math/w_remainder.c (__remainder): Likewise.
45130 * math/w_remainderf.c (__remainderf): Likewise.
45131 * math/libm-test.inc (remainder_test): Add test cases.
45133 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45135 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45138 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45140 * string/test-memcmp.c: Avoid unncessary #defines.
45141 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45143 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45145 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45146 Use new sse2 version for core i3 - i7 as it's faster
45147 than sse42 version.
45148 (bit_Prefer_PMINUB_for_stringop): New.
45149 * sysdeps/x86_64/rawmemchr.S: Update.
45150 Replace with faster SSE2 version.
45151 * sysdeps/x86_64/memrchr.S: New file.
45152 * sysdeps/x86_64/memchr.S: Update.
45153 Replace with faster SSE2 version.
45155 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45157 * elf/dl-load.c (lose): Add cast to avoid warning.
45159 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45161 * po/ca.po: Update from translation team.
45163 * inet/getnetgrent_r.c: Hook up nscd.
45164 * nscd/Makefile (routines): Add nscd_netgroup.
45165 (nscd-modules): Add netgroupcache.
45166 (CFLAGS-netgroupcache.c): Define.
45167 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45168 (cache_search): Add const to second parameter.
45169 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45171 (dbs): Add netgrdb entry.
45172 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45173 (verify_persistent_db): Handle netgrdb.
45174 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45175 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45177 (netgroup_response_header): Define.
45178 (innetgroup_response_header): Define.
45179 (datahead): Add netgroup_response_header and innetgroup_response_header
45181 * nscd/nscd.conf: Add entries for netgroup cache.
45182 * nscd/nscd.h (dbtype): Add netgrdb.
45183 (_PATH_NSCD_NETGROUP_DB): Define.
45184 (netgroup_iov_disabled): Declare.
45185 (xmalloc, xcalloc, xrealloc): Move declarations here.
45186 (cache_search): Adjust prototype.
45187 Add netgroup-related prototypes.
45188 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45189 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45190 (__nscd_innetgr): Declare.
45191 * nscd/selinux.c (perms): Use access_vector_t as element type and
45192 add netgroup-related initializers.
45193 * nscd/netgroupcache.c: New file.
45194 * nscd/nscd_netgroup.c: New file.
45195 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45196 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45197 For four parameters use innetgr.
45198 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45199 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45200 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45201 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45203 * nscd/connections.c (register_traced_file): Don't register file
45204 for disabled databases.
45206 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45208 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45210 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45211 from tree and freeing node.
45213 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45215 * nss/nsswitch.c (__nss_database_lookup): Handle
45216 nss_parse_service_list out of memory case.
45218 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45220 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45221 out of memory case.
45223 2011-10-04 Andreas Schwab <schwab@redhat.com>
45225 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45226 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45228 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45229 elf_machine_rela, elf_machine_lazy_rel.
45230 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45231 (ELF_DYNAMIC_DO_REL): Likewise.
45232 (ELF_DYNAMIC_DO_RELA): Likewise.
45233 (ELF_DYNAMIC_RELOCATE): Likewise.
45234 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45235 to ELF_DYNAMIC_DO_REL.
45236 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45237 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45238 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45241 skip_ifunc, don't call ifunc function if non-zero.
45242 (elf_machine_rela): Likewise.
45243 (elf_machine_lazy_rel): Likewise.
45244 (elf_machine_lazy_rela): Likewise.
45245 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45246 (elf_machine_lazy_rel): Likewise.
45247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45249 (elf_machine_lazy_rel): Likewise.
45250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45252 (elf_machine_lazy_rel): Likewise.
45253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45254 (elf_machine_lazy_rel): Likewise.
45255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45256 (elf_machine_lazy_rel): Likewise.
45257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45258 (elf_machine_lazy_rel): Likewise.
45259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45260 (elf_machine_lazy_rel): Likewise.
45261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45262 (elf_machine_lazy_rel): Likewise.
45263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45264 (elf_machine_lazy_rel): Likewise.
45266 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45268 * nss/nss_files/files-init.c (_nss_files_init): Use static
45269 initialization for all the *_traced_file variables.
45271 2011-09-28 Andreas Schwab <schwab@redhat.com>
45273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45275 2011-09-27 Roland McGrath <roland@hack.frob.com>
45278 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45280 2011-09-27 Andreas Schwab <schwab@redhat.com>
45282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45283 Reread the line before reparsing it.
45285 2011-09-26 Andreas Schwab <schwab@redhat.com>
45287 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45289 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45290 Maxim Kuvyrkov <maxim@codesourcery.com>
45291 Joseph Myers <joseph@codesourcery.com>
45293 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45294 if needed for __stack_chk_guard.
45296 2011-09-19 Roland McGrath <roland@hack.frob.com>
45298 * sysdeps/posix/spawni.c (script_execute): Always define it.
45299 It will be optimized away if unused.
45300 (maybe_script_execute): New function.
45301 (__spawni): Call it.
45303 * Makerules: Don't include tls.make.
45304 (config-tls): Always set to thread.
45305 * tls.make.c: File removed.
45307 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45309 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45310 * config.make.in (CPPFLAGS-config): New substituted variable.
45312 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45317 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45318 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45320 2011-09-15 Roland McGrath <roland@hack.frob.com>
45322 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45323 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45325 (CALL_FAIL): Likewise.
45326 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45327 (CALL_FAIL): Macro removed.
45328 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45330 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45332 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45333 for __FINITE_MATH_ONLY__ == 1.
45335 2011-09-15 Andreas Schwab <schwab@redhat.com>
45337 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45338 __ieee754_sqrt instead of sqrt.
45339 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45340 __ieee754_sqrtf instead of sqrtf.
45341 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45342 __floorf instead of floorf.
45343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45344 __floorf, __truncf instead of floorf, truncf.
45346 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45348 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45350 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45351 __extern_always_inline.
45352 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45355 2011-09-14 Andreas Schwab <schwab@redhat.com>
45357 * elf/rtld.c (dl_main): Also relocate in dependency order when
45358 doing symbol dependency testing.
45360 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45363 Always define `refsym'.
45365 2011-09-13 Andreas Schwab <schwab@redhat.com>
45367 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45368 (__FD_ELT): Renamed from __FDELT.
45369 * misc/bits/select2.h (__FD_ELT): Likewise.
45370 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45371 __FD_MASK instead of __FDELT, __FDMASK.
45372 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45374 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45377 * elf/Makefile (gen-ldd): Fix pattern.
45379 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45380 (init_tls): Likewise.
45382 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45386 2011-09-12 Andreas Schwab <schwab@redhat.com>
45388 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45389 `struct cmsghdr *' instead of `void *'.
45390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45393 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45395 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45397 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45398 ldd_rewrite_script.
45400 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45402 * configure.in: Remove --with-tls option.
45403 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45404 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45405 out in case it is missing.
45406 * sysdeps/ia64/elf/configure.in: Likewise.
45407 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45408 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45409 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45410 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45411 * sysdeps/sh/elf/configure.in: Likewise.
45412 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45413 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45414 * sysdeps/x86_64/elf/configure.in: Likewise.
45415 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45416 * sysdeps/mach/hurd/tls.h: Likewise.
45419 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45422 * configure.in: Fix use of AC_INIT.
45424 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45426 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45428 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45430 * malloc/hooks.c: Likewise.
45433 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45434 variables statically.
45435 (narenas): Initialize.
45436 (list_lock): Initialize.
45437 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45438 initializtion of main_arena and list_lock. Small cleanups.
45439 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45440 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45441 Add initializers to main_arena and mp_.
45442 (malloc_state): Remove pagesize member. Change all users to use
45445 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45446 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45447 is always initialized.
45449 * malloc/malloc.c: Removed unused configurations and dead code.
45450 * malloc/arena.c: Likewise.
45451 * malloc/hooks.c: Likewise.
45452 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45454 * include/tls.h: Removed. USE___THREAD must always be defined.
45455 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45456 * elf/dl-libc.c: Likewise.
45457 * elf/dl-tsd.c: Likewise.
45458 * include/errno.h: Likewise.
45459 * include/netdb.h: Likewise.
45460 * include/resolv.h: Likewise.
45461 * inet/herrno-loc.c: Likewise.
45462 * inet/herrno.c: Likewise.
45463 * malloc/arena.c: Likewise.
45464 * malloc/hooks.c: Likewise.
45465 * malloc/malloc.c: Likewise.
45466 * resolv/res-state.c: Likewise.
45467 * resolv/res_libc.c: Likewise.
45468 * sysdeps/i386/dl-machine.h: Likewise.
45469 * sysdeps/ia64/dl-machine.h: Likewise.
45470 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45471 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45472 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45473 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45474 * sysdeps/sh/dl-machine.h: Likewise.
45475 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45476 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45477 * sysdeps/unix/i386/sysdep.S: Likewise.
45478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45479 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45484 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45489 * sysdeps/x86_64/dl-machine.h: Likewise.
45490 * tls.make.c: Likewise.
45492 * configure.in: Remove --with-__thread option. Make tests for
45493 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45494 tls_model attribute fail if no support is available. Remove
45496 * Makeconfig: Adjust for dropped configure option. All features are
45498 * Makerules: Likewise.
45499 * Versions.def: Likewise.
45500 * argp/argp-fmtstream.c: Likewise.
45501 * argp/argp-fmtstream.h: Likewise.
45502 * argp/argp-help.c: Likewise.
45503 * assert/assert.c: Likewise.
45504 * config.h.in: Likewise.
45505 * config.make.in: Likewise.
45506 * configure: Likewise.
45507 * configure.in: Likewise.
45508 * csu/Versions: Likewise.
45509 * csu/init.c: Likewise.
45510 * elf/tst-audit2.c: Likewise.
45511 * elf/tst-tls10.c: Likewise.
45512 * elf/tst-tls10.h: Likewise.
45513 * elf/tst-tls11.c: Likewise.
45514 * elf/tst-tls12.c: Likewise.
45515 * elf/tst-tls14.c: Likewise.
45516 * elf/tst-tlsmod11.c: Likewise.
45517 * elf/tst-tlsmod12.c: Likewise.
45518 * elf/tst-tlsmod13.c: Likewise.
45519 * elf/tst-tlsmod13a.c: Likewise.
45520 * elf/tst-tlsmod14a.c: Likewise.
45521 * elf/tst-tlsmod15b.c: Likewise.
45522 * elf/tst-tlsmod16a.c: Likewise.
45523 * elf/tst-tlsmod16b.c: Likewise.
45524 * elf/tst-tlsmod7.c: Likewise.
45525 * elf/tst-tlsmod8.c: Likewise.
45526 * elf/tst-tlsmod9.c: Likewise.
45527 * gmon/gmon.c: Likewise.
45528 * grp/fgetgrent_r.c: Likewise.
45529 * grp/putgrent.c: Likewise.
45530 * hurd/fopenport.c: Likewise.
45531 * include/libc-symbols.h: Likewise.
45532 * include/tls.h: Likewise.
45533 * intl/gettextP.h: Likewise.
45534 * intl/loadinfo.h: Likewise.
45535 * locale/global-locale.c: Likewise.
45536 * locale/localeinfo.h: Likewise.
45537 * mach/devstream.c: Likewise.
45538 * malloc/arena.c: Likewise.
45539 * malloc/set-freeres.c: Likewise.
45540 * misc/err.c: Likewise.
45541 * misc/getttyent.c: Likewise.
45542 * misc/mntent_r.c: Likewise.
45543 * posix/getopt.c: Likewise.
45544 * posix/wordexp.c: Likewise.
45545 * pwd/fgetpwent_r.c: Likewise.
45546 * resolv/Versions: Likewise.
45547 * resolv/res_hconf.c: Likewise.
45548 * shadow/fgetspent_r.c: Likewise.
45549 * shadow/putspent.c: Likewise.
45550 * stdio-common/printf_fphex.c: Likewise.
45551 * stdio-common/tmpfile.c: Likewise.
45552 * stdlib/abort.c: Likewise.
45553 * stdlib/fmtmsg.c: Likewise.
45554 * sunrpc/auth_unix.c: Likewise.
45555 * sunrpc/clnt_perr.c: Likewise.
45556 * sunrpc/clnt_tcp.c: Likewise.
45557 * sunrpc/clnt_udp.c: Likewise.
45558 * sunrpc/clnt_unix.c: Likewise.
45559 * sunrpc/openchild.c: Likewise.
45560 * sunrpc/svc_simple.c: Likewise.
45561 * sunrpc/svc_tcp.c: Likewise.
45562 * sunrpc/svc_udp.c: Likewise.
45563 * sunrpc/svc_unix.c: Likewise.
45564 * sunrpc/xdr.c: Likewise.
45565 * sunrpc/xdr_array.c: Likewise.
45566 * sunrpc/xdr_rec.c: Likewise.
45567 * sunrpc/xdr_ref.c: Likewise.
45568 * sunrpc/xdr_stdio.c: Likewise.
45570 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45572 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45574 2011-07-03 Andreas Jaeger <aj@suse.de>
45576 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45577 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45578 regenerate with gen-libm-tests.pl.
45580 2010-05-12 Petr Baudis <pasky@suse.cz>
45583 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45584 around j0() zero points by switching to j1().
45585 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45590 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45592 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45594 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45597 Patch in part by Pavel Roskin <proski@gnu.org>.
45600 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45602 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45603 Free memory block if necessary.
45606 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45607 be NULL. Don't lock in this case.
45609 2011-09-09 Roland McGrath <roland@hack.frob.com>
45611 * elf/elf.h (ELFOSABI_GNU): New macro.
45612 (ELFOSABI_LINUX): Define to that.
45614 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45616 * string/strncat.c (strncat): Undef the symbol in case it has been
45617 defined in bits/string.h.
45619 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45621 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45623 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45626 2011-08-17 Andreas Jaeger <aj@suse.de>
45628 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45630 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45631 Ian Lance Taylor <iant@google.com>
45633 * math/libm-test.inc (lround_test): New testcase.
45634 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45636 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45638 * Makefile: Remove support for automatic cvs check-ins.
45639 * Makerules: Likewise.
45640 * config.make.in: Likewise.
45641 * configure.in: Likewise.
45642 * intl/Makefile: Likewise.
45643 * locale/Makefile: Likewise.
45644 * po/Makefile: Likewise.
45645 * posix/Makefile: Likewise.
45646 * sysdeps/gnu/Makefile: Likewise.
45647 * sysdeps/mach/hurd/Makefile: Likewise.
45648 * sysdeps/sparc/sparc32/Makefile: Likewise.
45651 * posix/Makefile (bug-regex32-ENV): Define.
45652 Patch by John Stanley <jpsinthemix@verizon.net>.
45654 * misc/Makefile (headers): Add bits/select2.h.
45655 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45656 * misc/bits/select2.h: New file.
45657 * include/bits/select2.h: New file.
45658 * debug/Makefile (routines): Add fdelt_chk.
45659 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45660 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45662 * debug/fdelt_chk.c: New file.
45664 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45665 * wcsmbs/test-wmemcmp.c: Likewise.
45666 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45667 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45669 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45671 * string/Makefile (strop-tests): Add memcmp.
45672 * string/test-wmemcmp.c: New file.
45673 * string/test-memcmp.c: Add wmemcmp support.
45675 2011-09-08 Roland McGrath <roland@hack.frob.com>
45678 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45681 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45682 garbage value in a __mach_port_mod_refs call in the cases of the
45683 task-self and thread-self ports.
45685 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45687 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45689 2011-09-08 Andreas Schwab <schwab@redhat.com>
45691 * elf/dl-load.c (lose): Check for non-null L.
45693 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45695 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45697 * elf/dl-libc.c (dlerror_run): Pass back error code from
45701 * elf/dl-load.c (lose): Free l_origin if it is valid.
45703 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45707 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45709 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45710 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45712 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45714 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45715 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45716 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45717 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45718 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45719 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45720 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45721 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45722 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45723 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45725 2011-08-15 Alan Modra <amodra@gmail.com>
45728 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45729 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45730 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45731 ppc_mcount to static-only-routines.
45732 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45734 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45735 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45737 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45740 for finite and infinity parameters.
45742 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45745 and add nop instructions for throughput optimization.
45746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45748 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45751 aligned copy for power7 with vector-scalar instructions.
45752 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45754 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45759 2011-09-07 Andreas Schwab <schwab@redhat.com>
45762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45765 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45767 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45768 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45769 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45773 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45776 Forgot to demangle the pointer.
45778 * sysdeps/i386/sysdep.h: Define atom_text_section.
45779 * sysdeps/x86_64/sysdep.h: Likewise.
45780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45781 section with atom_text_section.
45782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45783 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45784 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45786 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45788 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45790 already be defined. Change to take two parameters and don't assign
45791 result to variable. Adjust all users.
45792 Define INTERNAL_GETTIME if not already defined.
45793 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45796 HAVE_CLOCK_GETTIME_VSYSCALL.
45797 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45800 gettimeofday vsyscall, just use time.
45802 2011-09-06 Andreas Schwab <schwab@redhat.com>
45804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45807 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45809 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45813 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45814 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45815 syscall if possible.
45817 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45819 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45820 e_ident. Don't pass to find_mapsXX.
45821 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45823 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45826 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45827 * sysdeps/x86_64/multiarch/strchr.S: Update.
45828 Check bit_slow_BSF bit.
45829 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45830 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45833 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45836 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45838 (tryshell): Define.
45839 (__spawni): Change last parameter to be flag. Test
45840 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45841 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45842 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45843 * posix/spawni.c: Likewise.
45844 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45845 * posix/spawnp.c: Likewise. Change normal version to use
45846 SPAWN_XFLAGS_USE_PATH.
45847 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45848 SPAWN_XFLAGS_TRY_SHELL.
45851 * posix/glob.h: Remove gcc 1.x support.
45854 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45856 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45859 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45861 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45862 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45865 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45868 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45870 * sysdeps/x86_64/wcscmp.S: New file.
45872 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45873 wcscmp-c wcscmp-sse2
45874 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45875 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45877 * wcsmbs/wcscmp.c: Allow renaming.
45879 2011-09-05 David S. Miller <davem@davemloft.net>
45881 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45882 stack slot, rather than the struct return pointer slot.
45883 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45884 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45888 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45890 * po/ja.po: Update from translation team.
45893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45894 kernel in 64-bit binaries.
45896 2011-09-01 David S. Miller <davem@davemloft.net>
45898 * elf/elf.h (HWCAP_SPARC_*): Move to..
45899 * sysdeps/sparc/sysdep.h: this new file and add new values.
45900 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45901 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45902 _DL_HWCAP_COUNT to 24.
45903 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45905 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45906 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45907 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45909 instead of magic constants.
45910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45912 2011-08-31 David S. Miller <davem@davemloft.net>
45914 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45916 Reimplement to do errno handling inline.
45917 (SYSCALL_ERROR_HANDLER): New macro.
45918 (__SYSCALL_STRING): Do not do errno handling in asm.
45919 (__CLONE_SYSCALL_STRING): Delete.
45920 (__INTERNAL_SYSCALL_STRING): Delete.
45921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45922 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45923 (PSEUDO): Reimplement to do errno handling inline.
45924 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45925 (SYSCALL_ERROR_HANDLER): New macro.
45926 (__SYSCALL_STRING): Do not do errno handling in asm.
45927 (__CLONE_SYSCALL_STRING): Delete.
45928 (__INTERNAL_SYSCALL_STRING): Delete.
45929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45930 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45932 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45933 (inline_syscall*): Add 'err' argument.
45934 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45935 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45936 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45937 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45939 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45942 2011-08-30 Andreas Schwab <schwab@redhat.com>
45944 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45946 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45948 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45951 2011-08-24 David S. Miller <davem@davemloft.net>
45953 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45955 2011-08-24 Andreas Schwab <schwab@redhat.com>
45957 * elf/Makefile: Add rules to build and run unload8 test.
45958 * elf/unload8.c: New file.
45959 * elf/unload8mod1.c: New file.
45960 * elf/unload8mod1x.c: New file.
45961 * elf/unload8mod2.c: New file.
45962 * elf/unload8mod3.c: New file.
45964 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45967 2011-08-23 David S. Miller <davem@davemloft.net>
45969 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45970 subtract stack bias.
45971 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45972 %sp not %fp in calculations.
45973 (_JMPBUF_UNWINDS_ADJ): Likewise.
45975 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45976 (aio_suspend): Call it to force an exception region around the
45977 AIO_MISC_WAIT() invocation.
45979 2011-08-23 Andreas Schwab <schwab@redhat.com>
45981 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45984 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45986 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45988 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45989 and <dl-machine.h>.
45990 (Elf64_FuncDesc): Remove.
45992 2011-08-22 David S. Miller <davem@davemloft.net>
45994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45995 sigaltstack check, add missing cfi directives.
45996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45997 missing cfi directives, and sigaltstack handling.
45999 2011-08-16 Andreas Schwab <schwab@redhat.com>
46002 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46003 object is seen twice.
46004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46006 * elf/Makefile (distribute): Add tst-initorder2.c.
46007 (tests): Add tst-initorder2.
46008 (modules-names): Add tst-initorder2a tst-initorder2b
46009 tst-initorder2c tst-initorder2d. Add rules to build them.
46010 ($(objpfx)tst-initorder2.out): New rule.
46011 * elf/tst-initorder2.c: New file.
46012 * elf/tst-initorder2.exp: New file.
46014 2011-08-22 Andreas Schwab <schwab@redhat.com>
46016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46018 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46019 dependencies back to end of function.
46021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46022 $(elfobjdir)/ld.so.
46024 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46027 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46029 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46030 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46031 of __vdso_gettimeofday.
46032 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46033 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46035 (_libc_vdso_platform_setup): Remove initialization of
46036 __vdso_gettimeofday and __vdso_time.
46038 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46040 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46041 and fgetc_unlocked.
46042 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46045 * elf/dl-open.c (add_to_global): Report additions to the global scope
46046 for LD_DEBUG=scopes.
46047 (dl_open_worker): Also print scope of newly loaded dependencies.
46048 (_dl_show_scope): Indicate if there is no scope.
46051 * stdio-common/Makefile (tests): Add bug24.
46052 * stdio-common/bug24.c: New file.
46054 2011-08-19 Andreas Jaeger <aj@suse.de>
46057 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46058 non-existant file when using close-on-exec mode.
46060 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46063 the very first instruction.
46065 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46066 the CFI state in the end.
46067 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46068 inclusion of dl-trampoline.h.
46069 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46071 2011-08-19 Andreas Schwab <schwab@redhat.com>
46073 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46074 expectations for long double.
46076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46077 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46079 2011-08-14 David S. Miller <davem@davemloft.net>
46081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46082 artificual limit depends upon the system page size.
46084 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46086 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46087 * resolv/Makefile: Define CFLAGS-libresolv.
46089 2011-08-17 Andreas Schwab <schwab@redhat.com>
46091 * nss/makedb.c (compute_tables): Make variables used in nested
46094 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46096 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46097 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46098 if buffer was too small.
46100 * elf/pldd.c (main): Attach to all threads in the process.
46101 Rewrite /proc handling to use *at functions.
46103 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46105 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46106 specifies first scope to show.
46107 (dl_open_worker): Update callers. Move printing scope of new
46108 object to before the relocation.
46109 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46110 * sysdeps/generic/ldsodefs.h: Update declaration.
46112 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46113 string for the scope number.
46115 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46117 * nscd/servicescache.c (cache_addserv): Make sure written is always
46120 2011-08-14 Roland McGrath <roland@hack.frob.com>
46122 * sysdeps/i386/i486/bits/atomic.h
46123 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46124 statement expression, so as to suppress "set but not used" warning.
46125 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46127 * string/strncat.c (STRNCAT): Use prototype definition.
46129 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46130 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46132 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46133 (localedef-modules): Add localedef.
46134 (locale-modules): Add locale.
46136 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46137 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46138 to avoid a warning.
46140 2011-08-14 David S. Miller <davem@davemloft.net>
46142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46143 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46145 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46147 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46148 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46149 * elf/rtld.c (dl_main): Set l_name of vDSO.
46150 Call _dl_show_scope when DL_DEBUG_SCOPES.
46151 (process_dl_debug): Recognize scopes flag and also set it for all.
46152 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46153 Declare _dl_show_scope.
46155 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46156 (do_dlopen): Pass caller_dlopen to dl_open.
46157 (__libc_dlopen_mode): Initialize caller_dlopen.
46159 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46160 of libc. Make tolower call locale-independent. Optimize a bit by
46161 using isdigit instead of isalnum.
46162 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46164 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46166 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46167 was a dependency or dynamically loaded.
46169 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46171 * intl/l10nflist.c: Allow architecture-specific pop function.
46172 * sysdeps/x86_64/l10nflist.c: New file.
46174 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46177 2011-08-10 Andreas Schwab <schwab@redhat.com>
46179 * include/dirent.h: Add libc_hidden_proto for scandirat and
46180 scandirat64. Don't declare __scandirat64.
46181 * dirent/scandirat.c: Add libc_hidden_def.
46182 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46183 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46185 2011-08-10 David S. Miller <davem@davemloft.net>
46187 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46193 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46195 * Versions.def [libc]: Add GLIBC_2.15.
46196 * dirent/Makefile (routines): Add scandirat and scandirat64.
46197 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46199 * dirent/dirent.h: Declare scandirat and scandirat64.
46200 * dirent/scandirat.c: New file.
46201 * dirent/scandirat64.c: New file.
46202 * sysdeps/wordsize-64/scandirat.c: New file.
46203 * sysdeps/wordsize-64/scandirat64.c: New file.
46204 * dirent/opendir.c: Define opendirat.
46205 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46207 * dirent/scandir64.c: Adjust for scandir.c change.
46208 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46209 __scandirat64, and __scandir_cancel_handler.
46210 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46211 additional parameter and use openat instead of open (outside of ld.so).
46212 Add new __opendir as wrapper around __opendirat.
46213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46214 here without requiring old scandirat implementation.
46216 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46218 * dirent/scandir.c (cancel_handler): Renamed to
46219 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46220 defined. Adjust users.
46221 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46222 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46224 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46226 * string/test-string.h (IMPL): Use __STRING to expand name and then
46229 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46232 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46234 * string/Makefile: Update.
46235 (strop-tests): Append strncat.
46236 * string/test-wcscmp.c: New file.
46237 New comprehensive test for wcscmp.
46238 * string/test-strcmp.c: Update.
46239 (WIDE): New define.
46241 2011-07-22 Andreas Schwab <schwab@redhat.com>
46243 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46246 2011-07-26 Andreas Schwab <schwab@redhat.com>
46248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46249 encoding to ACE if AI_IDN.
46251 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46254 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46256 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46259 Fix overflow bug in strncat.
46260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46262 * string/test-strncat.c: Update.
46263 Add new tests for checking overflow bugs.
46265 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46268 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46269 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46270 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46271 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46272 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46273 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46274 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46275 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46278 (USE_AS_STRCAT): Define.
46279 Add strcat and strncat support.
46280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46282 2011-07-25 Andreas Schwab <schwab@redhat.com>
46284 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46285 __n bigger than INT_MAX+1.
46286 (__strncmp_g): Likewise.
46288 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46290 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46291 * libio/stido.h: Likewise.
46293 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46298 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46305 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46310 (_dl_x86_64_save_sse): Likewise.
46312 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46316 (_dl_x86_64_save_sse): Likewise.
46318 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46320 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46322 2011-07-21 Andreas Schwab <schwab@redhat.com>
46324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46326 (_dl_x86_64_save_sse): Use correct AVX check.
46328 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46331 bug in strncpy/strncat.
46332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46334 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46336 * string/tester.c (test_strcat): Add tests for different alignments
46337 of source and destination.
46338 (test_strncat): Likewise.
46340 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46343 * posix/glob.c (glob): Check passed in values before using them in
46344 expressions to avoid some overflows.
46345 (glob_in_dir): Likewise.
46348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46349 check for AVX enablement so that we don't crash with old kernels and
46351 * elf/tst-audit4.c: Add same checks here.
46352 * elf/tst-audit6.c: Likewise.
46354 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46356 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46358 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46360 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46362 * po/cs.po: Update from translation team.
46363 * po/bg.po: Likewise.
46365 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46367 * misc/sys/cdefs.h: Add support for const attribute.
46368 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46369 to gnu_dev_{major,minor,makedev} functions.
46371 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46373 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46375 2011-07-20 Andreas Schwab <schwab@redhat.com>
46377 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46380 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46383 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46384 register in order to avoid conflicts with the soft frame pointer
46385 being held in r11 when necessary.
46386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46387 (INTERNAL_VSYSCALL_NCS): Likewise.
46389 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46391 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46392 * elf/dl-fini.c (_dl_fini): Adjust caller.
46393 * elf/dl-close.c (_dl_close_worker): Likewise.
46394 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46396 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46398 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46399 "aux_cache->nlibs < 0".
46401 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46402 in the reload-count case.
46404 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46407 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46408 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46409 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46410 * sysdeps/x86_64/multiarch/strcat.S: New file.
46411 * sysdeps/x86_64/multiarch/strncat.S: New file.
46412 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46413 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46414 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46415 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46417 (USE_AS_STRCAT): Define.
46418 Add strcat and strncat support.
46419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46421 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46422 * string/strncat.c: Update.
46423 (USE_AS_STRNCAT): Define.
46424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46425 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46427 * sysdeps/x86_64/multiarch/init-arch.h
46428 (bit_Prefer_PMINUB_for_stringop): New.
46429 (index_Prefer_PMINUB_for_stringop): Likewise.
46430 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46431 bit_Prefer_PMINUB_for_stringop.
46433 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46435 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46437 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46438 of casting of buffer.
46439 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46440 buffer32 and buffer64.
46441 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46442 writes instead of casting of buffer.
46443 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46445 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46448 2011-07-19 Andreas Schwab <schwab@redhat.com>
46450 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46452 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46454 * nscd/nscd.c (termination_handler): Don't do anything for a database
46455 if it has not yet been initialized.
46457 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46459 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46461 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46463 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46465 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46467 * po/nl.po: Update from translation team.
46468 * po/sv.po: Likewise.
46470 2011-07-16 Roland McGrath <roland@hack.frob.com>
46472 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46473 now disallowed by GCC.
46475 * configure.in (use-default-link): Default to yes if a test -shared
46476 link meets our qualifications.
46477 * configure: Regenerated.
46479 * config.make.in (output-format): New variable.
46480 * configure.in: Check for ld --print-output-format support.
46481 * configure: Regenerated.
46482 * Makerules ($(common-objpfx)format.lds)
46483 [$(output-format) != unknown]: Just use $(output-format),
46484 instead of the linker-script munging.
46486 2011-07-14 Roland McGrath <roland@hack.frob.com>
46488 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46489 of $(common-objpfx)shlib.lds.
46490 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46492 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46493 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46495 * configure.in (-z relro check): Adjust test code to add a large
46496 writable data section after it.
46497 * configure: Regenerated.
46499 2011-07-11 Roland McGrath <roland@hack.frob.com>
46501 * configure.in (-z relro check): Fix test code to make the variable
46503 * configure: Regenerated.
46505 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46507 * nscd/nscd.h (struct traced_file): Define.
46508 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46509 elements. Add traced_files.
46510 (inotify_fd): Declare.
46511 (register_traced_file): Declare.
46512 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46513 (inotify_fd): Export.
46514 (resolv_conf_descr): Remove.
46515 (nscd_init): Move inotify descriptor creation to main.
46516 Don't register files for notification here.
46517 (register_traced_file): New function.
46518 (invalidate_cache): Don't use reset_res to determine whether to call
46519 res_init, go through the list of registered files.
46520 (main_loop_poll): The inotify descriptors are now stored in the
46521 structures for the traced files.
46522 (main_loop_epoll): Likewise
46523 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46524 to __nss_disable_nscd.
46525 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46526 for a database anymore. Check the records for all the registered
46528 * nss/Makefile (libnss_files-routines): Add files-init.
46529 (libnss_db-routines): Add db-init.
46530 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46531 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46532 * nss/nss_db/db-init.c: New file.
46533 * nss/nss_files/files-init.c: New file.
46534 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46535 __nss_lookup_function.
46536 (__nss_lookup_function): Call nss_load_library.
46537 (nss_load_all_libraries): New function.
46538 (__nss_disable_nscd): Take parameter with callback function for files
46539 to register. Set is_nscd. Load all the DSOs for the NSS modules
46540 used for the cached services.
46541 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46542 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46543 options for features to all the files in nscd.
46545 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46547 2011-07-10 Roland McGrath <roland@hack.frob.com>
46549 * csu/elf-init.c (__libc_csu_init): Comment typo.
46551 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46553 * po/pl.po: Update from translation team.
46554 * po/ja.po: Likewise.
46555 * po/ru.po: Likewise.
46556 * po/ko.po: Likewise.
46557 * po/fr.po: Likewise.
46559 2011-07-09 Roland McGrath <roland@hack.frob.com>
46561 * configure.in (.ctors/.dtors header and trailer check):
46562 Use an empirical test on a built program.
46563 * configure: Regenerated.
46565 * configure.in (-z relro check): Use an empirical test on a built DSO.
46566 Detect, but do not require, on ia64.
46567 * configure: Regenerated.
46569 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46570 Update tests that use readelf to use $READELF instead.
46571 * configure: Regenerated.
46573 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46575 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46576 if the result is not used.
46578 2011-07-05 Andreas Jaeger <aj@suse.de>
46581 * stdlib/tst-strtod.c: Add testcase.
46583 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46585 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46586 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46587 The latter has a higher limit. Take additional parameter to pass to
46589 (__pathconf): Pass file to __statfs_link_max.
46590 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46592 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46596 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46600 (__statfs_filesize_max): Likewise.
46601 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46603 2011-07-05 Andreas Jaeger <aj@suse.de>
46605 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46607 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46609 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46611 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46614 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46616 * Makefile (strop-tests): Add strncat.
46617 * string/test-strncat.c: New file.
46619 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46621 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46623 2011-06-21 Andreas Jaeger <aj@suse.de>
46625 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46626 Copy rule from iconvdata/Makefile.
46628 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46631 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46632 but no long options are defined, just return 'W'.
46634 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46637 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46639 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46641 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46643 (innetgr): Likewise.
46645 2011-07-05 Roland McGrath <roland@hack.frob.com>
46647 * config.make.in (install_root): Default to $(DESTDIR).
46649 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46651 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46653 2011-07-02 Roland McGrath <roland@hack.frob.com>
46655 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46657 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46658 containing directory rather than embedding absolute directory names.
46660 * scripts/check-local-headers.sh: Rewritten using awk.
46661 Match by word, not by line. Print error messages for matches.
46662 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46664 * Makerules [shlib-lds-flags empty]:
46665 ($(common-objpfx)libc_pic.opts): New target.
46666 ($(common-objpfx)libc_pic.os.clean): New target.
46667 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46669 * config.make.in (OBJCOPY): New variable.
46670 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46671 * configure: Regenerated.
46673 * config.make.in (use-default-link): New variable.
46674 * configure.in (use_default_link): Grok --with-default-link to set it.
46675 * configure: Regenerated.
46676 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46677 (shlib-lds, shlib-lds-flags): Define to empty.
46679 * Makerules (shlib-lds): New variable.
46680 (shlib-lds-flags): New variable.
46681 (build-shlib, build-moduile, build-module-asneeded): Use it.
46682 ($(common-objpfx)libc.so): Use $(shlib-lds).
46683 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46684 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46686 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46687 DT_FLAGS/DT_FLAGS_1 with zero flags.
46689 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46690 linker script munging.
46692 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46694 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46696 * crypt/sha512.c (sha512_process_block): Perform total addition using
46697 128-bit if possible.
46698 (__sha512_finish_ctx): Likewise.
46699 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46701 * crypt/sha256.c (SWAP64): Define.
46702 (sha256_process_block): Perform total addition using 64-bit if
46704 (__sha256_finish_ctx): Likewise.
46706 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46708 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46710 * nscd/hstcache.c (cache_addhst): Likewise.
46711 * nscd/grpcache.c (cache_addgr): Likewise.
46712 * nscd/aicache.c (addhstaiX): Likewise
46713 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46715 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46717 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46719 * nscd/hstcache.c (cache_addhst): Likewise.
46720 * nscd/grpcache.c (cache_addgr): Likewise.
46721 * nscd/aicache.c (addhstaiX): Likewise
46723 2011-07-01 Andreas Schwab <schwab@redhat.com>
46725 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46726 domain only when needed.
46728 2011-06-30 Andreas Schwab <schwab@redhat.com>
46730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46731 is always restored.
46733 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46735 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46736 are re-adding the entry.
46737 * nscd/servicescache.c (cache_addserv): Likewise.
46739 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46741 * sysdeps/generic/dl-irel.h: fix protection against multiple
46743 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46745 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46748 * malloc/memusage.sh: Fix quoting in message.
46749 * debug/xtrace.sh: Likewise.
46751 * configure.in: Remove support for --experimental-malloc option, make
46753 * config.make.in: Likewise.
46754 * malloc/Makefile: Likewise.
46756 2011-06-27 Andreas Schwab <schwab@redhat.com>
46758 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46759 two-byte characters.
46761 2011-06-27 Roland McGrath <roland@hack.frob.com>
46763 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46764 AC_CACHE_CHECK invocation.
46765 * configure: Regenerated.
46767 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46769 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46772 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46773 bit from old_res_options.
46775 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46777 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46778 value type for setfct.
46780 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46783 __gettimeofday instead of gettimeofday.
46785 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46787 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46789 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46796 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46799 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46800 strcpy-sse2-unaligned strncpy-sse2-unaligned
46801 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46802 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46803 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46804 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46805 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46808 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46809 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46810 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46811 (STRCPY): Support SSE2 and SSSE3 versions.
46813 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46816 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46817 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46818 kernels which artificially limit size of requests.
46820 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46823 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46824 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46825 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46826 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46827 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46828 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46829 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46832 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46833 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46834 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46835 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46836 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46838 Enable unaligned load optimization for Intel Core i3, i5 and i7
46840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46842 (index_Fast_Unaligned_Load): Define.
46843 (HAS_FAST_UNALIGNED_LOAD): Define.
46845 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46847 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46849 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46853 until it is clear that the information is realy needed.
46854 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46856 2011-06-22 Andreas Schwab <schwab@redhat.com>
46858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46860 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46863 /sys/devices/system/cpu/online if it is usable.
46865 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46866 reading the information from the /proc filesystem to once a second.
46868 2011-06-21 Andreas Jaeger <aj@suse.de>
46870 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46871 NULL after inclusion of kernel headers.
46873 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46875 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46876 calls to internal_setent.
46879 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46880 addresses using gethostbyname4_r ignore IPv4 addresses.
46882 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46883 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46885 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46887 2011-06-20 David S. Miller <davem@davemloft.net>
46889 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46891 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46893 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46894 (elf_irel): Use it.
46895 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46896 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46897 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46898 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46899 * sysdeps/x86_64/dl-irel.h: Likewise.
46901 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46902 * elf/dl-sym.c: Likewise.
46904 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46906 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46907 need to dereference resplen2.
46909 2011-06-14 Andreas Schwab <schwab@redhat.com>
46911 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46913 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46915 * Makeconfig: Define vardbdir and inst_vardbdir.
46916 * nss/Makefile: Add rules to install db-Makefile.
46918 * nss/nss_db/db-XXX.c: Cleanup.
46920 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46921 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46923 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46924 * nss/makedb.c: Implement -g option to specify that value strings
46925 are generated and should not be added to table iterated over for
46927 * nss/nss_db/db-initgroups.c: New file.
46929 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46932 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46933 (internal_getgrouplist): Adjust to name change.
46934 Update use_initgroups_entry if this is not the first call.
46935 * nss/databases.def: Add initgroups entry.
46937 * nss/makedb.c (compute_tables): Check result of multiple hash table
46938 sizes to minimize maximum chain length.
46940 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46942 * Versions.def: Add entry for libnss_db.
46943 * shlib-versions: Likewise.
46944 * nss/Makefile: Add rules to build libnss_db.
46945 * nss/Versions: Add libnss_db information. Organize libnss_files
46947 * nss/db-Makefile: Add gshadow support. Change rules for the new
46948 makedb progra. Some minor improvements to generate smaller files.
46949 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46951 * nss/makedb.c: ...here.
46952 Improve database format to be smaller and require less memory at
46954 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46956 * nss/nss_db/db-netgrp.c: Likewise.
46957 * nss/nss_db/db-open.c: Likewise.
46958 * nss/nss_files/flies-XXX.x: Adjust comments.
46959 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46960 * nss/nss_files/files-grp.c: Likewise.
46961 * nss/nss_files/files-hosts.c: Likewise.
46962 * nss/nss_files/files-network.c: Likewise.
46963 * nss/nss_files/files-proto.c: Likewise.
46964 * nss/nss_files/files-pwd.c: Likewise.
46965 * nss/nss_files/files-rpc.c: Likewise.
46966 * nss/nss_files/files-service.c: Likewise.
46967 * nss/nss_files/files-sgrp.c: Likewise.
46968 * nss/nss_files/files-spwd.c: Likewise.
46969 * nss/nss_db/db-alias.c: Removed.
46970 * nss/nss_db/dummy-db.h: Removed.
46972 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46974 * nss/makedb.c: Rewritten to not use database library.
46975 * nss/Makefile: Update to build new makedb program.
46977 2011-06-14 Andreas Jaeger <aj@suse.de>
46979 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46980 memset declaration.
46982 2011-06-10 Andreas Schwab <schwab@redhat.com>
46984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46987 2011-06-10 Roland McGrath <roland@hack.frob.com>
46989 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46990 * elf/Makefile ($(objpfx)ld.so): Likewise.
46992 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46993 Don't list ld.so twice in dependencies.
46995 * posix/bug-regex31.c: Include <stdlib.h>.
46997 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46999 * nis/nss_compat/compat-spwd.c
47000 (getspent_next_nss_netgr): Remove unused variable.
47001 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47003 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47004 nonmembers" output to use the right array.
47006 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47008 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47010 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47011 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47012 * catgets/gencat.c (read_input_file): Likewise.
47013 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47015 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47016 variable definition inside #if's controlling its use.
47018 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47020 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47022 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47024 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47027 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47029 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47030 * configure: Regenerated.
47032 * Makerules: Revert last change.
47033 * elf/Makefile: Likewise.
47035 2011-06-09 Roland McGrath <roland@hack.frob.com>
47037 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47038 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47039 (reloc-link): Likewise.
47041 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47043 * elf/Makefile: Add rules to build pldd.
47044 * elf/pldd.c: New file.
47045 * elf/pldd-xx.c: New file.
47047 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47049 * version.h: Update for 2.15 development version.
47051 2011-06-07 David S. Miller <davem@davemloft.net>
47053 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47056 elf_machine_lazy_rel): Likewise.
47057 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47059 elf_machine_lazy_rel): Likewise.
47060 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47061 dl_hwcap via passed in argument.
47062 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47065 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47067 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47069 2011-06-06 Roland McGrath <roland@hack.frob.com>
47072 * manual/fdl-1.1.texi: New file, verbatim from:
47073 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47074 * manual/lgpl-2.1.texi: New file, verbatim from:
47075 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47076 * manual/Makefile (licenses): New variable, list those new file names.
47078 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47080 * manual/fdl.texi: File removed.
47081 * manual/lesser.texi: File removed.
47082 * manual/libc.texinfo (Copying, Documentation License):
47083 Use new @include file names, put @appendix directive before @include.
47085 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47088 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47089 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47090 (mq_open): Add __NTH.
47092 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47095 Assume Intel Core i3/i5/i7 processor if AVX is available.
47097 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47102 2011-05-31 Andreas Schwab <schwab@redhat.com>
47104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47105 memory. Use alloca_account. Fix memory leak when retrying.
47107 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47109 * version.h (RELEASE): Bump for 2.14 release.
47110 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47112 * config.make.in (RANLIB): Remove entry.
47114 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47116 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47117 (libc.pot): Work around missing support for .ksh extension in xgettext.
47120 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47121 if both request failed.
47122 (send_dg): In case of server errors clear resplen or *resplen2.
47125 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47126 when there are multiple maps.
47127 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47128 (_dl_fini): Remove test here.
47130 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47132 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47135 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47136 bit from old_res_options.
47137 (gaih_inet): Likewise.
47140 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47143 * resolv/res_init.c (res_setoptions): Make the code more compact.
47146 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47150 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47152 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47155 * malloc/malloc.h: Declare malloc hook variables as volatile.
47157 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47161 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47162 raise in the comment.
47163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47165 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47167 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47170 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47171 grow the buffers more if it already has to be sufficient.
47172 (build_wcs_upper_buffer): Likewise.
47173 * posix/regexec.c (check_matching): Likewise.
47174 (clean_state_log_if_needed): Likewise.
47175 (extend_buffers): Don't enlarge buffers beyond size of the input
47177 Patches mostly by Emil Wojak <emil@wojak.eu>.
47178 * posix/bug-regex32.c: New file.
47179 * posix/Makefile (tests): Add bug-regex32.
47181 * locale/findlocale.c (_nl_find_locale): Return right away if
47182 _nl_explode_name failed.
47183 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47185 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47187 * debug/xtrace.sh: Unify messages.
47188 * malloc/memusage.sh: Likewise.
47191 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47192 time symbol from vDSO. Substitute with vsyscall if not available.
47193 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47196 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47197 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47198 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47199 Add sendmmsg and internal_sendmmsg.
47200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47201 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47202 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47204 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47205 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47208 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47211 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47212 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47218 * iconvdata/Makefile (tests): Add bug-iconv9.
47219 * iconvdata/bug-iconv9.c: New file.
47221 2011-05-27 Andreas Schwab <schwab@redhat.com>
47224 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47226 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47229 (struct user_regs_struct): Change intcs field back to cs.
47231 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47233 * po/ja.po: Update from translation team.
47235 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47238 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47239 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47241 2011-05-20 Andreas Schwab <schwab@redhat.com>
47243 * stdlib/longlong.h: Update from GCC.
47245 2011-05-23 Andreas Schwab <schwab@redhat.com>
47247 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47249 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47250 Add parameter name.
47251 (__sysconf): Pass it down.
47253 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47256 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47258 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47259 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47260 add in in __libc_use_alloca calls. Adjust callers.
47261 (glob): Use malloc in some situations.
47263 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47264 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47267 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47269 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47270 and CLOCK_BOOTTIME_ALARM.
47273 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47276 * string/_strerror.c (__strerror_r): Print negative errors as signed
47280 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47281 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47282 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47284 * configure.in: Fix typo in redirection and correct removal of test
47285 files in two cases.
47288 * locale/setlocale.c (new_composite_name): Fix test to check for
47289 identical name of all categories.
47292 * libio/filedoalloc.c (local_isatty): New function.
47293 (_IO_file_doallocate): Use local_isatty.
47294 * stdio-common/perror.c (perror): In case a new stream is used
47295 forward the stream error.
47296 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47299 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47304 * include/alloca.h (extend_alloca_account): Define.
47307 * posix/regex.h: Fix comments with documentation of user-accessible
47308 fields after compilation and describe correct free'ing of pattern
47309 after re_compile_pattern.
47310 Patch by Reuben Thomas <rrt@sc3d.org>.
47312 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47314 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47315 and -mno-altivec to prevent the compiler from using Altivec and/or
47316 VSX instructions when the corresponding registers are not available.
47318 2011-05-19 Andreas Schwab <schwab@redhat.com>
47320 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47322 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47324 * libio/freopen.c (freopen): Use __dup2, not dup2.
47325 * libio/freopen64.c (freopen64): Likewise.
47327 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47330 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47331 * math/Makefile (tests): Add test-powl.
47332 (CFLAGS-test-powl.c): Define.
47333 * math/test-powl.c: New file.
47335 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47337 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47339 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47342 * iconvdata/gb18030.c: Update to GB18020-2005.
47344 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47346 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47347 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47348 Patch by Aharon Robbins <arnold@skeeve.com>.
47351 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47355 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47356 through underflows.
47359 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47360 point to strings before performing equality test for error_one_per_line
47364 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47368 (struct user_fpregs_struct): Avoid __uint*_t types.
47371 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47372 symbol info. Use it instead of calling _dl_addr locally.
47373 (lock_and_info): New function.
47374 (tr_freehook): Call lock_and_info and pass symbol info as additional
47375 parameter to tr_where.
47376 (tr_mallochook): Likewise.
47377 (tr_reallochook): Likewise.
47378 (tr_memalignhook): Likewise.
47380 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47381 used and couldn't be at all thread-safe.
47383 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47385 * libio/freopen.c (freopen): Don't close old file descriptor
47386 before the new one is opened. Instead dup the new file descriptor
47387 to the old one after the new stream is created.
47388 * libio/freopen64.c (freopen64): Likewise.
47389 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47390 * libio/fileops.c (_IO_new_file_close_it): Handle new
47391 _IO_FLAGS2_NOCLOSE flag.
47392 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47393 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47394 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47395 _IO_FLAGS2_NOCLOSE flag.
47396 * include/unistd.h: Add hidden_proto for dup3.
47397 Define __have_dup3.
47398 * io/dup3.c: Define hidden symbol.
47399 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47402 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47403 when an incomplete long option is used.
47404 * posix/tst-getopt_long1.c: New file.
47405 * posix/Makefile (tests): Add tst-getopt_long1.
47408 * scripts/config.guess: Update from autoconf-2.68.
47409 * scripts/config.sub: Likewise.
47412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47414 (has_cpuclock): ...this. New function.
47415 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47416 macro here based on has_cpuclock code.
47419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47420 First byte (not low byte) is now always NUL.
47421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47424 Use non-cancelable interfaces.
47427 * locale/iso-639.def: Add entry for Sorani.
47430 * include/stdlib.h: Move include protection to the right place.
47431 Define abort_msg_s. Declare __abort_msg with it.
47432 * stdlib/abort.c (__abort_msg): Adjust type.
47433 * assert/assert.c (__assert_fail_base): New function. Majority
47434 of code from __assert_fail. Allocate memory for __abort_msg with
47436 (__assert_fail): Now call __assert_fail_base.
47437 * assert/assert-perr.c: Remove bulk of implementation. Use
47438 __assert_fail_base.
47439 * include/assert.hL Declare __assert_fail_base.
47440 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47442 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47444 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47448 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47449 until all modules are registered in the DTV.
47450 * elf/Makefile: Add rules to build and run tst-tls19.
47451 * elf/tst-tls19.c: New file.
47452 * elf/tst-tls19mod1.c: New file.
47453 * elf/tst-tls19mod2.c: New file.
47454 * elf/tst-tls19mod3.c: New file.
47455 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47458 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47462 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47463 two-byte sequence errors.
47464 * iconvdata/Makefile (tests): Add bug-iconv8.
47465 * iconvdata/bug-iconv8.c: New file.
47468 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47471 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47474 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47475 (dummy_getcfa): New function.
47476 (init): Get _Unwind_GetCFA address, use dummy if not found.
47477 (backtrace_helper): In recursion check, also check whether CFA changes.
47478 (__backtrace): Completely initialize arg.
47480 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47481 storing incomplete byte sequence in state object. Avoid testing for
47482 guaranteed too small input if we know there is enough data available.
47484 2011-05-11 Andreas Schwab <schwab@redhat.com>
47486 * Makeconfig (+link-pie): Indent.
47487 * Rules (binaries-pie): Define if $(have-fpie) and
47489 (binaries-shared): Also filter out $(binaries-pie).
47490 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47491 * nscd/Makefile (others-pie): Add nscd.
47492 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47493 ($(objpfx)nscd): Remove command override.
47494 * login/Makefile (others-pie): Add pt_chown.
47495 ($(objpfx)pt_chown): Remove command override.
47496 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47497 remove command overrides.
47499 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47501 * libio/tst_putwc.c: Fix error messages.
47504 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47505 currently writing and seek to current position when not.
47506 * libio/Makefile (tests): Add bug-fclose1.
47507 * libio/bug-fclose1.c: New file.
47509 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47512 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47513 don't set DF_1_NODELETE here.
47514 (do_lookup_x): When entering new entry test for copy relocation
47515 and if necessary set DF_1_NODELETE flag.
47516 * elf/tst-unique4.cc: New file.
47517 * elf/tst-unique4.h: New file.
47518 * elf/tst-unique4lib.cc: New file.
47519 * elf/Makefile: Add rules to build and run tst-unique4.
47520 Patch by Piotr Bury <pbury@goahead.com>.
47522 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47525 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47528 * misc/mntent_r.c (addmntent): Flush the stream after the output
47531 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47532 (is_trusted_path_normalize): Skip initial colon. Append slash
47533 to empty buffer. Duplicate is_trusted_path code but allow
47534 constructed patch to be prefix.
47535 (is_dst): Allow $ORIGIN followed by /.
47536 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47537 Correct testing of result of is_trusted_path_normalize
47538 (decompose_rpath): Fix warning.
47540 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47543 * grp/initgroups.c (internal_getgrouplist): When we found the service
47544 list through the initgroups entry in nsswitch.conf do not always
47545 continue on a successful lookup. Don't always use the
47546 __nss_group_database value if it is set.
47547 * nss/nsswitch.conf (initgroups): Change action for successful db
47548 lookup to continue for compatibility.
47550 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47553 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47555 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47557 * iconvdata/tst-tables.sh: Likewise.
47558 * iconvdata/cp770.c: New file.
47559 * iconvdata/cp771.c: New file.
47560 * iconvdata/cp772.c: New file.
47561 * iconvdata/cp773.c: New file.
47562 * iconvdata/cp774.c: New file.
47563 * iconvdata/testdata/CP770: New file.
47564 * iconvdata/testdata/CP770..UTF8: New file.
47565 * iconvdata/testdata/CP771: New file.
47566 * iconvdata/testdata/CP771..UTF8: New file.
47567 * iconvdata/testdata/CP772: New file.
47568 * iconvdata/testdata/CP772..UTF8: New file.
47569 * iconvdata/testdata/CP773: New file.
47570 * iconvdata/testdata/CP773..UTF8: New file.
47571 * iconvdata/testdata/CP774: New file.
47572 * iconvdata/testdata/CP774..UTF8: New file.
47574 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47576 * iconvdata/gen-8bit-gap.sh: Likewise.
47577 * iconvdata/gen-8bit.sh: Likewise.
47579 * locale/iso-639.def: Add ary entry.
47582 * locale/C-translit.h.in: Add U20A1 transliteration.
47585 * locale/iso-639.def: Add wae entry.
47586 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47589 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47593 * locale/C-translit.h.in: Add entry for U20B9.
47594 Patch by pravin.d.s@gmail.com.
47596 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47599 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47600 ENAMETOOLONG use generic getcwd.
47601 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47602 in rtld. Use *stat64.
47603 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47604 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47605 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47606 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47607 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47608 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47609 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47610 __fstatat64 macros.
47611 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47612 * dirent/rewinddir.c: Add libc_hidden_def.
47613 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47614 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47616 * include/dirent.h (__alloc_dir): Add flags parameter.
47617 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47618 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47620 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47621 from fdopendir if O_CLOEXEC is already set.
47623 2011-03-15 Alan Modra <amodra@gmail.com>
47625 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47626 l_tls_firstbyte_offset non-zero. Save padding offset in
47627 l_tls_firstbyte_offset for later use.
47628 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47629 freeing static tls block.
47631 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47633 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47634 where #ifdef was intended. The intent is to prevent ARG_MAX from
47635 being defined by the kernel headers.
47637 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47640 * resolv/resolv.h: Define RES_NOTLDQUERY.
47641 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47642 no-tld-query and set RES_NOTLDQUERY.
47643 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47644 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47645 modern BIND to search name as TLD unless forbidden.
47647 2011-05-07 Petr Baudis <pasky@suse.cz>
47648 Ulrich Drepper <drepper@gmail.com>
47651 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47652 (is_trusted_path): ...to here.
47653 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47654 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47655 using is_trusted_path_normalize() in setuid scripts.
47657 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47659 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47660 __BEGIN/__END_DECLS.
47662 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47665 NSS_STATUS_NOTFOUND if no record was found.
47667 2011-05-05 Andreas Schwab <schwab@redhat.com>
47669 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47670 (headers-not-in-tirpc): Remove rpc/netdb.h
47671 * resolv/netdb.h: Revert last change.
47673 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47675 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47676 circular dependency between libgcc.a and libc.a.
47678 2011-05-05 Andreas Schwab <schwab@redhat.com>
47680 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47681 * nis/Makefile: Don't install rpcsvc/*.
47682 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47683 instead of <rpc/types.h>.
47684 (MAXHOSTNAMELEN): Define.
47686 2011-05-03 Andreas Schwab <schwab@redhat.com>
47688 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47690 2011-04-28 Maciej Babinski <mbabinski@google.com>
47693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47694 gethostbyname4_r when IPv6 results are possible.
47696 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47700 _PC_PIPE_BUF handling.
47702 2011-04-30 Bruno Haible <bruno@clisp.org>
47705 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47706 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47708 * inet/getnameinfo.c (getnameinfo): Likewise.
47710 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47712 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47713 to groups setting in database lookup.
47714 * nss/nsswitch.conf: Add initgroups entry.
47716 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47719 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47721 Patch by Eric Blake <eblake@redhat.com>.
47723 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47725 * sunrpc/Makefile (need-export-routines): Add svc_run.
47726 (routines): Remove svc_run.
47727 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47728 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47729 * sunrpc/svc_run.c (svc_run): Likewise.
47730 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47732 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47735 problem in reallocation in last patch.
47737 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47739 * sunrpc/Makefile: Move inclusion of Rules.
47741 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47743 * nss/nss_files/files-initgroups.c: New file.
47744 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47745 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47746 _nss_files_initgroups_dyn.
47748 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47750 * elf/elf.h (R_ARM_IRELATIVE): Define.
47752 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47754 * po/ru.po: Update from translation team.
47756 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47758 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47761 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47765 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47770 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47778 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47783 * stdlib/bug-getcontext.c: New file.
47784 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47786 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47788 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47789 instructions into .machine "z9-109".
47790 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47791 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47793 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47795 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47796 between environment variables and auxiliary vector.
47798 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47800 * Makefile: Add rules to build linkobj/libc.so.
47801 * include/libc-symbols.h: Define libc_hidden_nolink.
47802 * include/rpc/auth.h: Mark functions which are to be hidden.
47803 * include/rpc/auth_des.h: Likewise.
47804 * include/rpc/auth_unix.h: Likewise.
47805 * include/rpc/clnt.h: Likewise.
47806 * include/rpc/des_crypt.h: Likewise.
47807 * include/rpc/key_prot.h: Likewise.
47808 * include/rpc/pmap_clnt.h: Likewise.
47809 * include/rpc/pmap_prot.h: Likewise.
47810 * include/rpc/pmap_rmt.h: Likewise.
47811 * include/rpc/rpc_msg.h: Likewise.
47812 * include/rpc/svc.h: Likewise.
47813 * include/rpc/svc_auth.h: Likewise.
47814 * include/rpc/xdr.h: Likewise.
47815 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47816 * nss/Makefile: Likewise.
47817 * sunrpc/Makefile: Don't install headers. Build library with normal
47818 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47819 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47820 for the compat linking library. Remove use of INTDEF/INTUSE.
47821 * sunrpc/auth_none.c: Likewise.
47822 * sunrpc/auth_unix.c: Likewise.
47823 * sunrpc/authdes_prot.c: Likewise.
47824 * sunrpc/authuxprot.c: Likewise.
47825 * sunrpc/clnt_gen.c: Likewise.
47826 * sunrpc/clnt_perr.c: Likewise.
47827 * sunrpc/clnt_raw.c: Likewise.
47828 * sunrpc/clnt_simp.c: Likewise.
47829 * sunrpc/clnt_tcp.c: Likewise.
47830 * sunrpc/clnt_udp.c: Likewise.
47831 * sunrpc/clnt_unix.c: Likewise.
47832 * sunrpc/des_crypt.c: Likewise.
47833 * sunrpc/des_soft.c: Likewise.
47834 * sunrpc/get_myaddr.c: Likewise.
47835 * sunrpc/key_call.c: Likewise.
47836 * sunrpc/key_prot.c: Likewise.
47837 * sunrpc/netname.c: Likewise.
47838 * sunrpc/pm_getmaps.c: Likewise.
47839 * sunrpc/pm_getport.c: Likewise.
47840 * sunrpc/pmap_clnt.c: Likewise.
47841 * sunrpc/pmap_prot.c: Likewise.
47842 * sunrpc/pmap_prot2.c: Likewise.
47843 * sunrpc/pmap_rmt.c: Likewise.
47844 * sunrpc/publickey.c: Likewise.
47845 * sunrpc/rpc_cmsg.c: Likewise.
47846 * sunrpc/rpc_common.c: Likewise.
47847 * sunrpc/rpc_dtable.c: Likewise.
47848 * sunrpc/rpc_prot.c: Likewise.
47849 * sunrpc/rpc_thread.c: Likewise.
47850 * sunrpc/rtime.c: Likewise.
47851 * sunrpc/svc.c: Likewise.
47852 * sunrpc/svc_auth.c: Likewise.
47853 * sunrpc/svc_authux.c: Likewise.
47854 * sunrpc/svc_raw.c: Likewise.
47855 * sunrpc/svc_run.c: Likewise.
47856 * sunrpc/svc_simple.c: Likewise.
47857 * sunrpc/svc_tcp.c: Likewise.
47858 * sunrpc/svc_udp.c: Likewise.
47859 * sunrpc/svc_unix.c: Likewise.
47860 * sunrpc/svcauth_des.c: Likewise.
47861 * sunrpc/xcrypt.c: Likewise.
47862 * sunrpc/xdr.c: Likewise.
47863 * sunrpc/xdr_array.c: Likewise.
47864 * sunrpc/xdr_float.c: Likewise.
47865 * sunrpc/xdr_intXX_t.c: Likewise.
47866 * sunrpc/xdr_mem.c: Likewise.
47867 * sunrpc/xdr_rec.c: Likewise.
47868 * sunrpc/xdr_ref.c: Likewise.
47869 * sunrpc/xdr_sizeof.c: Likewise.
47870 * sunrpc/xdr_stdio.c: Likewise.
47872 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47875 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47876 * sysdeps/ia64/dl-tls.h: Likewise.
47877 * sysdeps/powerpc/dl-tls.h: Likewise.
47878 * sysdeps/s390/dl-tls.h: Likewise.
47879 * sysdeps/sh/dl-tls.h: Likewise.
47880 * sysdeps/sparc/dl-tls.h: Likewise.
47881 * sysdeps/x86_64/dl-tls.h: Likewise.
47882 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47884 2011-03-14 Andreas Schwab <schwab@redhat.com>
47886 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47887 rpath element also skip the following colon.
47888 (expand_dynamic_string_token): Add is_path parameter and pass
47889 down to DL_DST_REQUIRED and _dl_dst_substitute.
47890 (decompose_rpath): Call expand_dynamic_string_token with
47891 non-zero is_path. Ignore empty rpaths.
47892 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47895 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47900 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47903 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47904 Patch by Filipe David Manana <fdmanana@apache.org>.
47906 2011-04-07 Andreas Schwab <schwab@redhat.com>
47908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47909 Maintain aligned stack.
47910 (CHECK_RSP): Remove unused macro.
47912 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47914 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47915 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47917 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47919 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47921 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47923 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47926 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47927 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47928 * sysdeps/x86_64/memmove.c: New file.
47929 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47930 (memcpy): Renamed to ...
47931 (__new_memcpy): This.
47932 (memcpy): Provide GLIBC_2_14 memcpy.
47933 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47934 (memcpy): Provide GLIBC_2_2_5 memcpy.
47936 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47939 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47941 2011-03-30 Andreas Schwab <schwab@redhat.com>
47943 * misc/syncfs.c: New file.
47944 * misc/Makefile (routines): Add syncfs.
47945 * posix/unistd.h: Declare syncfs.
47946 * sysdeps/unix/syscalls.list: Add syncfs.
47948 2011-04-01 Andreas Schwab <schwab@redhat.com>
47950 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47957 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47960 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47964 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47970 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47971 sync_file_range.c with -fexceptions.
47972 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47973 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47974 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47975 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47976 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47979 sync_file_range as cancellation point
47980 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47981 now a wrapper around __call_sync_file_range with cancellation handling.
47982 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47983 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47984 function name to __call_sync_file_range.
47985 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47986 Add call_sync_file_range.
47988 2011-04-01 Andreas Schwab <schwab@redhat.com>
47990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47993 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47995 * iconv/iconv.h: Fix typo in comment.
47996 * io/fcntl.h: Likewise.
47997 * libio/stdio.h: Likewise.
47998 * posix/spawn.h: Likewise.
47999 * posix/unistd.h: Likewise.
48000 * stdlib/stdlib.h: Likewise.
48001 * time/time.h: Likewise.
48002 * wcsmbs/wchar.h: Likewise.
48004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48005 open_by_handle): Add.
48006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48007 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48008 Augment a few comments.
48009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48014 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48017 * io/fcntl.h (AT_EMPTY_PATH): Define.
48019 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48021 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48022 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48023 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48025 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48026 * Versions.def: Add GLIBC_2.14.
48027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48030 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48032 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48034 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48036 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48039 * string/test-strncmp.c (do_page_test): New function.
48040 (check2): Likewise.
48041 (test_main): Call check2.
48042 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48044 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48048 Handle cache information in CPU leaf 4.
48049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48051 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48054 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48055 character representation.
48056 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48058 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48060 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48061 END(__isnan) to END(__isnanf) to match function entry point/label
48062 EALIGN(__isnanf,...).
48064 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48066 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48068 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48071 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48072 copy from the symbol referenced in the relocation to initialize the
48074 Patch by Piotr Bury <pbury@goahead.com>.
48075 * elf/Makefile: Add rules to build and tst-unique3.
48076 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48077 * elf/tst-unique3.cc: New file.
48078 * elf/tst-unique3.h: New file.
48079 * elf/tst-unique3lib.cc: New file.
48080 * elf/tst-unique3lib2.cc: New file.
48082 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48084 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48086 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48087 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48090 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48092 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48093 to-be-loaded object along a path to loader is ld.so.
48095 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48096 Ulrich Drepper <drepper@gmail.com>
48098 * sysdeps/x86_64/memset.S: After aligning destination, code
48099 branches to different locations depending on the value of
48100 misalignment, when multiarch is enabled. Fix this.
48102 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48104 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48105 Set _x86_64_preferred_memory_instruction for AMD processsors.
48106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48107 Set bit_Prefer_SSE_for_memop for AMD processors.
48109 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48111 * libio/fmemopen.c (fmemopen): Optimize a bit.
48113 2011-03-03 Andreas Schwab <schwab@redhat.com>
48115 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48117 2011-03-03 Roland McGrath <roland@redhat.com>
48119 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48121 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48123 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48124 __bzero_ultra1 instead of __memset_ultra1.
48126 2011-02-23 Andreas Schwab <schwab@redhat.com>
48127 Ulrich Drepper <drepper@gmail.com>
48130 * include/link.h (struct link_map): Add l_orig_initfini.
48131 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48132 returning unsuccessfully.
48133 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48134 close of a file loaded at startup, restore the original l_initfini
48136 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48137 list, store the pointer.
48138 * elf/Makefile ($(objpfx)noload-mem): New rule.
48139 (noload-ENV): Define.
48140 (tests): Add $(objpfx)noload-mem.
48141 * elf/noload.c: Include <memcheck.h>.
48142 (main): Call mtrace. Close all opened handles.
48144 2011-02-17 Andreas Schwab <schwab@redhat.com>
48147 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48148 dependencies are missing.
48150 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48152 Fix __if_freereq crash: Unlike the generic version which uses free,
48154 * sysdeps/mach/hurd/ifreq.h: New file.
48156 2011-01-27 Petr Baudis <pasky@suse.cz>
48157 Ulrich Drepper <drepper@gmail.com>
48160 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48161 to extend_alloca().
48162 * stdio-common/bug23.c: New file.
48163 * stdio-common/Makefile (tests): Add bug23.
48165 2010-09-28 Andreas Schwab <schwab@redhat.com>
48166 Ulrich Drepper <drepper@gmail.com>
48169 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48170 before performing relro protection. At old place add assertion
48171 to make sure nothing changed.
48173 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48174 Glauber de Oliveira Costa <glommer@gmail.com>
48176 * elf/elf.h: Add new ARM TLS relocs.
48178 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48181 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48183 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48185 * sysdeps/wordsize-64/tst-writev.c: New file.
48187 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48189 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48190 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48191 insns in _dl_start to prevent a TOC reference before relocs are
48194 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48197 * Makeconfig: Remove RANLIB definition.
48198 * Makerules: Don't use RANLIB.
48199 * aclocal.m4: Remove ranlib test.
48200 * configure.in: No need to check for ranlib.
48201 * elf/rtld-Rules: Don't use RANLIB.
48203 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48205 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48207 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48208 inclusion protection macro.
48210 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48211 SIGRTMIN and SIGRTMAX and print information in that case only when
48212 SIGRTMIN is defined.
48214 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48216 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48217 arginfo fn returning -1.
48219 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48220 and thousands string is zero terminated.
48222 2011-02-03 Andreas Schwab <schwab@redhat.com>
48224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48225 sysdeps/unix/sysv/linux/bits/socket.h.
48227 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48229 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48230 (__CPU_COUNT): Remove old macros.
48231 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48232 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48233 (__CPU_ALLOC, __CPU_FREE): Add macros.
48234 (__sched_cpualloc, __sched_cpufree): Add declarations.
48236 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48238 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48239 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48240 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48241 (readdhstai): Return value of addhstaiX call.
48242 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48243 (addgrbyX): Return value returned by cache_addgr.
48244 (readdgrbyname): Return value returned by addgrbyX.
48245 (readdgrbygid): Likewise.
48246 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48247 (addpwbyX): Return value returned by cache_addpw.
48248 (readdpwbyname): Return value returned by addhstbyX.
48249 (readdpwbyuid): Likewise.
48250 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48251 (addservbyX): Return value returned by cache_addserv.
48252 (readdservbyname): Return value returned by addservbyX:
48253 (readdservbyport): Likewise.
48254 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48255 (addhstbyX): Return value returned by cache_addhst.
48256 (readdhstbyname): Return value returned by addhstbyX.
48257 (readdhstbyaddr): Likewise.
48258 (readdhstbynamev6): Likewise.
48259 (readdhstbyaddrv6): Likewise.
48260 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48261 (readdinitgroups): Return value returned by addinitgroupsX.
48262 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48263 (prune_cache): Keep track of timeout value of re-added entries.
48264 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48265 * nscd/nscd.h: Adjust prototypes of readd* functions.
48267 2011-02-04 Roland McGrath <roland@redhat.com>
48269 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48270 (nis_stats): Likewise.
48271 * nis/nis_modify.c (nis_modify): Likewise.
48272 * nis/nis_remove.c (nis_remove): Likewise.
48273 * nis/nis_add.c (nis_add): Likewise.
48275 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48277 * posix/fnmatch_loop.c: Add some consts.
48279 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48281 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48284 * config.make.in (config-cflags-novzeroupper): Define.
48285 * configure.in: Substitute libc_cv_cc_novzeroupper.
48286 * elf/Makefile (AVX-CFLAGS): Define.
48287 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48288 (CFLAGS-tst-auditmod4a.c): Likewise.
48289 (CFLAGS-tst-auditmod4b.c): Likewise.
48290 (CFLAGS-tst-auditmod6b.c): Likewise.
48291 (CFLAGS-tst-auditmod6c.c): Likewise.
48292 (CFLAGS-tst-auditmod7b.c): Likewise.
48293 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48295 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48297 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48298 function to the callback.
48299 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48301 2011-02-02 Andreas Schwab <schwab@redhat.com>
48303 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48306 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48309 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48311 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48313 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48316 * elf/Makefile: Add rules to build and run new test.
48317 * elf/tst-initorder.c: New file.
48318 * elf/tst-initorder.exp: New file.
48319 * elf/tst-initordera1.c: New file.
48320 * elf/tst-initordera2.c: New file.
48321 * elf/tst-initordera3.c: New file.
48322 * elf/tst-initordera4.c: New file.
48323 * elf/tst-initorderb1.c: New file.
48324 * elf/tst-initorderb2.c: New file.
48325 * elf/tst-order-a1.c: New file.
48326 * elf/tst-order-a2.c: New file.
48327 * elf/tst-order-a3.c: New file.
48328 * elf/tst-order-a4.c: New file.
48329 * elf/tst-order-b1.c: New file.
48330 * elf/tst-order-b2.c: New file.
48331 * elf/tst-order-main.c: New file.
48332 New test case by George Gensure <werkt0@gmail.com>.
48334 2010-10-01 Andreas Schwab <schwab@redhat.com>
48336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48337 decoding ACE if AI_CANONIDN.
48339 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48341 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48343 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48345 * version.h (RELEASE): Bump for 2.13 release.
48346 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48348 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48352 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48353 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48354 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48355 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48357 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48359 * posix/getconf.c: Update copyright year.
48360 * catgets/gencat.c: Likewise.
48361 * csu/version.c: Likewise.
48362 * debug/catchsegv.sh: Likewise.
48363 * debug/xtrace.sh: Likewise.
48364 * elf/ldconfig.c: Likewise.
48365 * elf/ldd.bash.in: Likewise.
48366 * elf/sprof.c (print_version): Likewise.
48367 * iconv/iconv_prog.c: Likewise.
48368 * iconv/iconvconfig.c: Likewise.
48369 * locale/programs/locale.c: Likewise.
48370 * locale/programs/localedef.c: Likewise.
48371 * malloc/memusage.sh: Likewise.
48372 * malloc/mtrace.pl: Likewise.
48373 * nscd/nscd.c (print_version): Likewise.
48374 * nss/getent.c: Likewise.
48376 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48377 PF_CAIF, and PF_ALG.
48378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48380 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48382 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48383 (modules-names): Use them.
48384 (ifunc-test-modules, ifunc-pie-tests): Define.
48385 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48386 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48387 (test-extras): Likewise.
48388 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48389 $(compile-command.c).
48390 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48391 (all-built-dso): Define.
48392 (check-textrel.out, check-execstack.out): Depend on it.
48394 * configure.in: Don't override --enable-multi-arch.
48396 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48399 * nscd/hstcache.c (tryagain): Define.
48400 (cache_addhst): Return tryagain not notfound for temporary errors.
48401 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48404 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48408 to make the syscall.
48409 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48412 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48413 and fall back to matching as normal character if the string ends before
48414 the matching ']' is found. This is what POSIX requires.
48415 * posix/testfnm.c: Adjust test result.
48416 * posix/globtest.sh: Adjust test result. Add new test.
48417 * posix/tst-fnmatch.input: Likewise.
48418 * posix/tst-fnmatch2.c: Add new test.
48420 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48422 * elf/Makefile (check-execstack): Revert last change. Depend on
48424 (check-execstack.h): New target.
48425 (generated): Add check-execstack.h.
48426 * elf/check-execstack.c: Include "check-execstack.h".
48427 (main): Revert last change.
48428 (handle_file): Return zero if GNU_STACK is absent and
48429 DEFAULT_STACK_PERMS doesn't include PF_X.
48431 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48433 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48434 in child fails because the descriptor is already closed.
48435 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48436 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48437 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48440 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48444 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48445 temporary buffer used to handle multi lookups locally.
48446 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48448 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48450 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48453 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48455 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48456 alignment for SSE2.
48458 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48461 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48462 characters. When rounding increased number of integer digits recompute
48464 * stdio-common/tst-grouping.c: New file.
48465 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48467 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48469 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48470 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48472 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48474 * bits/select.h: Likewise.
48476 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48478 * po/ja.po: Update from translation team.
48480 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48483 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48484 implementation just like for lxstat, fxstatat, et al.
48486 2010-12-27 Jim Meyering <meyering@redhat.com>
48489 * posix/regexec.c (build_trtable): Return failure indication upon
48490 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48492 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48495 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48496 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48497 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48501 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48504 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48505 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48507 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48509 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48510 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48511 script has SORT_BY_INIT_PRIORITY.
48512 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48513 NO_CTORS_DTORS_SECTIONS is defined.
48514 * elf/soinit.c: Likewise.
48515 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48516 NO_CTORS_DTORS_SECTIONS is defined.
48517 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48518 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48519 * sysdeps/sh/init-first.c: Likewise.
48520 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48522 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48524 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48525 always use the slow path.
48527 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48529 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48530 similar rule which adds the sysdep directories to the header search in
48531 order to pick up the correct platform stackinfo.h.
48532 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48533 perform test if it is, otherwise return successfully without testing.
48534 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48535 DEFAULT_STACK_PERMS define in stackinfo.h.
48536 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48537 defined in stackinfo.h.
48538 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48539 DEFAULT_STACK_PERMS defined in stackinfo.h.
48540 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48541 * sysdeps/ia64/stackinfo.h: Likewise.
48542 * sysdeps/s390/stackinfo.h: Likewise.
48543 * sysdeps/sh/stackinfo.h: Likewise.
48544 * sysdeps/sparc/stackinfo.h: Likewise.
48545 * sysdeps/x86_64/stackinfo.h: Likewise.
48546 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48547 PF_X for powerpc64. Retain PF_X for powerpc32.
48549 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48551 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48553 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48554 GETDENTS_64BIT_ALIGNED.
48556 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48558 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48560 2010-12-10 Andreas Schwab <schwab@redhat.com>
48562 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48565 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48566 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48568 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48569 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48571 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48574 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48577 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48579 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48581 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48583 * po/it.po: Update from translation team.
48585 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48590 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48592 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48594 2010-11-24 Andreas Schwab <schwab@redhat.com>
48596 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48598 (gaih_getanswer_slice): Likewise.
48600 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48604 2010-05-31 Petr Baudis <pasky@suse.cz>
48607 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48608 silently even in the chroot mode.
48610 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48613 last patch a bit. Pretty printing
48615 2010-05-31 Petr Baudis <pasky@suse.cz>
48618 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48619 initialization of skip_initgroups_dyn.
48621 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48623 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48624 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48626 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48628 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48630 2010-11-11 Andreas Schwab <schwab@redhat.com>
48632 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48633 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48634 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48635 ($(objpfx)tst-fnmatch-mem): New rule.
48636 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48637 * posix/tst-fnmatch.c (main): Call mtrace.
48639 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48642 Support Intel processor model 6 and model 0x2c.
48644 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48649 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48652 * string/test-strncasecmp.c (check_result): New function.
48653 (do_one_test): Use it.
48654 (check1): New function.
48655 (test_main): Use it.
48656 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48657 Support strcasecmp and strncasecmp.
48659 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48662 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48665 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48667 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48671 * sysdeps/x86_64/multiarch/bzero.S: New file.
48672 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48673 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48674 * sysdeps/x86_64/multiarch/memset.S: New file.
48675 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48677 Set bit_Prefer_SSE_for_memop for Intel processors.
48678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48680 (index_Prefer_SSE_for_memop): Define.
48681 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48683 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48685 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48686 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48688 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48691 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48692 (__x86_64_raw_data_cache_size_half): Likewise.
48693 (__x86_64_raw_shared_cache_size): Likewise.
48694 (__x86_64_raw_shared_cache_size_half): Likewise.
48696 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48697 (__x86_64_raw_data_cache_size_half): Likewise.
48698 (__x86_64_raw_shared_cache_size): Likewise.
48699 (__x86_64_raw_shared_cache_size_half): Likewise.
48700 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48701 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48702 and __x86_64_raw_shared_cache_size_half. Round
48703 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48704 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48705 to multiple of 256 bytes.
48707 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48711 of inacessible symlinks. Verify result of symlink before returning it.
48712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48713 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48715 2010-10-28 Erich Ritz <erichritz@gmail.com>
48717 * math/math.h (isinf): Fix typo in comment.
48719 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48721 * po/da.po: Update from translation team.
48723 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48725 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48726 is added to the list.
48728 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48729 Ulrich Drepper <drepper@gmail.com>
48731 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48732 the global list here. Move code to...
48733 (_dl_add_to_namespace_list): ...here. New function.
48734 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48735 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48736 * elf/dl-load.c (lose): Don't remove the element from the list.
48737 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48738 (_dl_map_object): Likewise.
48740 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48743 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48744 into all bytes of SSE register.
48745 Patch by Richard Li <richardpku@gmail.com>.
48747 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48750 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48753 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48755 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48756 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48763 2010-10-22 Andreas Schwab <schwab@redhat.com>
48765 * include/dlfcn.h (__RTLD_SECURE): Define.
48766 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48767 mode & __RTLD_SECURE instead.
48768 (open_path): Rename preloaded parameter to secure.
48769 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48770 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48771 * elf/dl-deps.c (openaux): Likewise.
48772 * elf/rtld.c (struct map_args): Remove is_preloaded.
48773 (map_doit): Don't use it.
48774 (dl_main): Likewise.
48775 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48776 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48778 2010-09-09 Andreas Schwab <schwab@redhat.com>
48780 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48781 (sysd-rules-targets): Remove duplicates.
48782 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48783 rtld-%.$o dependency.
48785 2010-10-18 Andreas Schwab <schwab@redhat.com>
48787 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48788 _dl_map_object do it.
48790 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48792 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48793 fast fma builtins, define the macros in the C99 standard.
48794 (FP_FAST_FMAF): Likewise.
48795 (FP_FAST_FMAL): Likewise.
48796 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48798 * bits/mathdef.h: Update copyright year.
48799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48801 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48803 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48804 builtins, define the macros in the C99 standard.
48805 (FP_FAST_FMAF): Likewise.
48806 (FP_FAST_FMAL): Likewise.
48807 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48809 (FP_FAST_FMAF): Likewise.
48811 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48814 * math/libm-test.inc (fma_test): Some new testcases.
48815 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48817 y and infinite z. Do multiplication by C already in long double.
48818 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48820 y and infinite z. Do bitwise or of inexact bit into u.d.
48821 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48822 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48823 * sysdeps/i386/fpu/s_fma.S: Removed.
48824 * sysdeps/i386/fpu/s_fmal.S: Removed.
48826 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48829 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48831 computation is not scheduled after fetestexcept. Fix value
48832 of minimum denormal long double.
48834 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48837 * math/libm-test.inc (fma_test): Add some more tests.
48838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48841 2010-10-15 Andreas Schwab <schwab@redhat.com>
48843 * scripts/data/localplt-s390-linux-gnu.data: New file.
48844 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48846 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48849 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48850 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48852 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48854 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48856 if one of x and y is very large and the other is subnormal.
48857 * sysdeps/s390/fpu/s_fmaf.c: New file.
48858 * sysdeps/s390/fpu/s_fma.c: New file.
48859 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48860 * sysdeps/powerpc/fpu/s_fma.S: New file.
48861 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48862 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48863 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48865 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48868 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48871 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48872 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48873 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48874 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48875 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48876 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48878 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48881 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48882 * posix/bug-regex31.input: Add test case.
48884 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48886 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48887 * posix/bug-regex31.input: New file.
48890 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48891 (parse_sub_exp): Fix last change, use postorder.
48893 * posix/bug-regex31.c: New file.
48894 * posix/Makefile: Add rules to build and run bug-regex31.
48896 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48899 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48902 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48903 to have entries in sys_siglist.
48906 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48909 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48912 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48913 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48914 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48915 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48916 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48917 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48918 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48919 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48920 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48921 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48922 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48923 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48925 * math/ftestexcept.c (fetestexcept): Likewise.
48926 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48927 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48928 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48929 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48930 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48931 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48932 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48934 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48937 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48940 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48942 * string/bug-strstr1.c: New file.
48943 * string/Makefile: Add rules to build and run bug-strstr1.
48945 2010-10-05 Eric Blake <eblake@redhat.com>
48948 * string/str-two-way.h (two_way_long_needle): Always clear memory
48949 when skipping input due to the shift table.
48951 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48954 * malloc/mcheck.c: Handle large requests.
48957 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48958 for strncmp and strncasecmp.
48959 * string/stratcliff.c: Add tests for strcmp and strncmp.
48960 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48962 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48964 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48967 2010-09-30 Andreas Jaeger <aj@suse.de>
48969 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48970 (CGROUP_SUPER_MAGIC): Define.
48971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48972 Handle btrfs and cgroup file systems.
48973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48976 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48978 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48979 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48981 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48984 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48985 trying to locate the ELF header.
48987 2010-09-27 Andreas Schwab <schwab@redhat.com>
48990 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48991 Mask out sign-bit copies when constructing f_fsid.
48993 2010-09-24 Petr Baudis <pasky@suse.cz>
48995 * debug/stack_chk_fail_local.c: Add missing licence exception.
48996 * debug/warning-nop.c: Likewise.
48998 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49001 implementing getdents64 using getdents syscall, set d_type if
49002 __ASSUME_GETDENTS32_D_TYPE.
49004 2010-09-16 Andreas Schwab <schwab@redhat.com>
49006 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49007 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49009 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49012 * posix/unistd.h: Undo change of feature selection for ftruncate from
49015 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49017 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49020 2010-09-20 Andreas Schwab <schwab@redhat.com>
49022 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49026 2010-09-14 Andreas Schwab <schwab@redhat.com>
49028 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49029 variables after CHECK_SP call.
49030 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49032 2010-09-13 Andreas Schwab <schwab@redhat.com>
49033 Ulrich Drepper <drepper@redhat.com>
49035 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49036 re-relocationg ld.so.
49037 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49038 _dl_init_paths call.
49039 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49042 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49044 * resolv/res_init.c (__res_vinit): Count the default server we added.
49046 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49047 Ulrich Drepper <drepper@redhat.com>
49050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49051 (____longjmp_chk): Use %ebx for saving value across system call.
49054 2010-09-06 Andreas Schwab <schwab@redhat.com>
49056 * manual/Makefile: Don't mix pattern rules with normal rules.
49058 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49060 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49062 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49063 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49064 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49065 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49069 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49072 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49073 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49075 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49077 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49078 * sysdeps/x86_64/addmul_1.S: Likewise.
49079 * sysdeps/x86_64/lshift.S: Likewise.
49080 * sysdeps/x86_64/mul_1.S: Likewise.
49081 * sysdeps/x86_64/rshift.S: Likewise.
49082 * sysdeps/x86_64/sub_n.S: Likewise.
49083 * sysdeps/x86_64/submul_1.S: Likewise.
49085 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49087 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49088 Define __sched_param instead of SCHED_* and sched_param when
49089 <bits/sched.h> is included with __need_schedparam defined.
49090 * bits/sched.h [__need_schedparam]
49091 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49092 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49093 (__defined_schedparam): Define to 1.
49094 (__sched_param): New structure, identical to sched_param.
49095 (__need_schedparam): Undefine.
49097 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49100 (epoll_create1): Declare.
49102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49104 2010-08-31 Andreas Schwab <schwab@redhat.com>
49107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49108 shifting retval into place.
49110 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49112 * nis/rpcsvc/nis.h: Update copyright notice.
49113 * nis/rpcsvc/nis.x: Likewise.
49114 * nis/rpcsvc/nis_callback.h: Likewise.
49115 * nis/rpcsvc/nis_callback.x: Likewise.
49116 * nis/rpcsvc/nis_object.x: Likewise.
49117 * nis/rpcsvc/nis_tags.h: Likewise.
49118 * nis/rpcsvc/yp.h: Likewise.
49119 * nis/rpcsvc/yp.x: Likewise.
49120 * nis/rpcsvc/ypupd.h: Likewise.
49121 * nis/yp_xdr.c: Likewise.
49122 * nis/ypupdate_xdr.c: Likewise.
49124 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49125 mainly the body of pmap_getport. Add parameters to specify timeouts.
49126 (pmap_getport): Use __libc_rpc_getport.
49127 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49128 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49129 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49131 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49136 2010-08-27 Roland McGrath <roland@redhat.com>
49138 * sysdeps/i386/i686/multiarch/Makefile
49139 (CFLAGS-varshift.c): New variable.
49141 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49143 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49144 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49148 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49150 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49152 * sysdeps/x86_64/strlen.S: Unroll the loop.
49153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49154 strlen-sse2 strlen-sse2-bsf.
49155 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49156 __strlen_no_bsf if bit_Slow_BSF is set.
49157 (__strlen_sse42): Removed.
49158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49159 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49161 2010-08-25 Roland McGrath <roland@redhat.com>
49163 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49164 * sysdeps/x86_64/multiarch/varshift.c: New file.
49165 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49166 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49167 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49168 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49170 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49173 strlen-sse2 strlen-sse2-bsf.
49174 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49175 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49176 (__strlen_sse2): Removed.
49177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49180 bit_Slow_BSF for Atom.
49181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49182 (index_Slow_BSF): Define.
49183 (HAS_SLOW_BSF): Define.
49185 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49188 * resolv/res_init.c (__res_vinit): When no server address at all
49189 is given default to loopback.
49191 2010-08-24 Roland McGrath <roland@redhat.com>
49193 * configure.in: Remove config-name.h generation.
49194 * configure: Regenerated.
49195 * config-name.in: File removed.
49196 * scripts/config-uname.sh: New file.
49197 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49198 ($(objdir)config-name.h): New target.
49200 * sunrpc/rpc_parse.h: Avoid nested comment.
49202 2010-08-24 Richard Henderson <rth@redhat.com>
49203 Ulrich Drepper <drepper@redhat.com>
49204 H.J. Lu <hongjiu.lu@intel.com>
49206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49208 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49209 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49210 _mm_alignr_epi8 with _mm_loadu_si128.
49211 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49212 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49213 (__m128i_shift_right): Removed.
49214 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49215 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49216 * sysdeps/x86_64/multiarch/varshift.h: New file.
49217 * sysdeps/x86_64/multiarch/varshift.S: New file.
49219 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49221 * configure.in: Move assembler checks to before sysdep dir checking.
49223 2010-08-20 Petr Baudis <pasky@suse.cz>
49225 * LICENSES: Sync the sunrpc license.
49227 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49229 * sunrpc/auth_des.c: Update copyright notice once again.
49230 * sunrpc/auth_none.c: Likewise.
49231 * sunrpc/auth_unix.c: Likewise.
49232 * sunrpc/authdes_prot.c: Likewise.
49233 * sunrpc/authuxprot.c: Likewise.
49234 * sunrpc/bindrsvprt.c: Likewise.
49235 * sunrpc/clnt_gen.c: Likewise.
49236 * sunrpc/clnt_perr.c: Likewise.
49237 * sunrpc/clnt_raw.c: Likewise.
49238 * sunrpc/clnt_simp.c: Likewise.
49239 * sunrpc/clnt_tcp.c: Likewise.
49240 * sunrpc/clnt_udp.c: Likewise.
49241 * sunrpc/clnt_unix.c: Likewise.
49242 * sunrpc/des_crypt.c: Likewise.
49243 * sunrpc/des_soft.c: Likewise.
49244 * sunrpc/get_myaddr.c: Likewise.
49245 * sunrpc/getrpcport.c: Likewise.
49246 * sunrpc/key_call.c: Likewise.
49247 * sunrpc/key_prot.c: Likewise.
49248 * sunrpc/openchild.c: Likewise.
49249 * sunrpc/pm_getmaps.c: Likewise.
49250 * sunrpc/pm_getport.c: Likewise.
49251 * sunrpc/pmap_clnt.c: Likewise.
49252 * sunrpc/pmap_prot.c: Likewise.
49253 * sunrpc/pmap_prot2.c: Likewise.
49254 * sunrpc/pmap_rmt.c: Likewise.
49255 * sunrpc/rpc/auth.h: Likewise.
49256 * sunrpc/rpc/auth_unix.h: Likewise.
49257 * sunrpc/rpc/clnt.h: Likewise.
49258 * sunrpc/rpc/des_crypt.h: Likewise.
49259 * sunrpc/rpc/key_prot.h: Likewise.
49260 * sunrpc/rpc/netdb.h: Likewise.
49261 * sunrpc/rpc/pmap_clnt.h: Likewise.
49262 * sunrpc/rpc/pmap_prot.h: Likewise.
49263 * sunrpc/rpc/pmap_rmt.h: Likewise.
49264 * sunrpc/rpc/rpc.h: Likewise.
49265 * sunrpc/rpc/rpc_des.h: Likewise.
49266 * sunrpc/rpc/rpc_msg.h: Likewise.
49267 * sunrpc/rpc/svc.h: Likewise.
49268 * sunrpc/rpc/svc_auth.h: Likewise.
49269 * sunrpc/rpc/types.h: Likewise.
49270 * sunrpc/rpc/xdr.h: Likewise.
49271 * sunrpc/rpc_clntout.c: Likewise.
49272 * sunrpc/rpc_cmsg.c: Likewise.
49273 * sunrpc/rpc_common.c: Likewise.
49274 * sunrpc/rpc_cout.c: Likewise.
49275 * sunrpc/rpc_dtable.c: Likewise.
49276 * sunrpc/rpc_hout.c: Likewise.
49277 * sunrpc/rpc_main.c: Likewise.
49278 * sunrpc/rpc_parse.c: Likewise.
49279 * sunrpc/rpc_parse.h: Likewise.
49280 * sunrpc/rpc_prot.c: Likewise.
49281 * sunrpc/rpc_sample.c: Likewise.
49282 * sunrpc/rpc_scan.c: Likewise.
49283 * sunrpc/rpc_scan.h: Likewise.
49284 * sunrpc/rpc_svcout.c: Likewise.
49285 * sunrpc/rpc_tblout.c: Likewise.
49286 * sunrpc/rpc_util.c: Likewise.
49287 * sunrpc/rpc_util.h: Likewise.
49288 * sunrpc/rpcinfo.c: Likewise.
49289 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49290 * sunrpc/rpcsvc/key_prot.x: Likewise.
49291 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49292 * sunrpc/rpcsvc/mount.x: Likewise.
49293 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49294 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49295 * sunrpc/rpcsvc/rex.x: Likewise.
49296 * sunrpc/rpcsvc/rstat.x: Likewise.
49297 * sunrpc/rpcsvc/rusers.x: Likewise.
49298 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49299 * sunrpc/rpcsvc/spray.x: Likewise.
49300 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49301 * sunrpc/rtime.c: Likewise.
49302 * sunrpc/svc.c: Likewise.
49303 * sunrpc/svc_auth.c: Likewise.
49304 * sunrpc/svc_authux.c: Likewise.
49305 * sunrpc/svc_raw.c: Likewise.
49306 * sunrpc/svc_run.c: Likewise.
49307 * sunrpc/svc_simple.c: Likewise.
49308 * sunrpc/svc_tcp.c: Likewise.
49309 * sunrpc/svc_udp.c: Likewise.
49310 * sunrpc/svc_unix.c: Likewise.
49311 * sunrpc/svcauth_des.c: Likewise.
49312 * sunrpc/xcrypt.c: Likewise.
49313 * sunrpc/xdr.c: Likewise.
49314 * sunrpc/xdr_array.c: Likewise.
49315 * sunrpc/xdr_float.c: Likewise.
49316 * sunrpc/xdr_mem.c: Likewise.
49317 * sunrpc/xdr_rec.c: Likewise.
49318 * sunrpc/xdr_ref.c: Likewise.
49319 * sunrpc/xdr_sizeof.c: Likewise.
49320 * sunrpc/xdr_stdio.c: Likewise.
49322 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49325 2010-08-19 Andreas Schwab <schwab@redhat.com>
49327 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49329 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49331 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49333 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49334 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49335 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49336 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49337 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49338 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49340 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49341 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49342 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49343 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49344 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49346 2010-07-26 Anton Blanchard <anton@samba.org>
49348 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49349 * malloc/arena.c (heap_trim): Likewise.
49351 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49353 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49356 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49358 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49360 * sysdeps/i386/elf/Makefile: New file.
49362 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49364 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49365 from fanotify_init.
49366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49369 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49371 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49373 * sysdeps/multiarch/strcmp.S: Likewise.
49375 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49377 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49378 strncase_l-nonascii.
49379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49380 Add strncase_l-ssse3.
49381 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49382 * sysdeps/x86_64/strcmp.S: Likewise.
49383 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49384 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49385 * sysdeps/x86_64/strncase.S: New file.
49386 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49387 * sysdeps/x86_64/strncase_l.S: New file.
49388 * string/Makefile (strop-tests): Add strncasecmp.
49389 * string/test-strncasecmp.c: New file.
49391 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49394 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49395 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49397 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49399 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49401 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49403 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49405 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49407 2010-05-01 Alan Modra <amodra@gmail.com>
49409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49410 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49411 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49412 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49413 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49414 tidying. Don't tail-call __sigjmp_save for static lib.
49415 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49417 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49418 (CALL_MCOUNT): Add eh info, and nop after bl.
49419 (TAIL_CALL_SYSCALL_ERROR): New macro.
49420 (PSEUDO_RET): Use it.
49421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49422 Correct save location of integer regs and cr.
49423 (_dl_profile_resolve): Correct cr save location. Delete nops
49424 after bl when SHARED. Reduce cfi size a little by better
49425 placement of cfi directives.
49426 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49427 make a stack frame. Instead use parm save area as a temp.
49428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49429 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49431 Don't make a stack frame for parent, use parm save area.
49432 Increase child stack frame to 112 bytes. Don't save unused reg,
49433 and adjust reg usage. Set up cfi on error recovery and
49434 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49436 (__makecontext): Add dummy nop after jump to exit.
49437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49438 Use correct parm save area and cr save, reduce stack frame.
49439 Correct cfi for possible PSEUDO_RET frame setup.
49440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49441 Branch to local label emitted by PSEUDO_RET rather than
49444 2010-08-12 Andreas Schwab <schwab@redhat.com>
49447 * locale/programs/locale.c (print_assignment): New function.
49448 (show_locale_vars): Use it.
49450 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49452 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49454 (struct statfs64): Likewise.
49455 (_STATFS_F_FLAGS): Define.
49456 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49457 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49458 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49459 (ST_VALID): Define locally.
49460 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49461 __statvfs_getflags, use the provided value.
49462 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49463 __ASSUME_STATFS_F_FLAGS.
49465 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49468 Add sys/fanotify.h.
49469 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49470 fanotify_mask for GLIBC_2.13.
49471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49472 fanotify_init and fanotify_mark.
49473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49474 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49476 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49478 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49479 prlimit64 for GLIBC_2.13.
49480 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49486 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49487 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49490 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49493 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49494 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49496 * nss/Makefile: Add rules to build and run tst-nss-test1.
49497 * shlib-versions: Add entry for libnss_test1.
49498 * nss/nss_test1.c: New file.
49499 * nss/tst-nss-test1.c: New file.
49501 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49502 (__nss_configure_lookup): Set appropriate entry in
49503 __nss_configure_lookup to true.
49504 * nss/nsswitch.h: Define enum with indeces of databases in
49505 databases and __nss_database_custom arrays. Declare
49506 __nss_database_custom.
49507 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49508 to avoid using nscd when custom rules are installed.
49509 * nss/getXXbyYY_r.c: Likewise.
49510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49512 * nss/nss_files/files-parse.c: Whitespace fixes.
49514 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49517 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49518 * posix/fnmatch_loop.c: Likewise.
49520 2010-07-17 Andi Kleen <ak@linux.intel.com>
49522 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49523 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49524 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49525 * Versions.def [GLIBC_2.13]: Add.
49527 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49530 Also fail if tpwd after pwuid call is NULL.
49532 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49534 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49535 when converting to ms.
49537 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49539 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49540 EOPNOTSUPP errors with ENOTTY.
49541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49542 EOPNOTSUPP errors with ENOTTY.
49544 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49546 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49547 Add strcasecmp_l-ssse3.
49548 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49550 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49551 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49552 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49554 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49556 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49558 * string/Makefile (strop-tests): Add strcasecmp.
49559 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49560 strcasecmp_l-nonascii.
49561 (gen-as-const-headers): Add locale-defines.sym.
49562 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49563 * sysdeps/x86_64/strcasecmp.S: New file.
49564 * sysdeps/x86_64/strcasecmp_l.S: New file.
49565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49566 * sysdeps/x86_64/locale-defines.sym: New file.
49567 * string/test-strcasecmp.c: New file.
49569 * string/test-strcasestr.c: Test both ends of the range of characters.
49570 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49572 2010-07-29 Roland McGrath <roland@redhat.com>
49575 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49577 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49579 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49582 2010-07-27 Andreas Schwab <schwab@redhat.com>
49584 * manual/memory.texi (Malloc Tunable Parameters): Document
49587 2010-07-26 Roland McGrath <roland@redhat.com>
49590 * configure.in (-fgnu89-inline check): Set and substitute
49591 gnu89_inline, not libc_cv_gnu89_inline.
49592 * configure: Regenerated.
49593 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49595 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49597 * string/test-strnlen.c: New file.
49598 * string/Makefile (strop-tests): Add strnlen.
49599 * string/tester.c (test_strnlen): Add a few more test cases.
49600 * string/tst-strlen.c: Better error reporting.
49602 * sysdeps/x86_64/strnlen.S: New file.
49604 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49607 lower-latency instructions.
49609 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49611 * string/test-strcasestr.c: New file.
49612 * string/test-strstr.c: New file.
49613 * string/Makefile (strop-tests): Add strstr and strcasestr.
49614 * string/str-two-way.h: Don't undefine MAX.
49615 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49617 2010-07-21 Andreas Schwab <schwab@redhat.com>
49619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49620 strcasestr-nonascii.
49621 (CFLAGS-strcasestr-nonascii.c): Define.
49622 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49624 Remove unused attribute.
49626 2010-07-20 Roland McGrath <roland@redhat.com>
49628 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49629 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49630 ld.so.cache was broken. With it, there is no way to disable dsocaps
49631 like LD_HWCAP_MASK can disable hwcaps.
49633 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49635 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49637 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49639 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49640 call in strcasestr.
49641 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49642 __strcasestr_sse42_nonascii.
49643 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49644 strcasestr-nonascii.c.
49645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49647 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49650 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49654 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49659 2010-07-06 Andreas Schwab <schwab@redhat.com>
49662 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49665 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49668 _PC_PIPE_BUF using F_GETPIPE_SZ.
49670 2010-07-05 Roland McGrath <roland@redhat.com>
49672 * manual/arith.texi (Rounding Functions): Fix rint description
49673 implicit in round description.
49675 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49677 * elf/Makefile: Fix linking for a few tests to make recent linker
49680 2010-06-30 Andreas Schwab <schwab@redhat.com>
49682 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49683 $(common-objpfx)libc_nonshared.a.
49685 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49687 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49688 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49689 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49690 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49691 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49692 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49693 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49694 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49709 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49710 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49711 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49712 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49713 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49714 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49715 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49716 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49717 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49718 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49719 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49720 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49736 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49738 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49739 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49740 * string/memmove.c (memmove): Renamed to ...
49741 (MEMMOVE): ...this. Default to memmove.
49742 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49743 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49746 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49747 mempcpy-ssse3-back memmove-ssse3-back.
49748 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49751 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49752 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49753 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49754 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49755 * sysdeps/x86_64/multiarch/memmove.c: New file.
49756 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49757 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49758 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49759 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49763 (index_Fast_Copy_Backward): Define.
49764 (HAS_ARCH_FEATURE): Define.
49765 (HAS_FAST_REP_STRING): Define.
49766 (HAS_FAST_COPY_BACKWARD): Define.
49768 2010-06-21 Andreas Schwab <schwab@redhat.com>
49770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49771 Restore proper fallback handling.
49773 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49776 * posix/group_member.c (__group_member): Correct checking loop.
49778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49779 OOM in getpwuid_r correctly. Return error number when the caller
49780 should return, otherwise -1.
49781 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49782 call returning > 0 value.
49783 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49785 2010-06-07 Andreas Schwab <schwab@redhat.com>
49787 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49788 libc_nonshared.a from targets in modules-names.
49790 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49792 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49795 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49802 2010-06-02 Andreas Schwab <schwab@redhat.com>
49804 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49806 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49808 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49817 2010-06-14 Roland McGrath <roland@redhat.com>
49819 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49821 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49823 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49824 __REDIRECT followed by __THROW.
49825 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49826 * posix/getopt.h (getopt): Likewise.
49828 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49830 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49831 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49832 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49834 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49835 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49837 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49839 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49841 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49845 Properly check family and model.
49847 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49849 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49851 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49853 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49855 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49857 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49860 2010-05-19 Andreas Schwab <schwab@redhat.com>
49862 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49865 2010-05-21 Andreas Schwab <schwab@redhat.com>
49867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49868 and internal_recvmmsg.
49869 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49870 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49872 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49874 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49875 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49876 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49878 2010-05-20 Andreas Schwab <schwab@redhat.com>
49880 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49882 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49884 POWER7 optimizations.
49885 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49886 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49888 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49890 * version.h: Update for 2.13 development version.
49892 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49895 exceptions. Return 0.
49897 2010-05-07 Roland McGrath <roland@redhat.com>
49899 * elf/ldconfig.c (main): Add a const.
49901 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49903 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49904 (args_options): Add no-idn option.
49905 (ahosts_keys_int): Add idn_flags to ai_flags.
49906 (parse_option): Handle 'i' option to clear idn_flags.
49908 * malloc/malloc.c (_int_free): Possible race in the most recently
49909 added check. Only act on the data if no current modification
49912 See ChangeLog.17 for earlier changes.